ETH Price: $3,376.28 (+0.27%)
Gas: 6.33 Gwei

Token

Crocamigos (Crocamigos)
 

Overview

Max Total Supply

4,321 Crocamigos

Holders

546

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
10 Crocamigos
0x19E3b055ab110DAADd9B500A9Ea01F85703b4b1a
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
Crocamigos

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

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

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;


contract OperatorFilterer {
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry constant operatorFilterRegistry =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

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

    modifier onlyAllowedOperator() virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(operatorFilterRegistry).code.length > 0) {
            if (!operatorFilterRegistry.isOperatorAllowed(address(this), msg.sender)) {
                revert OperatorNotAllowed(msg.sender);
            }
        }
        _;
    }
}

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

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

library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;
        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping(bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) {
            // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            if (lastIndex != toDeleteIndex) {
                bytes32 lastValue = set._values[lastIndex];

                // Move the last value to the index where the value to delete is
                set._values[toDeleteIndex] = lastValue;
                // Update the index for the moved value
                set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex
            }

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        return set._values[index];
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function _values(Set storage set) private view returns (bytes32[] memory) {
        return set._values;
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
        bytes32[] memory store = _values(set._inner);
        bytes32[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(AddressSet storage set) internal view returns (address[] memory) {
        bytes32[] memory store = _values(set._inner);
        address[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(UintSet storage set) internal view returns (uint256[] memory) {
        bytes32[] memory store = _values(set._inner);
        uint256[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }
}

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

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);
}

contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

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

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

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

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

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

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

interface ERC721A__IERC721Receiver {
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

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 1;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) {
        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)
        }
    }
}

contract Crocamigos is ERC721A, Ownable, DefaultOperatorFilterer {

    enum Step {
        Before,
        Public
    }
    Step public sellingStep;

    string public baseURI;


    
    function mintForOwner(uint _quantity) public onlyOwner{
        _mint(msg.sender, _quantity);
    }

    function changeMaxWallet(uint newValue) public onlyOwner{
        maxWallet = newValue;
    }

    function changeMaxSupply(uint newValue) public onlyOwner{
        MAX_SUPPLY = newValue;
    }

    constructor(string memory _baseURI) ERC721A("Crocamigos", "Crocamigos") {
        baseURI = _baseURI;
    }

    mapping(address => uint) public mintedAmountNFTsperWalletPublicSale;
    mapping(address => uint) public freeMintAmount;
    uint public maxWallet = 10;

    uint public MAX_SUPPLY = 4321;

    uint public publicSalePrice = 0.001 ether;

    error ArrayMismatch();
    error SupplyExceeded();
    error NotEnoughPrice();
    error StepNotLive();
    error MaxWalletExceeded();

    function batchAirdrop(uint256[] calldata quantities, address[] calldata recipients) external onlyOwner {
        if(quantities.length != recipients.length) revert ArrayMismatch();

        uint256 length = quantities.length;

        for(uint256 i; i < length; i++) {
            _mint(recipients[i], quantities[i]);
        }
    }

    function freeMint() public {
        require(msg.sender == tx.origin);
        if(sellingStep != Step.Public) revert StepNotLive();
        if(totalSupply() + 1 > (MAX_SUPPLY)) revert SupplyExceeded();
        if(freeMintAmount[msg.sender] <= 0){
            // Free Mint !
            freeMintAmount[msg.sender] += 1;
            _mint(msg.sender, 1);
        } else {
            revert MaxWalletExceeded();
        }
    }

    function mint(uint _quantity) public payable {
        require(msg.sender == tx.origin);
        if(sellingStep != Step.Public) revert StepNotLive();
        if(mintedAmountNFTsperWalletPublicSale[msg.sender] + _quantity > maxWallet) revert MaxWalletExceeded();
        if(totalSupply() + _quantity > (MAX_SUPPLY)) revert SupplyExceeded();
        if(msg.value < publicSalePrice * _quantity) revert NotEnoughPrice();
        mintedAmountNFTsperWalletPublicSale[msg.sender] += _quantity;
        _mint(msg.sender, _quantity);
    }

    function changePrice(uint newPrice) external onlyOwner {
        publicSalePrice = newPrice;
    }

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

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

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

    function setStep(uint _step) external onlyOwner {
        sellingStep = Step(_step);
    }

    function setBaseUri(string memory _baseURI) external onlyOwner {
        baseURI = _baseURI;
    }

    function tokenURI(uint _tokenId) public view virtual override returns (string memory) {
        require(_exists(_tokenId), "URI query for nonexistent token");
        return string(abi.encodePacked(baseURI, _toString(_tokenId), ".json"));
    }

    function withdraw() external onlyOwner {
        require(payable(msg.sender).send(address(this).balance));
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ArrayMismatch","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MaxWalletExceeded","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NotEnoughPrice","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"StepNotLive","type":"error"},{"inputs":[],"name":"SupplyExceeded","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"quantities","type":"uint256[]"},{"internalType":"address[]","name":"recipients","type":"address[]"}],"name":"batchAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newValue","type":"uint256"}],"name":"changeMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newValue","type":"uint256"}],"name":"changeMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"changePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"freeMintAmount","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":"maxWallet","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":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"mintForOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintedAmountNFTsperWalletPublicSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"sellingStep","outputs":[{"internalType":"enum Crocamigos.Step","name":"","type":"uint8"}],"stateMutability":"view","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":"_baseURI","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_step","type":"uint256"}],"name":"setStep","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":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600a600c556110e1600d5566038d7ea4c68000600e553480156200002757600080fd5b506040516200214e3803806200214e8339810160408190526200004a91620002a0565b733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600a81526020016943726f63616d69676f7360b01b8152506040518060400160405280600a81526020016943726f63616d69676f7360b01b8152508160029081620000b8919062000404565b506003620000c7828262000404565b5050600160005550620000da3362000238565b6daaeb6d7670e522a718067333cd4e3b156200021f5780156200016d57604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200014e57600080fd5b505af115801562000163573d6000803e3d6000fd5b505050506200021f565b6001600160a01b03821615620001be5760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af29039060440162000133565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b1580156200020557600080fd5b505af11580156200021a573d6000803e3d6000fd5b505050505b506009905062000230828262000404565b5050620004d0565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215620002b457600080fd5b82516001600160401b0380821115620002cc57600080fd5b818501915085601f830112620002e157600080fd5b815181811115620002f657620002f66200028a565b604051601f8201601f19908116603f011681019083821181831017156200032157620003216200028a565b8160405282815288868487010111156200033a57600080fd5b600093505b828410156200035e57848401860151818501870152928501926200033f565b600086848301015280965050505050505092915050565b600181811c908216806200038a57607f821691505b602082108103620003ab57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620003ff57600081815260208120601f850160051c81016020861015620003da5750805b601f850160051c820191505b81811015620003fb57828155600101620003e6565b5050505b505050565b81516001600160401b038111156200042057620004206200028a565b620004388162000431845462000375565b84620003b1565b602080601f831160018114620004705760008415620004575750858301515b600019600386901b1c1916600185901b178555620003fb565b600085815260208120601f198616915b82811015620004a15788860151825594840194600190910190840162000480565b5085821015620004c05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611c6e80620004e06000396000f3fe6080604052600436106101f95760003560e01c80638da5cb5b1161010d578063b88d4fde116100a0578063e985e9c51161006f578063e985e9c514610563578063f2fde38b14610583578063f3ec6a79146105a3578063f8b45b05146105d0578063f8dcbddb146105e657600080fd5b8063b88d4fde146104d5578063b9bbe00a146104e8578063c87b56dd14610515578063cbccefb21461053557600080fd5b8063a0bcfc7f116100dc578063a0bcfc7f14610455578063a22cb46514610475578063a2b40d1914610495578063ace849c6146104b557600080fd5b80638da5cb5b146103f957806395d89b41146104175780639b6860c81461042c578063a0712d681461044257600080fd5b80633ccfd60b116101905780636352211e1161015f5780636352211e1461036f57806363bc312a1461038f5780636c0360eb146103af57806370a08231146103c4578063715018a6146103e457600080fd5b80633ccfd60b14610312578063404c7cdd1461032757806342842e0e146103475780635b70ea9f1461035a57600080fd5b80630b006d60116101cc5780630b006d60146102a257806318160ddd146102c257806323b872dd146102e957806332cb6b0c146102fc57600080fd5b806301ffc9a7146101fe57806306fdde0314610233578063081812fc14610255578063095ea7b31461028d575b600080fd5b34801561020a57600080fd5b5061021e610219366004611586565b610606565b60405190151581526020015b60405180910390f35b34801561023f57600080fd5b50610248610658565b60405161022a91906115f3565b34801561026157600080fd5b50610275610270366004611606565b6106ea565b6040516001600160a01b03909116815260200161022a565b6102a061029b36600461163b565b61072e565b005b3480156102ae57600080fd5b506102a06102bd366004611606565b6107ce565b3480156102ce57600080fd5b5060015460005403600019015b60405190815260200161022a565b6102a06102f7366004611665565b6107db565b34801561030857600080fd5b506102db600d5481565b34801561031e57600080fd5b506102a0610899565b34801561033357600080fd5b506102a0610342366004611606565b6108c7565b6102a0610355366004611665565b6108d4565b34801561036657600080fd5b506102a0610988565b34801561037b57600080fd5b5061027561038a366004611606565b610a68565b34801561039b57600080fd5b506102a06103aa366004611606565b610a73565b3480156103bb57600080fd5b50610248610a88565b3480156103d057600080fd5b506102db6103df3660046116a1565b610b16565b3480156103f057600080fd5b506102a0610b65565b34801561040557600080fd5b506008546001600160a01b0316610275565b34801561042357600080fd5b50610248610b77565b34801561043857600080fd5b506102db600e5481565b6102a0610450366004611606565b610b86565b34801561046157600080fd5b506102a0610470366004611748565b610ca4565b34801561048157600080fd5b506102a061049036600461179f565b610cbc565b3480156104a157600080fd5b506102a06104b0366004611606565b610d28565b3480156104c157600080fd5b506102a06104d0366004611822565b610d35565b6102a06104e336600461188e565b610dcb565b3480156104f457600080fd5b506102db6105033660046116a1565b600a6020526000908152604090205481565b34801561052157600080fd5b50610248610530366004611606565b610e86565b34801561054157600080fd5b5060085461055690600160a01b900460ff1681565b60405161022a9190611920565b34801561056f57600080fd5b5061021e61057e366004611948565b610f0f565b34801561058f57600080fd5b506102a061059e3660046116a1565b610f3d565b3480156105af57600080fd5b506102db6105be3660046116a1565b600b6020526000908152604090205481565b3480156105dc57600080fd5b506102db600c5481565b3480156105f257600080fd5b506102a0610601366004611606565b610fb3565b60006301ffc9a760e01b6001600160e01b03198316148061063757506380ac58cd60e01b6001600160e01b03198316145b806106525750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546106679061197b565b80601f01602080910402602001604051908101604052809291908181526020018280546106939061197b565b80156106e05780601f106106b5576101008083540402835291602001916106e0565b820191906000526020600020905b8154815290600101906020018083116106c357829003601f168201915b5050505050905090565b60006106f582610ff7565b610712576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061073982610a68565b9050336001600160a01b03821614610772576107558133610f0f565b610772576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6107d661102c565b600c55565b6daaeb6d7670e522a718067333cd4e3b1561088957604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c6171134906044016020604051808303816000875af1158015610841573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061086591906119b5565b61088957604051633b79c77360e21b81523360048201526024015b60405180910390fd5b610894838383611086565b505050565b6108a161102c565b60405133904780156108fc02916000818181858888f193505050506108c557600080fd5b565b6108cf61102c565b600d55565b6daaeb6d7670e522a718067333cd4e3b1561097d57604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c6171134906044016020604051808303816000875af115801561093a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061095e91906119b5565b61097d57604051633b79c77360e21b8152336004820152602401610880565b61089483838361121b565b33321461099457600080fd5b6001600854600160a01b900460ff1660018111156109b4576109b461190a565b146109d257604051638da664f160e01b815260040160405180910390fd5b600d5460015460005403600019016109eb9060016119e8565b1115610a0a57604051637d3d824960e01b815260040160405180910390fd5b336000908152600b6020526040902054610a4f57336000908152600b60205260408120805460019290610a3e9084906119e8565b909155506108c59050336001611236565b604051632ce93b5960e01b815260040160405180910390fd5b600061065282611334565b610a7b61102c565b610a853382611236565b50565b60098054610a959061197b565b80601f0160208091040260200160405190810160405280929190818152602001828054610ac19061197b565b8015610b0e5780601f10610ae357610100808354040283529160200191610b0e565b820191906000526020600020905b815481529060010190602001808311610af157829003601f168201915b505050505081565b60006001600160a01b038216610b3f576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610b6d61102c565b6108c560006113aa565b6060600380546106679061197b565b333214610b9257600080fd5b6001600854600160a01b900460ff166001811115610bb257610bb261190a565b14610bd057604051638da664f160e01b815260040160405180910390fd5b600c54336000908152600a6020526040902054610bee9083906119e8565b1115610c0d57604051632ce93b5960e01b815260040160405180910390fd5b600d546001546000548391900360001901610c2891906119e8565b1115610c4757604051637d3d824960e01b815260040160405180910390fd5b80600e54610c5591906119fb565b341015610c7557604051632bd2383b60e11b815260040160405180910390fd5b336000908152600a602052604081208054839290610c949084906119e8565b90915550610a8590503382611236565b610cac61102c565b6009610cb88282611a58565b5050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610d3061102c565b600e55565b610d3d61102c565b828114610d5d5760405163b7c1140d60e01b815260040160405180910390fd5b8260005b81811015610dc357610db1848483818110610d7e57610d7e611b18565b9050602002016020810190610d9391906116a1565b878784818110610da557610da5611b18565b90506020020135611236565b80610dbb81611b2e565b915050610d61565b505050505050565b6daaeb6d7670e522a718067333cd4e3b15610e7457604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c6171134906044016020604051808303816000875af1158015610e31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5591906119b5565b610e7457604051633b79c77360e21b8152336004820152602401610880565b610e80848484846113fc565b50505050565b6060610e9182610ff7565b610edd5760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610880565b6009610ee883611440565b604051602001610ef9929190611b47565b6040516020818303038152906040529050919050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b610f4561102c565b6001600160a01b038116610faa5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610880565b610a85816113aa565b610fbb61102c565b806001811115610fcd57610fcd61190a565b6008805460ff60a01b1916600160a01b836001811115610fef57610fef61190a565b021790555050565b60008160011115801561100b575060005482105b8015610652575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b031633146108c55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610880565b600061109182611334565b9050836001600160a01b0316816001600160a01b0316146110c45760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417611111576110f48633610f0f565b61111157604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661113857604051633a954ecd60e21b815260040160405180910390fd5b801561114357600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036111d5576001840160008181526004602052604081205490036111d35760005481146111d35760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610dc3565b61089483838360405180602001604052806000815250610dcb565b600080549082900361125b5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461130a57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016112d2565b508160000361132b57604051622e076360e81b815260040160405180910390fd5b60005550505050565b60008180600111611391576000548110156113915760008181526004602052604081205490600160e01b8216900361138f575b80600003611388575060001901600081815260046020526040902054611367565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6114078484846107db565b6001600160a01b0383163b15610e805761142384848484611484565b610e80576040516368d2bf6b60e11b815260040160405180910390fd5b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a90048061145a5750819003601f19909101908152919050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906114b9903390899088908890600401611bde565b6020604051808303816000875af19250505080156114f4575060408051601f3d908101601f191682019092526114f191810190611c1b565b60015b611552573d808015611522576040519150601f19603f3d011682016040523d82523d6000602084013e611527565b606091505b50805160000361154a576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6001600160e01b031981168114610a8557600080fd5b60006020828403121561159857600080fd5b813561138881611570565b60005b838110156115be5781810151838201526020016115a6565b50506000910152565b600081518084526115df8160208601602086016115a3565b601f01601f19169290920160200192915050565b60208152600061138860208301846115c7565b60006020828403121561161857600080fd5b5035919050565b80356001600160a01b038116811461163657600080fd5b919050565b6000806040838503121561164e57600080fd5b6116578361161f565b946020939093013593505050565b60008060006060848603121561167a57600080fd5b6116838461161f565b92506116916020850161161f565b9150604084013590509250925092565b6000602082840312156116b357600080fd5b6113888261161f565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156116ed576116ed6116bc565b604051601f8501601f19908116603f01168101908282118183101715611715576117156116bc565b8160405280935085815286868601111561172e57600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561175a57600080fd5b813567ffffffffffffffff81111561177157600080fd5b8201601f8101841361178257600080fd5b611568848235602084016116d2565b8015158114610a8557600080fd5b600080604083850312156117b257600080fd5b6117bb8361161f565b915060208301356117cb81611791565b809150509250929050565b60008083601f8401126117e857600080fd5b50813567ffffffffffffffff81111561180057600080fd5b6020830191508360208260051b850101111561181b57600080fd5b9250929050565b6000806000806040858703121561183857600080fd5b843567ffffffffffffffff8082111561185057600080fd5b61185c888389016117d6565b9096509450602087013591508082111561187557600080fd5b50611882878288016117d6565b95989497509550505050565b600080600080608085870312156118a457600080fd5b6118ad8561161f565b93506118bb6020860161161f565b925060408501359150606085013567ffffffffffffffff8111156118de57600080fd5b8501601f810187136118ef57600080fd5b6118fe878235602084016116d2565b91505092959194509250565b634e487b7160e01b600052602160045260246000fd5b602081016002831061194257634e487b7160e01b600052602160045260246000fd5b91905290565b6000806040838503121561195b57600080fd5b6119648361161f565b91506119726020840161161f565b90509250929050565b600181811c9082168061198f57607f821691505b6020821081036119af57634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156119c757600080fd5b815161138881611791565b634e487b7160e01b600052601160045260246000fd5b80820180821115610652576106526119d2565b8082028115828204841417610652576106526119d2565b601f82111561089457600081815260208120601f850160051c81016020861015611a395750805b601f850160051c820191505b81811015610dc357828155600101611a45565b815167ffffffffffffffff811115611a7257611a726116bc565b611a8681611a80845461197b565b84611a12565b602080601f831160018114611abb5760008415611aa35750858301515b600019600386901b1c1916600185901b178555610dc3565b600085815260208120601f198616915b82811015611aea57888601518255948401946001909101908401611acb565b5085821015611b085787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b600060018201611b4057611b406119d2565b5060010190565b6000808454611b558161197b565b60018281168015611b6d5760018114611b8257611bb1565b60ff1984168752821515830287019450611bb1565b8860005260208060002060005b85811015611ba85781548a820152908401908201611b8f565b50505082870194505b505050508351611bc58183602088016115a3565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611c11908301846115c7565b9695505050505050565b600060208284031215611c2d57600080fd5b81516113888161157056fea2646970667358221220303e18b336c81ac237d3d804448761e49a524295a5ae46a318e5bf86b9f8390d64736f6c6343000813003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101f95760003560e01c80638da5cb5b1161010d578063b88d4fde116100a0578063e985e9c51161006f578063e985e9c514610563578063f2fde38b14610583578063f3ec6a79146105a3578063f8b45b05146105d0578063f8dcbddb146105e657600080fd5b8063b88d4fde146104d5578063b9bbe00a146104e8578063c87b56dd14610515578063cbccefb21461053557600080fd5b8063a0bcfc7f116100dc578063a0bcfc7f14610455578063a22cb46514610475578063a2b40d1914610495578063ace849c6146104b557600080fd5b80638da5cb5b146103f957806395d89b41146104175780639b6860c81461042c578063a0712d681461044257600080fd5b80633ccfd60b116101905780636352211e1161015f5780636352211e1461036f57806363bc312a1461038f5780636c0360eb146103af57806370a08231146103c4578063715018a6146103e457600080fd5b80633ccfd60b14610312578063404c7cdd1461032757806342842e0e146103475780635b70ea9f1461035a57600080fd5b80630b006d60116101cc5780630b006d60146102a257806318160ddd146102c257806323b872dd146102e957806332cb6b0c146102fc57600080fd5b806301ffc9a7146101fe57806306fdde0314610233578063081812fc14610255578063095ea7b31461028d575b600080fd5b34801561020a57600080fd5b5061021e610219366004611586565b610606565b60405190151581526020015b60405180910390f35b34801561023f57600080fd5b50610248610658565b60405161022a91906115f3565b34801561026157600080fd5b50610275610270366004611606565b6106ea565b6040516001600160a01b03909116815260200161022a565b6102a061029b36600461163b565b61072e565b005b3480156102ae57600080fd5b506102a06102bd366004611606565b6107ce565b3480156102ce57600080fd5b5060015460005403600019015b60405190815260200161022a565b6102a06102f7366004611665565b6107db565b34801561030857600080fd5b506102db600d5481565b34801561031e57600080fd5b506102a0610899565b34801561033357600080fd5b506102a0610342366004611606565b6108c7565b6102a0610355366004611665565b6108d4565b34801561036657600080fd5b506102a0610988565b34801561037b57600080fd5b5061027561038a366004611606565b610a68565b34801561039b57600080fd5b506102a06103aa366004611606565b610a73565b3480156103bb57600080fd5b50610248610a88565b3480156103d057600080fd5b506102db6103df3660046116a1565b610b16565b3480156103f057600080fd5b506102a0610b65565b34801561040557600080fd5b506008546001600160a01b0316610275565b34801561042357600080fd5b50610248610b77565b34801561043857600080fd5b506102db600e5481565b6102a0610450366004611606565b610b86565b34801561046157600080fd5b506102a0610470366004611748565b610ca4565b34801561048157600080fd5b506102a061049036600461179f565b610cbc565b3480156104a157600080fd5b506102a06104b0366004611606565b610d28565b3480156104c157600080fd5b506102a06104d0366004611822565b610d35565b6102a06104e336600461188e565b610dcb565b3480156104f457600080fd5b506102db6105033660046116a1565b600a6020526000908152604090205481565b34801561052157600080fd5b50610248610530366004611606565b610e86565b34801561054157600080fd5b5060085461055690600160a01b900460ff1681565b60405161022a9190611920565b34801561056f57600080fd5b5061021e61057e366004611948565b610f0f565b34801561058f57600080fd5b506102a061059e3660046116a1565b610f3d565b3480156105af57600080fd5b506102db6105be3660046116a1565b600b6020526000908152604090205481565b3480156105dc57600080fd5b506102db600c5481565b3480156105f257600080fd5b506102a0610601366004611606565b610fb3565b60006301ffc9a760e01b6001600160e01b03198316148061063757506380ac58cd60e01b6001600160e01b03198316145b806106525750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546106679061197b565b80601f01602080910402602001604051908101604052809291908181526020018280546106939061197b565b80156106e05780601f106106b5576101008083540402835291602001916106e0565b820191906000526020600020905b8154815290600101906020018083116106c357829003601f168201915b5050505050905090565b60006106f582610ff7565b610712576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061073982610a68565b9050336001600160a01b03821614610772576107558133610f0f565b610772576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6107d661102c565b600c55565b6daaeb6d7670e522a718067333cd4e3b1561088957604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c6171134906044016020604051808303816000875af1158015610841573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061086591906119b5565b61088957604051633b79c77360e21b81523360048201526024015b60405180910390fd5b610894838383611086565b505050565b6108a161102c565b60405133904780156108fc02916000818181858888f193505050506108c557600080fd5b565b6108cf61102c565b600d55565b6daaeb6d7670e522a718067333cd4e3b1561097d57604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c6171134906044016020604051808303816000875af115801561093a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061095e91906119b5565b61097d57604051633b79c77360e21b8152336004820152602401610880565b61089483838361121b565b33321461099457600080fd5b6001600854600160a01b900460ff1660018111156109b4576109b461190a565b146109d257604051638da664f160e01b815260040160405180910390fd5b600d5460015460005403600019016109eb9060016119e8565b1115610a0a57604051637d3d824960e01b815260040160405180910390fd5b336000908152600b6020526040902054610a4f57336000908152600b60205260408120805460019290610a3e9084906119e8565b909155506108c59050336001611236565b604051632ce93b5960e01b815260040160405180910390fd5b600061065282611334565b610a7b61102c565b610a853382611236565b50565b60098054610a959061197b565b80601f0160208091040260200160405190810160405280929190818152602001828054610ac19061197b565b8015610b0e5780601f10610ae357610100808354040283529160200191610b0e565b820191906000526020600020905b815481529060010190602001808311610af157829003601f168201915b505050505081565b60006001600160a01b038216610b3f576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610b6d61102c565b6108c560006113aa565b6060600380546106679061197b565b333214610b9257600080fd5b6001600854600160a01b900460ff166001811115610bb257610bb261190a565b14610bd057604051638da664f160e01b815260040160405180910390fd5b600c54336000908152600a6020526040902054610bee9083906119e8565b1115610c0d57604051632ce93b5960e01b815260040160405180910390fd5b600d546001546000548391900360001901610c2891906119e8565b1115610c4757604051637d3d824960e01b815260040160405180910390fd5b80600e54610c5591906119fb565b341015610c7557604051632bd2383b60e11b815260040160405180910390fd5b336000908152600a602052604081208054839290610c949084906119e8565b90915550610a8590503382611236565b610cac61102c565b6009610cb88282611a58565b5050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610d3061102c565b600e55565b610d3d61102c565b828114610d5d5760405163b7c1140d60e01b815260040160405180910390fd5b8260005b81811015610dc357610db1848483818110610d7e57610d7e611b18565b9050602002016020810190610d9391906116a1565b878784818110610da557610da5611b18565b90506020020135611236565b80610dbb81611b2e565b915050610d61565b505050505050565b6daaeb6d7670e522a718067333cd4e3b15610e7457604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c6171134906044016020604051808303816000875af1158015610e31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5591906119b5565b610e7457604051633b79c77360e21b8152336004820152602401610880565b610e80848484846113fc565b50505050565b6060610e9182610ff7565b610edd5760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610880565b6009610ee883611440565b604051602001610ef9929190611b47565b6040516020818303038152906040529050919050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b610f4561102c565b6001600160a01b038116610faa5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610880565b610a85816113aa565b610fbb61102c565b806001811115610fcd57610fcd61190a565b6008805460ff60a01b1916600160a01b836001811115610fef57610fef61190a565b021790555050565b60008160011115801561100b575060005482105b8015610652575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b031633146108c55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610880565b600061109182611334565b9050836001600160a01b0316816001600160a01b0316146110c45760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417611111576110f48633610f0f565b61111157604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661113857604051633a954ecd60e21b815260040160405180910390fd5b801561114357600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036111d5576001840160008181526004602052604081205490036111d35760005481146111d35760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610dc3565b61089483838360405180602001604052806000815250610dcb565b600080549082900361125b5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461130a57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016112d2565b508160000361132b57604051622e076360e81b815260040160405180910390fd5b60005550505050565b60008180600111611391576000548110156113915760008181526004602052604081205490600160e01b8216900361138f575b80600003611388575060001901600081815260046020526040902054611367565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6114078484846107db565b6001600160a01b0383163b15610e805761142384848484611484565b610e80576040516368d2bf6b60e11b815260040160405180910390fd5b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a90048061145a5750819003601f19909101908152919050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906114b9903390899088908890600401611bde565b6020604051808303816000875af19250505080156114f4575060408051601f3d908101601f191682019092526114f191810190611c1b565b60015b611552573d808015611522576040519150601f19603f3d011682016040523d82523d6000602084013e611527565b606091505b50805160000361154a576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6001600160e01b031981168114610a8557600080fd5b60006020828403121561159857600080fd5b813561138881611570565b60005b838110156115be5781810151838201526020016115a6565b50506000910152565b600081518084526115df8160208601602086016115a3565b601f01601f19169290920160200192915050565b60208152600061138860208301846115c7565b60006020828403121561161857600080fd5b5035919050565b80356001600160a01b038116811461163657600080fd5b919050565b6000806040838503121561164e57600080fd5b6116578361161f565b946020939093013593505050565b60008060006060848603121561167a57600080fd5b6116838461161f565b92506116916020850161161f565b9150604084013590509250925092565b6000602082840312156116b357600080fd5b6113888261161f565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156116ed576116ed6116bc565b604051601f8501601f19908116603f01168101908282118183101715611715576117156116bc565b8160405280935085815286868601111561172e57600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561175a57600080fd5b813567ffffffffffffffff81111561177157600080fd5b8201601f8101841361178257600080fd5b611568848235602084016116d2565b8015158114610a8557600080fd5b600080604083850312156117b257600080fd5b6117bb8361161f565b915060208301356117cb81611791565b809150509250929050565b60008083601f8401126117e857600080fd5b50813567ffffffffffffffff81111561180057600080fd5b6020830191508360208260051b850101111561181b57600080fd5b9250929050565b6000806000806040858703121561183857600080fd5b843567ffffffffffffffff8082111561185057600080fd5b61185c888389016117d6565b9096509450602087013591508082111561187557600080fd5b50611882878288016117d6565b95989497509550505050565b600080600080608085870312156118a457600080fd5b6118ad8561161f565b93506118bb6020860161161f565b925060408501359150606085013567ffffffffffffffff8111156118de57600080fd5b8501601f810187136118ef57600080fd5b6118fe878235602084016116d2565b91505092959194509250565b634e487b7160e01b600052602160045260246000fd5b602081016002831061194257634e487b7160e01b600052602160045260246000fd5b91905290565b6000806040838503121561195b57600080fd5b6119648361161f565b91506119726020840161161f565b90509250929050565b600181811c9082168061198f57607f821691505b6020821081036119af57634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156119c757600080fd5b815161138881611791565b634e487b7160e01b600052601160045260246000fd5b80820180821115610652576106526119d2565b8082028115828204841417610652576106526119d2565b601f82111561089457600081815260208120601f850160051c81016020861015611a395750805b601f850160051c820191505b81811015610dc357828155600101611a45565b815167ffffffffffffffff811115611a7257611a726116bc565b611a8681611a80845461197b565b84611a12565b602080601f831160018114611abb5760008415611aa35750858301515b600019600386901b1c1916600185901b178555610dc3565b600085815260208120601f198616915b82811015611aea57888601518255948401946001909101908401611acb565b5085821015611b085787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b600060018201611b4057611b406119d2565b5060010190565b6000808454611b558161197b565b60018281168015611b6d5760018114611b8257611bb1565b60ff1984168752821515830287019450611bb1565b8860005260208060002060005b85811015611ba85781548a820152908401908201611b8f565b50505082870194505b505050508351611bc58183602088016115a3565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611c11908301846115c7565b9695505050505050565b600060208284031215611c2d57600080fd5b81516113888161157056fea2646970667358221220303e18b336c81ac237d3d804448761e49a524295a5ae46a318e5bf86b9f8390d64736f6c63430008130033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _baseURI (string):

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

68775:3657:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35744:639;;;;;;;;;;-1:-1:-1;35744:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;35744:639:0;;;;;;;;36646:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;43137:218::-;;;;;;;;;;-1:-1:-1;43137:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;43137:218:0;1533:203:1;42570:408:0;;;;;;:::i;:::-;;:::i;:::-;;69085:95;;;;;;;;;;-1:-1:-1;69085:95:0;;;;;:::i;:::-;;:::i;32397:323::-;;;;;;;;;;-1:-1:-1;31996:1:0;32671:12;32458:7;32655:13;:28;-1:-1:-1;;32655:46:0;32397:323;;;2324:25:1;;;2312:2;2297:18;32397:323:0;2178:177:1;71251:165:0;;;;;;:::i;:::-;;:::i;69571:29::-;;;;;;;;;;;;;;;;72315:114;;;;;;;;;;;;;:::i;69188:96::-;;;;;;;;;;-1:-1:-1;69188:96:0;;;;;:::i;:::-;;:::i;71424:173::-;;;;;;:::i;:::-;;:::i;70153:436::-;;;;;;;;;;;;;:::i;38039:152::-;;;;;;;;;;-1:-1:-1;38039:152:0;;;;;:::i;:::-;;:::i;68976:101::-;;;;;;;;;;-1:-1:-1;68976:101:0;;;;;:::i;:::-;;:::i;68938:21::-;;;;;;;;;;;;;:::i;33581:233::-;;;;;;;;;;-1:-1:-1;33581:233:0;;;;;:::i;:::-;;:::i;26233:103::-;;;;;;;;;;;;;:::i;25585:87::-;;;;;;;;;;-1:-1:-1;25658:6:0;;-1:-1:-1;;;;;25658:6:0;25585:87;;36822:104;;;;;;;;;;;;;:::i;69609:41::-;;;;;;;;;;;;;;;;70597:538;;;;;;:::i;:::-;;:::i;71952:100::-;;;;;;;;;;-1:-1:-1;71952:100:0;;;;;:::i;:::-;;:::i;43695:234::-;;;;;;;;;;-1:-1:-1;43695:234:0;;;;;:::i;:::-;;:::i;71143:100::-;;;;;;;;;;-1:-1:-1;71143:100:0;;;;;:::i;:::-;;:::i;69805:340::-;;;;;;;;;;-1:-1:-1;69805:340:0;;;;;:::i;:::-;;:::i;71605:239::-;;;;;;:::i;:::-;;:::i;69409:67::-;;;;;;;;;;-1:-1:-1;69409:67:0;;;;;:::i;:::-;;;;;;;;;;;;;;72060:247;;;;;;;;;;-1:-1:-1;72060:247:0;;;;;:::i;:::-;;:::i;68906:23::-;;;;;;;;;;-1:-1:-1;68906:23:0;;;;-1:-1:-1;;;68906:23:0;;;;;;;;;;;;;:::i;44086:164::-;;;;;;;;;;-1:-1:-1;44086:164:0;;;;;:::i;:::-;;:::i;26491:201::-;;;;;;;;;;-1:-1:-1;26491:201:0;;;;;:::i;:::-;;:::i;69483:46::-;;;;;;;;;;-1:-1:-1;69483:46:0;;;;;:::i;:::-;;;;;;;;;;;;;;69536:26;;;;;;;;;;;;;;;;71852:92;;;;;;;;;;-1:-1:-1;71852:92:0;;;;;:::i;:::-;;:::i;35744:639::-;35829:4;-1:-1:-1;;;;;;;;;36153:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;36230:25:0;;;36153:102;:179;;;-1:-1:-1;;;;;;;;;;36307:25:0;;;36153:179;36133:199;35744:639;-1:-1:-1;;35744:639:0:o;36646:100::-;36700:13;36733:5;36726:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36646:100;:::o;43137:218::-;43213:7;43238:16;43246:7;43238;:16::i;:::-;43233:64;;43263:34;;-1:-1:-1;;;43263:34:0;;;;;;;;;;;43233:64;-1:-1:-1;43317:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;43317:30:0;;43137:218::o;42570:408::-;42659:13;42675:16;42683:7;42675;:16::i;:::-;42659:32;-1:-1:-1;66903:10:0;-1:-1:-1;;;;;42708:28:0;;;42704:175;;42756:44;42773:5;66903:10;44086:164;:::i;42756:44::-;42751:128;;42828:35;;-1:-1:-1;;;42828:35:0;;;;;;;;;;;42751:128;42891:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;42891:35:0;-1:-1:-1;;;;;42891:35:0;;;;;;;;;42942:28;;42891:24;;42942:28;;;;;;;42648:330;42570:408;;:::o;69085:95::-;25471:13;:11;:13::i;:::-;69152:9:::1;:20:::0;69085:95::o;71251:165::-;309:42;1437:43;:47;1433:225;;1506:67;;-1:-1:-1;;;1506:67:0;;1555:4;1506:67;;;7710:34:1;1562:10:0;7760:18:1;;;7753:43;309:42:0;;1506:40;;7645:18:1;;1506:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1501:146;;1601:30;;-1:-1:-1;;;1601:30:0;;1620:10;1601:30;;;1679:51:1;1652:18;;1601:30:0;;;;;;;;1501:146;71371:37:::1;71390:4;71396:2;71400:7;71371:18;:37::i;:::-;71251:165:::0;;;:::o;72315:114::-;25471:13;:11;:13::i;:::-;72373:47:::1;::::0;72381:10:::1;::::0;72398:21:::1;72373:47:::0;::::1;;;::::0;::::1;::::0;;;72398:21;72381:10;72373:47;::::1;;;;;;72365:56;;;::::0;::::1;;72315:114::o:0;69188:96::-;25471:13;:11;:13::i;:::-;69255:10:::1;:21:::0;69188:96::o;71424:173::-;309:42;1437:43;:47;1433:225;;1506:67;;-1:-1:-1;;;1506:67:0;;1555:4;1506:67;;;7710:34:1;1562:10:0;7760:18:1;;;7753:43;309:42:0;;1506:40;;7645:18:1;;1506:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1501:146;;1601:30;;-1:-1:-1;;;1601:30:0;;1620:10;1601:30;;;1679:51:1;1652:18;;1601:30:0;1533:203:1;1501:146:0;71548:41:::1;71571:4;71577:2;71581:7;71548:22;:41::i;70153:436::-:0;70199:10;70213:9;70199:23;70191:32;;;;;;70252:11;70237;;-1:-1:-1;;;70237:11:0;;;;:26;;;;;;;;:::i;:::-;;70234:51;;70272:13;;-1:-1:-1;;;70272:13:0;;;;;;;;;;;70234:51;70320:10;;31996:1;32671:12;32458:7;32655:13;:28;-1:-1:-1;;32655:46:0;70299:17;;70315:1;70299:17;:::i;:::-;:32;70296:60;;;70340:16;;-1:-1:-1;;;70340:16:0;;;;;;;;;;;70296:60;70385:10;70400:1;70370:26;;;:14;:26;;;;;;70367:215;;70460:10;70445:26;;;;:14;:26;;;;;:31;;70475:1;;70445:26;:31;;70475:1;;70445:31;:::i;:::-;;;;-1:-1:-1;70491:20:0;;-1:-1:-1;70497:10:0;70509:1;70491:5;:20::i;70367:215::-;70551:19;;-1:-1:-1;;;70551:19:0;;;;;;;;;;;38039:152;38111:7;38154:27;38173:7;38154:18;:27::i;68976:101::-;25471:13;:11;:13::i;:::-;69041:28:::1;69047:10;69059:9;69041:5;:28::i;:::-;68976:101:::0;:::o;68938:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;33581:233::-;33653:7;-1:-1:-1;;;;;33677:19:0;;33673:60;;33705:28;;-1:-1:-1;;;33705:28:0;;;;;;;;;;;33673:60;-1:-1:-1;;;;;;33751:25:0;;;;;:18;:25;;;;;;27740:13;33751:55;;33581:233::o;26233:103::-;25471:13;:11;:13::i;:::-;26298:30:::1;26325:1;26298:18;:30::i;36822:104::-:0;36878:13;36911:7;36904:14;;;;;:::i;70597:538::-;70661:10;70675:9;70661:23;70653:32;;;;;;70714:11;70699;;-1:-1:-1;;;70699:11:0;;;;:26;;;;;;;;:::i;:::-;;70696:51;;70734:13;;-1:-1:-1;;;70734:13:0;;;;;;;;;;;70696:51;70823:9;;70797:10;70761:47;;;;:35;:47;;;;;;:59;;70811:9;;70761:59;:::i;:::-;:71;70758:102;;;70841:19;;-1:-1:-1;;;70841:19:0;;;;;;;;;;;70758:102;70903:10;;31996:1;32671:12;32458:7;32655:13;70890:9;;32655:28;;-1:-1:-1;;32655:46:0;70874:25;;;;:::i;:::-;:40;70871:68;;;70923:16;;-1:-1:-1;;;70923:16:0;;;;;;;;;;;70871:68;70983:9;70965:15;;:27;;;;:::i;:::-;70953:9;:39;70950:67;;;71001:16;;-1:-1:-1;;;71001:16:0;;;;;;;;;;;70950:67;71064:10;71028:47;;;;:35;:47;;;;;:60;;71079:9;;71028:47;:60;;71079:9;;71028:60;:::i;:::-;;;;-1:-1:-1;71099:28:0;;-1:-1:-1;71105:10:0;71117:9;71099:5;:28::i;71952:100::-;25471:13;:11;:13::i;:::-;72026:7:::1;:18;72036:8:::0;72026:7;:18:::1;:::i;:::-;;71952:100:::0;:::o;43695:234::-;66903:10;43790:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;43790:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;43790:60:0;;;;;;;;;;43866:55;;540:41:1;;;43790:49:0;;66903:10;43866:55;;513:18:1;43866:55:0;;;;;;;43695:234;;:::o;71143:100::-;25471:13;:11;:13::i;:::-;71209:15:::1;:26:::0;71143:100::o;69805:340::-;25471:13;:11;:13::i;:::-;69922:38;;::::1;69919:65;;69969:15;;-1:-1:-1::0;;;69969:15:0::1;;;;;;;;;;;69919:65;70014:10:::0;69997:14:::1;70044:94;70063:6;70059:1;:10;70044:94;;;70091:35;70097:10;;70108:1;70097:13;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;70112:10;;70123:1;70112:13;;;;;;;:::i;:::-;;;;;;;70091:5;:35::i;:::-;70071:3:::0;::::1;::::0;::::1;:::i;:::-;;;;70044:94;;;;69908:237;69805:340:::0;;;;:::o;71605:239::-;309:42;1437:43;:47;1433:225;;1506:67;;-1:-1:-1;;;1506:67:0;;1555:4;1506:67;;;7710:34:1;1562:10:0;7760:18:1;;;7753:43;309:42:0;;1506:40;;7645:18:1;;1506:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1501:146;;1601:30;;-1:-1:-1;;;1601:30:0;;1620:10;1601:30;;;1679:51:1;1652:18;;1601:30:0;1533:203:1;1501:146:0;71789:47:::1;71812:4;71818:2;71822:7;71831:4;71789:22;:47::i;:::-;71605:239:::0;;;;:::o;72060:247::-;72131:13;72165:17;72173:8;72165:7;:17::i;:::-;72157:61;;;;-1:-1:-1;;;72157:61:0;;11170:2:1;72157:61:0;;;11152:21:1;11209:2;11189:18;;;11182:30;11248:33;11228:18;;;11221:61;11299:18;;72157:61:0;10968:355:1;72157:61:0;72260:7;72269:19;72279:8;72269:9;:19::i;:::-;72243:55;;;;;;;;;:::i;:::-;;;;;;;;;;;;;72229:70;;72060:247;;;:::o;44086:164::-;-1:-1:-1;;;;;44207:25:0;;;44183:4;44207:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;44086:164::o;26491:201::-;25471:13;:11;:13::i;:::-;-1:-1:-1;;;;;26580:22:0;::::1;26572:73;;;::::0;-1:-1:-1;;;26572:73:0;;12722:2:1;26572:73:0::1;::::0;::::1;12704:21:1::0;12761:2;12741:18;;;12734:30;12800:34;12780:18;;;12773:62;-1:-1:-1;;;12851:18:1;;;12844:36;12897:19;;26572:73:0::1;12520:402:1::0;26572:73:0::1;26656:28;26675:8;26656:18;:28::i;71852:92::-:0;25471:13;:11;:13::i;:::-;71930:5:::1;71925:11;;;;;;;;:::i;:::-;71911;:25:::0;;-1:-1:-1;;;;71911:25:0::1;-1:-1:-1::0;;;71911:25:0;::::1;::::0;::::1;;;;;;:::i;:::-;;;;;;71852:92:::0;:::o;44508:282::-;44573:4;44629:7;31996:1;44610:26;;:66;;;;;44663:13;;44653:7;:23;44610:66;:153;;;;-1:-1:-1;;44714:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;44714:44:0;:49;;44508:282::o;25750:132::-;25658:6;;-1:-1:-1;;;;;25658:6:0;66903:10;25814:23;25806:68;;;;-1:-1:-1;;;25806:68:0;;13129:2:1;25806:68:0;;;13111:21:1;;;13148:18;;;13141:30;13207:34;13187:18;;;13180:62;13259:18;;25806:68:0;12927:356:1;46776:2825:0;46918:27;46948;46967:7;46948:18;:27::i;:::-;46918:57;;47033:4;-1:-1:-1;;;;;46992:45:0;47008:19;-1:-1:-1;;;;;46992:45:0;;46988:86;;47046:28;;-1:-1:-1;;;47046:28:0;;;;;;;;;;;46988:86;47088:27;45884:24;;;:15;:24;;;;;46112:26;;66903:10;45509:30;;;-1:-1:-1;;;;;45202:28:0;;45487:20;;;45484:56;47274:180;;47367:43;47384:4;66903:10;44086:164;:::i;47367:43::-;47362:92;;47419:35;;-1:-1:-1;;;47419:35:0;;;;;;;;;;;47362:92;-1:-1:-1;;;;;47471:16:0;;47467:52;;47496:23;;-1:-1:-1;;;47496:23:0;;;;;;;;;;;47467:52;47668:15;47665:160;;;47808:1;47787:19;47780:30;47665:160;-1:-1:-1;;;;;48205:24:0;;;;;;;:18;:24;;;;;;48203:26;;-1:-1:-1;;48203:26:0;;;48274:22;;;;;;;;;48272:24;;-1:-1:-1;48272:24:0;;;41428:11;41403:23;41399:41;41386:63;-1:-1:-1;;;41386:63:0;48567:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;48862:47:0;;:52;;48858:627;;48967:1;48957:11;;48935:19;49090:30;;;:17;:30;;;;;;:35;;49086:384;;49228:13;;49213:11;:28;49209:242;;49375:30;;;;:17;:30;;;;;:52;;;49209:242;48916:569;48858:627;49532:7;49528:2;-1:-1:-1;;;;;49513:27:0;49522:4;-1:-1:-1;;;;;49513:27:0;;;;;;;;;;;49551:42;71605:239;49697:193;49843:39;49860:4;49866:2;49870:7;49843:39;;;;;;;;;;;;:16;:39::i;54157:2966::-;54230:20;54253:13;;;54281;;;54277:44;;54303:18;;-1:-1:-1;;;54303:18:0;;;;;;;;;;;54277:44;-1:-1:-1;;;;;54809:22:0;;;;;;:18;:22;;;;27878:2;54809:22;;;:71;;54847:32;54835:45;;54809:71;;;55123:31;;;:17;:31;;;;;-1:-1:-1;41859:15:0;;41833:24;41829:46;41428:11;41403:23;41399:41;41396:52;41386:63;;55123:173;;55358:23;;;;55123:31;;54809:22;;56123:25;54809:22;;55976:335;56637:1;56623:12;56619:20;56577:346;56678:3;56669:7;56666:16;56577:346;;56896:7;56886:8;56883:1;56856:25;56853:1;56850;56845:59;56731:1;56718:15;56577:346;;;56581:77;56956:8;56968:1;56956:13;56952:45;;56978:19;;-1:-1:-1;;;56978:19:0;;;;;;;;;;;56952:45;57014:13;:19;-1:-1:-1;71251:165:0;;;:::o;39194:1275::-;39261:7;39296;;31996:1;39345:23;39341:1061;;39398:13;;39391:4;:20;39387:1015;;;39436:14;39453:23;;;:17;:23;;;;;;;-1:-1:-1;;;39542:24:0;;:29;;39538:845;;40207:113;40214:6;40224:1;40214:11;40207:113;;-1:-1:-1;;;40285:6:0;40267:25;;;;:17;:25;;;;;;40207:113;;;40353:6;39194:1275;-1:-1:-1;;;39194:1275:0:o;39538:845::-;39413:989;39387:1015;40430:31;;-1:-1:-1;;;40430:31:0;;;;;;;;;;;26852:191;26945:6;;;-1:-1:-1;;;;;26962:17:0;;;-1:-1:-1;;;;;;26962:17:0;;;;;;;26995:40;;26945:6;;;26962:17;26945:6;;26995:40;;26926:16;;26995:40;26915:128;26852:191;:::o;50488:407::-;50663:31;50676:4;50682:2;50686:7;50663:12;:31::i;:::-;-1:-1:-1;;;;;50709:14:0;;;:19;50705:183;;50748:56;50779:4;50785:2;50789:7;50798:5;50748:30;:56::i;:::-;50743:145;;50832:40;;-1:-1:-1;;;50832:40:0;;;;;;;;;;;67023:1745;67088:17;67522:4;67515;67509:11;67505:22;67614:1;67608:4;67601:15;67689:4;67686:1;67682:12;67675:19;;;67771:1;67766:3;67759:14;67875:3;68114:5;68096:428;68162:1;68157:3;68153:11;68146:18;;68333:2;68327:4;68323:13;68319:2;68315:22;68310:3;68302:36;68427:2;68417:13;;68484:25;68096:428;68484:25;-1:-1:-1;68554:13:0;;;-1:-1:-1;;68669:14:0;;;68731:19;;;68669:14;67023:1745;-1:-1:-1;67023:1745:0:o;52979:716::-;53163:88;;-1:-1:-1;;;53163:88:0;;53142:4;;-1:-1:-1;;;;;53163:45:0;;;;;:88;;66903:10;;53230:4;;53236:7;;53245:5;;53163:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53163:88:0;;;;;;;;-1:-1:-1;;53163:88:0;;;;;;;;;;;;:::i;:::-;;;53159:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53446:6;:13;53463:1;53446:18;53442:235;;53492:40;;-1:-1:-1;;;53492:40:0;;;;;;;;;;;53442:235;53635:6;53629:13;53620:6;53616:2;53612:15;53605:38;53159:529;-1:-1:-1;;;;;;53322:64:0;-1:-1:-1;;;53322:64:0;;-1:-1:-1;53159:529:0;52979:716;;;;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592: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:1;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:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1: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:1;;1348:180;-1:-1:-1;1348:180:1:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;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:1: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:186::-;2752:6;2805:2;2793:9;2784:7;2780:23;2776:32;2773:52;;;2821:1;2818;2811:12;2773:52;2844:29;2863:9;2844:29;:::i;2884:127::-;2945:10;2940:3;2936:20;2933:1;2926:31;2976:4;2973:1;2966:15;3000:4;2997:1;2990:15;3016:632;3081:5;3111:18;3152:2;3144:6;3141:14;3138:40;;;3158:18;;:::i;:::-;3233:2;3227:9;3201:2;3287:15;;-1:-1:-1;;3283:24:1;;;3309:2;3279:33;3275:42;3263:55;;;3333:18;;;3353:22;;;3330:46;3327:72;;;3379:18;;:::i;:::-;3419:10;3415:2;3408:22;3448:6;3439:15;;3478:6;3470;3463:22;3518:3;3509:6;3504:3;3500:16;3497:25;3494:45;;;3535:1;3532;3525:12;3494:45;3585:6;3580:3;3573:4;3565:6;3561:17;3548:44;3640:1;3633:4;3624:6;3616;3612:19;3608:30;3601:41;;;;3016:632;;;;;:::o;3653:451::-;3722:6;3775:2;3763:9;3754:7;3750:23;3746:32;3743:52;;;3791:1;3788;3781:12;3743:52;3831:9;3818:23;3864:18;3856:6;3853:30;3850:50;;;3896:1;3893;3886:12;3850:50;3919:22;;3972:4;3964:13;;3960:27;-1:-1:-1;3950:55:1;;4001:1;3998;3991:12;3950:55;4024:74;4090:7;4085:2;4072:16;4067:2;4063;4059:11;4024:74;:::i;4109:118::-;4195:5;4188:13;4181:21;4174:5;4171:32;4161:60;;4217:1;4214;4207:12;4232:315;4297:6;4305;4358:2;4346:9;4337:7;4333:23;4329:32;4326:52;;;4374:1;4371;4364:12;4326:52;4397:29;4416:9;4397:29;:::i;:::-;4387:39;;4476:2;4465:9;4461:18;4448:32;4489:28;4511:5;4489:28;:::i;:::-;4536:5;4526:15;;;4232:315;;;;;:::o;4552:367::-;4615:8;4625:6;4679:3;4672:4;4664:6;4660:17;4656:27;4646:55;;4697:1;4694;4687:12;4646:55;-1:-1:-1;4720:20:1;;4763:18;4752:30;;4749:50;;;4795:1;4792;4785:12;4749:50;4832:4;4824:6;4820:17;4808:29;;4892:3;4885:4;4875:6;4872:1;4868:14;4860:6;4856:27;4852:38;4849:47;4846:67;;;4909:1;4906;4899:12;4846:67;4552:367;;;;;:::o;4924:773::-;5046:6;5054;5062;5070;5123:2;5111:9;5102:7;5098:23;5094:32;5091:52;;;5139:1;5136;5129:12;5091:52;5179:9;5166:23;5208:18;5249:2;5241:6;5238:14;5235:34;;;5265:1;5262;5255:12;5235:34;5304:70;5366:7;5357:6;5346:9;5342:22;5304:70;:::i;:::-;5393:8;;-1:-1:-1;5278:96:1;-1:-1:-1;5481:2:1;5466:18;;5453:32;;-1:-1:-1;5497:16:1;;;5494:36;;;5526:1;5523;5516:12;5494:36;;5565:72;5629:7;5618:8;5607:9;5603:24;5565:72;:::i;:::-;4924:773;;;;-1:-1:-1;5656:8:1;-1:-1:-1;;;;4924:773:1:o;5702:667::-;5797:6;5805;5813;5821;5874:3;5862:9;5853:7;5849:23;5845:33;5842:53;;;5891:1;5888;5881:12;5842:53;5914:29;5933:9;5914:29;:::i;:::-;5904:39;;5962:38;5996:2;5985:9;5981:18;5962:38;:::i;:::-;5952:48;;6047:2;6036:9;6032:18;6019:32;6009:42;;6102:2;6091:9;6087:18;6074:32;6129:18;6121:6;6118:30;6115:50;;;6161:1;6158;6151:12;6115:50;6184:22;;6237:4;6229:13;;6225:27;-1:-1:-1;6215:55:1;;6266:1;6263;6256:12;6215:55;6289:74;6355:7;6350:2;6337:16;6332:2;6328;6324:11;6289:74;:::i;:::-;6279:84;;;5702:667;;;;;;;:::o;6374:127::-;6435:10;6430:3;6426:20;6423:1;6416:31;6466:4;6463:1;6456:15;6490:4;6487:1;6480:15;6506:337;6647:2;6632:18;;6680:1;6669:13;;6659:144;;6725:10;6720:3;6716:20;6713:1;6706:31;6760:4;6757:1;6750:15;6788:4;6785:1;6778:15;6659:144;6812:25;;;6506:337;:::o;6848:260::-;6916:6;6924;6977:2;6965:9;6956:7;6952:23;6948:32;6945:52;;;6993:1;6990;6983:12;6945:52;7016:29;7035:9;7016:29;:::i;:::-;7006:39;;7064:38;7098:2;7087:9;7083:18;7064:38;:::i;:::-;7054:48;;6848:260;;;;;:::o;7113:380::-;7192:1;7188:12;;;;7235;;;7256:61;;7310:4;7302:6;7298:17;7288:27;;7256:61;7363:2;7355:6;7352:14;7332:18;7329:38;7326:161;;7409:10;7404:3;7400:20;7397:1;7390:31;7444:4;7441:1;7434:15;7472:4;7469:1;7462:15;7326:161;;7113:380;;;:::o;7807:245::-;7874:6;7927:2;7915:9;7906:7;7902:23;7898:32;7895:52;;;7943:1;7940;7933:12;7895:52;7975:9;7969:16;7994:28;8016:5;7994:28;:::i;8057:127::-;8118:10;8113:3;8109:20;8106:1;8099:31;8149:4;8146:1;8139:15;8173:4;8170:1;8163:15;8189:125;8254:9;;;8275:10;;;8272:36;;;8288:18;;:::i;8319:168::-;8392:9;;;8423;;8440:15;;;8434:22;;8420:37;8410:71;;8461:18;;:::i;8618:545::-;8720:2;8715:3;8712:11;8709:448;;;8756:1;8781:5;8777:2;8770:17;8826:4;8822:2;8812:19;8896:2;8884:10;8880:19;8877:1;8873:27;8867:4;8863:38;8932:4;8920:10;8917:20;8914:47;;;-1:-1:-1;8955:4:1;8914:47;9010:2;9005:3;9001:12;8998:1;8994:20;8988:4;8984:31;8974:41;;9065:82;9083:2;9076:5;9073:13;9065:82;;;9128:17;;;9109:1;9098:13;9065:82;;9339:1352;9465:3;9459:10;9492:18;9484:6;9481:30;9478:56;;;9514:18;;:::i;:::-;9543:97;9633:6;9593:38;9625:4;9619:11;9593:38;:::i;:::-;9587:4;9543:97;:::i;:::-;9695:4;;9759:2;9748:14;;9776:1;9771:663;;;;10478:1;10495:6;10492:89;;;-1:-1:-1;10547:19:1;;;10541:26;10492:89;-1:-1:-1;;9296:1:1;9292:11;;;9288:24;9284:29;9274:40;9320:1;9316:11;;;9271:57;10594:81;;9741:944;;9771:663;8565:1;8558:14;;;8602:4;8589:18;;-1:-1:-1;;9807:20:1;;;9925:236;9939:7;9936:1;9933:14;9925:236;;;10028:19;;;10022:26;10007:42;;10120:27;;;;10088:1;10076:14;;;;9955:19;;9925:236;;;9929:3;10189:6;10180:7;10177:19;10174:201;;;10250:19;;;10244:26;-1:-1:-1;;10333:1:1;10329:14;;;10345:3;10325:24;10321:37;10317:42;10302:58;10287:74;;10174:201;-1:-1:-1;;;;;10421:1:1;10405:14;;;10401:22;10388:36;;-1:-1:-1;9339:1352:1:o;10696:127::-;10757:10;10752:3;10748:20;10745:1;10738:31;10788:4;10785:1;10778:15;10812:4;10809:1;10802:15;10828:135;10867:3;10888:17;;;10885:43;;10908:18;;:::i;:::-;-1:-1:-1;10955:1:1;10944:13;;10828:135::o;11328:1187::-;11605:3;11634:1;11667:6;11661:13;11697:36;11723:9;11697:36;:::i;:::-;11752:1;11769:18;;;11796:133;;;;11943:1;11938:356;;;;11762:532;;11796:133;-1:-1:-1;;11829:24:1;;11817:37;;11902:14;;11895:22;11883:35;;11874:45;;;-1:-1:-1;11796:133:1;;11938:356;11969:6;11966:1;11959:17;11999:4;12044:2;12041:1;12031:16;12069:1;12083:165;12097:6;12094:1;12091:13;12083:165;;;12175:14;;12162:11;;;12155:35;12218:16;;;;12112:10;;12083:165;;;12087:3;;;12277:6;12272:3;12268:16;12261:23;;11762:532;;;;;12325:6;12319:13;12341:68;12400:8;12395:3;12388:4;12380:6;12376:17;12341:68;:::i;:::-;-1:-1:-1;;;12431:18:1;;12458:22;;;12507:1;12496:13;;11328:1187;-1:-1:-1;;;;11328:1187:1:o;13288:489::-;-1:-1:-1;;;;;13557:15:1;;;13539:34;;13609:15;;13604:2;13589:18;;13582:43;13656:2;13641:18;;13634:34;;;13704:3;13699:2;13684:18;;13677:31;;;13482:4;;13725:46;;13751:19;;13743:6;13725:46;:::i;:::-;13717:54;13288:489;-1:-1:-1;;;;;;13288:489:1:o;13782:249::-;13851:6;13904:2;13892:9;13883:7;13879:23;13875:32;13872:52;;;13920:1;13917;13910:12;13872:52;13952:9;13946:16;13971:30;13995:5;13971:30;:::i

Swarm Source

ipfs://303e18b336c81ac237d3d804448761e49a524295a5ae46a318e5bf86b9f8390d
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.