ETH Price: $2,506.34 (+0.31%)

Token

Board Boars (BB)
 

Overview

Max Total Supply

6,000 BB

Holders

1,286

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 BB
0xaF4F71DbE9Fb4f034203D6A445f0E81C4A64b2AA
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:
BoardBoars

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-01-08
*/

/**
 ____   __  ____  ____  ____    ____   __    __   ____  ____ 
(  _ \ /  \(  _ \(  __)(    \  (  _ \ /  \  / _\ (  _ \/ ___)
 ) _ ((  O ))   / ) _)  ) D (   ) _ ((  O )/    \ )   /\___ \
(____/ \__/(__\_)(____)(____/  (____/ \__/ \_/\_/(__\_)(____/

       __,---.__                     __,---.__
    ,-'         `-.__           __,-'         `-.
  &/           `._\ _\         /_ /_,'           \&
  /               ''._         _,''               \
  |   ,             (")       (")            .    |
  |__,'`-..--|__|--''           ``--|__|--..-'`.__|

*/


// SPDX-License-Identifier: MIT

pragma solidity ^0.8.13;

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


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

pragma solidity ^0.8.13;

/**
 * @title  OperatorFilterer
 * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another
 *         registrant's entries in the OperatorFilterRegistry.
 * @dev    This smart contract is meant to be inherited by token contracts so they can use the following:
 *         - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods.
 *         - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods.
 */

abstract contract OperatorFilterer {
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        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(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (subscribe) {
                OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy);
            } else {
                if (subscriptionOrRegistrantToCopy != address(0)) {
                    OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy);
                } else {
                    OPERATOR_FILTER_REGISTRY.register(address(this));
                }
            }
        }
    }

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

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


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

pragma solidity ^0.8.13;

/**
 * @title  DefaultOperatorFilterer
 * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription.
 */
abstract contract DefaultOperatorFilterer is OperatorFilterer {
    address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6);
    constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {}
}


pragma solidity ^0.8.13;

// File: erc721a/contracts/IERC721A.sol

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


// File: erc721a/contracts/ERC721A.sol

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

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        return _tokenApprovals[tokenId].value;
    }

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

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

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

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


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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

// File: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;


/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

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

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

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

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

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

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

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

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


pragma solidity ^0.8.15;

contract BoardBoars is ERC721A, Ownable, DefaultOperatorFilterer, ReentrancyGuard {

    /////////////////////////////
    // PARAMS & VALUES
    /////////////////////////////
    
    uint256 public maxSupply = 6000;
    uint256 public maxPerWallet = 12;
    uint256 public mintCost = 0.003 ether;
    bool public isSalesActive = false;

    string public baseURI = "ipfs://QmXr71dq1zMLhVcheyMRZhsfa8MKnaTUShmLpobnBug7FE/";

    mapping(address => uint) addressToMinted;
    mapping(address => bool) freeMint;

    modifier callerIsUser() {
        require(tx.origin == msg.sender, "The caller is another contract");
        _;
    }

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

    constructor () ERC721A("Board Boars", "BB") {
    }

    /////////////////////////////
    // CORE FUNCTIONALITY
    /////////////////////////////

    function mintBB(uint256 mintAmount) public payable callerIsUser nonReentrant {
        require(isSalesActive, "Sale is not active");
        require(addressToMinted[msg.sender] + mintAmount <= maxPerWallet, "Exceeded max allocation");
        require(totalSupply() + mintAmount <= maxSupply, "Sold out");

        if(freeMint[msg.sender]) {
            require(msg.value >= mintAmount * mintCost, "Not enough funds");
        }
        else {
            require(msg.value >= (mintAmount - 1) * mintCost, "Not enough funds");
            freeMint[msg.sender] = true;
        }
        
        addressToMinted[msg.sender] += mintAmount;
        _safeMint(msg.sender, mintAmount);
    }

    function reserveBB(uint256 _mintAmount) public onlyOwner {
        require(totalSupply() + _mintAmount <= maxSupply, "Sold Out!");
        
        _safeMint(msg.sender, _mintAmount);
    }

    /////////////////////////////
    // CONTRACT MANAGEMENT 
    /////////////////////////////

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

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

    function toggleSale() external onlyOwner {
        isSalesActive = !isSalesActive;
    }

    function setCost(uint256 newCost) external onlyOwner {
        mintCost = newCost;
    }

    function withdraw() public onlyOwner {
		payable(msg.sender).transfer(address(this).balance);
	}
    
    /////////////////////////////
    // OPENSEA FILTER REGISTRY 
    /////////////////////////////

    function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) {
        super.setApprovalForAll(operator, approved);
    }

    function approve(address operator, uint256 tokenId) public payable override onlyAllowedOperatorApproval(operator) {
        super.approve(operator, tokenId);
    }

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","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":"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":"isSalesActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"mintAmount","type":"uint256"}],"name":"mintBB","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintCost","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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"reserveBB","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":[],"name":"toggleSale","outputs":[],"stateMutability":"nonpayable","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"}]

611770600a55600c600b819055660aa87bee5380009055600d805460ff1916905560e06040526036608081815290620020b760a039600e9062000043908262000324565b503480156200005157600080fd5b50733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600b81526020016a426f61726420426f61727360a81b81525060405180604001604052806002815260200161212160f11b8152508160029081620000b9919062000324565b506003620000c8828262000324565b5050600160005550620000db336200022d565b6daaeb6d7670e522a718067333cd4e3b15620002205780156200016e57604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200014f57600080fd5b505af115801562000164573d6000803e3d6000fd5b5050505062000220565b6001600160a01b03821615620001bf5760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af29039060440162000134565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b1580156200020657600080fd5b505af11580156200021b573d6000803e3d6000fd5b505050505b50506001600955620003f0565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620002aa57607f821691505b602082108103620002cb57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200031f57600081815260208120601f850160051c81016020861015620002fa5750805b601f850160051c820191505b818110156200031b5782815560010162000306565b5050505b505050565b81516001600160401b038111156200034057620003406200027f565b620003588162000351845462000295565b84620002d1565b602080601f831160018114620003905760008415620003775750858301515b600019600386901b1c1916600185901b1785556200031b565b600085815260208120601f198616915b82811015620003c157888601518255948401946001909101908401620003a0565b5085821015620003e05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611cb780620004006000396000f3fe6080604052600436106101c15760003560e01c80636c0360eb116100f7578063b88d4fde11610095578063daa81cdd11610064578063daa81cdd14610495578063e77df068146104af578063e985e9c5146104c2578063f2fde38b146104e257600080fd5b8063b88d4fde14610436578063bdb4b84814610449578063c87b56dd1461045f578063d5abeb011461047f57600080fd5b80637d8966e4116100d15780637d8966e4146103ce5780638da5cb5b146103e357806395d89b4114610401578063a22cb4651461041657600080fd5b80636c0360eb1461038457806370a0823114610399578063715018a6146103b957600080fd5b80633ccfd60b1161016457806344a0d68a1161013e57806344a0d68a1461030e578063453c23101461032e57806355f804b3146103445780636352211e1461036457600080fd5b80633ccfd60b146102c457806341f43434146102d957806342842e0e146102fb57600080fd5b8063081812fc116101a0578063081812fc1461023f578063095ea7b31461027757806318160ddd1461028a57806323b872dd146102b157600080fd5b8062d1f6cf146101c657806301ffc9a7146101e857806306fdde031461021d575b600080fd5b3480156101d257600080fd5b506101e66101e1366004611733565b610502565b005b3480156101f457600080fd5b50610208610203366004611762565b610571565b60405190151581526020015b60405180910390f35b34801561022957600080fd5b506102326105c3565b60405161021491906117cf565b34801561024b57600080fd5b5061025f61025a366004611733565b610655565b6040516001600160a01b039091168152602001610214565b6101e66102853660046117fe565b610699565b34801561029657600080fd5b5060015460005403600019015b604051908152602001610214565b6101e66102bf366004611828565b610762565b3480156102d057600080fd5b506101e661083b565b3480156102e557600080fd5b5061025f6daaeb6d7670e522a718067333cd4e81565b6101e6610309366004611828565b61086f565b34801561031a57600080fd5b506101e6610329366004611733565b61093d565b34801561033a57600080fd5b506102a3600b5481565b34801561035057600080fd5b506101e661035f3660046118f0565b61094a565b34801561037057600080fd5b5061025f61037f366004611733565b610962565b34801561039057600080fd5b5061023261096d565b3480156103a557600080fd5b506102a36103b4366004611939565b6109fb565b3480156103c557600080fd5b506101e6610a4a565b3480156103da57600080fd5b506101e6610a5e565b3480156103ef57600080fd5b506008546001600160a01b031661025f565b34801561040d57600080fd5b50610232610a7a565b34801561042257600080fd5b506101e6610431366004611962565b610a89565b6101e6610444366004611999565b610b4d565b34801561045557600080fd5b506102a3600c5481565b34801561046b57600080fd5b5061023261047a366004611733565b610c29565b34801561048b57600080fd5b506102a3600a5481565b3480156104a157600080fd5b50600d546102089060ff1681565b6101e66104bd366004611733565b610cad565b3480156104ce57600080fd5b506102086104dd366004611a15565b610f25565b3480156104ee57600080fd5b506101e66104fd366004611939565b610f53565b61050a610fc9565b600a5460015460005483919003600019016105259190611a5e565b11156105645760405162461bcd60e51b8152602060048201526009602482015268536f6c64204f75742160b81b60448201526064015b60405180910390fd5b61056e3382611023565b50565b60006301ffc9a760e01b6001600160e01b0319831614806105a257506380ac58cd60e01b6001600160e01b03198316145b806105bd5750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546105d290611a71565b80601f01602080910402602001604051908101604052809291908181526020018280546105fe90611a71565b801561064b5780601f106106205761010080835404028352916020019161064b565b820191906000526020600020905b81548152906001019060200180831161062e57829003601f168201915b5050505050905090565b60006106608261103d565b61067d576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b816daaeb6d7670e522a718067333cd4e3b1561075357604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610707573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072b9190611aab565b61075357604051633b79c77360e21b81526001600160a01b038216600482015260240161055b565b61075d8383611072565b505050565b826daaeb6d7670e522a718067333cd4e3b1561082a57336001600160a01b0382160361079857610793848484611112565b610835565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156107e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080b9190611aab565b61082a57604051633b79c77360e21b815233600482015260240161055b565b610835848484611112565b50505050565b610843610fc9565b60405133904780156108fc02916000818181858888f1935050505015801561056e573d6000803e3d6000fd5b826daaeb6d7670e522a718067333cd4e3b1561093257336001600160a01b038216036108a0576107938484846112ab565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156108ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109139190611aab565b61093257604051633b79c77360e21b815233600482015260240161055b565b6108358484846112ab565b610945610fc9565b600c55565b610952610fc9565b600e61095e8282611b0e565b5050565b60006105bd826112c6565b600e805461097a90611a71565b80601f01602080910402602001604051908101604052809291908181526020018280546109a690611a71565b80156109f35780601f106109c8576101008083540402835291602001916109f3565b820191906000526020600020905b8154815290600101906020018083116109d657829003601f168201915b505050505081565b60006001600160a01b038216610a24576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610a52610fc9565b610a5c6000611335565b565b610a66610fc9565b600d805460ff19811660ff90911615179055565b6060600380546105d290611a71565b816daaeb6d7670e522a718067333cd4e3b15610b4357604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610af7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b1b9190611aab565b610b4357604051633b79c77360e21b81526001600160a01b038216600482015260240161055b565b61075d8383611387565b836daaeb6d7670e522a718067333cd4e3b15610c1657336001600160a01b03821603610b8457610b7f858585856113f3565b610c22565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610bd3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bf79190611aab565b610c1657604051633b79c77360e21b815233600482015260240161055b565b610c22858585856113f3565b5050505050565b6060610c348261103d565b610c5157604051630a14c4b560e41b815260040160405180910390fd5b6000610c5b611437565b90508051600003610c7b5760405180602001604052806000815250610ca6565b80610c8584611446565b604051602001610c96929190611bce565b6040516020818303038152906040525b9392505050565b323314610cfc5760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000604482015260640161055b565b610d0461148a565b600d5460ff16610d4b5760405162461bcd60e51b815260206004820152601260248201527153616c65206973206e6f742061637469766560701b604482015260640161055b565b600b54336000908152600f6020526040902054610d69908390611a5e565b1115610db75760405162461bcd60e51b815260206004820152601760248201527f4578636565646564206d617820616c6c6f636174696f6e000000000000000000604482015260640161055b565b600a546001546000548391900360001901610dd29190611a5e565b1115610e0b5760405162461bcd60e51b815260206004820152600860248201526714dbdb19081bdd5d60c21b604482015260640161055b565b3360009081526010602052604090205460ff1615610e7757600c54610e309082611bfd565b341015610e725760405162461bcd60e51b815260206004820152601060248201526f4e6f7420656e6f7567682066756e647360801b604482015260640161055b565b610eec565b600c54610e85600183611c14565b610e8f9190611bfd565b341015610ed15760405162461bcd60e51b815260206004820152601060248201526f4e6f7420656e6f7567682066756e647360801b604482015260640161055b565b336000908152601060205260409020805460ff191660011790555b336000908152600f602052604081208054839290610f0b908490611a5e565b90915550610f1b90503382611023565b61056e6001600955565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b610f5b610fc9565b6001600160a01b038116610fc05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161055b565b61056e81611335565b6008546001600160a01b03163314610a5c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161055b565b61095e8282604051806020016040528060008152506114e3565b600081600111158015611051575060005482105b80156105bd575050600090815260046020526040902054600160e01b161590565b600061107d82610962565b9050336001600160a01b038216146110b6576110998133610f25565b6110b6576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061111d826112c6565b9050836001600160a01b0316816001600160a01b0316146111505760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761119d576111808633610f25565b61119d57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166111c457604051633a954ecd60e21b815260040160405180910390fd5b80156111cf57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036112615760018401600081815260046020526040812054900361125f57600054811461125f5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b61075d83838360405180602001604052806000815250610b4d565b6000818060011161131c5760005481101561131c5760008181526004602052604081205490600160e01b8216900361131a575b80600003610ca65750600019016000818152600460205260409020546112f9565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6113fe848484610762565b6001600160a01b0383163b156108355761141a84848484611549565b610835576040516368d2bf6b60e11b815260040160405180910390fd5b6060600e80546105d290611a71565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a9004806114605750819003601f19909101908152919050565b6002600954036114dc5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161055b565b6002600955565b6114ed8383611635565b6001600160a01b0383163b1561075d576000548281035b6115176000868380600101945086611549565b611534576040516368d2bf6b60e11b815260040160405180910390fd5b818110611504578160005414610c2257600080fd5b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061157e903390899088908890600401611c27565b6020604051808303816000875af19250505080156115b9575060408051601f3d908101601f191682019092526115b691810190611c64565b60015b611617573d8080156115e7576040519150601f19603f3d011682016040523d82523d6000602084013e6115ec565b606091505b50805160000361160f576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b600080549082900361165a5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461170957808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016116d1565b508160000361172a57604051622e076360e81b815260040160405180910390fd5b60005550505050565b60006020828403121561174557600080fd5b5035919050565b6001600160e01b03198116811461056e57600080fd5b60006020828403121561177457600080fd5b8135610ca68161174c565b60005b8381101561179a578181015183820152602001611782565b50506000910152565b600081518084526117bb81602086016020860161177f565b601f01601f19169290920160200192915050565b602081526000610ca660208301846117a3565b80356001600160a01b03811681146117f957600080fd5b919050565b6000806040838503121561181157600080fd5b61181a836117e2565b946020939093013593505050565b60008060006060848603121561183d57600080fd5b611846846117e2565b9250611854602085016117e2565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561189557611895611864565b604051601f8501601f19908116603f011681019082821181831017156118bd576118bd611864565b816040528093508581528686860111156118d657600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561190257600080fd5b813567ffffffffffffffff81111561191957600080fd5b8201601f8101841361192a57600080fd5b61162d8482356020840161187a565b60006020828403121561194b57600080fd5b610ca6826117e2565b801515811461056e57600080fd5b6000806040838503121561197557600080fd5b61197e836117e2565b9150602083013561198e81611954565b809150509250929050565b600080600080608085870312156119af57600080fd5b6119b8856117e2565b93506119c6602086016117e2565b925060408501359150606085013567ffffffffffffffff8111156119e957600080fd5b8501601f810187136119fa57600080fd5b611a098782356020840161187a565b91505092959194509250565b60008060408385031215611a2857600080fd5b611a31836117e2565b9150611a3f602084016117e2565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b808201808211156105bd576105bd611a48565b600181811c90821680611a8557607f821691505b602082108103611aa557634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215611abd57600080fd5b8151610ca681611954565b601f82111561075d57600081815260208120601f850160051c81016020861015611aef5750805b601f850160051c820191505b818110156112a357828155600101611afb565b815167ffffffffffffffff811115611b2857611b28611864565b611b3c81611b368454611a71565b84611ac8565b602080601f831160018114611b715760008415611b595750858301515b600019600386901b1c1916600185901b1785556112a3565b600085815260208120601f198616915b82811015611ba057888601518255948401946001909101908401611b81565b5085821015611bbe5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008351611be081846020880161177f565b835190830190611bf481836020880161177f565b01949350505050565b80820281158282048414176105bd576105bd611a48565b818103818111156105bd576105bd611a48565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611c5a908301846117a3565b9695505050505050565b600060208284031215611c7657600080fd5b8151610ca68161174c56fea2646970667358221220283e04bc28eb02047e4ad6d6b59b45bec5e5b11d73fdea9638c35de08e1c896b64736f6c63430008110033697066733a2f2f516d587237316471317a4d4c6856636865794d525a68736661384d4b6e61545553686d4c706f626e4275673746452f

Deployed Bytecode

0x6080604052600436106101c15760003560e01c80636c0360eb116100f7578063b88d4fde11610095578063daa81cdd11610064578063daa81cdd14610495578063e77df068146104af578063e985e9c5146104c2578063f2fde38b146104e257600080fd5b8063b88d4fde14610436578063bdb4b84814610449578063c87b56dd1461045f578063d5abeb011461047f57600080fd5b80637d8966e4116100d15780637d8966e4146103ce5780638da5cb5b146103e357806395d89b4114610401578063a22cb4651461041657600080fd5b80636c0360eb1461038457806370a0823114610399578063715018a6146103b957600080fd5b80633ccfd60b1161016457806344a0d68a1161013e57806344a0d68a1461030e578063453c23101461032e57806355f804b3146103445780636352211e1461036457600080fd5b80633ccfd60b146102c457806341f43434146102d957806342842e0e146102fb57600080fd5b8063081812fc116101a0578063081812fc1461023f578063095ea7b31461027757806318160ddd1461028a57806323b872dd146102b157600080fd5b8062d1f6cf146101c657806301ffc9a7146101e857806306fdde031461021d575b600080fd5b3480156101d257600080fd5b506101e66101e1366004611733565b610502565b005b3480156101f457600080fd5b50610208610203366004611762565b610571565b60405190151581526020015b60405180910390f35b34801561022957600080fd5b506102326105c3565b60405161021491906117cf565b34801561024b57600080fd5b5061025f61025a366004611733565b610655565b6040516001600160a01b039091168152602001610214565b6101e66102853660046117fe565b610699565b34801561029657600080fd5b5060015460005403600019015b604051908152602001610214565b6101e66102bf366004611828565b610762565b3480156102d057600080fd5b506101e661083b565b3480156102e557600080fd5b5061025f6daaeb6d7670e522a718067333cd4e81565b6101e6610309366004611828565b61086f565b34801561031a57600080fd5b506101e6610329366004611733565b61093d565b34801561033a57600080fd5b506102a3600b5481565b34801561035057600080fd5b506101e661035f3660046118f0565b61094a565b34801561037057600080fd5b5061025f61037f366004611733565b610962565b34801561039057600080fd5b5061023261096d565b3480156103a557600080fd5b506102a36103b4366004611939565b6109fb565b3480156103c557600080fd5b506101e6610a4a565b3480156103da57600080fd5b506101e6610a5e565b3480156103ef57600080fd5b506008546001600160a01b031661025f565b34801561040d57600080fd5b50610232610a7a565b34801561042257600080fd5b506101e6610431366004611962565b610a89565b6101e6610444366004611999565b610b4d565b34801561045557600080fd5b506102a3600c5481565b34801561046b57600080fd5b5061023261047a366004611733565b610c29565b34801561048b57600080fd5b506102a3600a5481565b3480156104a157600080fd5b50600d546102089060ff1681565b6101e66104bd366004611733565b610cad565b3480156104ce57600080fd5b506102086104dd366004611a15565b610f25565b3480156104ee57600080fd5b506101e66104fd366004611939565b610f53565b61050a610fc9565b600a5460015460005483919003600019016105259190611a5e565b11156105645760405162461bcd60e51b8152602060048201526009602482015268536f6c64204f75742160b81b60448201526064015b60405180910390fd5b61056e3382611023565b50565b60006301ffc9a760e01b6001600160e01b0319831614806105a257506380ac58cd60e01b6001600160e01b03198316145b806105bd5750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546105d290611a71565b80601f01602080910402602001604051908101604052809291908181526020018280546105fe90611a71565b801561064b5780601f106106205761010080835404028352916020019161064b565b820191906000526020600020905b81548152906001019060200180831161062e57829003601f168201915b5050505050905090565b60006106608261103d565b61067d576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b816daaeb6d7670e522a718067333cd4e3b1561075357604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610707573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072b9190611aab565b61075357604051633b79c77360e21b81526001600160a01b038216600482015260240161055b565b61075d8383611072565b505050565b826daaeb6d7670e522a718067333cd4e3b1561082a57336001600160a01b0382160361079857610793848484611112565b610835565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156107e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080b9190611aab565b61082a57604051633b79c77360e21b815233600482015260240161055b565b610835848484611112565b50505050565b610843610fc9565b60405133904780156108fc02916000818181858888f1935050505015801561056e573d6000803e3d6000fd5b826daaeb6d7670e522a718067333cd4e3b1561093257336001600160a01b038216036108a0576107938484846112ab565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156108ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109139190611aab565b61093257604051633b79c77360e21b815233600482015260240161055b565b6108358484846112ab565b610945610fc9565b600c55565b610952610fc9565b600e61095e8282611b0e565b5050565b60006105bd826112c6565b600e805461097a90611a71565b80601f01602080910402602001604051908101604052809291908181526020018280546109a690611a71565b80156109f35780601f106109c8576101008083540402835291602001916109f3565b820191906000526020600020905b8154815290600101906020018083116109d657829003601f168201915b505050505081565b60006001600160a01b038216610a24576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610a52610fc9565b610a5c6000611335565b565b610a66610fc9565b600d805460ff19811660ff90911615179055565b6060600380546105d290611a71565b816daaeb6d7670e522a718067333cd4e3b15610b4357604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610af7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b1b9190611aab565b610b4357604051633b79c77360e21b81526001600160a01b038216600482015260240161055b565b61075d8383611387565b836daaeb6d7670e522a718067333cd4e3b15610c1657336001600160a01b03821603610b8457610b7f858585856113f3565b610c22565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610bd3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bf79190611aab565b610c1657604051633b79c77360e21b815233600482015260240161055b565b610c22858585856113f3565b5050505050565b6060610c348261103d565b610c5157604051630a14c4b560e41b815260040160405180910390fd5b6000610c5b611437565b90508051600003610c7b5760405180602001604052806000815250610ca6565b80610c8584611446565b604051602001610c96929190611bce565b6040516020818303038152906040525b9392505050565b323314610cfc5760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000604482015260640161055b565b610d0461148a565b600d5460ff16610d4b5760405162461bcd60e51b815260206004820152601260248201527153616c65206973206e6f742061637469766560701b604482015260640161055b565b600b54336000908152600f6020526040902054610d69908390611a5e565b1115610db75760405162461bcd60e51b815260206004820152601760248201527f4578636565646564206d617820616c6c6f636174696f6e000000000000000000604482015260640161055b565b600a546001546000548391900360001901610dd29190611a5e565b1115610e0b5760405162461bcd60e51b815260206004820152600860248201526714dbdb19081bdd5d60c21b604482015260640161055b565b3360009081526010602052604090205460ff1615610e7757600c54610e309082611bfd565b341015610e725760405162461bcd60e51b815260206004820152601060248201526f4e6f7420656e6f7567682066756e647360801b604482015260640161055b565b610eec565b600c54610e85600183611c14565b610e8f9190611bfd565b341015610ed15760405162461bcd60e51b815260206004820152601060248201526f4e6f7420656e6f7567682066756e647360801b604482015260640161055b565b336000908152601060205260409020805460ff191660011790555b336000908152600f602052604081208054839290610f0b908490611a5e565b90915550610f1b90503382611023565b61056e6001600955565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b610f5b610fc9565b6001600160a01b038116610fc05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161055b565b61056e81611335565b6008546001600160a01b03163314610a5c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161055b565b61095e8282604051806020016040528060008152506114e3565b600081600111158015611051575060005482105b80156105bd575050600090815260046020526040902054600160e01b161590565b600061107d82610962565b9050336001600160a01b038216146110b6576110998133610f25565b6110b6576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061111d826112c6565b9050836001600160a01b0316816001600160a01b0316146111505760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761119d576111808633610f25565b61119d57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166111c457604051633a954ecd60e21b815260040160405180910390fd5b80156111cf57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036112615760018401600081815260046020526040812054900361125f57600054811461125f5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b61075d83838360405180602001604052806000815250610b4d565b6000818060011161131c5760005481101561131c5760008181526004602052604081205490600160e01b8216900361131a575b80600003610ca65750600019016000818152600460205260409020546112f9565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6113fe848484610762565b6001600160a01b0383163b156108355761141a84848484611549565b610835576040516368d2bf6b60e11b815260040160405180910390fd5b6060600e80546105d290611a71565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a9004806114605750819003601f19909101908152919050565b6002600954036114dc5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161055b565b6002600955565b6114ed8383611635565b6001600160a01b0383163b1561075d576000548281035b6115176000868380600101945086611549565b611534576040516368d2bf6b60e11b815260040160405180910390fd5b818110611504578160005414610c2257600080fd5b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061157e903390899088908890600401611c27565b6020604051808303816000875af19250505080156115b9575060408051601f3d908101601f191682019092526115b691810190611c64565b60015b611617573d8080156115e7576040519150601f19603f3d011682016040523d82523d6000602084013e6115ec565b606091505b50805160000361160f576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b600080549082900361165a5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461170957808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016116d1565b508160000361172a57604051622e076360e81b815260040160405180910390fd5b60005550505050565b60006020828403121561174557600080fd5b5035919050565b6001600160e01b03198116811461056e57600080fd5b60006020828403121561177457600080fd5b8135610ca68161174c565b60005b8381101561179a578181015183820152602001611782565b50506000910152565b600081518084526117bb81602086016020860161177f565b601f01601f19169290920160200192915050565b602081526000610ca660208301846117a3565b80356001600160a01b03811681146117f957600080fd5b919050565b6000806040838503121561181157600080fd5b61181a836117e2565b946020939093013593505050565b60008060006060848603121561183d57600080fd5b611846846117e2565b9250611854602085016117e2565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561189557611895611864565b604051601f8501601f19908116603f011681019082821181831017156118bd576118bd611864565b816040528093508581528686860111156118d657600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561190257600080fd5b813567ffffffffffffffff81111561191957600080fd5b8201601f8101841361192a57600080fd5b61162d8482356020840161187a565b60006020828403121561194b57600080fd5b610ca6826117e2565b801515811461056e57600080fd5b6000806040838503121561197557600080fd5b61197e836117e2565b9150602083013561198e81611954565b809150509250929050565b600080600080608085870312156119af57600080fd5b6119b8856117e2565b93506119c6602086016117e2565b925060408501359150606085013567ffffffffffffffff8111156119e957600080fd5b8501601f810187136119fa57600080fd5b611a098782356020840161187a565b91505092959194509250565b60008060408385031215611a2857600080fd5b611a31836117e2565b9150611a3f602084016117e2565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b808201808211156105bd576105bd611a48565b600181811c90821680611a8557607f821691505b602082108103611aa557634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215611abd57600080fd5b8151610ca681611954565b601f82111561075d57600081815260208120601f850160051c81016020861015611aef5750805b601f850160051c820191505b818110156112a357828155600101611afb565b815167ffffffffffffffff811115611b2857611b28611864565b611b3c81611b368454611a71565b84611ac8565b602080601f831160018114611b715760008415611b595750858301515b600019600386901b1c1916600185901b1785556112a3565b600085815260208120601f198616915b82811015611ba057888601518255948401946001909101908401611b81565b5085821015611bbe5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008351611be081846020880161177f565b835190830190611bf481836020880161177f565b01949350505050565b80820281158282048414176105bd576105bd611a48565b818103818111156105bd576105bd611a48565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611c5a908301846117a3565b9695505050505050565b600060208284031215611c7657600080fd5b8151610ca68161174c56fea2646970667358221220283e04bc28eb02047e4ad6d6b59b45bec5e5b11d73fdea9638c35de08e1c896b64736f6c63430008110033

Deployed Bytecode Sourcemap

64364:3545:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66001:193;;;;;;;;;;-1:-1:-1;66001:193:0;;;;;:::i;:::-;;:::i;:::-;;24764:639;;;;;;;;;;-1:-1:-1;24764:639:0;;;;;:::i;:::-;;:::i;:::-;;;750:14:1;;743:22;725:41;;713:2;698:18;24764:639:0;;;;;;;;25666:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;32157:218::-;;;;;;;;;;-1:-1:-1;32157:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;32157:218:0;1533:203:1;67122:165:0;;;;;;:::i;:::-;;:::i;21417:323::-;;;;;;;;;;-1:-1:-1;65117:1:0;21691:12;21478:7;21675:13;:28;-1:-1:-1;;21675:46:0;21417:323;;;2324:25:1;;;2312:2;2297:18;21417:323:0;2178:177:1;67295:171:0;;;;;;:::i;:::-;;:::i;66723:98::-;;;;;;;;;;;;;:::i;3551:143::-;;;;;;;;;;;;3651:42;3551:143;;67474:179;;;;;;:::i;:::-;;:::i;66625:90::-;;;;;;;;;;-1:-1:-1;66625:90:0;;;;;:::i;:::-;;:::i;64593:32::-;;;;;;;;;;;;;;;;66419:100;;;;;;;;;;-1:-1:-1;66419:100:0;;;;;:::i;:::-;;:::i;27059:152::-;;;;;;;;;;-1:-1:-1;27059:152:0;;;;;:::i;:::-;;:::i;64718:80::-;;;;;;;;;;;;;:::i;22601:233::-;;;;;;;;;;-1:-1:-1;22601:233:0;;;;;:::i;:::-;;:::i;63517:103::-;;;;;;;;;;;;;:::i;66527:90::-;;;;;;;;;;;;;:::i;62869:87::-;;;;;;;;;;-1:-1:-1;62942:6:0;;-1:-1:-1;;;;;62942:6:0;62869:87;;25842:104;;;;;;;;;;;;;:::i;66938:176::-;;;;;;;;;;-1:-1:-1;66938:176:0;;;;;:::i;:::-;;:::i;67661:245::-;;;;;;:::i;:::-;;:::i;64632:37::-;;;;;;;;;;;;;;;;26052:318;;;;;;;;;;-1:-1:-1;26052:318:0;;;;;:::i;:::-;;:::i;64555:31::-;;;;;;;;;;;;;;;;64676:33;;;;;;;;;;-1:-1:-1;64676:33:0;;;;;;;;65293:700;;;;;;:::i;:::-;;:::i;33106:164::-;;;;;;;;;;-1:-1:-1;33106:164:0;;;;;:::i;:::-;;:::i;63775:201::-;;;;;;;;;;-1:-1:-1;63775:201:0;;;;;:::i;:::-;;:::i;66001:193::-;62755:13;:11;:13::i;:::-;66108:9:::1;::::0;65117:1;21691:12;21478:7;21675:13;66093:11;;21675:28;;-1:-1:-1;;21675:46:0;66077:27:::1;;;;:::i;:::-;:40;;66069:62;;;::::0;-1:-1:-1;;;66069:62:0;;6192:2:1;66069:62:0::1;::::0;::::1;6174:21:1::0;6231:1;6211:18;;;6204:29;-1:-1:-1;;;6249:18:1;;;6242:39;6298:18;;66069:62:0::1;;;;;;;;;66152:34;66162:10;66174:11;66152:9;:34::i;:::-;66001:193:::0;:::o;24764:639::-;24849:4;-1:-1:-1;;;;;;;;;25173:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;25250:25:0;;;25173:102;:179;;;-1:-1:-1;;;;;;;;;;25327:25:0;;;25173:179;25153:199;24764:639;-1:-1:-1;;24764:639:0:o;25666:100::-;25720:13;25753:5;25746:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25666:100;:::o;32157:218::-;32233:7;32258:16;32266:7;32258;:16::i;:::-;32253:64;;32283:34;;-1:-1:-1;;;32283:34:0;;;;;;;;;;;32253:64;-1:-1:-1;32337:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;32337:30:0;;32157:218::o;67122:165::-;67226:8;3651:42;5545:45;:49;5541:225;;5616:67;;-1:-1:-1;;;5616:67:0;;5667:4;5616:67;;;6924:34:1;-1:-1:-1;;;;;6994:15:1;;6974:18;;;6967:43;3651:42:0;;5616;;6859:18:1;;5616:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5611:144;;5711:28;;-1:-1:-1;;;5711:28:0;;-1:-1:-1;;;;;1697:32:1;;5711:28:0;;;1679:51:1;1652:18;;5711:28:0;1533:203:1;5611:144:0;67247:32:::1;67261:8;67271:7;67247:13;:32::i;:::-;67122:165:::0;;;:::o;67295:171::-;67404:4;3651:42;4799:45;:49;4795:539;;5088:10;-1:-1:-1;;;;;5080:18:0;;;5076:85;;67421:37:::1;67440:4;67446:2;67450:7;67421:18;:37::i;:::-;5139:7:::0;;5076:85;5180:69;;-1:-1:-1;;;5180:69:0;;5231:4;5180:69;;;6924:34:1;5238:10:0;6974:18:1;;;6967:43;3651:42:0;;5180;;6859:18:1;;5180:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5175:148;;5277:30;;-1:-1:-1;;;5277:30:0;;5296:10;5277:30;;;1679:51:1;1652:18;;5277:30:0;1533:203:1;5175:148:0;67421:37:::1;67440:4;67446:2;67450:7;67421:18;:37::i;:::-;67295:171:::0;;;;:::o;66723:98::-;62755:13;:11;:13::i;:::-;66765:51:::1;::::0;66773:10:::1;::::0;66794:21:::1;66765:51:::0;::::1;;;::::0;::::1;::::0;;;66794:21;66773:10;66765:51;::::1;;;;;;;;;;;;;::::0;::::1;;;;67474:179:::0;67587:4;3651:42;4799:45;:49;4795:539;;5088:10;-1:-1:-1;;;;;5080:18:0;;;5076:85;;67604:41:::1;67627:4;67633:2;67637:7;67604:22;:41::i;5076:85::-:0;5180:69;;-1:-1:-1;;;5180:69:0;;5231:4;5180:69;;;6924:34:1;5238:10:0;6974:18:1;;;6967:43;3651:42:0;;5180;;6859:18:1;;5180:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5175:148;;5277:30;;-1:-1:-1;;;5277:30:0;;5296:10;5277:30;;;1679:51:1;1652:18;;5277:30:0;1533:203:1;5175:148:0;67604:41:::1;67627:4;67633:2;67637:7;67604:22;:41::i;66625:90::-:0;62755:13;:11;:13::i;:::-;66689:8:::1;:18:::0;66625:90::o;66419:100::-;62755:13;:11;:13::i;:::-;66493:7:::1;:18;66503:8:::0;66493:7;:18:::1;:::i;:::-;;66419:100:::0;:::o;27059:152::-;27131:7;27174:27;27193:7;27174:18;:27::i;64718:80::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;22601:233::-;22673:7;-1:-1:-1;;;;;22697:19:0;;22693:60;;22725:28;;-1:-1:-1;;;22725:28:0;;;;;;;;;;;22693:60;-1:-1:-1;;;;;;22771:25:0;;;;;:18;:25;;;;;;16760:13;22771:55;;22601:233::o;63517:103::-;62755:13;:11;:13::i;:::-;63582:30:::1;63609:1;63582:18;:30::i;:::-;63517:103::o:0;66527:90::-;62755:13;:11;:13::i;:::-;66596::::1;::::0;;-1:-1:-1;;66579:30:0;::::1;66596:13;::::0;;::::1;66595:14;66579:30;::::0;;66527:90::o;25842:104::-;25898:13;25931:7;25924:14;;;;;:::i;66938:176::-;67042:8;3651:42;5545:45;:49;5541:225;;5616:67;;-1:-1:-1;;;5616:67:0;;5667:4;5616:67;;;6924:34:1;-1:-1:-1;;;;;6994:15:1;;6974:18;;;6967:43;3651:42:0;;5616;;6859:18:1;;5616:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5611:144;;5711:28;;-1:-1:-1;;;5711:28:0;;-1:-1:-1;;;;;1697:32:1;;5711:28:0;;;1679:51:1;1652:18;;5711:28:0;1533:203:1;5611:144:0;67063:43:::1;67087:8;67097;67063:23;:43::i;67661:245::-:0;67829:4;3651:42;4799:45;:49;4795:539;;5088:10;-1:-1:-1;;;;;5080:18:0;;;5076:85;;67851:47:::1;67874:4;67880:2;67884:7;67893:4;67851:22;:47::i;:::-;5139:7:::0;;5076:85;5180:69;;-1:-1:-1;;;5180:69:0;;5231:4;5180:69;;;6924:34:1;5238:10:0;6974:18:1;;;6967:43;3651:42:0;;5180;;6859:18:1;;5180:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5175:148;;5277:30;;-1:-1:-1;;;5277:30:0;;5296:10;5277:30;;;1679:51:1;1652:18;;5277:30:0;1533:203:1;5175:148:0;67851:47:::1;67874:4;67880:2;67884:7;67893:4;67851:22;:47::i;:::-;67661:245:::0;;;;;:::o;26052:318::-;26125:13;26156:16;26164:7;26156;:16::i;:::-;26151:59;;26181:29;;-1:-1:-1;;;26181:29:0;;;;;;;;;;;26151:59;26223:21;26247:10;:8;:10::i;:::-;26223:34;;26281:7;26275:21;26300:1;26275:26;:87;;;;;;;;;;;;;;;;;26328:7;26337:18;26347:7;26337:9;:18::i;:::-;26311:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;26275:87;26268:94;26052:318;-1:-1:-1;;;26052:318:0:o;65293:700::-;64939:9;64952:10;64939:23;64931:66;;;;-1:-1:-1;;;64931:66:0;;10178:2:1;64931:66:0;;;10160:21:1;10217:2;10197:18;;;10190:30;10256:32;10236:18;;;10229:60;10306:18;;64931:66:0;9976:354:1;64931:66:0;60140:21:::1;:19;:21::i;:::-;65389:13:::2;::::0;::::2;;65381:44;;;::::0;-1:-1:-1;;;65381:44:0;;10537:2:1;65381:44:0::2;::::0;::::2;10519:21:1::0;10576:2;10556:18;;;10549:30;-1:-1:-1;;;10595:18:1;;;10588:48;10653:18;;65381:44:0::2;10335:342:1::0;65381:44:0::2;65488:12;::::0;65460:10:::2;65444:27;::::0;;;:15:::2;:27;::::0;;;;;:40:::2;::::0;65474:10;;65444:40:::2;:::i;:::-;:56;;65436:92;;;::::0;-1:-1:-1;;;65436:92:0;;10884:2:1;65436:92:0::2;::::0;::::2;10866:21:1::0;10923:2;10903:18;;;10896:30;10962:25;10942:18;;;10935:53;11005:18;;65436:92:0::2;10682:347:1::0;65436:92:0::2;65577:9;::::0;65117:1;21691:12;21478:7;21675:13;65563:10;;21675:28;;-1:-1:-1;;21675:46:0;65547:26:::2;;;;:::i;:::-;:39;;65539:60;;;::::0;-1:-1:-1;;;65539:60:0;;11236:2:1;65539:60:0::2;::::0;::::2;11218:21:1::0;11275:1;11255:18;;;11248:29;-1:-1:-1;;;11293:18:1;;;11286:38;11341:18;;65539:60:0::2;11034:331:1::0;65539:60:0::2;65624:10;65615:20;::::0;;;:8:::2;:20;::::0;;;;;::::2;;65612:268;;;65686:8;::::0;65673:21:::2;::::0;:10;:21:::2;:::i;:::-;65660:9;:34;;65652:63;;;::::0;-1:-1:-1;;;65652:63:0;;11745:2:1;65652:63:0::2;::::0;::::2;11727:21:1::0;11784:2;11764:18;;;11757:30;-1:-1:-1;;;11803:18:1;;;11796:46;11859:18;;65652:63:0::2;11543:340:1::0;65652:63:0::2;65612:268;;;65797:8;::::0;65779:14:::2;65792:1;65779:10:::0;:14:::2;:::i;:::-;65778:27;;;;:::i;:::-;65765:9;:40;;65757:69;;;::::0;-1:-1:-1;;;65757:69:0;;11745:2:1;65757:69:0::2;::::0;::::2;11727:21:1::0;11784:2;11764:18;;;11757:30;-1:-1:-1;;;11803:18:1;;;11796:46;11859:18;;65757:69:0::2;11543:340:1::0;65757:69:0::2;65850:10;65841:20;::::0;;;:8:::2;:20;::::0;;;;:27;;-1:-1:-1;;65841:27:0::2;65864:4;65841:27;::::0;;65612:268:::2;65916:10;65900:27;::::0;;;:15:::2;:27;::::0;;;;:41;;65931:10;;65900:27;:41:::2;::::0;65931:10;;65900:41:::2;:::i;:::-;::::0;;;-1:-1:-1;65952:33:0::2;::::0;-1:-1:-1;65962:10:0::2;65974::::0;65952:9:::2;:33::i;:::-;60184:20:::1;59578:1:::0;60704:7;:22;60521:213;33106:164;-1:-1:-1;;;;;33227:25:0;;;33203:4;33227:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;33106:164::o;63775:201::-;62755:13;:11;:13::i;:::-;-1:-1:-1;;;;;63864:22:0;::::1;63856:73;;;::::0;-1:-1:-1;;;63856:73:0;;12223:2:1;63856:73:0::1;::::0;::::1;12205:21:1::0;12262:2;12242:18;;;12235:30;12301:34;12281:18;;;12274:62;-1:-1:-1;;;12352:18:1;;;12345:36;12398:19;;63856:73:0::1;12021:402:1::0;63856:73:0::1;63940:28;63959:8;63940:18;:28::i;63034:132::-:0;62942:6;;-1:-1:-1;;;;;62942:6:0;61500:10;63098:23;63090:68;;;;-1:-1:-1;;;63090:68:0;;12630:2:1;63090:68:0;;;12612:21:1;;;12649:18;;;12642:30;12708:34;12688:18;;;12681:62;12760:18;;63090:68:0;12428:356:1;49668:112:0;49745:27;49755:2;49759:8;49745:27;;;;;;;;;;;;:9;:27::i;33528:282::-;33593:4;33649:7;65117:1;33630:26;;:66;;;;;33683:13;;33673:7;:23;33630:66;:153;;;;-1:-1:-1;;33734:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;33734:44:0;:49;;33528:282::o;31590:408::-;31679:13;31695:16;31703:7;31695;:16::i;:::-;31679:32;-1:-1:-1;61500:10:0;-1:-1:-1;;;;;31728:28:0;;;31724:175;;31776:44;31793:5;61500:10;33106:164;:::i;31776:44::-;31771:128;;31848:35;;-1:-1:-1;;;31848:35:0;;;;;;;;;;;31771:128;31911:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;31911:35:0;-1:-1:-1;;;;;31911:35:0;;;;;;;;;31962:28;;31911:24;;31962:28;;;;;;;31668:330;31590:408;;:::o;35796:2825::-;35938:27;35968;35987:7;35968:18;:27::i;:::-;35938:57;;36053:4;-1:-1:-1;;;;;36012:45:0;36028:19;-1:-1:-1;;;;;36012:45:0;;36008:86;;36066:28;;-1:-1:-1;;;36066:28:0;;;;;;;;;;;36008:86;36108:27;34904:24;;;:15;:24;;;;;35132:26;;61500:10;34529:30;;;-1:-1:-1;;;;;34222:28:0;;34507:20;;;34504:56;36294:180;;36387:43;36404:4;61500:10;33106:164;:::i;36387:43::-;36382:92;;36439:35;;-1:-1:-1;;;36439:35:0;;;;;;;;;;;36382:92;-1:-1:-1;;;;;36491:16:0;;36487:52;;36516:23;;-1:-1:-1;;;36516:23:0;;;;;;;;;;;36487:52;36688:15;36685:160;;;36828:1;36807:19;36800:30;36685:160;-1:-1:-1;;;;;37225:24:0;;;;;;;:18;:24;;;;;;37223:26;;-1:-1:-1;;37223:26:0;;;37294:22;;;;;;;;;37292:24;;-1:-1:-1;37292:24:0;;;30448:11;30423:23;30419:41;30406:63;-1:-1:-1;;;30406:63:0;37587:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;37882:47:0;;:52;;37878:627;;37987:1;37977:11;;37955:19;38110:30;;;:17;:30;;;;;;:35;;38106:384;;38248:13;;38233:11;:28;38229:242;;38395:30;;;;:17;:30;;;;;:52;;;38229:242;37936:569;37878:627;38552:7;38548:2;-1:-1:-1;;;;;38533:27:0;38542:4;-1:-1:-1;;;;;38533:27:0;;;;;;;;;;;38571:42;35927:2694;;;35796:2825;;;:::o;38717:193::-;38863:39;38880:4;38886:2;38890:7;38863:39;;;;;;;;;;;;:16;:39::i;28214:1275::-;28281:7;28316;;65117:1;28365:23;28361:1061;;28418:13;;28411:4;:20;28407:1015;;;28456:14;28473:23;;;:17;:23;;;;;;;-1:-1:-1;;;28562:24:0;;:29;;28558:845;;29227:113;29234:6;29244:1;29234:11;29227:113;;-1:-1:-1;;;29305:6:0;29287:25;;;;:17;:25;;;;;;29227:113;;28558:845;28433:989;28407:1015;29450:31;;-1:-1:-1;;;29450:31:0;;;;;;;;;;;64136:191;64229:6;;;-1:-1:-1;;;;;64246:17:0;;;-1:-1:-1;;;;;;64246:17:0;;;;;;;64279:40;;64229:6;;;64246:17;64229:6;;64279:40;;64210:16;;64279:40;64199:128;64136:191;:::o;32715:234::-;61500:10;32810:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;32810:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;32810:60:0;;;;;;;;;;32886:55;;725:41:1;;;32810:49:0;;61500:10;32886:55;;698:18:1;32886:55:0;;;;;;;32715:234;;:::o;39508:407::-;39683:31;39696:4;39702:2;39706:7;39683:12;:31::i;:::-;-1:-1:-1;;;;;39729:14:0;;;:19;39725:183;;39768:56;39799:4;39805:2;39809:7;39818:5;39768:30;:56::i;:::-;39763:145;;39852:40;;-1:-1:-1;;;39852:40:0;;;;;;;;;;;66303:108;66363:13;66396:7;66389:14;;;;;:::i;56043:1745::-;56108:17;56542:4;56535;56529:11;56525:22;56634:1;56628:4;56621:15;56709:4;56706:1;56702:12;56695:19;;;56791:1;56786:3;56779:14;56895:3;57134:5;57116:428;57182:1;57177:3;57173:11;57166:18;;57353:2;57347:4;57343:13;57339:2;57335:22;57330:3;57322:36;57447:2;57437:13;;57504:25;57116:428;57504:25;-1:-1:-1;57574:13:0;;;-1:-1:-1;;57689:14:0;;;57751:19;;;57689:14;56043:1745;-1:-1:-1;56043:1745:0:o;60220:293::-;59622:1;60354:7;;:19;60346:63;;;;-1:-1:-1;;;60346:63:0;;12991:2:1;60346:63:0;;;12973:21:1;13030:2;13010:18;;;13003:30;13069:33;13049:18;;;13042:61;13120:18;;60346:63:0;12789:355:1;60346:63:0;59622:1;60487:7;:18;60220:293::o;48895:689::-;49026:19;49032:2;49036:8;49026:5;:19::i;:::-;-1:-1:-1;;;;;49087:14:0;;;:19;49083:483;;49127:11;49141:13;49189:14;;;49222:233;49253:62;49292:1;49296:2;49300:7;;;;;;49309:5;49253:30;:62::i;:::-;49248:167;;49351:40;;-1:-1:-1;;;49351:40:0;;;;;;;;;;;49248:167;49450:3;49442:5;:11;49222:233;;49537:3;49520:13;;:20;49516:34;;49542:8;;;41999:716;42183:88;;-1:-1:-1;;;42183:88:0;;42162:4;;-1:-1:-1;;;;;42183:45:0;;;;;:88;;61500:10;;42250:4;;42256:7;;42265:5;;42183:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42183:88:0;;;;;;;;-1:-1:-1;;42183:88:0;;;;;;;;;;;;:::i;:::-;;;42179:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42466:6;:13;42483:1;42466:18;42462:235;;42512:40;;-1:-1:-1;;;42512:40:0;;;;;;;;;;;42462:235;42655:6;42649:13;42640:6;42636:2;42632:15;42625:38;42179:529;-1:-1:-1;;;;;;42342:64:0;-1:-1:-1;;;42342:64:0;;-1:-1:-1;42179:529:0;41999:716;;;;;;:::o;43177:2966::-;43250:20;43273:13;;;43301;;;43297:44;;43323:18;;-1:-1:-1;;;43323:18:0;;;;;;;;;;;43297:44;-1:-1:-1;;;;;43829:22:0;;;;;;:18;:22;;;;16898:2;43829:22;;;:71;;43867:32;43855:45;;43829:71;;;44143:31;;;:17;:31;;;;;-1:-1:-1;30879:15:0;;30853:24;30849:46;30448:11;30423:23;30419:41;30416:52;30406:63;;44143:173;;44378:23;;;;44143:31;;43829:22;;45143:25;43829:22;;44996:335;45657:1;45643:12;45639:20;45597:346;45698:3;45689:7;45686:16;45597:346;;45916:7;45906:8;45903:1;45876:25;45873:1;45870;45865:59;45751:1;45738:15;45597:346;;;45601:77;45976:8;45988:1;45976:13;45972:45;;45998:19;;-1:-1:-1;;;45998:19:0;;;;;;;;;;;45972:45;46034:13;:19;-1:-1:-1;67122:165:0;;;:::o;14:180:1:-;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;-1:-1:-1;165:23:1;;14:180;-1:-1:-1;14:180:1:o;199:131::-;-1:-1:-1;;;;;;273:32:1;;263:43;;253:71;;320:1;317;310:12;335:245;393:6;446:2;434:9;425:7;421:23;417:32;414:52;;;462:1;459;452:12;414:52;501:9;488:23;520:30;544:5;520:30;:::i;777:250::-;862:1;872:113;886:6;883:1;880:13;872:113;;;962:11;;;956:18;943:11;;;936:39;908:2;901:10;872:113;;;-1:-1:-1;;1019:1:1;1001:16;;994:27;777:250::o;1032:271::-;1074:3;1112:5;1106:12;1139:6;1134:3;1127:19;1155:76;1224:6;1217:4;1212:3;1208:14;1201:4;1194:5;1190:16;1155:76;:::i;:::-;1285:2;1264:15;-1:-1:-1;;1260:29:1;1251:39;;;;1292:4;1247:50;;1032:271;-1:-1:-1;;1032:271:1:o;1308:220::-;1457:2;1446:9;1439:21;1420:4;1477:45;1518:2;1507:9;1503:18;1495:6;1477:45;:::i;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;2932:127::-;2993:10;2988:3;2984:20;2981:1;2974:31;3024:4;3021:1;3014:15;3048:4;3045:1;3038:15;3064:632;3129:5;3159:18;3200:2;3192:6;3189:14;3186:40;;;3206:18;;:::i;:::-;3281:2;3275:9;3249:2;3335:15;;-1:-1:-1;;3331:24:1;;;3357:2;3327:33;3323:42;3311:55;;;3381:18;;;3401:22;;;3378:46;3375:72;;;3427:18;;:::i;:::-;3467:10;3463:2;3456:22;3496:6;3487:15;;3526:6;3518;3511:22;3566:3;3557:6;3552:3;3548:16;3545:25;3542:45;;;3583:1;3580;3573:12;3542:45;3633:6;3628:3;3621:4;3613:6;3609:17;3596:44;3688:1;3681:4;3672:6;3664;3660:19;3656:30;3649:41;;;;3064:632;;;;;:::o;3701:451::-;3770:6;3823:2;3811:9;3802:7;3798:23;3794:32;3791:52;;;3839:1;3836;3829:12;3791:52;3879:9;3866:23;3912:18;3904:6;3901:30;3898:50;;;3944:1;3941;3934:12;3898:50;3967:22;;4020:4;4012:13;;4008:27;-1:-1:-1;3998:55:1;;4049:1;4046;4039:12;3998:55;4072:74;4138:7;4133:2;4120:16;4115:2;4111;4107:11;4072:74;:::i;4157:186::-;4216:6;4269:2;4257:9;4248:7;4244:23;4240:32;4237:52;;;4285:1;4282;4275:12;4237:52;4308:29;4327:9;4308:29;:::i;4348:118::-;4434:5;4427:13;4420:21;4413:5;4410:32;4400:60;;4456:1;4453;4446:12;4471:315;4536:6;4544;4597:2;4585:9;4576:7;4572:23;4568:32;4565:52;;;4613:1;4610;4603:12;4565:52;4636:29;4655:9;4636:29;:::i;:::-;4626:39;;4715:2;4704:9;4700:18;4687:32;4728:28;4750:5;4728:28;:::i;:::-;4775:5;4765:15;;;4471:315;;;;;:::o;4791:667::-;4886:6;4894;4902;4910;4963:3;4951:9;4942:7;4938:23;4934:33;4931:53;;;4980:1;4977;4970:12;4931:53;5003:29;5022:9;5003:29;:::i;:::-;4993:39;;5051:38;5085:2;5074:9;5070:18;5051:38;:::i;:::-;5041:48;;5136:2;5125:9;5121:18;5108:32;5098:42;;5191:2;5180:9;5176:18;5163:32;5218:18;5210:6;5207:30;5204:50;;;5250:1;5247;5240:12;5204:50;5273:22;;5326:4;5318:13;;5314:27;-1:-1:-1;5304:55:1;;5355:1;5352;5345:12;5304:55;5378:74;5444:7;5439:2;5426:16;5421:2;5417;5413:11;5378:74;:::i;:::-;5368:84;;;4791:667;;;;;;;:::o;5463:260::-;5531:6;5539;5592:2;5580:9;5571:7;5567:23;5563:32;5560:52;;;5608:1;5605;5598:12;5560:52;5631:29;5650:9;5631:29;:::i;:::-;5621:39;;5679:38;5713:2;5702:9;5698:18;5679:38;:::i;:::-;5669:48;;5463:260;;;;;:::o;5728:127::-;5789:10;5784:3;5780:20;5777:1;5770:31;5820:4;5817:1;5810:15;5844:4;5841:1;5834:15;5860:125;5925:9;;;5946:10;;;5943:36;;;5959:18;;:::i;6327:380::-;6406:1;6402:12;;;;6449;;;6470:61;;6524:4;6516:6;6512:17;6502:27;;6470:61;6577:2;6569:6;6566:14;6546:18;6543:38;6540:161;;6623:10;6618:3;6614:20;6611:1;6604:31;6658:4;6655:1;6648:15;6686:4;6683:1;6676:15;6540:161;;6327:380;;;:::o;7021:245::-;7088:6;7141:2;7129:9;7120:7;7116:23;7112:32;7109:52;;;7157:1;7154;7147:12;7109:52;7189:9;7183:16;7208:28;7230:5;7208:28;:::i;7397:545::-;7499:2;7494:3;7491:11;7488:448;;;7535:1;7560:5;7556:2;7549:17;7605:4;7601:2;7591:19;7675:2;7663:10;7659:19;7656:1;7652:27;7646:4;7642:38;7711:4;7699:10;7696:20;7693:47;;;-1:-1:-1;7734:4:1;7693:47;7789:2;7784:3;7780:12;7777:1;7773:20;7767:4;7763:31;7753:41;;7844:82;7862:2;7855:5;7852:13;7844:82;;;7907:17;;;7888:1;7877:13;7844:82;;8118:1352;8244:3;8238:10;8271:18;8263:6;8260:30;8257:56;;;8293:18;;:::i;:::-;8322:97;8412:6;8372:38;8404:4;8398:11;8372:38;:::i;:::-;8366:4;8322:97;:::i;:::-;8474:4;;8538:2;8527:14;;8555:1;8550:663;;;;9257:1;9274:6;9271:89;;;-1:-1:-1;9326:19:1;;;9320:26;9271:89;-1:-1:-1;;8075:1:1;8071:11;;;8067:24;8063:29;8053:40;8099:1;8095:11;;;8050:57;9373:81;;8520:944;;8550:663;7344:1;7337:14;;;7381:4;7368:18;;-1:-1:-1;;8586:20:1;;;8704:236;8718:7;8715:1;8712:14;8704:236;;;8807:19;;;8801:26;8786:42;;8899:27;;;;8867:1;8855:14;;;;8734:19;;8704:236;;;8708:3;8968:6;8959:7;8956:19;8953:201;;;9029:19;;;9023:26;-1:-1:-1;;9112:1:1;9108:14;;;9124:3;9104:24;9100:37;9096:42;9081:58;9066:74;;8953:201;-1:-1:-1;;;;;9200:1:1;9184:14;;;9180:22;9167:36;;-1:-1:-1;8118:1352:1:o;9475:496::-;9654:3;9692:6;9686:13;9708:66;9767:6;9762:3;9755:4;9747:6;9743:17;9708:66;:::i;:::-;9837:13;;9796:16;;;;9859:70;9837:13;9796:16;9906:4;9894:17;;9859:70;:::i;:::-;9945:20;;9475:496;-1:-1:-1;;;;9475:496:1:o;11370:168::-;11443:9;;;11474;;11491:15;;;11485:22;;11471:37;11461:71;;11512:18;;:::i;11888:128::-;11955:9;;;11976:11;;;11973:37;;;11990:18;;:::i;13149:489::-;-1:-1:-1;;;;;13418:15:1;;;13400:34;;13470:15;;13465:2;13450:18;;13443:43;13517:2;13502:18;;13495:34;;;13565:3;13560:2;13545:18;;13538:31;;;13343:4;;13586:46;;13612:19;;13604:6;13586:46;:::i;:::-;13578:54;13149:489;-1:-1:-1;;;;;;13149:489:1:o;13643:249::-;13712:6;13765:2;13753:9;13744:7;13740:23;13736:32;13733:52;;;13781:1;13778;13771:12;13733:52;13813:9;13807:16;13832:30;13856:5;13832:30;:::i

Swarm Source

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