ETH Price: $3,325.48 (-2.62%)

Contract

0xA5A195ed8Cc3392F784E1d2EEf9a44D7e917ee3D
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...183426622023-10-13 16:28:35410 days ago1697214515IN
0xA5A195ed...7e917ee3D
0 ETH0.0005237711.38767131
Transfer From183426522023-10-13 16:26:35410 days ago1697214395IN
0xA5A195ed...7e917ee3D
0 ETH0.0006055413.01964824
Transfer From183426502023-10-13 16:26:11410 days ago1697214371IN
0xA5A195ed...7e917ee3D
0 ETH0.0007972712.08977935
Transfer From183426472023-10-13 16:25:35410 days ago1697214335IN
0xA5A195ed...7e917ee3D
0 ETH0.0008395412.58555418
Transfer From183426322023-10-13 16:22:35410 days ago1697214155IN
0xA5A195ed...7e917ee3D
0 ETH0.0006634914.26204207
Transfer From183426292023-10-13 16:21:59410 days ago1697214119IN
0xA5A195ed...7e917ee3D
0 ETH0.0006703814.41012944
Transfer From183426272023-10-13 16:21:35410 days ago1697214095IN
0xA5A195ed...7e917ee3D
0 ETH0.0015219214.75692062
Transfer From183426232023-10-13 16:20:47410 days ago1697214047IN
0xA5A195ed...7e917ee3D
0 ETH0.0007061215.17838318
Transfer From183426202023-10-13 16:20:11410 days ago1697214011IN
0xA5A195ed...7e917ee3D
0 ETH0.0007048915.15188059
Transfer From183426182023-10-13 16:19:35410 days ago1697213975IN
0xA5A195ed...7e917ee3D
0 ETH0.0016281115.78656661
Transfer From183426152023-10-13 16:18:59410 days ago1697213939IN
0xA5A195ed...7e917ee3D
0 ETH0.0007774816.71223212
Transfer From183426122023-10-13 16:18:23410 days ago1697213903IN
0xA5A195ed...7e917ee3D
0 ETH0.0012766419.13470694
Transfer From183426082023-10-13 16:17:35410 days ago1697213855IN
0xA5A195ed...7e917ee3D
0 ETH0.0015024117.64435906
Transfer From183426052023-10-13 16:16:59410 days ago1697213819IN
0xA5A195ed...7e917ee3D
0 ETH0.0006647714.28944202
Transfer From183425992023-10-13 16:15:47410 days ago1697213747IN
0xA5A195ed...7e917ee3D
0 ETH0.0010320615.46878695
Transfer From183425942023-10-13 16:14:47410 days ago1697213687IN
0xA5A195ed...7e917ee3D
0 ETH0.0013397715.73429649
Transfer From183425882023-10-13 16:13:35410 days ago1697213615IN
0xA5A195ed...7e917ee3D
0 ETH0.0007412415.93312026
Transfer From183425842023-10-13 16:12:47410 days ago1697213567IN
0xA5A195ed...7e917ee3D
0 ETH0.0007296115.68319251
Transfer From183425802023-10-13 16:11:59410 days ago1697213519IN
0xA5A195ed...7e917ee3D
0 ETH0.0017139716.61903832
Withdraw183425522023-10-13 16:06:23410 days ago1697213183IN
0xA5A195ed...7e917ee3D
0 ETH0.0007062720.21918276
Mint183425222023-10-13 16:00:23410 days ago1697212823IN
0xA5A195ed...7e917ee3D
150 ETH0.0014502618.71673857
Withdraw182934832023-10-06 19:15:59417 days ago1696619759IN
0xA5A195ed...7e917ee3D
0 ETH0.000240366.88102983
Mint182934752023-10-06 19:14:23417 days ago1696619663IN
0xA5A195ed...7e917ee3D
150 ETH0.000606957.83322478
Mint182934692023-10-06 19:13:11417 days ago1696619591IN
0xA5A195ed...7e917ee3D
150 ETH0.000555227.16561368
Mint182934652023-10-06 19:12:23417 days ago1696619543IN
0xA5A195ed...7e917ee3D
150 ETH0.000601647.76463896
View all transactions

Latest 3 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
183425522023-10-13 16:06:23410 days ago1697213183
0xA5A195ed...7e917ee3D
150 ETH
182934832023-10-06 19:15:59417 days ago1696619759
0xA5A195ed...7e917ee3D
850 ETH
182934182023-10-06 19:02:47417 days ago1696618967
0xA5A195ed...7e917ee3D
50 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
the50club

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion, MIT license
File 1 of 4 : contract.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.19;

error MaxSupplyReached();
error MaxPerWalletReached();
error NotEnoughETH();
error WithdrawalError();

import "lib/ERC721A/contracts/ERC721A.sol";
import "lib/solmate/src/auth/Owned.sol";

contract the50club is Owned(msg.sender), ERC721A {

  address public treasury = 0x4FA97DABBe009821A0926F386824E89752C0FaFd;

  uint256 public constant maxSupply = 21;
  uint256 public constant maxPerWallet = 3;
  uint256 public constant price = 50 ether;
  string private baseURI;

  constructor() ERC721A("the50club", "t50c") {}

  function mint(uint256 quantity) external payable {
    if (_totalMinted() + quantity > maxSupply) revert MaxSupplyReached();
    if (_numberMinted(msg.sender) + quantity > maxPerWallet) revert MaxPerWalletReached();
    if (msg.value != price * quantity) revert NotEnoughETH();

    _mint(msg.sender, quantity);
  }

  // METADATA

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

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

  function setBaseURI(string calldata _newURI) external onlyOwner {
    baseURI = _newURI;
  }

  // WITHDRAW

  function withdraw() external onlyOwner {
    (bool success, ) = treasury.call{value: address(this).balance}("");
    if (!success) revert WithdrawalError();
  }
}

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

pragma solidity ^0.8.4;

import './IERC721A.sol';

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        return _tokenApprovals[tokenId].value;
    }

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 3 of 4 : Owned.sol
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity >=0.8.0;

/// @notice Simple single owner authorization mixin.
/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/auth/Owned.sol)
abstract contract Owned {
    /*//////////////////////////////////////////////////////////////
                                 EVENTS
    //////////////////////////////////////////////////////////////*/

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

    /*//////////////////////////////////////////////////////////////
                            OWNERSHIP STORAGE
    //////////////////////////////////////////////////////////////*/

    address public owner;

    modifier onlyOwner() virtual {
        require(msg.sender == owner, "UNAUTHORIZED");

        _;
    }

    /*//////////////////////////////////////////////////////////////
                               CONSTRUCTOR
    //////////////////////////////////////////////////////////////*/

    constructor(address _owner) {
        owner = _owner;

        emit OwnershipTransferred(address(0), _owner);
    }

    /*//////////////////////////////////////////////////////////////
                             OWNERSHIP LOGIC
    //////////////////////////////////////////////////////////////*/

    function transferOwnership(address newOwner) public virtual onlyOwner {
        owner = newOwner;

        emit OwnershipTransferred(msg.sender, newOwner);
    }
}

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

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Settings
{
  "remappings": [
    "ERC721A/=lib/ERC721A/contracts/",
    "ds-test/=lib/forge-std/lib/ds-test/src/",
    "forge-std/=lib/forge-std/src/",
    "solmate/=lib/solmate/src/",
    "lib/forge-std:ds-test/=lib/forge-std/lib/ds-test/src/",
    "lib/solmate:ds-test/=lib/solmate/lib/ds-test/src/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "metadata": {
    "useLiteralContent": false,
    "bytecodeHash": "ipfs",
    "appendCBOR": true
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "evmVersion": "paris",
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MaxPerWalletReached","type":"error"},{"inputs":[],"name":"MaxSupplyReached","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NotEnoughETH","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"},{"inputs":[],"name":"WithdrawalError","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":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600980546001600160a01b031916734fa97dabbe009821a0926f386824e89752c0fafd1790553480156200003757600080fd5b5060408051808201825260098152683a34329a9831b63ab160b91b6020808301919091528251808401845260048152637435306360e01b91810191909152600080546001600160a01b0319163390811782559351929391928291907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506003620000c6838262000187565b506004620000d5828262000187565b5050600180555062000253565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200010d57607f821691505b6020821081036200012e57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200018257600081815260208120601f850160051c810160208610156200015d5750805b601f850160051c820191505b818110156200017e5782815560010162000169565b5050505b505050565b81516001600160401b03811115620001a357620001a3620000e2565b620001bb81620001b48454620000f8565b8462000134565b602080601f831160018114620001f35760008415620001da5750858301515b600019600386901b1c1916600185901b1785556200017e565b600085815260208120601f198616915b82811015620002245788860151825594840194600190910190840162000203565b5085821015620002435787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6113b980620002636000396000f3fe6080604052600436106101405760003560e01c80636352211e116100b6578063a22cb4651161006f578063a22cb46514610345578063b88d4fde14610365578063c87b56dd14610378578063d5abeb0114610398578063e985e9c5146103ad578063f2fde38b146103cd57600080fd5b80636352211e146102a057806370a08231146102c05780638da5cb5b146102e057806395d89b4114610300578063a035b1fe14610315578063a0712d681461033257600080fd5b806323b872dd1161010857806323b872dd146102105780633ccfd60b1461022357806342842e0e14610238578063453c23101461024b57806355f804b31461026057806361d027b31461028057600080fd5b806301ffc9a71461014557806306fdde031461017a578063081812fc1461019c578063095ea7b3146101d457806318160ddd146101e9575b600080fd5b34801561015157600080fd5b50610165610160366004610e4a565b6103ed565b60405190151581526020015b60405180910390f35b34801561018657600080fd5b5061018f61043f565b6040516101719190610eb7565b3480156101a857600080fd5b506101bc6101b7366004610eca565b6104d1565b6040516001600160a01b039091168152602001610171565b6101e76101e2366004610eff565b610515565b005b3480156101f557600080fd5b5060025460015403600019015b604051908152602001610171565b6101e761021e366004610f29565b6105b5565b34801561022f57600080fd5b506101e761074e565b6101e7610246366004610f29565b6107f8565b34801561025757600080fd5b50610202600381565b34801561026c57600080fd5b506101e761027b366004610f65565b610818565b34801561028c57600080fd5b506009546101bc906001600160a01b031681565b3480156102ac57600080fd5b506101bc6102bb366004610eca565b61084f565b3480156102cc57600080fd5b506102026102db366004610fd7565b61085a565b3480156102ec57600080fd5b506000546101bc906001600160a01b031681565b34801561030c57600080fd5b5061018f6108a9565b34801561032157600080fd5b506102026802b5e3af16b188000081565b6101e7610340366004610eca565b6108b8565b34801561035157600080fd5b506101e7610360366004610ff2565b610977565b6101e7610373366004611044565b6109e3565b34801561038457600080fd5b5061018f610393366004610eca565b610a2d565b3480156103a457600080fd5b50610202601581565b3480156103b957600080fd5b506101656103c8366004611120565b610ab1565b3480156103d957600080fd5b506101e76103e8366004610fd7565b610adf565b60006301ffc9a760e01b6001600160e01b03198316148061041e57506380ac58cd60e01b6001600160e01b03198316145b806104395750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606003805461044e90611153565b80601f016020809104026020016040519081016040528092919081815260200182805461047a90611153565b80156104c75780601f1061049c576101008083540402835291602001916104c7565b820191906000526020600020905b8154815290600101906020018083116104aa57829003601f168201915b5050505050905090565b60006104dc82610b54565b6104f9576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b60006105208261084f565b9050336001600160a01b038216146105595761053c8133610ab1565b610559576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006105c082610b89565b9050836001600160a01b0316816001600160a01b0316146105f35760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b03881690911417610640576106238633610ab1565b61064057604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661066757604051633a954ecd60e21b815260040160405180910390fd5b801561067257600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040812091909155600160e11b84169003610704576001840160008181526005602052604081205490036107025760015481146107025760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6000546001600160a01b031633146107815760405162461bcd60e51b81526004016107789061118d565b60405180910390fd5b6009546040516000916001600160a01b03169047908381818185875af1925050503d80600081146107ce576040519150601f19603f3d011682016040523d82523d6000602084013e6107d3565b606091505b50509050806107f557604051639e0eb9f560e01b815260040160405180910390fd5b50565b610813838383604051806020016040528060008152506109e3565b505050565b6000546001600160a01b031633146108425760405162461bcd60e51b81526004016107789061118d565b600a6108138284836111f9565b600061043982610b89565b60006001600160a01b038216610883576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b60606004805461044e90611153565b6015816108c86001546000190190565b6108d291906112d0565b11156108f15760405163d05cb60960e01b815260040160405180910390fd5b33600090815260066020526040908190205460039161091c9184911c67ffffffffffffffff166112d0565b111561093b5760405163d330f98560e01b815260040160405180910390fd5b61094e816802b5e3af16b18800006112e3565b341461096d57604051632c1d501360e11b815260040160405180910390fd5b6107f53382610bf8565b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6109ee8484846105b5565b6001600160a01b0383163b15610a2757610a0a84848484610cf6565b610a27576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610a3882610b54565b610a5557604051630a14c4b560e41b815260040160405180910390fd5b6000610a5f610de1565b90508051600003610a7f5760405180602001604052806000815250610aaa565b80610a8984610df0565b604051602001610a9a9291906112fa565b6040516020818303038152906040525b9392505050565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b6000546001600160a01b03163314610b095760405162461bcd60e51b81526004016107789061118d565b600080546001600160a01b0319166001600160a01b0383169081178255604051909133917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a350565b600081600111158015610b68575060015482105b8015610439575050600090815260056020526040902054600160e01b161590565b60008180600111610bdf57600154811015610bdf5760008181526005602052604081205490600160e01b82169003610bdd575b80600003610aaa575060001901600081815260056020526040902054610bbc565b505b604051636f96cda160e11b815260040160405180910390fd5b6001546000829003610c1d5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114610ccc57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101610c94565b5081600003610ced57604051622e076360e81b815260040160405180910390fd5b60015550505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610d2b903390899088908890600401611329565b6020604051808303816000875af1925050508015610d66575060408051601f3d908101601f19168201909252610d6391810190611366565b60015b610dc4573d808015610d94576040519150601f19603f3d011682016040523d82523d6000602084013e610d99565b606091505b508051600003610dbc576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060600a805461044e90611153565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a900480610e0a5750819003601f19909101908152919050565b6001600160e01b0319811681146107f557600080fd5b600060208284031215610e5c57600080fd5b8135610aaa81610e34565b60005b83811015610e82578181015183820152602001610e6a565b50506000910152565b60008151808452610ea3816020860160208601610e67565b601f01601f19169290920160200192915050565b602081526000610aaa6020830184610e8b565b600060208284031215610edc57600080fd5b5035919050565b80356001600160a01b0381168114610efa57600080fd5b919050565b60008060408385031215610f1257600080fd5b610f1b83610ee3565b946020939093013593505050565b600080600060608486031215610f3e57600080fd5b610f4784610ee3565b9250610f5560208501610ee3565b9150604084013590509250925092565b60008060208385031215610f7857600080fd5b823567ffffffffffffffff80821115610f9057600080fd5b818501915085601f830112610fa457600080fd5b813581811115610fb357600080fd5b866020828501011115610fc557600080fd5b60209290920196919550909350505050565b600060208284031215610fe957600080fd5b610aaa82610ee3565b6000806040838503121561100557600080fd5b61100e83610ee3565b91506020830135801515811461102357600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561105a57600080fd5b61106385610ee3565b935061107160208601610ee3565b925060408501359150606085013567ffffffffffffffff8082111561109557600080fd5b818701915087601f8301126110a957600080fd5b8135818111156110bb576110bb61102e565b604051601f8201601f19908116603f011681019083821181831017156110e3576110e361102e565b816040528281528a60208487010111156110fc57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561113357600080fd5b61113c83610ee3565b915061114a60208401610ee3565b90509250929050565b600181811c9082168061116757607f821691505b60208210810361118757634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252600c908201526b15539055551213d49256915160a21b604082015260600190565b601f82111561081357600081815260208120601f850160051c810160208610156111da5750805b601f850160051c820191505b81811015610746578281556001016111e6565b67ffffffffffffffff8311156112115761121161102e565b6112258361121f8354611153565b836111b3565b6000601f84116001811461125957600085156112415750838201355b600019600387901b1c1916600186901b1783556112b3565b600083815260209020601f19861690835b8281101561128a578685013582556020948501946001909201910161126a565b50868210156112a75760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610439576104396112ba565b8082028115828204841417610439576104396112ba565b6000835161130c818460208801610e67565b835190830190611320818360208801610e67565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061135c90830184610e8b565b9695505050505050565b60006020828403121561137857600080fd5b8151610aaa81610e3456fea26469706673582212207e0e8512a24813550f810383afddc8f588887c6783e9e35b6e8102e09f7084db64736f6c63430008130033

Deployed Bytecode

0x6080604052600436106101405760003560e01c80636352211e116100b6578063a22cb4651161006f578063a22cb46514610345578063b88d4fde14610365578063c87b56dd14610378578063d5abeb0114610398578063e985e9c5146103ad578063f2fde38b146103cd57600080fd5b80636352211e146102a057806370a08231146102c05780638da5cb5b146102e057806395d89b4114610300578063a035b1fe14610315578063a0712d681461033257600080fd5b806323b872dd1161010857806323b872dd146102105780633ccfd60b1461022357806342842e0e14610238578063453c23101461024b57806355f804b31461026057806361d027b31461028057600080fd5b806301ffc9a71461014557806306fdde031461017a578063081812fc1461019c578063095ea7b3146101d457806318160ddd146101e9575b600080fd5b34801561015157600080fd5b50610165610160366004610e4a565b6103ed565b60405190151581526020015b60405180910390f35b34801561018657600080fd5b5061018f61043f565b6040516101719190610eb7565b3480156101a857600080fd5b506101bc6101b7366004610eca565b6104d1565b6040516001600160a01b039091168152602001610171565b6101e76101e2366004610eff565b610515565b005b3480156101f557600080fd5b5060025460015403600019015b604051908152602001610171565b6101e761021e366004610f29565b6105b5565b34801561022f57600080fd5b506101e761074e565b6101e7610246366004610f29565b6107f8565b34801561025757600080fd5b50610202600381565b34801561026c57600080fd5b506101e761027b366004610f65565b610818565b34801561028c57600080fd5b506009546101bc906001600160a01b031681565b3480156102ac57600080fd5b506101bc6102bb366004610eca565b61084f565b3480156102cc57600080fd5b506102026102db366004610fd7565b61085a565b3480156102ec57600080fd5b506000546101bc906001600160a01b031681565b34801561030c57600080fd5b5061018f6108a9565b34801561032157600080fd5b506102026802b5e3af16b188000081565b6101e7610340366004610eca565b6108b8565b34801561035157600080fd5b506101e7610360366004610ff2565b610977565b6101e7610373366004611044565b6109e3565b34801561038457600080fd5b5061018f610393366004610eca565b610a2d565b3480156103a457600080fd5b50610202601581565b3480156103b957600080fd5b506101656103c8366004611120565b610ab1565b3480156103d957600080fd5b506101e76103e8366004610fd7565b610adf565b60006301ffc9a760e01b6001600160e01b03198316148061041e57506380ac58cd60e01b6001600160e01b03198316145b806104395750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606003805461044e90611153565b80601f016020809104026020016040519081016040528092919081815260200182805461047a90611153565b80156104c75780601f1061049c576101008083540402835291602001916104c7565b820191906000526020600020905b8154815290600101906020018083116104aa57829003601f168201915b5050505050905090565b60006104dc82610b54565b6104f9576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b60006105208261084f565b9050336001600160a01b038216146105595761053c8133610ab1565b610559576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006105c082610b89565b9050836001600160a01b0316816001600160a01b0316146105f35760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b03881690911417610640576106238633610ab1565b61064057604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661066757604051633a954ecd60e21b815260040160405180910390fd5b801561067257600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040812091909155600160e11b84169003610704576001840160008181526005602052604081205490036107025760015481146107025760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6000546001600160a01b031633146107815760405162461bcd60e51b81526004016107789061118d565b60405180910390fd5b6009546040516000916001600160a01b03169047908381818185875af1925050503d80600081146107ce576040519150601f19603f3d011682016040523d82523d6000602084013e6107d3565b606091505b50509050806107f557604051639e0eb9f560e01b815260040160405180910390fd5b50565b610813838383604051806020016040528060008152506109e3565b505050565b6000546001600160a01b031633146108425760405162461bcd60e51b81526004016107789061118d565b600a6108138284836111f9565b600061043982610b89565b60006001600160a01b038216610883576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b60606004805461044e90611153565b6015816108c86001546000190190565b6108d291906112d0565b11156108f15760405163d05cb60960e01b815260040160405180910390fd5b33600090815260066020526040908190205460039161091c9184911c67ffffffffffffffff166112d0565b111561093b5760405163d330f98560e01b815260040160405180910390fd5b61094e816802b5e3af16b18800006112e3565b341461096d57604051632c1d501360e11b815260040160405180910390fd5b6107f53382610bf8565b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6109ee8484846105b5565b6001600160a01b0383163b15610a2757610a0a84848484610cf6565b610a27576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610a3882610b54565b610a5557604051630a14c4b560e41b815260040160405180910390fd5b6000610a5f610de1565b90508051600003610a7f5760405180602001604052806000815250610aaa565b80610a8984610df0565b604051602001610a9a9291906112fa565b6040516020818303038152906040525b9392505050565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b6000546001600160a01b03163314610b095760405162461bcd60e51b81526004016107789061118d565b600080546001600160a01b0319166001600160a01b0383169081178255604051909133917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a350565b600081600111158015610b68575060015482105b8015610439575050600090815260056020526040902054600160e01b161590565b60008180600111610bdf57600154811015610bdf5760008181526005602052604081205490600160e01b82169003610bdd575b80600003610aaa575060001901600081815260056020526040902054610bbc565b505b604051636f96cda160e11b815260040160405180910390fd5b6001546000829003610c1d5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114610ccc57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101610c94565b5081600003610ced57604051622e076360e81b815260040160405180910390fd5b60015550505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610d2b903390899088908890600401611329565b6020604051808303816000875af1925050508015610d66575060408051601f3d908101601f19168201909252610d6391810190611366565b60015b610dc4573d808015610d94576040519150601f19603f3d011682016040523d82523d6000602084013e610d99565b606091505b508051600003610dbc576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060600a805461044e90611153565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a900480610e0a5750819003601f19909101908152919050565b6001600160e01b0319811681146107f557600080fd5b600060208284031215610e5c57600080fd5b8135610aaa81610e34565b60005b83811015610e82578181015183820152602001610e6a565b50506000910152565b60008151808452610ea3816020860160208601610e67565b601f01601f19169290920160200192915050565b602081526000610aaa6020830184610e8b565b600060208284031215610edc57600080fd5b5035919050565b80356001600160a01b0381168114610efa57600080fd5b919050565b60008060408385031215610f1257600080fd5b610f1b83610ee3565b946020939093013593505050565b600080600060608486031215610f3e57600080fd5b610f4784610ee3565b9250610f5560208501610ee3565b9150604084013590509250925092565b60008060208385031215610f7857600080fd5b823567ffffffffffffffff80821115610f9057600080fd5b818501915085601f830112610fa457600080fd5b813581811115610fb357600080fd5b866020828501011115610fc557600080fd5b60209290920196919550909350505050565b600060208284031215610fe957600080fd5b610aaa82610ee3565b6000806040838503121561100557600080fd5b61100e83610ee3565b91506020830135801515811461102357600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561105a57600080fd5b61106385610ee3565b935061107160208601610ee3565b925060408501359150606085013567ffffffffffffffff8082111561109557600080fd5b818701915087601f8301126110a957600080fd5b8135818111156110bb576110bb61102e565b604051601f8201601f19908116603f011681019083821181831017156110e3576110e361102e565b816040528281528a60208487010111156110fc57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561113357600080fd5b61113c83610ee3565b915061114a60208401610ee3565b90509250929050565b600181811c9082168061116757607f821691505b60208210810361118757634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252600c908201526b15539055551213d49256915160a21b604082015260600190565b601f82111561081357600081815260208120601f850160051c810160208610156111da5750805b601f850160051c820191505b81811015610746578281556001016111e6565b67ffffffffffffffff8311156112115761121161102e565b6112258361121f8354611153565b836111b3565b6000601f84116001811461125957600085156112415750838201355b600019600387901b1c1916600186901b1783556112b3565b600083815260209020601f19861690835b8281101561128a578685013582556020948501946001909201910161126a565b50868210156112a75760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610439576104396112ba565b8082028115828204841417610439576104396112ba565b6000835161130c818460208801610e67565b835190830190611320818360208801610e67565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061135c90830184610e8b565b9695505050505050565b60006020828403121561137857600080fd5b8151610aaa81610e3456fea26469706673582212207e0e8512a24813550f810383afddc8f588887c6783e9e35b6e8102e09f7084db64736f6c63430008130033

Deployed Bytecode Sourcemap

248:1133:3:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9155:630:0;;;;;;;;;;-1:-1:-1;9155:630:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:4;;558:22;540:41;;528:2;513:18;9155:630:0;;;;;;;;10039:98;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;16360:214::-;;;;;;;;;;-1:-1:-1;16360:214:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:4;;;1679:51;;1667:2;1652:18;16360:214:0;1533:203:4;15812:398:0;;;;;;:::i;:::-;;:::i;:::-;;5894:317;;;;;;;;;;-1:-1:-1;6164:12:0;;1098:1:3;6148:13:0;:28;-1:-1:-1;;6148:46:0;5894:317;;;2324:25:4;;;2312:2;2297:18;5894:317:0;2178:177:4;19903:2764:0;;;;;;:::i;:::-;;:::i;1219:160:3:-;;;;;;;;;;;;;:::i;22758:187:0:-;;;;;;:::i;:::-;;:::i;417:40:3:-;;;;;;;;;;;;456:1;417:40;;1108:92;;;;;;;;;;-1:-1:-1;1108:92:3;;;;;:::i;:::-;;:::i;302:68::-;;;;;;;;;;-1:-1:-1;302:68:3;;;;-1:-1:-1;;;;;302:68:3;;;11391:150:0;;;;;;;;;;-1:-1:-1;11391:150:0;;;;;:::i;:::-;;:::i;7045:230::-;;;;;;;;;;-1:-1:-1;7045:230:0;;;;;:::i;:::-;;:::i;690:20:2:-;;;;;;;;;;-1:-1:-1;690:20:2;;;;-1:-1:-1;;;;;690:20:2;;;10208:102:0;;;;;;;;;;;;;:::i;461:40:3:-;;;;;;;;;;;;493:8;461:40;;581:315;;;;;;:::i;:::-;;:::i;16901:231:0:-;;;;;;;;;;-1:-1:-1;16901:231:0;;;;;:::i;:::-;;:::i;23526:396::-;;;;;;:::i;:::-;;:::i;10411:313::-;;;;;;;;;;-1:-1:-1;10411:313:0;;;;;:::i;:::-;;:::i;375:38:3:-;;;;;;;;;;;;411:2;375:38;;17282:162:0;;;;;;;;;;-1:-1:-1;17282:162:0;;;;;:::i;:::-;;:::i;1312:161:2:-;;;;;;;;;;-1:-1:-1;1312:161:2;;;;;:::i;:::-;;:::i;9155:630:0:-;9240:4;-1:-1:-1;;;;;;;;;9558:25:0;;;;:101;;-1:-1:-1;;;;;;;;;;9634:25:0;;;9558:101;:177;;;-1:-1:-1;;;;;;;;;;9710:25:0;;;9558:177;9539:196;9155:630;-1:-1:-1;;9155:630:0:o;10039:98::-;10093:13;10125:5;10118:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10039:98;:::o;16360:214::-;16436:7;16460:16;16468:7;16460;:16::i;:::-;16455:64;;16485:34;;-1:-1:-1;;;16485:34:0;;;;;;;;;;;16455:64;-1:-1:-1;16537:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;16537:30:0;;16360:214::o;15812:398::-;15900:13;15916:16;15924:7;15916;:16::i;:::-;15900:32;-1:-1:-1;39523:10:0;-1:-1:-1;;;;;15947:28:0;;;15943:172;;15994:44;16011:5;39523:10;17282:162;:::i;15994:44::-;15989:126;;16065:35;;-1:-1:-1;;;16065:35:0;;;;;;;;;;;15989:126;16125:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;16125:35:0;-1:-1:-1;;;;;16125:35:0;;;;;;;;;16175:28;;16125:24;;16175:28;;;;;;;15890:320;15812:398;;:::o;19903:2764::-;20040:27;20070;20089:7;20070:18;:27::i;:::-;20040:57;;20153:4;-1:-1:-1;;;;;20112:45:0;20128:19;-1:-1:-1;;;;;20112:45:0;;20108:86;;20166:28;;-1:-1:-1;;;20166:28:0;;;;;;;;;;;20108:86;20206:27;19036:24;;;:15;:24;;;;;19260:26;;39523:10;18673:30;;;-1:-1:-1;;;;;18370:28:0;;18651:20;;;18648:56;20389:179;;20481:43;20498:4;39523:10;17282:162;:::i;20481:43::-;20476:92;;20533:35;;-1:-1:-1;;;20533:35:0;;;;;;;;;;;20476:92;-1:-1:-1;;;;;20583:16:0;;20579:52;;20608:23;;-1:-1:-1;;;20608:23:0;;;;;;;;;;;20579:52;20774:15;20771:157;;;20912:1;20891:19;20884:30;20771:157;-1:-1:-1;;;;;21300:24:0;;;;;;;:18;:24;;;;;;21298:26;;-1:-1:-1;;21298:26:0;;;21368:22;;;;;;;;;21366:24;;-1:-1:-1;21366:24:0;;;14703:11;14678:23;14674:41;14661:63;-1:-1:-1;;;14661:63:0;21654:26;;;;:17;:26;;;;;:172;;;;-1:-1:-1;;;21943:47:0;;:52;;21939:617;;22047:1;22037:11;;22015:19;22168:30;;;:17;:30;;;;;;:35;;22164:378;;22304:13;;22289:11;:28;22285:239;;22449:30;;;;:17;:30;;;;;:52;;;22285:239;21997:559;21939:617;22600:7;22596:2;-1:-1:-1;;;;;22581:27:0;22590:4;-1:-1:-1;;;;;22581:27:0;;;;;;;;;;;22618:42;20030:2637;;;19903:2764;;;:::o;1219:160:3:-;778:5:2;;-1:-1:-1;;;;;778:5:2;764:10;:19;756:44;;;;-1:-1:-1;;;756:44:2;;;;;;;:::i;:::-;;;;;;;;;1283:8:3::1;::::0;:47:::1;::::0;1265:12:::1;::::0;-1:-1:-1;;;;;1283:8:3::1;::::0;1304:21:::1;::::0;1265:12;1283:47;1265:12;1283:47;1304:21;1283:8;:47:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1264:66;;;1341:7;1336:38;;1357:17;;-1:-1:-1::0;;;1357:17:3::1;;;;;;;;;;;1336:38;1258:121;1219:160::o:0;22758:187:0:-;22899:39;22916:4;22922:2;22926:7;22899:39;;;;;;;;;;;;:16;:39::i;:::-;22758:187;;;:::o;1108:92:3:-;778:5:2;;-1:-1:-1;;;;;778:5:2;764:10;:19;756:44;;;;-1:-1:-1;;;756:44:2;;;;;;;:::i;:::-;1178:7:3::1;:17;1188:7:::0;;1178;:17:::1;:::i;11391:150:0:-:0;11463:7;11505:27;11524:7;11505:18;:27::i;7045:230::-;7117:7;-1:-1:-1;;;;;7140:19:0;;7136:60;;7168:28;;-1:-1:-1;;;7168:28:0;;;;;;;;;;;7136:60;-1:-1:-1;;;;;;7213:25:0;;;;;:18;:25;;;;;;1360:13;7213:55;;7045:230::o;10208:102::-;10264:13;10296:7;10289:14;;;;;:::i;581:315:3:-;411:2;657:8;640:14;1098:1;6546:13:0;-1:-1:-1;;6546:31:0;;6304:290;640:14:3;:25;;;;:::i;:::-;:37;636:68;;;686:18;;-1:-1:-1;;;686:18:3;;;;;;;;;;;636:68;728:10;7413:7:0;7440:25;;;:18;:25;;1495:2;7440:25;;;;;456:1:3;;714:36;;742:8;;7440:50:0;1360:13;7439:82;714:36:3;:::i;:::-;:51;710:85;;;774:21;;-1:-1:-1;;;774:21:3;;;;;;;;;;;710:85;818:16;826:8;493;818:16;:::i;:::-;805:9;:29;801:56;;843:14;;-1:-1:-1;;;843:14:3;;;;;;;;;;;801:56;864:27;870:10;882:8;864:5;:27::i;16901:231:0:-;39523:10;16995:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;16995:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;16995:60:0;;;;;;;;;;17070:55;;540:41:4;;;16995:49:0;;39523:10;17070:55;;513:18:4;17070:55:0;;;;;;;16901:231;;:::o;23526:396::-;23695:31;23708:4;23714:2;23718:7;23695:12;:31::i;:::-;-1:-1:-1;;;;;23740:14:0;;;:19;23736:180;;23778:56;23809:4;23815:2;23819:7;23828:5;23778:30;:56::i;:::-;23773:143;;23861:40;;-1:-1:-1;;;23861:40:0;;;;;;;;;;;23773:143;23526:396;;;;:::o;10411:313::-;10484:13;10514:16;10522:7;10514;:16::i;:::-;10509:59;;10539:29;;-1:-1:-1;;;10539:29:0;;;;;;;;;;;10509:59;10579:21;10603:10;:8;:10::i;:::-;10579:34;;10636:7;10630:21;10655:1;10630:26;:87;;;;;;;;;;;;;;;;;10683:7;10692:18;10702:7;10692:9;:18::i;:::-;10666:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;10630:87;10623:94;10411:313;-1:-1:-1;;;10411:313:0:o;17282:162::-;-1:-1:-1;;;;;17402:25:0;;;17379:4;17402:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;17282:162::o;1312:161:2:-;778:5;;-1:-1:-1;;;;;778:5:2;764:10;:19;756:44;;;;-1:-1:-1;;;756:44:2;;;;;;;:::i;:::-;1392:5:::1;:16:::0;;-1:-1:-1;;;;;;1392:16:2::1;-1:-1:-1::0;;;;;1392:16:2;::::1;::::0;;::::1;::::0;;1424:42:::1;::::0;1392:16;;1445:10:::1;::::0;1424:42:::1;::::0;1392:5;1424:42:::1;1312:161:::0;:::o;17693:277:0:-;17758:4;17812:7;1098:1:3;17793:26:0;;:65;;;;;17845:13;;17835:7;:23;17793:65;:151;;;;-1:-1:-1;;17895:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;17895:44:0;:49;;17693:277::o;12515:1249::-;12582:7;12616;;1098:1:3;12662:23:0;12658:1042;;12714:13;;12707:4;:20;12703:997;;;12751:14;12768:23;;;:17;:23;;;;;;;-1:-1:-1;;;12855:24:0;;:29;;12851:831;;13510:111;13517:6;13527:1;13517:11;13510:111;;-1:-1:-1;;;13587:6:0;13569:25;;;;:17;:25;;;;;;13510:111;;12851:831;12729:971;12703:997;13726:31;;-1:-1:-1;;;13726:31:0;;;;;;;;;;;27091:2902;27186:13;;27163:20;27213:13;;;27209:44;;27235:18;;-1:-1:-1;;;27235:18:0;;;;;;;;;;;27209:44;-1:-1:-1;;;;;27728:22:0;;;;;;:18;:22;;;;1495:2;27728:22;;;:71;;27766:32;27754:45;;27728:71;;;28035:31;;;:17;:31;;;;;-1:-1:-1;15123:15:0;;15097:24;15093:46;14703:11;14678:23;14674:41;14671:52;14661:63;;28035:170;;28264:23;;;;28035:31;;27728:22;;29016:25;27728:22;;28872:328;29520:1;29506:12;29502:20;29461:339;29560:3;29551:7;29548:16;29461:339;;29774:7;29764:8;29761:1;29734:25;29731:1;29728;29723:59;29612:1;29599:15;29461:339;;;29465:75;29831:8;29843:1;29831:13;29827:45;;29853:19;;-1:-1:-1;;;29853:19:0;;;;;;;;;;;29827:45;29887:13;:19;-1:-1:-1;22758:187:0;;;:::o;25948:697::-;26126:88;;-1:-1:-1;;;26126:88:0;;26106:4;;-1:-1:-1;;;;;26126:45:0;;;;;:88;;39523:10;;26193:4;;26199:7;;26208:5;;26126:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26126:88:0;;;;;;;;-1:-1:-1;;26126:88:0;;;;;;;;;;;;:::i;:::-;;;26122:517;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26404:6;:13;26421:1;26404:18;26400:229;;26449:40;;-1:-1:-1;;;26449:40:0;;;;;;;;;;;26400:229;26589:6;26583:13;26574:6;26570:2;26566:15;26559:38;26122:517;-1:-1:-1;;;;;;26282:64:0;-1:-1:-1;;;26282:64:0;;-1:-1:-1;25948:697:0;;;;;;:::o;915:100:3:-;975:13;1003:7;996:14;;;;;:::i;39637:1708:0:-;39702:17;40130:4;40123;40117:11;40113:22;40220:1;40214:4;40207:15;40293:4;40290:1;40286:12;40279:19;;;40373:1;40368:3;40361:14;40474:3;40708:5;40690:419;40755:1;40750:3;40746:11;40739:18;;40923:2;40917:4;40913:13;40909:2;40905:22;40900:3;40892:36;41015:2;41005:13;;41070:25;40690:419;41070:25;-1:-1:-1;41137:13:0;;;-1:-1:-1;;41250:14:0;;;41310:19;;;41250:14;39637:1708;-1:-1:-1;39637:1708:0:o;14:131:4:-;-1:-1:-1;;;;;;88:32:4;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:4;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:4;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:4:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:4;;1348:180;-1:-1:-1;1348:180:4:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:4;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:4:o;2360:328::-;2437:6;2445;2453;2506:2;2494:9;2485:7;2481:23;2477:32;2474:52;;;2522:1;2519;2512:12;2474:52;2545:29;2564:9;2545:29;:::i;:::-;2535:39;;2593:38;2627:2;2616:9;2612:18;2593:38;:::i;:::-;2583:48;;2678:2;2667:9;2663:18;2650:32;2640:42;;2360:328;;;;;:::o;2693:592::-;2764:6;2772;2825:2;2813:9;2804:7;2800:23;2796:32;2793:52;;;2841:1;2838;2831:12;2793:52;2881:9;2868:23;2910:18;2951:2;2943:6;2940:14;2937:34;;;2967:1;2964;2957:12;2937:34;3005:6;2994:9;2990:22;2980:32;;3050:7;3043:4;3039:2;3035:13;3031:27;3021:55;;3072:1;3069;3062:12;3021:55;3112:2;3099:16;3138:2;3130:6;3127:14;3124:34;;;3154:1;3151;3144:12;3124:34;3199:7;3194:2;3185:6;3181:2;3177:15;3173:24;3170:37;3167:57;;;3220:1;3217;3210:12;3167:57;3251:2;3243:11;;;;;3273:6;;-1:-1:-1;2693:592:4;;-1:-1:-1;;;;2693:592:4:o;3290:186::-;3349:6;3402:2;3390:9;3381:7;3377:23;3373:32;3370:52;;;3418:1;3415;3408:12;3370:52;3441:29;3460:9;3441:29;:::i;3481:347::-;3546:6;3554;3607:2;3595:9;3586:7;3582:23;3578:32;3575:52;;;3623:1;3620;3613:12;3575:52;3646:29;3665:9;3646:29;:::i;:::-;3636:39;;3725:2;3714:9;3710:18;3697:32;3772:5;3765:13;3758:21;3751:5;3748:32;3738:60;;3794:1;3791;3784:12;3738:60;3817:5;3807:15;;;3481:347;;;;;:::o;3833:127::-;3894:10;3889:3;3885:20;3882:1;3875:31;3925:4;3922:1;3915:15;3949:4;3946:1;3939:15;3965:1138;4060:6;4068;4076;4084;4137:3;4125:9;4116:7;4112:23;4108:33;4105:53;;;4154:1;4151;4144:12;4105:53;4177:29;4196:9;4177:29;:::i;:::-;4167:39;;4225:38;4259:2;4248:9;4244:18;4225:38;:::i;:::-;4215:48;;4310:2;4299:9;4295:18;4282:32;4272:42;;4365:2;4354:9;4350:18;4337:32;4388:18;4429:2;4421:6;4418:14;4415:34;;;4445:1;4442;4435:12;4415:34;4483:6;4472:9;4468:22;4458:32;;4528:7;4521:4;4517:2;4513:13;4509:27;4499:55;;4550:1;4547;4540:12;4499:55;4586:2;4573:16;4608:2;4604;4601:10;4598:36;;;4614:18;;:::i;:::-;4689:2;4683:9;4657:2;4743:13;;-1:-1:-1;;4739:22:4;;;4763:2;4735:31;4731:40;4719:53;;;4787:18;;;4807:22;;;4784:46;4781:72;;;4833:18;;:::i;:::-;4873:10;4869:2;4862:22;4908:2;4900:6;4893:18;4948:7;4943:2;4938;4934;4930:11;4926:20;4923:33;4920:53;;;4969:1;4966;4959:12;4920:53;5025:2;5020;5016;5012:11;5007:2;4999:6;4995:15;4982:46;5070:1;5065:2;5060;5052:6;5048:15;5044:24;5037:35;5091:6;5081:16;;;;;;;3965:1138;;;;;;;:::o;5108:260::-;5176:6;5184;5237:2;5225:9;5216:7;5212:23;5208:32;5205:52;;;5253:1;5250;5243:12;5205:52;5276:29;5295:9;5276:29;:::i;:::-;5266:39;;5324:38;5358:2;5347:9;5343:18;5324:38;:::i;:::-;5314:48;;5108:260;;;;;:::o;5373:380::-;5452:1;5448:12;;;;5495;;;5516:61;;5570:4;5562:6;5558:17;5548:27;;5516:61;5623:2;5615:6;5612:14;5592:18;5589:38;5586:161;;5669:10;5664:3;5660:20;5657:1;5650:31;5704:4;5701:1;5694:15;5732:4;5729:1;5722:15;5586:161;;5373:380;;;:::o;5758:336::-;5960:2;5942:21;;;5999:2;5979:18;;;5972:30;-1:-1:-1;;;6033:2:4;6018:18;;6011:42;6085:2;6070:18;;5758:336::o;6435:545::-;6537:2;6532:3;6529:11;6526:448;;;6573:1;6598:5;6594:2;6587:17;6643:4;6639:2;6629:19;6713:2;6701:10;6697:19;6694:1;6690:27;6684:4;6680:38;6749:4;6737:10;6734:20;6731:47;;;-1:-1:-1;6772:4:4;6731:47;6827:2;6822:3;6818:12;6815:1;6811:20;6805:4;6801:31;6791:41;;6882:82;6900:2;6893:5;6890:13;6882:82;;;6945:17;;;6926:1;6915:13;6882:82;;7156:1206;7280:18;7275:3;7272:27;7269:53;;;7302:18;;:::i;:::-;7331:94;7421:3;7381:38;7413:4;7407:11;7381:38;:::i;:::-;7375:4;7331:94;:::i;:::-;7451:1;7476:2;7471:3;7468:11;7493:1;7488:616;;;;8148:1;8165:3;8162:93;;;-1:-1:-1;8221:19:4;;;8208:33;8162:93;-1:-1:-1;;7113:1:4;7109:11;;;7105:24;7101:29;7091:40;7137:1;7133:11;;;7088:57;8268:78;;7461:895;;7488:616;6382:1;6375:14;;;6419:4;6406:18;;-1:-1:-1;;7524:17:4;;;7625:9;7647:229;7661:7;7658:1;7655:14;7647:229;;;7750:19;;;7737:33;7722:49;;7857:4;7842:20;;;;7810:1;7798:14;;;;7677:12;7647:229;;;7651:3;7904;7895:7;7892:16;7889:159;;;8028:1;8024:6;8018:3;8012;8009:1;8005:11;8001:21;7997:34;7993:39;7980:9;7975:3;7971:19;7958:33;7954:79;7946:6;7939:95;7889:159;;;8091:1;8085:3;8082:1;8078:11;8074:19;8068:4;8061:33;7461:895;;;7156:1206;;;:::o;8367:127::-;8428:10;8423:3;8419:20;8416:1;8409:31;8459:4;8456:1;8449:15;8483:4;8480:1;8473:15;8499:125;8564:9;;;8585:10;;;8582:36;;;8598:18;;:::i;8629:168::-;8702:9;;;8733;;8750:15;;;8744:22;;8730:37;8720:71;;8771:18;;:::i;8802:496::-;8981:3;9019:6;9013:13;9035:66;9094:6;9089:3;9082:4;9074:6;9070:17;9035:66;:::i;:::-;9164:13;;9123:16;;;;9186:70;9164:13;9123:16;9233:4;9221:17;;9186:70;:::i;:::-;9272:20;;8802:496;-1:-1:-1;;;;8802:496:4:o;9303:489::-;-1:-1:-1;;;;;9572:15:4;;;9554:34;;9624:15;;9619:2;9604:18;;9597:43;9671:2;9656:18;;9649:34;;;9719:3;9714:2;9699:18;;9692:31;;;9497:4;;9740:46;;9766:19;;9758:6;9740:46;:::i;:::-;9732:54;9303:489;-1:-1:-1;;;;;;9303:489:4:o;9797:249::-;9866:6;9919:2;9907:9;9898:7;9894:23;9890:32;9887:52;;;9935:1;9932;9925:12;9887:52;9967:9;9961:16;9986:30;10010:5;9986:30;:::i

Swarm Source

ipfs://7e0e8512a24813550f810383afddc8f588887c6783e9e35b6e8102e09f7084db

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.