ETH Price: $2,508.06 (-4.85%)

Token

Fluffy (FLUFF)
 

Overview

Max Total Supply

0 FLUFF

Holders

58

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
2 FLUFF
0x169Dbd6cECa38283aB064BE628dD53E7882A3Daf
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:
Fluffy

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.8.20;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

contract Fluffy is ERC721, Ownable {
    using Strings for uint256;

    string public uriPrefix = "https://fluffiesmorph.s3.amazonaws.com/json/";
    string public uriSuffix = ".json";
    uint256 public maxMintAmountPerTx;

    constructor() ERC721("Fluffy", "FLUFF") Ownable(msg.sender) {
        setMaxMintAmountPerTx(20);
    }

    modifier mintCompliance(uint256[] memory _tokenIds) {
        require(_tokenIds.length > 0, "No token IDs provided");
        require(
            _tokenIds.length <= maxMintAmountPerTx,
            "Exceeds max mint amount per transaction"
        );
        _;
    }

    function mintForAddress(
        uint256[] memory _tokenIds,
        address _receiver
    ) public mintCompliance(_tokenIds) onlyOwner {
        for (uint256 i = 0; i < _tokenIds.length; i++) {
            require(
                _ownerOf(_tokenIds[i]) == address(0),
                "Token ID already exists"
            );
            _safeMint(_receiver, _tokenIds[i]);
        }
    }

    function tokenURI(
        uint256 _tokenId
    ) public view virtual override returns (string memory) {
        require(
            _ownerOf(_tokenId) != address(0),
            "ERC721Metadata: URI query for nonexistent token"
        );

        string memory currentBaseURI = _baseURI();
        return
            bytes(currentBaseURI).length > 0
                ? string(
                    abi.encodePacked(
                        currentBaseURI,
                        _tokenId.toString(),
                        uriSuffix
                    )
                )
                : "";
    }

    function setMaxMintAmountPerTx(
        uint256 _maxMintAmountPerTx
    ) public onlyOwner {
        maxMintAmountPerTx = _maxMintAmountPerTx;
    }

    function setUriPrefix(string memory _uriPrefix) public onlyOwner {
        uriPrefix = _uriPrefix;
    }

    function setUriSuffix(string memory _uriSuffix) public onlyOwner {
        uriSuffix = _uriSuffix;
    }

    function withdraw() public onlyOwner {
        (bool os, ) = payable(owner()).call{value: address(this).balance}("");
        require(os);
    }

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

File 2 of 13 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

import {Context} from "../utils/Context.sol";

/**
 * @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.
 *
 * The initial owner is set to the address provided by the deployer. 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;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @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 {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling 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 {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(newOwner);
    }

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

File 3 of 13 : draft-IERC6093.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;

/**
 * @dev Standard ERC20 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens.
 */
interface IERC20Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC20InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC20InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     * @param allowance Amount of tokens a `spender` is allowed to operate with.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC20InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC20InvalidSpender(address spender);
}

/**
 * @dev Standard ERC721 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens.
 */
interface IERC721Errors {
    /**
     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20.
     * Used in balance queries.
     * @param owner Address of the current owner of a token.
     */
    error ERC721InvalidOwner(address owner);

    /**
     * @dev Indicates a `tokenId` whose `owner` is the zero address.
     * @param tokenId Identifier number of a token.
     */
    error ERC721NonexistentToken(uint256 tokenId);

    /**
     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param tokenId Identifier number of a token.
     * @param owner Address of the current owner of a token.
     */
    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC721InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC721InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param tokenId Identifier number of a token.
     */
    error ERC721InsufficientApproval(address operator, uint256 tokenId);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC721InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC721InvalidOperator(address operator);
}

/**
 * @dev Standard ERC1155 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens.
 */
interface IERC1155Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     * @param tokenId Identifier number of a token.
     */
    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC1155InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC1155InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param owner Address of the current owner of a token.
     */
    error ERC1155MissingApprovalForAll(address operator, address owner);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC1155InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC1155InvalidOperator(address operator);

    /**
     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
     * Used in batch transfers.
     * @param idsLength Length of the array of token identifiers
     * @param valuesLength Length of the array of token amounts
     */
    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}

File 4 of 13 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.20;

import {IERC721} from "./IERC721.sol";
import {IERC721Receiver} from "./IERC721Receiver.sol";
import {IERC721Metadata} from "./extensions/IERC721Metadata.sol";
import {Context} from "../../utils/Context.sol";
import {Strings} from "../../utils/Strings.sol";
import {IERC165, ERC165} from "../../utils/introspection/ERC165.sol";
import {IERC721Errors} from "../../interfaces/draft-IERC6093.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
abstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Errors {
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    mapping(uint256 tokenId => address) private _owners;

    mapping(address owner => uint256) private _balances;

    mapping(uint256 tokenId => address) private _tokenApprovals;

    mapping(address owner => mapping(address operator => bool)) private _operatorApprovals;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual returns (uint256) {
        if (owner == address(0)) {
            revert ERC721InvalidOwner(address(0));
        }
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual returns (address) {
        return _requireOwned(tokenId);
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual returns (string memory) {
        _requireOwned(tokenId);

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string.concat(baseURI, tokenId.toString()) : "";
    }

    /**
     * @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, can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual {
        _approve(to, tokenId, _msgSender());
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual returns (address) {
        _requireOwned(tokenId);

        return _getApproved(tokenId);
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(address from, address to, uint256 tokenId) public virtual {
        if (to == address(0)) {
            revert ERC721InvalidReceiver(address(0));
        }
        // Setting an "auth" arguments enables the `_isAuthorized` check which verifies that the token exists
        // (from != 0). Therefore, it is not needed to verify that the return value is not 0 here.
        address previousOwner = _update(to, tokenId, _msgSender());
        if (previousOwner != from) {
            revert ERC721IncorrectOwner(from, tokenId, previousOwner);
        }
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) public {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public virtual {
        transferFrom(from, to, tokenId);
        _checkOnERC721Received(from, to, tokenId, data);
    }

    /**
     * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist
     *
     * IMPORTANT: Any overrides to this function that add ownership of tokens not tracked by the
     * core ERC721 logic MUST be matched with the use of {_increaseBalance} to keep balances
     * consistent with ownership. The invariant to preserve is that for any address `a` the value returned by
     * `balanceOf(a)` must be equal to the number of tokens such that `_ownerOf(tokenId)` is `a`.
     */
    function _ownerOf(uint256 tokenId) internal view virtual returns (address) {
        return _owners[tokenId];
    }

    /**
     * @dev Returns the approved address for `tokenId`. Returns 0 if `tokenId` is not minted.
     */
    function _getApproved(uint256 tokenId) internal view virtual returns (address) {
        return _tokenApprovals[tokenId];
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `owner`'s tokens, or `tokenId` in
     * particular (ignoring whether it is owned by `owner`).
     *
     * WARNING: This function assumes that `owner` is the actual owner of `tokenId` and does not verify this
     * assumption.
     */
    function _isAuthorized(address owner, address spender, uint256 tokenId) internal view virtual returns (bool) {
        return
            spender != address(0) &&
            (owner == spender || isApprovedForAll(owner, spender) || _getApproved(tokenId) == spender);
    }

    /**
     * @dev Checks if `spender` can operate on `tokenId`, assuming the provided `owner` is the actual owner.
     * Reverts if `spender` does not have approval from the provided `owner` for the given token or for all its assets
     * the `spender` for the specific `tokenId`.
     *
     * WARNING: This function assumes that `owner` is the actual owner of `tokenId` and does not verify this
     * assumption.
     */
    function _checkAuthorized(address owner, address spender, uint256 tokenId) internal view virtual {
        if (!_isAuthorized(owner, spender, tokenId)) {
            if (owner == address(0)) {
                revert ERC721NonexistentToken(tokenId);
            } else {
                revert ERC721InsufficientApproval(spender, tokenId);
            }
        }
    }

    /**
     * @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override.
     *
     * NOTE: the value is limited to type(uint128).max. This protect against _balance overflow. It is unrealistic that
     * a uint256 would ever overflow from increments when these increments are bounded to uint128 values.
     *
     * WARNING: Increasing an account's balance using this function tends to be paired with an override of the
     * {_ownerOf} function to resolve the ownership of the corresponding tokens so that balances and ownership
     * remain consistent with one another.
     */
    function _increaseBalance(address account, uint128 value) internal virtual {
        unchecked {
            _balances[account] += value;
        }
    }

    /**
     * @dev Transfers `tokenId` from its current owner to `to`, or alternatively mints (or burns) if the current owner
     * (or `to`) is the zero address. Returns the owner of the `tokenId` before the update.
     *
     * The `auth` argument is optional. If the value passed is non 0, then this function will check that
     * `auth` is either the owner of the token, or approved to operate on the token (by the owner).
     *
     * Emits a {Transfer} event.
     *
     * NOTE: If overriding this function in a way that tracks balances, see also {_increaseBalance}.
     */
    function _update(address to, uint256 tokenId, address auth) internal virtual returns (address) {
        address from = _ownerOf(tokenId);

        // Perform (optional) operator check
        if (auth != address(0)) {
            _checkAuthorized(from, auth, tokenId);
        }

        // Execute the update
        if (from != address(0)) {
            // Clear approval. No need to re-authorize or emit the Approval event
            _approve(address(0), tokenId, address(0), false);

            unchecked {
                _balances[from] -= 1;
            }
        }

        if (to != address(0)) {
            unchecked {
                _balances[to] += 1;
            }
        }

        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        return from;
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal {
        if (to == address(0)) {
            revert ERC721InvalidReceiver(address(0));
        }
        address previousOwner = _update(to, tokenId, address(0));
        if (previousOwner != address(0)) {
            revert ERC721InvalidSender(address(0));
        }
    }

    /**
     * @dev Mints `tokenId`, transfers it to `to` and checks for `to` acceptance.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(address to, uint256 tokenId, bytes memory data) internal virtual {
        _mint(to, tokenId);
        _checkOnERC721Received(address(0), to, tokenId, data);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     * This is an internal function that does not check if the sender is authorized to operate on the token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal {
        address previousOwner = _update(address(0), tokenId, address(0));
        if (previousOwner == address(0)) {
            revert ERC721NonexistentToken(tokenId);
        }
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(address from, address to, uint256 tokenId) internal {
        if (to == address(0)) {
            revert ERC721InvalidReceiver(address(0));
        }
        address previousOwner = _update(to, tokenId, address(0));
        if (previousOwner == address(0)) {
            revert ERC721NonexistentToken(tokenId);
        } else if (previousOwner != from) {
            revert ERC721IncorrectOwner(from, tokenId, previousOwner);
        }
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking that contract recipients
     * are aware of the ERC721 standard to prevent tokens from being forever locked.
     *
     * `data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is like {safeTransferFrom} in the sense that it invokes
     * {IERC721Receiver-onERC721Received} on the receiver, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `tokenId` token must exist and be owned by `from`.
     * - `to` cannot be the zero address.
     * - `from` cannot be the zero address.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(address from, address to, uint256 tokenId) internal {
        _safeTransfer(from, to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeTransfer-address-address-uint256-}[`_safeTransfer`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeTransfer(address from, address to, uint256 tokenId, bytes memory data) internal virtual {
        _transfer(from, to, tokenId);
        _checkOnERC721Received(from, to, tokenId, data);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * The `auth` argument is optional. If the value passed is non 0, then this function will check that `auth` is
     * either the owner of the token, or approved to operate on all tokens held by this owner.
     *
     * Emits an {Approval} event.
     *
     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
     */
    function _approve(address to, uint256 tokenId, address auth) internal {
        _approve(to, tokenId, auth, true);
    }

    /**
     * @dev Variant of `_approve` with an optional flag to enable or disable the {Approval} event. The event is not
     * emitted in the context of transfers.
     */
    function _approve(address to, uint256 tokenId, address auth, bool emitEvent) internal virtual {
        // Avoid reading the owner unless necessary
        if (emitEvent || auth != address(0)) {
            address owner = _requireOwned(tokenId);

            // We do not use _isAuthorized because single-token approvals should not be able to call approve
            if (auth != address(0) && owner != auth && !isApprovedForAll(owner, auth)) {
                revert ERC721InvalidApprover(auth);
            }

            if (emitEvent) {
                emit Approval(owner, to, tokenId);
            }
        }

        _tokenApprovals[tokenId] = to;
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Requirements:
     * - operator can't be the address zero.
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(address owner, address operator, bool approved) internal virtual {
        if (operator == address(0)) {
            revert ERC721InvalidOperator(operator);
        }
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Reverts if the `tokenId` doesn't have a current owner (it hasn't been minted, or it has been burned).
     * Returns the owner.
     *
     * Overrides to ownership logic should be done to {_ownerOf}.
     */
    function _requireOwned(uint256 tokenId) internal view returns (address) {
        address owner = _ownerOf(tokenId);
        if (owner == address(0)) {
            revert ERC721NonexistentToken(tokenId);
        }
        return owner;
    }

    /**
     * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target address. This will revert if the
     * recipient doesn't accept the token transfer. The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param data bytes optional data to send along with the call
     */
    function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory data) private {
        if (to.code.length > 0) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) {
                if (retval != IERC721Receiver.onERC721Received.selector) {
                    revert ERC721InvalidReceiver(to);
                }
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert ERC721InvalidReceiver(to);
                } else {
                    /// @solidity memory-safe-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        }
    }
}

File 5 of 13 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.20;

import {IERC721} from "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @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);
}

File 6 of 13 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.20;

import {IERC165} from "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @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`.
     *
     * 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 calldata data) external;

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

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 tokenId) external;

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

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the address zero.
     *
     * 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);
}

File 7 of 13 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.20;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be
     * reverted.
     *
     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 8 of 13 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Context.sol)

pragma solidity ^0.8.20;

/**
 * @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 9 of 13 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/ERC165.sol)

pragma solidity ^0.8.20;

import {IERC165} from "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 10 of 13 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol)

pragma solidity ^0.8.20;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

File 11 of 13 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol)

pragma solidity ^0.8.20;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Muldiv operation overflow.
     */
    error MathOverflowedMulDiv();

    enum Rounding {
        Floor, // Toward negative infinity
        Ceil, // Toward positive infinity
        Trunc, // Toward zero
        Expand // Away from zero
    }

    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds towards infinity instead
     * of rounding towards zero.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        if (b == 0) {
            // Guarantee the same behavior as in a regular Solidity division.
            return a / b;
        }

        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or
     * denominator == 0.
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by
     * Uniswap Labs also under MIT license.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0 = x * y; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            if (denominator <= prod1) {
                revert MathOverflowedMulDiv();
            }

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator.
            // Always >= 1. See https://cs.stackexchange.com/q/138556/92363.

            uint256 twos = denominator & (0 - denominator);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also
            // works in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded
     * towards zero.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10 ** 64) {
                value /= 10 ** 64;
                result += 64;
            }
            if (value >= 10 ** 32) {
                value /= 10 ** 32;
                result += 32;
            }
            if (value >= 10 ** 16) {
                value /= 10 ** 16;
                result += 16;
            }
            if (value >= 10 ** 8) {
                value /= 10 ** 8;
                result += 8;
            }
            if (value >= 10 ** 4) {
                value /= 10 ** 4;
                result += 4;
            }
            if (value >= 10 ** 2) {
                value /= 10 ** 2;
                result += 2;
            }
            if (value >= 10 ** 1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0);
        }
    }

    /**
     * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers.
     */
    function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) {
        return uint8(rounding) % 2 == 1;
    }
}

File 12 of 13 : SignedMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol)

pragma solidity ^0.8.20;

/**
 * @dev Standard signed math utilities missing in the Solidity language.
 */
library SignedMath {
    /**
     * @dev Returns the largest of two signed numbers.
     */
    function max(int256 a, int256 b) internal pure returns (int256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two signed numbers.
     */
    function min(int256 a, int256 b) internal pure returns (int256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two signed numbers without overflow.
     * The result is rounded towards zero.
     */
    function average(int256 a, int256 b) internal pure returns (int256) {
        // Formula from the book "Hacker's Delight"
        int256 x = (a & b) + ((a ^ b) >> 1);
        return x + (int256(uint256(x) >> 255) & (a ^ b));
    }

    /**
     * @dev Returns the absolute unsigned value of a signed value.
     */
    function abs(int256 n) internal pure returns (uint256) {
        unchecked {
            // must be unchecked in order to support `n = type(int256).min`
            return uint256(n >= 0 ? n : -n);
        }
    }
}

File 13 of 13 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol)

pragma solidity ^0.8.20;

import {Math} from "./math/Math.sol";
import {SignedMath} from "./math/SignedMath.sol";

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant HEX_DIGITS = "0123456789abcdef";
    uint8 private constant ADDRESS_LENGTH = 20;

    /**
     * @dev The `value` string doesn't fit in the specified `length`.
     */
    error StringsInsufficientHexLength(uint256 value, uint256 length);

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), HEX_DIGITS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toStringSigned(int256 value) internal pure returns (string memory) {
        return string.concat(value < 0 ? "-" : "", toString(SignedMath.abs(value)));
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        uint256 localValue = value;
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = HEX_DIGITS[localValue & 0xf];
            localValue >>= 4;
        }
        if (localValue != 0) {
            revert StringsInsufficientHexLength(value, length);
        }
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal
     * representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), ADDRESS_LENGTH);
    }

    /**
     * @dev Returns true if the two strings are equal.
     */
    function equal(string memory a, string memory b) internal pure returns (bool) {
        return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b));
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "evmVersion": "paris",
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"owner","type":"address"}],"name":"ERC721IncorrectOwner","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721InsufficientApproval","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC721InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"ERC721InvalidOperator","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"ERC721InvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC721InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC721InvalidSender","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721NonexistentToken","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","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":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"maxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"mintForAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setMaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60e0604052602c60808181529062001ab860a03960079062000022908262000243565b50604080518082019091526005815264173539b7b760d91b60208201526008906200004e908262000243565b503480156200005c57600080fd5b503360405180604001604052806006815260200165466c7566667960d01b8152506040518060400160405280600581526020016423262aa32360d91b8152508160009081620000ac919062000243565b506001620000bb828262000243565b5050506001600160a01b038116620000ee57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b620000f9816200010c565b506200010660146200015e565b6200030f565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620001686200016d565b600955565b6006546001600160a01b031633146200019c5760405163118cdaa760e01b8152336004820152602401620000e5565b565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620001c957607f821691505b602082108103620001ea57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200023e57600081815260208120601f850160051c81016020861015620002195750805b601f850160051c820191505b818110156200023a5782815560010162000225565b5050505b505050565b81516001600160401b038111156200025f576200025f6200019e565b6200027781620002708454620001b4565b84620001f0565b602080601f831160018114620002af5760008415620002965750858301515b600019600386901b1c1916600185901b1785556200023a565b600085815260208120601f198616915b82811015620002e057888601518255948401946001909101908401620002bf565b5085821015620002ff5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611799806200031f6000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c806370a08231116100c3578063a22cb4651161007c578063a22cb465146102af578063b071401b146102c2578063b88d4fde146102d5578063c87b56dd146102e8578063e985e9c5146102fb578063f2fde38b1461030e57600080fd5b806370a0823114610251578063715018a6146102725780637ec4a6591461027a5780638da5cb5b1461028d57806394354fd01461029e57806395d89b41146102a757600080fd5b806323b872dd1161011557806323b872dd146102005780633ccfd60b1461021357806342842e0e1461021b5780635503a0e81461022e57806362b99ad4146102365780636352211e1461023e57600080fd5b806301ffc9a71461015d57806306fdde0314610185578063081812fc1461019a578063095ea7b3146101c557806316ba10e0146101da57806316da55c4146101ed575b600080fd5b61017061016b366004611123565b610321565b60405190151581526020015b60405180910390f35b61018d610373565b60405161017c9190611190565b6101ad6101a83660046111a3565b610405565b6040516001600160a01b03909116815260200161017c565b6101d86101d33660046111d8565b61042e565b005b6101d86101e83660046112a1565b61043d565b6101d86101fb3660046112ea565b610451565b6101d861020e3660046113a2565b6105eb565b6101d8610670565b6101d86102293660046113a2565b6106ec565b61018d61070c565b61018d61079a565b6101ad61024c3660046111a3565b6107a7565b61026461025f3660046113de565b6107b2565b60405190815260200161017c565b6101d86107fa565b6101d86102883660046112a1565b61080e565b6006546001600160a01b03166101ad565b61026460095481565b61018d610822565b6101d86102bd3660046113f9565b610831565b6101d86102d03660046111a3565b61083c565b6101d86102e3366004611435565b610849565b61018d6102f63660046111a3565b610860565b6101706103093660046114b1565b61093e565b6101d861031c3660046113de565b61096c565b60006001600160e01b031982166380ac58cd60e01b148061035257506001600160e01b03198216635b5e139f60e01b145b8061036d57506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060008054610382906114e4565b80601f01602080910402602001604051908101604052809291908181526020018280546103ae906114e4565b80156103fb5780601f106103d0576101008083540402835291602001916103fb565b820191906000526020600020905b8154815290600101906020018083116103de57829003601f168201915b5050505050905090565b6000610410826109a7565b506000828152600460205260409020546001600160a01b031661036d565b6104398282336109e0565b5050565b6104456109ed565b6008610439828261156c565b8160008151116104a05760405162461bcd60e51b8152602060048201526015602482015274139bc81d1bdad95b8812511cc81c1c9bdd9a591959605a1b60448201526064015b60405180910390fd5b600954815111156105035760405162461bcd60e51b815260206004820152602760248201527f45786365656473206d6178206d696e7420616d6f756e7420706572207472616e60448201526639b0b1ba34b7b760c91b6064820152608401610497565b61050b6109ed565b60005b83518110156105e55760006001600160a01b031661055a8583815181106105375761053761162c565b60200260200101516000908152600260205260409020546001600160a01b031690565b6001600160a01b0316146105b05760405162461bcd60e51b815260206004820152601760248201527f546f6b656e20494420616c7265616479206578697374730000000000000000006044820152606401610497565b6105d3838583815181106105c6576105c661162c565b6020026020010151610a1a565b806105dd81611642565b91505061050e565b50505050565b6001600160a01b03821661061557604051633250574960e11b815260006004820152602401610497565b6000610622838333610a34565b9050836001600160a01b0316816001600160a01b0316146105e5576040516364283d7b60e01b81526001600160a01b0380861660048301526024820184905282166044820152606401610497565b6106786109ed565b600061068c6006546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d80600081146106d6576040519150601f19603f3d011682016040523d82523d6000602084013e6106db565b606091505b50509050806106e957600080fd5b50565b61070783838360405180602001604052806000815250610849565b505050565b60088054610719906114e4565b80601f0160208091040260200160405190810160405280929190818152602001828054610745906114e4565b80156107925780601f1061076757610100808354040283529160200191610792565b820191906000526020600020905b81548152906001019060200180831161077557829003601f168201915b505050505081565b60078054610719906114e4565b600061036d826109a7565b60006001600160a01b0382166107de576040516322718ad960e21b815260006004820152602401610497565b506001600160a01b031660009081526003602052604090205490565b6108026109ed565b61080c6000610b2d565b565b6108166109ed565b6007610439828261156c565b606060018054610382906114e4565b610439338383610b7f565b6108446109ed565b600955565b6108548484846105eb565b6105e584848484610c1e565b6000818152600260205260409020546060906001600160a01b03166108df5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610497565b60006108e9610d47565b905060008151116109095760405180602001604052806000815250610937565b8061091384610d56565b600860405160200161092793929190611669565b6040516020818303038152906040525b9392505050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6109746109ed565b6001600160a01b03811661099e57604051631e4fbdf760e01b815260006004820152602401610497565b6106e981610b2d565b6000818152600260205260408120546001600160a01b03168061036d57604051637e27328960e01b815260048101849052602401610497565b6107078383836001610de9565b6006546001600160a01b0316331461080c5760405163118cdaa760e01b8152336004820152602401610497565b610439828260405180602001604052806000815250610eef565b6000828152600260205260408120546001600160a01b0390811690831615610a6157610a61818486610f06565b6001600160a01b03811615610a9f57610a7e600085600080610de9565b6001600160a01b038116600090815260036020526040902080546000190190555b6001600160a01b03851615610ace576001600160a01b0385166000908152600360205260409020805460010190555b60008481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4949350505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216610bb157604051630b61174360e31b81526001600160a01b0383166004820152602401610497565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b156105e557604051630a85bd0160e11b81526001600160a01b0384169063150b7a0290610c60903390889087908790600401611709565b6020604051808303816000875af1925050508015610c9b575060408051601f3d908101601f19168201909252610c9891810190611746565b60015b610d04573d808015610cc9576040519150601f19603f3d011682016040523d82523d6000602084013e610cce565b606091505b508051600003610cfc57604051633250574960e11b81526001600160a01b0385166004820152602401610497565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b14610d4057604051633250574960e11b81526001600160a01b0385166004820152602401610497565b5050505050565b606060078054610382906114e4565b60606000610d6383610f6a565b600101905060008167ffffffffffffffff811115610d8357610d83611202565b6040519080825280601f01601f191660200182016040528015610dad576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084610db757509392505050565b8080610dfd57506001600160a01b03821615155b15610ebf576000610e0d846109a7565b90506001600160a01b03831615801590610e395750826001600160a01b0316816001600160a01b031614155b8015610e4c5750610e4a818461093e565b155b15610e755760405163a9fbf51f60e01b81526001600160a01b0384166004820152602401610497565b8115610ebd5783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b5050600090815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b610ef98383611042565b6107076000848484610c1e565b610f118383836110a7565b610707576001600160a01b038316610f3f57604051637e27328960e01b815260048101829052602401610497565b60405163177e802f60e01b81526001600160a01b038316600482015260248101829052604401610497565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310610fa95772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310610fd5576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310610ff357662386f26fc10000830492506010015b6305f5e100831061100b576305f5e100830492506008015b612710831061101f57612710830492506004015b60648310611031576064830492506002015b600a831061036d5760010192915050565b6001600160a01b03821661106c57604051633250574960e11b815260006004820152602401610497565b600061107a83836000610a34565b90506001600160a01b03811615610707576040516339e3563760e11b815260006004820152602401610497565b60006001600160a01b038316158015906111055750826001600160a01b0316846001600160a01b031614806110e157506110e1848461093e565b8061110557506000828152600460205260409020546001600160a01b038481169116145b949350505050565b6001600160e01b0319811681146106e957600080fd5b60006020828403121561113557600080fd5b81356109378161110d565b60005b8381101561115b578181015183820152602001611143565b50506000910152565b6000815180845261117c816020860160208601611140565b601f01601f19169290920160200192915050565b6020815260006109376020830184611164565b6000602082840312156111b557600080fd5b5035919050565b80356001600160a01b03811681146111d357600080fd5b919050565b600080604083850312156111eb57600080fd5b6111f4836111bc565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561124157611241611202565b604052919050565b600067ffffffffffffffff83111561126357611263611202565b611276601f8401601f1916602001611218565b905082815283838301111561128a57600080fd5b828260208301376000602084830101529392505050565b6000602082840312156112b357600080fd5b813567ffffffffffffffff8111156112ca57600080fd5b8201601f810184136112db57600080fd5b61110584823560208401611249565b600080604083850312156112fd57600080fd5b823567ffffffffffffffff8082111561131557600080fd5b818501915085601f83011261132957600080fd5b813560208282111561133d5761133d611202565b8160051b925061134e818401611218565b828152928401810192818101908985111561136857600080fd5b948201945b848610156113865785358252948201949082019061136d565b965061139590508782016111bc565b9450505050509250929050565b6000806000606084860312156113b757600080fd5b6113c0846111bc565b92506113ce602085016111bc565b9150604084013590509250925092565b6000602082840312156113f057600080fd5b610937826111bc565b6000806040838503121561140c57600080fd5b611415836111bc565b91506020830135801515811461142a57600080fd5b809150509250929050565b6000806000806080858703121561144b57600080fd5b611454856111bc565b9350611462602086016111bc565b925060408501359150606085013567ffffffffffffffff81111561148557600080fd5b8501601f8101871361149657600080fd5b6114a587823560208401611249565b91505092959194509250565b600080604083850312156114c457600080fd5b6114cd836111bc565b91506114db602084016111bc565b90509250929050565b600181811c908216806114f857607f821691505b60208210810361151857634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561070757600081815260208120601f850160051c810160208610156115455750805b601f850160051c820191505b8181101561156457828155600101611551565b505050505050565b815167ffffffffffffffff81111561158657611586611202565b61159a8161159484546114e4565b8461151e565b602080601f8311600181146115cf57600084156115b75750858301515b600019600386901b1c1916600185901b178555611564565b600085815260208120601f198616915b828110156115fe578886015182559484019460019091019084016115df565b508582101561161c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b60006001820161166257634e487b7160e01b600052601160045260246000fd5b5060010190565b60008451602061167c8285838a01611140565b85519184019161168f8184848a01611140565b85549201916000906116a0816114e4565b600182811680156116b857600181146116cd576116f9565b60ff19841687528215158302870194506116f9565b896000528560002060005b848110156116f1578154898201529083019087016116d8565b505082870194505b50929a9950505050505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061173c90830184611164565b9695505050505050565b60006020828403121561175857600080fd5b81516109378161110d56fea26469706673582212205f27c20ae7ebab7ea7d76d5a7ba7a66986dbae47e63920f703a74a4c816a2a7264736f6c6343000814003368747470733a2f2f666c7566666965736d6f7270682e73332e616d617a6f6e6177732e636f6d2f6a736f6e2f

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101585760003560e01c806370a08231116100c3578063a22cb4651161007c578063a22cb465146102af578063b071401b146102c2578063b88d4fde146102d5578063c87b56dd146102e8578063e985e9c5146102fb578063f2fde38b1461030e57600080fd5b806370a0823114610251578063715018a6146102725780637ec4a6591461027a5780638da5cb5b1461028d57806394354fd01461029e57806395d89b41146102a757600080fd5b806323b872dd1161011557806323b872dd146102005780633ccfd60b1461021357806342842e0e1461021b5780635503a0e81461022e57806362b99ad4146102365780636352211e1461023e57600080fd5b806301ffc9a71461015d57806306fdde0314610185578063081812fc1461019a578063095ea7b3146101c557806316ba10e0146101da57806316da55c4146101ed575b600080fd5b61017061016b366004611123565b610321565b60405190151581526020015b60405180910390f35b61018d610373565b60405161017c9190611190565b6101ad6101a83660046111a3565b610405565b6040516001600160a01b03909116815260200161017c565b6101d86101d33660046111d8565b61042e565b005b6101d86101e83660046112a1565b61043d565b6101d86101fb3660046112ea565b610451565b6101d861020e3660046113a2565b6105eb565b6101d8610670565b6101d86102293660046113a2565b6106ec565b61018d61070c565b61018d61079a565b6101ad61024c3660046111a3565b6107a7565b61026461025f3660046113de565b6107b2565b60405190815260200161017c565b6101d86107fa565b6101d86102883660046112a1565b61080e565b6006546001600160a01b03166101ad565b61026460095481565b61018d610822565b6101d86102bd3660046113f9565b610831565b6101d86102d03660046111a3565b61083c565b6101d86102e3366004611435565b610849565b61018d6102f63660046111a3565b610860565b6101706103093660046114b1565b61093e565b6101d861031c3660046113de565b61096c565b60006001600160e01b031982166380ac58cd60e01b148061035257506001600160e01b03198216635b5e139f60e01b145b8061036d57506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060008054610382906114e4565b80601f01602080910402602001604051908101604052809291908181526020018280546103ae906114e4565b80156103fb5780601f106103d0576101008083540402835291602001916103fb565b820191906000526020600020905b8154815290600101906020018083116103de57829003601f168201915b5050505050905090565b6000610410826109a7565b506000828152600460205260409020546001600160a01b031661036d565b6104398282336109e0565b5050565b6104456109ed565b6008610439828261156c565b8160008151116104a05760405162461bcd60e51b8152602060048201526015602482015274139bc81d1bdad95b8812511cc81c1c9bdd9a591959605a1b60448201526064015b60405180910390fd5b600954815111156105035760405162461bcd60e51b815260206004820152602760248201527f45786365656473206d6178206d696e7420616d6f756e7420706572207472616e60448201526639b0b1ba34b7b760c91b6064820152608401610497565b61050b6109ed565b60005b83518110156105e55760006001600160a01b031661055a8583815181106105375761053761162c565b60200260200101516000908152600260205260409020546001600160a01b031690565b6001600160a01b0316146105b05760405162461bcd60e51b815260206004820152601760248201527f546f6b656e20494420616c7265616479206578697374730000000000000000006044820152606401610497565b6105d3838583815181106105c6576105c661162c565b6020026020010151610a1a565b806105dd81611642565b91505061050e565b50505050565b6001600160a01b03821661061557604051633250574960e11b815260006004820152602401610497565b6000610622838333610a34565b9050836001600160a01b0316816001600160a01b0316146105e5576040516364283d7b60e01b81526001600160a01b0380861660048301526024820184905282166044820152606401610497565b6106786109ed565b600061068c6006546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d80600081146106d6576040519150601f19603f3d011682016040523d82523d6000602084013e6106db565b606091505b50509050806106e957600080fd5b50565b61070783838360405180602001604052806000815250610849565b505050565b60088054610719906114e4565b80601f0160208091040260200160405190810160405280929190818152602001828054610745906114e4565b80156107925780601f1061076757610100808354040283529160200191610792565b820191906000526020600020905b81548152906001019060200180831161077557829003601f168201915b505050505081565b60078054610719906114e4565b600061036d826109a7565b60006001600160a01b0382166107de576040516322718ad960e21b815260006004820152602401610497565b506001600160a01b031660009081526003602052604090205490565b6108026109ed565b61080c6000610b2d565b565b6108166109ed565b6007610439828261156c565b606060018054610382906114e4565b610439338383610b7f565b6108446109ed565b600955565b6108548484846105eb565b6105e584848484610c1e565b6000818152600260205260409020546060906001600160a01b03166108df5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610497565b60006108e9610d47565b905060008151116109095760405180602001604052806000815250610937565b8061091384610d56565b600860405160200161092793929190611669565b6040516020818303038152906040525b9392505050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6109746109ed565b6001600160a01b03811661099e57604051631e4fbdf760e01b815260006004820152602401610497565b6106e981610b2d565b6000818152600260205260408120546001600160a01b03168061036d57604051637e27328960e01b815260048101849052602401610497565b6107078383836001610de9565b6006546001600160a01b0316331461080c5760405163118cdaa760e01b8152336004820152602401610497565b610439828260405180602001604052806000815250610eef565b6000828152600260205260408120546001600160a01b0390811690831615610a6157610a61818486610f06565b6001600160a01b03811615610a9f57610a7e600085600080610de9565b6001600160a01b038116600090815260036020526040902080546000190190555b6001600160a01b03851615610ace576001600160a01b0385166000908152600360205260409020805460010190555b60008481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4949350505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216610bb157604051630b61174360e31b81526001600160a01b0383166004820152602401610497565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b156105e557604051630a85bd0160e11b81526001600160a01b0384169063150b7a0290610c60903390889087908790600401611709565b6020604051808303816000875af1925050508015610c9b575060408051601f3d908101601f19168201909252610c9891810190611746565b60015b610d04573d808015610cc9576040519150601f19603f3d011682016040523d82523d6000602084013e610cce565b606091505b508051600003610cfc57604051633250574960e11b81526001600160a01b0385166004820152602401610497565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b14610d4057604051633250574960e11b81526001600160a01b0385166004820152602401610497565b5050505050565b606060078054610382906114e4565b60606000610d6383610f6a565b600101905060008167ffffffffffffffff811115610d8357610d83611202565b6040519080825280601f01601f191660200182016040528015610dad576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084610db757509392505050565b8080610dfd57506001600160a01b03821615155b15610ebf576000610e0d846109a7565b90506001600160a01b03831615801590610e395750826001600160a01b0316816001600160a01b031614155b8015610e4c5750610e4a818461093e565b155b15610e755760405163a9fbf51f60e01b81526001600160a01b0384166004820152602401610497565b8115610ebd5783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b5050600090815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b610ef98383611042565b6107076000848484610c1e565b610f118383836110a7565b610707576001600160a01b038316610f3f57604051637e27328960e01b815260048101829052602401610497565b60405163177e802f60e01b81526001600160a01b038316600482015260248101829052604401610497565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310610fa95772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310610fd5576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310610ff357662386f26fc10000830492506010015b6305f5e100831061100b576305f5e100830492506008015b612710831061101f57612710830492506004015b60648310611031576064830492506002015b600a831061036d5760010192915050565b6001600160a01b03821661106c57604051633250574960e11b815260006004820152602401610497565b600061107a83836000610a34565b90506001600160a01b03811615610707576040516339e3563760e11b815260006004820152602401610497565b60006001600160a01b038316158015906111055750826001600160a01b0316846001600160a01b031614806110e157506110e1848461093e565b8061110557506000828152600460205260409020546001600160a01b038481169116145b949350505050565b6001600160e01b0319811681146106e957600080fd5b60006020828403121561113557600080fd5b81356109378161110d565b60005b8381101561115b578181015183820152602001611143565b50506000910152565b6000815180845261117c816020860160208601611140565b601f01601f19169290920160200192915050565b6020815260006109376020830184611164565b6000602082840312156111b557600080fd5b5035919050565b80356001600160a01b03811681146111d357600080fd5b919050565b600080604083850312156111eb57600080fd5b6111f4836111bc565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561124157611241611202565b604052919050565b600067ffffffffffffffff83111561126357611263611202565b611276601f8401601f1916602001611218565b905082815283838301111561128a57600080fd5b828260208301376000602084830101529392505050565b6000602082840312156112b357600080fd5b813567ffffffffffffffff8111156112ca57600080fd5b8201601f810184136112db57600080fd5b61110584823560208401611249565b600080604083850312156112fd57600080fd5b823567ffffffffffffffff8082111561131557600080fd5b818501915085601f83011261132957600080fd5b813560208282111561133d5761133d611202565b8160051b925061134e818401611218565b828152928401810192818101908985111561136857600080fd5b948201945b848610156113865785358252948201949082019061136d565b965061139590508782016111bc565b9450505050509250929050565b6000806000606084860312156113b757600080fd5b6113c0846111bc565b92506113ce602085016111bc565b9150604084013590509250925092565b6000602082840312156113f057600080fd5b610937826111bc565b6000806040838503121561140c57600080fd5b611415836111bc565b91506020830135801515811461142a57600080fd5b809150509250929050565b6000806000806080858703121561144b57600080fd5b611454856111bc565b9350611462602086016111bc565b925060408501359150606085013567ffffffffffffffff81111561148557600080fd5b8501601f8101871361149657600080fd5b6114a587823560208401611249565b91505092959194509250565b600080604083850312156114c457600080fd5b6114cd836111bc565b91506114db602084016111bc565b90509250929050565b600181811c908216806114f857607f821691505b60208210810361151857634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561070757600081815260208120601f850160051c810160208610156115455750805b601f850160051c820191505b8181101561156457828155600101611551565b505050505050565b815167ffffffffffffffff81111561158657611586611202565b61159a8161159484546114e4565b8461151e565b602080601f8311600181146115cf57600084156115b75750858301515b600019600386901b1c1916600185901b178555611564565b600085815260208120601f198616915b828110156115fe578886015182559484019460019091019084016115df565b508582101561161c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b60006001820161166257634e487b7160e01b600052601160045260246000fd5b5060010190565b60008451602061167c8285838a01611140565b85519184019161168f8184848a01611140565b85549201916000906116a0816114e4565b600182811680156116b857600181146116cd576116f9565b60ff19841687528215158302870194506116f9565b896000528560002060005b848110156116f1578154898201529083019087016116d8565b505082870194505b50929a9950505050505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061173c90830184611164565b9695505050505050565b60006020828403121561175857600080fd5b81516109378161110d56fea26469706673582212205f27c20ae7ebab7ea7d76d5a7ba7a66986dbae47e63920f703a74a4c816a2a7264736f6c63430008140033

Deployed Bytecode Sourcemap

223:2251:12:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1561:300:2;;;;;;:::i;:::-;;:::i;:::-;;;565:14:13;;558:22;540:41;;528:2;513:18;1561:300:2;;;;;;;;2365:89;;;:::i;:::-;;;;;;;:::i;3497:154::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:13;;;1679:51;;1667:2;1652:18;3497:154:2;1533:203:13;3323:113:2;;;;;;:::i;:::-;;:::i;:::-;;2104:104:12;;;;;;:::i;:::-;;:::i;835:390::-;;;;;;:::i;:::-;;:::i;4143:578:2:-;;;;;;:::i;:::-;;:::i;2214:144:12:-;;;:::i;4787:132:2:-;;;;;;:::i;:::-;;:::i;374:33:12:-;;;:::i;296:72::-;;;:::i;2185:118:2:-;;;;;;:::i;:::-;;:::i;1920:208::-;;;;;;:::i;:::-;;:::i;:::-;;;5155:25:13;;;5143:2;5128:18;1920:208:2;5009:177:13;2293:101:0;;;:::i;1994:104:12:-;;;;;;:::i;:::-;;:::i;1638:85:0:-;1710:6;;-1:-1:-1;;;;;1710:6:0;1638:85;;413:33:12;;;;;;2518:93:2;;;:::i;3718:144::-;;;;;;:::i;:::-;;:::i;1840:148:12:-;;;;;;:::i;:::-;;:::i;4985:208:2:-;;;;;;:::i;:::-;;:::i;1231:603:12:-;;;;;;:::i;:::-;;:::i;3928:153:2:-;;;;;;:::i;:::-;;:::i;2543:215:0:-;;;;;;:::i;:::-;;:::i;1561:300:2:-;1663:4;-1:-1:-1;;;;;;1698:40:2;;-1:-1:-1;;;1698:40:2;;:104;;-1:-1:-1;;;;;;;1754:48:2;;-1:-1:-1;;;1754:48:2;1698:104;:156;;;-1:-1:-1;;;;;;;;;;861:40:8;;;1818:36:2;1679:175;1561:300;-1:-1:-1;;1561:300:2:o;2365:89::-;2410:13;2442:5;2435:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2365:89;:::o;3497:154::-;3564:7;3583:22;3597:7;3583:13;:22::i;:::-;-1:-1:-1;6008:7:2;6034:24;;;:15;:24;;;;;;-1:-1:-1;;;;;6034:24:2;3623:21;5938:127;3323:113;3394:35;3403:2;3407:7;735:10:6;3394:8:2;:35::i;:::-;3323:113;;:::o;2104:104:12:-;1531:13:0;:11;:13::i;:::-;2179:9:12::1;:22;2191:10:::0;2179:9;:22:::1;:::i;835:390::-:0;950:9;650:1;631:9;:16;:20;623:54;;;;-1:-1:-1;;;623:54:12;;9271:2:13;623:54:12;;;9253:21:13;9310:2;9290:18;;;9283:30;-1:-1:-1;;;9329:18:13;;;9322:51;9390:18;;623:54:12;;;;;;;;;728:18;;708:9;:16;:38;;687:124;;;;-1:-1:-1;;;687:124:12;;9621:2:13;687:124:12;;;9603:21:13;9660:2;9640:18;;;9633:30;9699:34;9679:18;;;9672:62;-1:-1:-1;;;9750:18:13;;;9743:37;9797:19;;687:124:12;9419:403:13;687:124:12;1531:13:0::1;:11;:13::i;:::-;986:9:12::2;981:238;1005:9;:16;1001:1;:20;981:238;;;1101:1;-1:-1:-1::0;;;;;1067:36:12::2;:22;1076:9;1086:1;1076:12;;;;;;;;:::i;:::-;;;;;;;5773:7:2::0;5799:16;;;:7;:16;;;;;;-1:-1:-1;;;;;5799:16:2;;5707:115;1067:22:12::2;-1:-1:-1::0;;;;;1067:36:12::2;;1042:118;;;::::0;-1:-1:-1;;;1042:118:12;;10161:2:13;1042:118:12::2;::::0;::::2;10143:21:13::0;10200:2;10180:18;;;10173:30;10239:25;10219:18;;;10212:53;10282:18;;1042:118:12::2;9959:347:13::0;1042:118:12::2;1174:34;1184:9;1195;1205:1;1195:12;;;;;;;;:::i;:::-;;;;;;;1174:9;:34::i;:::-;1023:3:::0;::::2;::::0;::::2;:::i;:::-;;;;981:238;;;;835:390:::0;;;:::o;4143:578:2:-;-1:-1:-1;;;;;4237:16:2;;4233:87;;4276:33;;-1:-1:-1;;;4276:33:2;;4306:1;4276:33;;;1679:51:13;1652:18;;4276:33:2;1533:203:13;4233:87:2;4538:21;4562:34;4570:2;4574:7;735:10:6;4562:7:2;:34::i;:::-;4538:58;;4627:4;-1:-1:-1;;;;;4610:21:2;:13;-1:-1:-1;;;;;4610:21:2;;4606:109;;4654:50;;-1:-1:-1;;;4654:50:2;;-1:-1:-1;;;;;10806:15:13;;;4654:50:2;;;10788:34:13;10838:18;;;10831:34;;;10901:15;;10881:18;;;10874:43;10723:18;;4654:50:2;10548:375:13;2214:144:12;1531:13:0;:11;:13::i;:::-;2262:7:12::1;2283;1710:6:0::0;;-1:-1:-1;;;;;1710:6:0;;1638:85;2283:7:12::1;-1:-1:-1::0;;;;;2275:21:12::1;2304;2275:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2261:69;;;2348:2;2340:11;;;::::0;::::1;;2251:107;2214:144::o:0;4787:132:2:-;4873:39;4890:4;4896:2;4900:7;4873:39;;;;;;;;;;;;:16;:39::i;:::-;4787:132;;;:::o;374:33:12:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;296:72::-;;;;;;;:::i;2185:118:2:-;2248:7;2274:22;2288:7;2274:13;:22::i;1920:208::-;1983:7;-1:-1:-1;;;;;2006:19:2;;2002:87;;2048:30;;-1:-1:-1;;;2048:30:2;;2075:1;2048:30;;;1679:51:13;1652:18;;2048:30:2;1533:203:13;2002:87:2;-1:-1:-1;;;;;;2105:16:2;;;;;:9;:16;;;;;;;1920:208::o;2293:101:0:-;1531:13;:11;:13::i;:::-;2357:30:::1;2384:1;2357:18;:30::i;:::-;2293:101::o:0;1994:104:12:-;1531:13:0;:11;:13::i;:::-;2069:9:12::1;:22;2081:10:::0;2069:9;:22:::1;:::i;2518:93:2:-:0;2565:13;2597:7;2590:14;;;;;:::i;3718:144::-;3803:52;735:10:6;3836:8:2;3846;3803:18;:52::i;1840:148:12:-;1531:13:0;:11;:13::i;:::-;1941:18:12::1;:40:::0;1840:148::o;4985:208:2:-;5098:31;5111:4;5117:2;5121:7;5098:12;:31::i;:::-;5139:47;5162:4;5168:2;5172:7;5181:4;5139:22;:47::i;1231:603:12:-;1395:1;5799:16:2;;;:7;:16;;;;;;1319:13:12;;-1:-1:-1;;;;;5799:16:2;1344:126:12;;;;-1:-1:-1;;;1344:126:12;;11340:2:13;1344:126:12;;;11322:21:13;11379:2;11359:18;;;11352:30;11418:34;11398:18;;;11391:62;-1:-1:-1;;;11469:18:13;;;11462:45;11524:19;;1344:126:12;11138:411:13;1344:126:12;1481:28;1512:10;:8;:10::i;:::-;1481:41;;1582:1;1557:14;1551:28;:32;:276;;;;;;;;;;;;;;;;;1672:14;1712:19;:8;:17;:19::i;:::-;1757:9;1630:158;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;1551:276;1532:295;1231:603;-1:-1:-1;;;1231:603:12:o;3928:153:2:-;-1:-1:-1;;;;;4039:25:2;;;4016:4;4039:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;3928:153::o;2543:215:0:-;1531:13;:11;:13::i;:::-;-1:-1:-1;;;;;2627:22:0;::::1;2623:91;;2672:31;::::0;-1:-1:-1;;;2672:31:0;;2700:1:::1;2672:31;::::0;::::1;1679:51:13::0;1652:18;;2672:31:0::1;1533:203:13::0;2623:91:0::1;2723:28;2742:8;2723:18;:28::i;16138:241:2:-:0;16201:7;5799:16;;;:7;:16;;;;;;-1:-1:-1;;;;;5799:16:2;;16263:88;;16309:31;;-1:-1:-1;;;16309:31:2;;;;;5155:25:13;;;5128:18;;16309:31:2;5009:177:13;14418:120:2;14498:33;14507:2;14511:7;14520:4;14526;14498:8;:33::i;1796:162:0:-;1710:6;;-1:-1:-1;;;;;1710:6:0;735:10:6;1855:23:0;1851:101;;1901:40;;-1:-1:-1;;;1901:40:0;;735:10:6;1901:40:0;;;1679:51:13;1652:18;;1901:40:0;1533:203:13;10633:100:2;10700:26;10710:2;10714:7;10700:26;;;;;;;;;;;;:9;:26::i;8838:795::-;8924:7;5799:16;;;:7;:16;;;;;;-1:-1:-1;;;;;5799:16:2;;;;9035:18;;;9031:86;;9069:37;9086:4;9092;9098:7;9069:16;:37::i;:::-;-1:-1:-1;;;;;9161:18:2;;;9157:256;;9277:48;9294:1;9298:7;9315:1;9319:5;9277:8;:48::i;:::-;-1:-1:-1;;;;;9368:15:2;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;9368:20:2;;;9157:256;-1:-1:-1;;;;;9427:16:2;;;9423:107;;-1:-1:-1;;;;;9487:13:2;;;;;;:9;:13;;;;;:18;;9504:1;9487:18;;;9423:107;9540:16;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;9540:21:2;-1:-1:-1;;;;;9540:21:2;;;;;;;;;9577:27;;9540:16;;9577:27;;;;;;;9622:4;8838:795;-1:-1:-1;;;;8838:795:2:o;2912:187:0:-;3004:6;;;-1:-1:-1;;;;;3020:17:0;;;-1:-1:-1;;;;;;3020:17:0;;;;;;;3052:40;;3004:6;;;3020:17;3004:6;;3052:40;;2985:16;;3052:40;2975:124;2912:187;:::o;15591:312:2:-;-1:-1:-1;;;;;15698:22:2;;15694:91;;15743:31;;-1:-1:-1;;;15743:31:2;;-1:-1:-1;;;;;1697:32:13;;15743:31:2;;;1679:51:13;1652:18;;15743:31:2;1533:203:13;15694:91:2;-1:-1:-1;;;;;15794:25:2;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;15794:46:2;;;;;;;;;;15855:41;;540::13;;;15855::2;;513:18:13;15855:41:2;;;;;;;15591:312;;;:::o;16918:782::-;-1:-1:-1;;;;;17034:14:2;;;:18;17030:664;;17072:71;;-1:-1:-1;;;17072:71:2;;-1:-1:-1;;;;;17072:36:2;;;;;:71;;735:10:6;;17123:4:2;;17129:7;;17138:4;;17072:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;17072:71:2;;;;;;;;-1:-1:-1;;17072:71:2;;;;;;;;;;;;:::i;:::-;;;17068:616;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17381:6;:13;17398:1;17381:18;17377:293;;17430:25;;-1:-1:-1;;;17430:25:2;;-1:-1:-1;;;;;1697:32:13;;17430:25:2;;;1679:51:13;1652:18;;17430:25:2;1533:203:13;17377:293:2;17622:6;17616:13;17607:6;17603:2;17599:15;17592:38;17068:616;-1:-1:-1;;;;;;17190:51:2;;-1:-1:-1;;;17190:51:2;17186:130;;17272:25;;-1:-1:-1;;;17272:25:2;;-1:-1:-1;;;;;1697:32:13;;17272:25:2;;;1679:51:13;1652:18;;17272:25:2;1533:203:13;17186:130:2;17144:186;16918:782;;;;:::o;2364:108:12:-;2424:13;2456:9;2449:16;;;;;:::i;637:698:7:-;693:13;742:14;759:17;770:5;759:10;:17::i;:::-;779:1;759:21;742:38;;794:20;828:6;817:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;817:18:7;-1:-1:-1;794:41:7;-1:-1:-1;955:28:7;;;971:2;955:28;1010:282;-1:-1:-1;;1041:5:7;-1:-1:-1;;;1175:2:7;1164:14;;1159:32;1041:5;1146:46;1236:2;1227:11;;;-1:-1:-1;1256:21:7;1010:282;1256:21;-1:-1:-1;1312:6:7;637:698;-1:-1:-1;;;637:698:7:o;14720:662:2:-;14880:9;:31;;;-1:-1:-1;;;;;;14893:18:2;;;;14880:31;14876:460;;;14927:13;14943:22;14957:7;14943:13;:22::i;:::-;14927:38;-1:-1:-1;;;;;;15093:18:2;;;;;;:35;;;15124:4;-1:-1:-1;;;;;15115:13:2;:5;-1:-1:-1;;;;;15115:13:2;;;15093:35;:69;;;;;15133:29;15150:5;15157:4;15133:16;:29::i;:::-;15132:30;15093:69;15089:142;;;15189:27;;-1:-1:-1;;;15189:27:2;;-1:-1:-1;;;;;1697:32:13;;15189:27:2;;;1679:51:13;1652:18;;15189:27:2;1533:203:13;15089:142:2;15249:9;15245:81;;;15303:7;15299:2;-1:-1:-1;;;;;15283:28:2;15292:5;-1:-1:-1;;;;;15283:28:2;;;;;;;;;;;15245:81;14913:423;14876:460;-1:-1:-1;;15346:24:2;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;15346:29:2;-1:-1:-1;;;;;15346:29:2;;;;;;;;;;14720:662::o;10954:182::-;11048:18;11054:2;11058:7;11048:5;:18::i;:::-;11076:53;11107:1;11111:2;11115:7;11124:4;11076:22;:53::i;7082:368::-;7194:38;7208:5;7215:7;7224;7194:13;:38::i;:::-;7189:255;;-1:-1:-1;;;;;7252:19:2;;7248:186;;7298:31;;-1:-1:-1;;;7298:31:2;;;;;5155:25:13;;;5128:18;;7298:31:2;5009:177:13;7248:186:2;7375:44;;-1:-1:-1;;;7375:44:2;;-1:-1:-1;;;;;13887:32:13;;7375:44:2;;;13869:51:13;13936:18;;;13929:34;;;13842:18;;7375:44:2;13695:274:13;12214:916:10;12267:7;;-1:-1:-1;;;12342:17:10;;12338:103;;-1:-1:-1;;;12379:17:10;;;-1:-1:-1;12424:2:10;12414:12;12338:103;12467:8;12458:5;:17;12454:103;;12504:8;12495:17;;;-1:-1:-1;12540:2:10;12530:12;12454:103;12583:8;12574:5;:17;12570:103;;12620:8;12611:17;;;-1:-1:-1;12656:2:10;12646:12;12570:103;12699:7;12690:5;:16;12686:100;;12735:7;12726:16;;;-1:-1:-1;12770:1:10;12760:11;12686:100;12812:7;12803:5;:16;12799:100;;12848:7;12839:16;;;-1:-1:-1;12883:1:10;12873:11;12799:100;12925:7;12916:5;:16;12912:100;;12961:7;12952:16;;;-1:-1:-1;12996:1:10;12986:11;12912:100;13038:7;13029:5;:16;13025:66;;13075:1;13065:11;13117:6;12214:916;-1:-1:-1;;12214:916:10:o;9955:327:2:-;-1:-1:-1;;;;;10022:16:2;;10018:87;;10061:33;;-1:-1:-1;;;10061:33:2;;10091:1;10061:33;;;1679:51:13;1652:18;;10061:33:2;1533:203:13;10018:87:2;10114:21;10138:32;10146:2;10150:7;10167:1;10138:7;:32::i;:::-;10114:56;-1:-1:-1;;;;;;10184:27:2;;;10180:96;;10234:31;;-1:-1:-1;;;10234:31:2;;10262:1;10234:31;;;1679:51:13;1652:18;;10234:31:2;1533:203:13;6376:272:2;6479:4;-1:-1:-1;;;;;6514:21:2;;;;;;:127;;;6561:7;-1:-1:-1;;;;;6552:16:2;:5;-1:-1:-1;;;;;6552:16:2;;:52;;;;6572:32;6589:5;6596:7;6572:16;:32::i;:::-;6552:88;;;-1:-1:-1;6008:7:2;6034:24;;;:15;:24;;;;;;-1:-1:-1;;;;;6608:32:2;;;6034:24;;6608:32;6552:88;6495:146;6376:272;-1:-1:-1;;;;6376:272:2:o;14:131:13:-;-1:-1:-1;;;;;;88:32:13;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:13;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:13;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:13:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:13;;1348:180;-1:-1:-1;1348:180:13:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:13;;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:13:o;2178:127::-;2239:10;2234:3;2230:20;2227:1;2220:31;2270:4;2267:1;2260:15;2294:4;2291:1;2284:15;2310:275;2381:2;2375:9;2446:2;2427:13;;-1:-1:-1;;2423:27:13;2411:40;;2481:18;2466:34;;2502:22;;;2463:62;2460:88;;;2528:18;;:::i;:::-;2564:2;2557:22;2310:275;;-1:-1:-1;2310:275:13:o;2590:407::-;2655:5;2689:18;2681:6;2678:30;2675:56;;;2711:18;;:::i;:::-;2749:57;2794:2;2773:15;;-1:-1:-1;;2769:29:13;2800:4;2765:40;2749:57;:::i;:::-;2740:66;;2829:6;2822:5;2815:21;2869:3;2860:6;2855:3;2851:16;2848:25;2845:45;;;2886:1;2883;2876:12;2845:45;2935:6;2930:3;2923:4;2916:5;2912:16;2899:43;2989:1;2982:4;2973:6;2966:5;2962:18;2958:29;2951:40;2590:407;;;;;:::o;3002:451::-;3071:6;3124:2;3112:9;3103:7;3099:23;3095:32;3092:52;;;3140:1;3137;3130:12;3092:52;3180:9;3167:23;3213:18;3205:6;3202:30;3199:50;;;3245:1;3242;3235:12;3199:50;3268:22;;3321:4;3313:13;;3309:27;-1:-1:-1;3299:55:13;;3350:1;3347;3340:12;3299:55;3373:74;3439:7;3434:2;3421:16;3416:2;3412;3408:11;3373:74;:::i;3458:1022::-;3551:6;3559;3612:2;3600:9;3591:7;3587:23;3583:32;3580:52;;;3628:1;3625;3618:12;3580:52;3668:9;3655:23;3697:18;3738:2;3730:6;3727:14;3724:34;;;3754:1;3751;3744:12;3724:34;3792:6;3781:9;3777:22;3767:32;;3837:7;3830:4;3826:2;3822:13;3818:27;3808:55;;3859:1;3856;3849:12;3808:55;3895:2;3882:16;3917:4;3940:2;3936;3933:10;3930:36;;;3946:18;;:::i;:::-;3992:2;3989:1;3985:10;3975:20;;4015:28;4039:2;4035;4031:11;4015:28;:::i;:::-;4077:15;;;4147:11;;;4143:20;;;4108:12;;;;4175:19;;;4172:39;;;4207:1;4204;4197:12;4172:39;4231:11;;;;4251:142;4267:6;4262:3;4259:15;4251:142;;;4333:17;;4321:30;;4284:12;;;;4371;;;;4251:142;;;4412:5;-1:-1:-1;4436:38:13;;-1:-1:-1;4455:18:13;;;4436:38;:::i;:::-;4426:48;;;;;;3458:1022;;;;;:::o;4485:328::-;4562:6;4570;4578;4631:2;4619:9;4610:7;4606:23;4602:32;4599:52;;;4647:1;4644;4637:12;4599:52;4670:29;4689:9;4670:29;:::i;:::-;4660:39;;4718:38;4752:2;4741:9;4737:18;4718:38;:::i;:::-;4708:48;;4803:2;4792:9;4788:18;4775:32;4765:42;;4485:328;;;;;:::o;4818:186::-;4877:6;4930:2;4918:9;4909:7;4905:23;4901:32;4898:52;;;4946:1;4943;4936:12;4898:52;4969:29;4988:9;4969:29;:::i;5191:347::-;5256:6;5264;5317:2;5305:9;5296:7;5292:23;5288:32;5285:52;;;5333:1;5330;5323:12;5285:52;5356:29;5375:9;5356:29;:::i;:::-;5346:39;;5435:2;5424:9;5420:18;5407:32;5482:5;5475:13;5468:21;5461:5;5458:32;5448:60;;5504:1;5501;5494:12;5448:60;5527:5;5517:15;;;5191:347;;;;;:::o;5543:667::-;5638:6;5646;5654;5662;5715:3;5703:9;5694:7;5690:23;5686:33;5683:53;;;5732:1;5729;5722:12;5683:53;5755:29;5774:9;5755:29;:::i;:::-;5745:39;;5803:38;5837:2;5826:9;5822:18;5803:38;:::i;:::-;5793:48;;5888:2;5877:9;5873:18;5860:32;5850:42;;5943:2;5932:9;5928:18;5915:32;5970:18;5962:6;5959:30;5956:50;;;6002:1;5999;5992:12;5956:50;6025:22;;6078:4;6070:13;;6066:27;-1:-1:-1;6056:55:13;;6107:1;6104;6097:12;6056:55;6130:74;6196:7;6191:2;6178:16;6173:2;6169;6165:11;6130:74;:::i;:::-;6120:84;;;5543:667;;;;;;;:::o;6215:260::-;6283:6;6291;6344:2;6332:9;6323:7;6319:23;6315:32;6312:52;;;6360:1;6357;6350:12;6312:52;6383:29;6402:9;6383:29;:::i;:::-;6373:39;;6431:38;6465:2;6454:9;6450:18;6431:38;:::i;:::-;6421:48;;6215:260;;;;;:::o;6480:380::-;6559:1;6555:12;;;;6602;;;6623:61;;6677:4;6669:6;6665:17;6655:27;;6623:61;6730:2;6722:6;6719:14;6699:18;6696:38;6693:161;;6776:10;6771:3;6767:20;6764:1;6757:31;6811:4;6808:1;6801:15;6839:4;6836:1;6829:15;6693:161;;6480:380;;;:::o;6991:545::-;7093:2;7088:3;7085:11;7082:448;;;7129:1;7154:5;7150:2;7143:17;7199:4;7195:2;7185:19;7269:2;7257:10;7253:19;7250:1;7246:27;7240:4;7236:38;7305:4;7293:10;7290:20;7287:47;;;-1:-1:-1;7328:4:13;7287:47;7383:2;7378:3;7374:12;7371:1;7367:20;7361:4;7357:31;7347:41;;7438:82;7456:2;7449:5;7446:13;7438:82;;;7501:17;;;7482:1;7471:13;7438:82;;;7442:3;;;6991:545;;;:::o;7712:1352::-;7838:3;7832:10;7865:18;7857:6;7854:30;7851:56;;;7887:18;;:::i;:::-;7916:97;8006:6;7966:38;7998:4;7992:11;7966:38;:::i;:::-;7960:4;7916:97;:::i;:::-;8068:4;;8132:2;8121:14;;8149:1;8144:663;;;;8851:1;8868:6;8865:89;;;-1:-1:-1;8920:19:13;;;8914:26;8865:89;-1:-1:-1;;7669:1:13;7665:11;;;7661:24;7657:29;7647:40;7693:1;7689:11;;;7644:57;8967:81;;8114:944;;8144:663;6938:1;6931:14;;;6975:4;6962:18;;-1:-1:-1;;8180:20:13;;;8298:236;8312:7;8309:1;8306:14;8298:236;;;8401:19;;;8395:26;8380:42;;8493:27;;;;8461:1;8449:14;;;;8328:19;;8298:236;;;8302:3;8562:6;8553:7;8550:19;8547:201;;;8623:19;;;8617:26;-1:-1:-1;;8706:1:13;8702:14;;;8718:3;8698:24;8694:37;8690:42;8675:58;8660:74;;8547:201;-1:-1:-1;;;;;8794:1:13;8778:14;;;8774:22;8761:36;;-1:-1:-1;7712:1352:13:o;9827:127::-;9888:10;9883:3;9879:20;9876:1;9869:31;9919:4;9916:1;9909:15;9943:4;9940:1;9933:15;10311:232;10350:3;10371:17;;;10368:140;;10430:10;10425:3;10421:20;10418:1;10411:31;10465:4;10462:1;10455:15;10493:4;10490:1;10483:15;10368:140;-1:-1:-1;10535:1:13;10524:13;;10311:232::o;11554:1256::-;11778:3;11816:6;11810:13;11842:4;11855:64;11912:6;11907:3;11902:2;11894:6;11890:15;11855:64;:::i;:::-;11982:13;;11941:16;;;;12004:68;11982:13;11941:16;12039:15;;;12004:68;:::i;:::-;12161:13;;12094:20;;;12134:1;;12199:36;12161:13;12199:36;:::i;:::-;12254:1;12271:18;;;12298:141;;;;12453:1;12448:337;;;;12264:521;;12298:141;-1:-1:-1;;12333:24:13;;12319:39;;12410:16;;12403:24;12389:39;;12378:51;;;-1:-1:-1;12298:141:13;;12448:337;12479:6;12476:1;12469:17;12527:2;12524:1;12514:16;12552:1;12566:169;12580:8;12577:1;12574:15;12566:169;;;12662:14;;12647:13;;;12640:37;12705:16;;;;12597:10;;12566:169;;;12570:3;;12766:8;12759:5;12755:20;12748:27;;12264:521;-1:-1:-1;12801:3:13;;11554:1256;-1:-1:-1;;;;;;;;;;11554:1256:13:o;12815:489::-;-1:-1:-1;;;;;13084:15:13;;;13066:34;;13136:15;;13131:2;13116:18;;13109:43;13183:2;13168:18;;13161:34;;;13231:3;13226:2;13211:18;;13204:31;;;13009:4;;13252:46;;13278:19;;13270:6;13252:46;:::i;:::-;13244:54;12815:489;-1:-1:-1;;;;;;12815:489:13:o;13309:249::-;13378:6;13431:2;13419:9;13410:7;13406:23;13402:32;13399:52;;;13447:1;13444;13437:12;13399:52;13479:9;13473:16;13498:30;13522:5;13498:30;:::i

Swarm Source

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