ETH Price: $3,345.41 (-0.89%)

Token

Wicked (WCKD)
 

Overview

Max Total Supply

5,115,693.792915 WCKD

Holders

3,028

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
orochi.eth
Balance
875.6711382 WCKD

Value
$0.00
0xD614FCE2c73959EB083B04231f07a079F956B7BB
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:
WickedToken

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-09-17
*/

// Sources flattened with hardhat v2.6.4 https://hardhat.org

// File @openzeppelin/contracts/token/ERC20/[email protected]

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}


// File @openzeppelin/contracts/token/ERC20/extensions/[email protected]

pragma solidity ^0.8.0;

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

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

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}


// File @openzeppelin/contracts/utils/[email protected]

pragma solidity ^0.8.0;

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

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


// File @openzeppelin/contracts/token/ERC20/[email protected]

pragma solidity ^0.8.0;



/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - amount);
        }

        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}


// File @openzeppelin/contracts/utils/introspection/[email protected]

pragma solidity ^0.8.0;

/**
 * @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 @openzeppelin/contracts/token/ERC721/[email protected]

pragma solidity ^0.8.0;

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

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

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

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

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

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

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


// File @openzeppelin/contracts/token/ERC721/[email protected]

pragma solidity ^0.8.0;

/**
 * @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 `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}


// File @openzeppelin/contracts/token/ERC721/extensions/[email protected]

pragma solidity ^0.8.0;

/**
 * @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 @openzeppelin/contracts/utils/[email protected]

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}


// File @openzeppelin/contracts/utils/[email protected]

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        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_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}


// File @openzeppelin/contracts/utils/introspection/[email protected]

pragma solidity ^0.8.0;

/**
 * @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);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}


// File @openzeppelin/contracts/token/ERC721/[email protected]

pragma solidity ^0.8.0;







/**
 * @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}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

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

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => 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 override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(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 overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @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.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - 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,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * 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 virtual {
        _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);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @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 virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);
    }

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

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), 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 virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * 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
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}


// File @openzeppelin/contracts/token/ERC721/extensions/[email protected]

pragma solidity ^0.8.0;

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}


// File @openzeppelin/contracts/token/ERC721/extensions/[email protected]

pragma solidity ^0.8.0;


/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}


// File @openzeppelin/contracts/utils/math/[email protected]

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @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 up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a / b + (a % b == 0 ? 0 : 1);
    }
}


// File contracts/WickedToken.sol
pragma solidity ^0.8.0;



contract WickedToken is ERC20 {
    uint256 public immutable WICKED_PER_SECOND_PER_APE = 115740 gwei;
    uint256 public immutable GENESIS = 1631905200;
    IERC721Enumerable public immutable APE;

    mapping(uint256 => uint256) public last;

    constructor(address ape) ERC20("Wicked", "WCKD") {
        APE = IERC721Enumerable(ape);
    }

    function mintForUser(address user) external {
        uint256 total = APE.balanceOf(user);
        uint256 owed = 0;
        for (uint256 i = 0; i < total; i++) {
            uint256 id = APE.tokenOfOwnerByIndex(user, i);
            uint256 claimed = lastClaim(id);
            owed += ((block.timestamp - claimed) * WICKED_PER_SECOND_PER_APE);
            last[id] = block.timestamp;
        }
        _mint(user, owed);
    }

    function mintForIds(uint256[] calldata ids) external {
        for (uint256 i = 0; i < ids.length; i++) {
            uint256 id = ids[i];
            address owner = APE.ownerOf(id);
            uint256 claimed = lastClaim(id);
            uint256 owed = (block.timestamp - claimed) * WICKED_PER_SECOND_PER_APE;
            _mint(owner, owed);
            last[id] = block.timestamp;
        }
    }

    function lastClaim(uint256 id) public view returns (uint256) {
        return Math.max(last[id], GENESIS);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"ape","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"APE","outputs":[{"internalType":"contract IERC721Enumerable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GENESIS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WICKED_PER_SECOND_PER_APE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"last","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"lastClaim","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"mintForIds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"mintForUser","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

60e0604052656943d1961800608090815250636144e5b060a0908152503480156200002957600080fd5b506040516200209b3803806200209b83398181016040528101906200004f9190620001f4565b6040518060400160405280600681526020017f5769636b656400000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f57434b44000000000000000000000000000000000000000000000000000000008152508160039080519060200190620000d39291906200012d565b508060049080519060200190620000ec9291906200012d565b5050508073ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff1660601b8152505050620002d3565b8280546200013b9062000254565b90600052602060002090601f0160209004810192826200015f5760008555620001ab565b82601f106200017a57805160ff1916838001178555620001ab565b82800160010185558215620001ab579182015b82811115620001aa5782518255916020019190600101906200018d565b5b509050620001ba9190620001be565b5090565b5b80821115620001d9576000816000905550600101620001bf565b5090565b600081519050620001ee81620002b9565b92915050565b6000602082840312156200020757600080fd5b60006200021784828501620001dd565b91505092915050565b60006200022d8262000234565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600060028204905060018216806200026d57607f821691505b602082108114156200028457620002836200028a565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b620002c48162000220565b8114620002d057600080fd5b50565b60805160a05160c05160601c611d6b6200033060003960008181610491015281816106ce0152818161078701526109f001526000818161067b0152610c2a0152600081816106a8015281816108410152610aaa0152611d6b6000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c806363250887116100a2578063a457c2d711610071578063a457c2d7146102f7578063a9059cbb14610327578063b7dec1b714610357578063dd62ed3e14610375578063e4c1a3b2146103a557610116565b8063632508871461027157806370a082311461028d57806395d89b41146102bd5780639ab8ed48146102db57610116565b806323b872dd116100e957806323b872dd146101a5578063313ce567146101d557806339509351146101f35780633d3728b5146102235780634b7645301461025357610116565b806306fdde031461011b578063095ea7b31461013957806318160ddd146101695780631b5d145d14610187575b600080fd5b6101236103d5565b6040516101309190611919565b60405180910390f35b610153600480360381019061014e919061143e565b610467565b60405161016091906118e3565b60405180910390f35b610171610485565b60405161017e9190611a3b565b60405180910390f35b61018f61048f565b60405161019c91906118fe565b60405180910390f35b6101bf60048036038101906101ba91906113ef565b6104b3565b6040516101cc91906118e3565b60405180910390f35b6101dd6105ab565b6040516101ea9190611a56565b60405180910390f35b61020d6004803603810190610208919061143e565b6105b4565b60405161021a91906118e3565b60405180910390f35b61023d600480360381019061023891906114bf565b610660565b60405161024a9190611a3b565b60405180910390f35b61025b6106a6565b6040516102689190611a3b565b60405180910390f35b61028b60048036038101906102869190611361565b6106ca565b005b6102a760048036038101906102a29190611361565b6108c0565b6040516102b49190611a3b565b60405180910390f35b6102c5610908565b6040516102d29190611919565b60405180910390f35b6102f560048036038101906102f0919061147a565b61099a565b005b610311600480360381019061030c919061143e565b610b1f565b60405161031e91906118e3565b60405180910390f35b610341600480360381019061033c919061143e565b610c0a565b60405161034e91906118e3565b60405180910390f35b61035f610c28565b60405161036c9190611a3b565b60405180910390f35b61038f600480360381019061038a91906113b3565b610c4c565b60405161039c9190611a3b565b60405180910390f35b6103bf60048036038101906103ba91906114bf565b610cd3565b6040516103cc9190611a3b565b60405180910390f35b6060600380546103e490611c1d565b80601f016020809104026020016040519081016040528092919081815260200182805461041090611c1d565b801561045d5780601f106104325761010080835404028352916020019161045d565b820191906000526020600020905b81548152906001019060200180831161044057829003601f168201915b5050505050905090565b600061047b610474610ceb565b8484610cf3565b6001905092915050565b6000600254905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b60006104c0848484610ebe565b6000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600061050b610ceb565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508281101561058b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105829061199b565b60405180910390fd5b61059f85610597610ceb565b858403610cf3565b60019150509392505050565b60006012905090565b60006106566105c1610ceb565b8484600160006105cf610ceb565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546106519190611a8d565b610cf3565b6001905092915050565b600061069f60056000848152602001908152602001600020547f000000000000000000000000000000000000000000000000000000000000000061113f565b9050919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231836040518263ffffffff1660e01b8152600401610725919061189f565b60206040518083038186803b15801561073d57600080fd5b505afa158015610751573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061077591906114e8565b90506000805b828110156108b05760007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16632f745c5986846040518363ffffffff1660e01b81526004016107e09291906118ba565b60206040518083038186803b1580156107f857600080fd5b505afa15801561080c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061083091906114e8565b9050600061083d82610660565b90507f0000000000000000000000000000000000000000000000000000000000000000814261086c9190611b3d565b6108769190611ae3565b846108819190611a8d565b9350426005600084815260200190815260200160002081905550505080806108a890611c4f565b91505061077b565b506108bb8382611159565b505050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60606004805461091790611c1d565b80601f016020809104026020016040519081016040528092919081815260200182805461094390611c1d565b80156109905780601f1061096557610100808354040283529160200191610990565b820191906000526020600020905b81548152906001019060200180831161097357829003601f168201915b5050505050905090565b60005b82829050811015610b1a5760008383838181106109e3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135905060007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401610a479190611a3b565b60206040518083038186803b158015610a5f57600080fd5b505afa158015610a73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a97919061138a565b90506000610aa483610660565b905060007f00000000000000000000000000000000000000000000000000000000000000008242610ad59190611b3d565b610adf9190611ae3565b9050610aeb8382611159565b426005600086815260200190815260200160002081905550505050508080610b1290611c4f565b91505061099d565b505050565b60008060016000610b2e610ceb565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610beb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be2906119fb565b60405180910390fd5b610bff610bf6610ceb565b85858403610cf3565b600191505092915050565b6000610c1e610c17610ceb565b8484610ebe565b6001905092915050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60056020528060005260406000206000915090505481565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5a906119db565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610dd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dca9061195b565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051610eb19190611a3b565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f25906119bb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f959061193b565b60405180910390fd5b610fa98383836112b9565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561102f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110269061197b565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546110c29190611a8d565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516111269190611a3b565b60405180910390a36111398484846112be565b50505050565b60008183101561114f5781611151565b825b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c090611a1b565b60405180910390fd5b6111d5600083836112b9565b80600260008282546111e79190611a8d565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461123c9190611a8d565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516112a19190611a3b565b60405180910390a36112b5600083836112be565b5050565b505050565b505050565b6000813590506112d281611d07565b92915050565b6000815190506112e781611d07565b92915050565b60008083601f8401126112ff57600080fd5b8235905067ffffffffffffffff81111561131857600080fd5b60208301915083602082028301111561133057600080fd5b9250929050565b60008135905061134681611d1e565b92915050565b60008151905061135b81611d1e565b92915050565b60006020828403121561137357600080fd5b6000611381848285016112c3565b91505092915050565b60006020828403121561139c57600080fd5b60006113aa848285016112d8565b91505092915050565b600080604083850312156113c657600080fd5b60006113d4858286016112c3565b92505060206113e5858286016112c3565b9150509250929050565b60008060006060848603121561140457600080fd5b6000611412868287016112c3565b9350506020611423868287016112c3565b925050604061143486828701611337565b9150509250925092565b6000806040838503121561145157600080fd5b600061145f858286016112c3565b925050602061147085828601611337565b9150509250929050565b6000806020838503121561148d57600080fd5b600083013567ffffffffffffffff8111156114a757600080fd5b6114b3858286016112ed565b92509250509250929050565b6000602082840312156114d157600080fd5b60006114df84828501611337565b91505092915050565b6000602082840312156114fa57600080fd5b60006115088482850161134c565b91505092915050565b61151a81611b71565b82525050565b61152981611b83565b82525050565b61153881611bc6565b82525050565b600061154982611a71565b6115538185611a7c565b9350611563818560208601611bea565b61156c81611cf6565b840191505092915050565b6000611584602383611a7c565b91507f45524332303a207472616e7366657220746f20746865207a65726f206164647260008301527f65737300000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006115ea602283611a7c565b91507f45524332303a20617070726f766520746f20746865207a65726f20616464726560008301527f73730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611650602683611a7c565b91507f45524332303a207472616e7366657220616d6f756e742065786365656473206260008301527f616c616e636500000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006116b6602883611a7c565b91507f45524332303a207472616e7366657220616d6f756e742065786365656473206160008301527f6c6c6f77616e63650000000000000000000000000000000000000000000000006020830152604082019050919050565b600061171c602583611a7c565b91507f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611782602483611a7c565b91507f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006117e8602583611a7c565b91507f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008301527f207a65726f0000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061184e601f83611a7c565b91507f45524332303a206d696e7420746f20746865207a65726f2061646472657373006000830152602082019050919050565b61188a81611baf565b82525050565b61189981611bb9565b82525050565b60006020820190506118b46000830184611511565b92915050565b60006040820190506118cf6000830185611511565b6118dc6020830184611881565b9392505050565b60006020820190506118f86000830184611520565b92915050565b6000602082019050611913600083018461152f565b92915050565b60006020820190508181036000830152611933818461153e565b905092915050565b6000602082019050818103600083015261195481611577565b9050919050565b60006020820190508181036000830152611974816115dd565b9050919050565b6000602082019050818103600083015261199481611643565b9050919050565b600060208201905081810360008301526119b4816116a9565b9050919050565b600060208201905081810360008301526119d48161170f565b9050919050565b600060208201905081810360008301526119f481611775565b9050919050565b60006020820190508181036000830152611a14816117db565b9050919050565b60006020820190508181036000830152611a3481611841565b9050919050565b6000602082019050611a506000830184611881565b92915050565b6000602082019050611a6b6000830184611890565b92915050565b600081519050919050565b600082825260208201905092915050565b6000611a9882611baf565b9150611aa383611baf565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115611ad857611ad7611c98565b5b828201905092915050565b6000611aee82611baf565b9150611af983611baf565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611b3257611b31611c98565b5b828202905092915050565b6000611b4882611baf565b9150611b5383611baf565b925082821015611b6657611b65611c98565b5b828203905092915050565b6000611b7c82611b8f565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000611bd182611bd8565b9050919050565b6000611be382611b8f565b9050919050565b60005b83811015611c08578082015181840152602081019050611bed565b83811115611c17576000848401525b50505050565b60006002820490506001821680611c3557607f821691505b60208210811415611c4957611c48611cc7565b5b50919050565b6000611c5a82611baf565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415611c8d57611c8c611c98565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f8301169050919050565b611d1081611b71565b8114611d1b57600080fd5b50565b611d2781611baf565b8114611d3257600080fd5b5056fea26469706673582212209be9f5d95271a2c2a4e169fd976f62b97205ed86430e19e31d2dfa197123fcff64736f6c63430008000033000000000000000000000000be6e3669464e7db1e1528212f0bff5039461cb82

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101165760003560e01c806363250887116100a2578063a457c2d711610071578063a457c2d7146102f7578063a9059cbb14610327578063b7dec1b714610357578063dd62ed3e14610375578063e4c1a3b2146103a557610116565b8063632508871461027157806370a082311461028d57806395d89b41146102bd5780639ab8ed48146102db57610116565b806323b872dd116100e957806323b872dd146101a5578063313ce567146101d557806339509351146101f35780633d3728b5146102235780634b7645301461025357610116565b806306fdde031461011b578063095ea7b31461013957806318160ddd146101695780631b5d145d14610187575b600080fd5b6101236103d5565b6040516101309190611919565b60405180910390f35b610153600480360381019061014e919061143e565b610467565b60405161016091906118e3565b60405180910390f35b610171610485565b60405161017e9190611a3b565b60405180910390f35b61018f61048f565b60405161019c91906118fe565b60405180910390f35b6101bf60048036038101906101ba91906113ef565b6104b3565b6040516101cc91906118e3565b60405180910390f35b6101dd6105ab565b6040516101ea9190611a56565b60405180910390f35b61020d6004803603810190610208919061143e565b6105b4565b60405161021a91906118e3565b60405180910390f35b61023d600480360381019061023891906114bf565b610660565b60405161024a9190611a3b565b60405180910390f35b61025b6106a6565b6040516102689190611a3b565b60405180910390f35b61028b60048036038101906102869190611361565b6106ca565b005b6102a760048036038101906102a29190611361565b6108c0565b6040516102b49190611a3b565b60405180910390f35b6102c5610908565b6040516102d29190611919565b60405180910390f35b6102f560048036038101906102f0919061147a565b61099a565b005b610311600480360381019061030c919061143e565b610b1f565b60405161031e91906118e3565b60405180910390f35b610341600480360381019061033c919061143e565b610c0a565b60405161034e91906118e3565b60405180910390f35b61035f610c28565b60405161036c9190611a3b565b60405180910390f35b61038f600480360381019061038a91906113b3565b610c4c565b60405161039c9190611a3b565b60405180910390f35b6103bf60048036038101906103ba91906114bf565b610cd3565b6040516103cc9190611a3b565b60405180910390f35b6060600380546103e490611c1d565b80601f016020809104026020016040519081016040528092919081815260200182805461041090611c1d565b801561045d5780601f106104325761010080835404028352916020019161045d565b820191906000526020600020905b81548152906001019060200180831161044057829003601f168201915b5050505050905090565b600061047b610474610ceb565b8484610cf3565b6001905092915050565b6000600254905090565b7f000000000000000000000000be6e3669464e7db1e1528212f0bff5039461cb8281565b60006104c0848484610ebe565b6000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600061050b610ceb565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508281101561058b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105829061199b565b60405180910390fd5b61059f85610597610ceb565b858403610cf3565b60019150509392505050565b60006012905090565b60006106566105c1610ceb565b8484600160006105cf610ceb565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546106519190611a8d565b610cf3565b6001905092915050565b600061069f60056000848152602001908152602001600020547f000000000000000000000000000000000000000000000000000000006144e5b061113f565b9050919050565b7f00000000000000000000000000000000000000000000000000006943d196180081565b60007f000000000000000000000000be6e3669464e7db1e1528212f0bff5039461cb8273ffffffffffffffffffffffffffffffffffffffff166370a08231836040518263ffffffff1660e01b8152600401610725919061189f565b60206040518083038186803b15801561073d57600080fd5b505afa158015610751573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061077591906114e8565b90506000805b828110156108b05760007f000000000000000000000000be6e3669464e7db1e1528212f0bff5039461cb8273ffffffffffffffffffffffffffffffffffffffff16632f745c5986846040518363ffffffff1660e01b81526004016107e09291906118ba565b60206040518083038186803b1580156107f857600080fd5b505afa15801561080c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061083091906114e8565b9050600061083d82610660565b90507f00000000000000000000000000000000000000000000000000006943d1961800814261086c9190611b3d565b6108769190611ae3565b846108819190611a8d565b9350426005600084815260200190815260200160002081905550505080806108a890611c4f565b91505061077b565b506108bb8382611159565b505050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60606004805461091790611c1d565b80601f016020809104026020016040519081016040528092919081815260200182805461094390611c1d565b80156109905780601f1061096557610100808354040283529160200191610990565b820191906000526020600020905b81548152906001019060200180831161097357829003601f168201915b5050505050905090565b60005b82829050811015610b1a5760008383838181106109e3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135905060007f000000000000000000000000be6e3669464e7db1e1528212f0bff5039461cb8273ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401610a479190611a3b565b60206040518083038186803b158015610a5f57600080fd5b505afa158015610a73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a97919061138a565b90506000610aa483610660565b905060007f00000000000000000000000000000000000000000000000000006943d19618008242610ad59190611b3d565b610adf9190611ae3565b9050610aeb8382611159565b426005600086815260200190815260200160002081905550505050508080610b1290611c4f565b91505061099d565b505050565b60008060016000610b2e610ceb565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610beb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be2906119fb565b60405180910390fd5b610bff610bf6610ceb565b85858403610cf3565b600191505092915050565b6000610c1e610c17610ceb565b8484610ebe565b6001905092915050565b7f000000000000000000000000000000000000000000000000000000006144e5b081565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60056020528060005260406000206000915090505481565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5a906119db565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610dd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dca9061195b565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051610eb19190611a3b565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f25906119bb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f959061193b565b60405180910390fd5b610fa98383836112b9565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561102f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110269061197b565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546110c29190611a8d565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516111269190611a3b565b60405180910390a36111398484846112be565b50505050565b60008183101561114f5781611151565b825b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c090611a1b565b60405180910390fd5b6111d5600083836112b9565b80600260008282546111e79190611a8d565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461123c9190611a8d565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516112a19190611a3b565b60405180910390a36112b5600083836112be565b5050565b505050565b505050565b6000813590506112d281611d07565b92915050565b6000815190506112e781611d07565b92915050565b60008083601f8401126112ff57600080fd5b8235905067ffffffffffffffff81111561131857600080fd5b60208301915083602082028301111561133057600080fd5b9250929050565b60008135905061134681611d1e565b92915050565b60008151905061135b81611d1e565b92915050565b60006020828403121561137357600080fd5b6000611381848285016112c3565b91505092915050565b60006020828403121561139c57600080fd5b60006113aa848285016112d8565b91505092915050565b600080604083850312156113c657600080fd5b60006113d4858286016112c3565b92505060206113e5858286016112c3565b9150509250929050565b60008060006060848603121561140457600080fd5b6000611412868287016112c3565b9350506020611423868287016112c3565b925050604061143486828701611337565b9150509250925092565b6000806040838503121561145157600080fd5b600061145f858286016112c3565b925050602061147085828601611337565b9150509250929050565b6000806020838503121561148d57600080fd5b600083013567ffffffffffffffff8111156114a757600080fd5b6114b3858286016112ed565b92509250509250929050565b6000602082840312156114d157600080fd5b60006114df84828501611337565b91505092915050565b6000602082840312156114fa57600080fd5b60006115088482850161134c565b91505092915050565b61151a81611b71565b82525050565b61152981611b83565b82525050565b61153881611bc6565b82525050565b600061154982611a71565b6115538185611a7c565b9350611563818560208601611bea565b61156c81611cf6565b840191505092915050565b6000611584602383611a7c565b91507f45524332303a207472616e7366657220746f20746865207a65726f206164647260008301527f65737300000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006115ea602283611a7c565b91507f45524332303a20617070726f766520746f20746865207a65726f20616464726560008301527f73730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611650602683611a7c565b91507f45524332303a207472616e7366657220616d6f756e742065786365656473206260008301527f616c616e636500000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006116b6602883611a7c565b91507f45524332303a207472616e7366657220616d6f756e742065786365656473206160008301527f6c6c6f77616e63650000000000000000000000000000000000000000000000006020830152604082019050919050565b600061171c602583611a7c565b91507f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611782602483611a7c565b91507f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006117e8602583611a7c565b91507f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008301527f207a65726f0000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061184e601f83611a7c565b91507f45524332303a206d696e7420746f20746865207a65726f2061646472657373006000830152602082019050919050565b61188a81611baf565b82525050565b61189981611bb9565b82525050565b60006020820190506118b46000830184611511565b92915050565b60006040820190506118cf6000830185611511565b6118dc6020830184611881565b9392505050565b60006020820190506118f86000830184611520565b92915050565b6000602082019050611913600083018461152f565b92915050565b60006020820190508181036000830152611933818461153e565b905092915050565b6000602082019050818103600083015261195481611577565b9050919050565b60006020820190508181036000830152611974816115dd565b9050919050565b6000602082019050818103600083015261199481611643565b9050919050565b600060208201905081810360008301526119b4816116a9565b9050919050565b600060208201905081810360008301526119d48161170f565b9050919050565b600060208201905081810360008301526119f481611775565b9050919050565b60006020820190508181036000830152611a14816117db565b9050919050565b60006020820190508181036000830152611a3481611841565b9050919050565b6000602082019050611a506000830184611881565b92915050565b6000602082019050611a6b6000830184611890565b92915050565b600081519050919050565b600082825260208201905092915050565b6000611a9882611baf565b9150611aa383611baf565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115611ad857611ad7611c98565b5b828201905092915050565b6000611aee82611baf565b9150611af983611baf565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611b3257611b31611c98565b5b828202905092915050565b6000611b4882611baf565b9150611b5383611baf565b925082821015611b6657611b65611c98565b5b828203905092915050565b6000611b7c82611b8f565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000611bd182611bd8565b9050919050565b6000611be382611b8f565b9050919050565b60005b83811015611c08578082015181840152602081019050611bed565b83811115611c17576000848401525b50505050565b60006002820490506001821680611c3557607f821691505b60208210811415611c4957611c48611cc7565b5b50919050565b6000611c5a82611baf565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415611c8d57611c8c611c98565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f8301169050919050565b611d1081611b71565b8114611d1b57600080fd5b50565b611d2781611baf565b8114611d3257600080fd5b5056fea26469706673582212209be9f5d95271a2c2a4e169fd976f62b97205ed86430e19e31d2dfa197123fcff64736f6c63430008000033

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

000000000000000000000000be6e3669464e7db1e1528212f0bff5039461cb82

-----Decoded View---------------
Arg [0] : ape (address): 0xbe6e3669464E7dB1e1528212F0BfF5039461CB82

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000be6e3669464e7db1e1528212f0bff5039461cb82


Deployed Bytecode Sourcemap

57800:1339:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6515:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;8682:169;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;7635:108;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;57960:38;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;9333:492;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;7477:93;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;10234:215;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;59022:114;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;57837:64;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;58159:438;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;7806:127;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;6734:104;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;58605:409;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;10952:413;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;8146:175;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;57908:45;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;8384:151;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;58007:39;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;6515:100;6569:13;6602:5;6595:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6515:100;:::o;8682:169::-;8765:4;8782:39;8791:12;:10;:12::i;:::-;8805:7;8814:6;8782:8;:39::i;:::-;8839:4;8832:11;;8682:169;;;;:::o;7635:108::-;7696:7;7723:12;;7716:19;;7635:108;:::o;57960:38::-;;;:::o;9333:492::-;9473:4;9490:36;9500:6;9508:9;9519:6;9490:9;:36::i;:::-;9539:24;9566:11;:19;9578:6;9566:19;;;;;;;;;;;;;;;:33;9586:12;:10;:12::i;:::-;9566:33;;;;;;;;;;;;;;;;9539:60;;9638:6;9618:16;:26;;9610:79;;;;;;;;;;;;:::i;:::-;;;;;;;;;9725:57;9734:6;9742:12;:10;:12::i;:::-;9775:6;9756:16;:25;9725:8;:57::i;:::-;9813:4;9806:11;;;9333:492;;;;;:::o;7477:93::-;7535:5;7560:2;7553:9;;7477:93;:::o;10234:215::-;10322:4;10339:80;10348:12;:10;:12::i;:::-;10362:7;10408:10;10371:11;:25;10383:12;:10;:12::i;:::-;10371:25;;;;;;;;;;;;;;;:34;10397:7;10371:34;;;;;;;;;;;;;;;;:47;;;;:::i;:::-;10339:8;:80::i;:::-;10437:4;10430:11;;10234:215;;;;:::o;59022:114::-;59074:7;59101:27;59110:4;:8;59115:2;59110:8;;;;;;;;;;;;59120:7;59101:8;:27::i;:::-;59094:34;;59022:114;;;:::o;57837:64::-;;;:::o;58159:438::-;58214:13;58230:3;:13;;;58244:4;58230:19;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;58214:35;;58260:12;58292:9;58287:275;58311:5;58307:1;:9;58287:275;;;58338:10;58351:3;:23;;;58375:4;58381:1;58351:32;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;58338:45;;58398:15;58416:13;58426:2;58416:9;:13::i;:::-;58398:31;;58483:25;58472:7;58454:15;:25;;;;:::i;:::-;58453:55;;;;:::i;:::-;58444:65;;;;;:::i;:::-;;;58535:15;58524:4;:8;58529:2;58524:8;;;;;;;;;;;:26;;;;58287:275;;58318:3;;;;;:::i;:::-;;;;58287:275;;;;58572:17;58578:4;58584;58572:5;:17::i;:::-;58159:438;;;:::o;7806:127::-;7880:7;7907:9;:18;7917:7;7907:18;;;;;;;;;;;;;;;;7900:25;;7806:127;;;:::o;6734:104::-;6790:13;6823:7;6816:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6734:104;:::o;58605:409::-;58674:9;58669:338;58693:3;;:10;;58689:1;:14;58669:338;;;58725:10;58738:3;;58742:1;58738:6;;;;;;;;;;;;;;;;;;;;;58725:19;;58759:13;58775:3;:11;;;58787:2;58775:15;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;58759:31;;58805:15;58823:13;58833:2;58823:9;:13::i;:::-;58805:31;;58851:12;58896:25;58885:7;58867:15;:25;;;;:::i;:::-;58866:55;;;;:::i;:::-;58851:70;;58936:18;58942:5;58949:4;58936:5;:18::i;:::-;58980:15;58969:4;:8;58974:2;58969:8;;;;;;;;;;;:26;;;;58669:338;;;;58705:3;;;;;:::i;:::-;;;;58669:338;;;;58605:409;;:::o;10952:413::-;11045:4;11062:24;11089:11;:25;11101:12;:10;:12::i;:::-;11089:25;;;;;;;;;;;;;;;:34;11115:7;11089:34;;;;;;;;;;;;;;;;11062:61;;11162:15;11142:16;:35;;11134:85;;;;;;;;;;;;:::i;:::-;;;;;;;;;11255:67;11264:12;:10;:12::i;:::-;11278:7;11306:15;11287:16;:34;11255:8;:67::i;:::-;11353:4;11346:11;;;10952:413;;;;:::o;8146:175::-;8232:4;8249:42;8259:12;:10;:12::i;:::-;8273:9;8284:6;8249:9;:42::i;:::-;8309:4;8302:11;;8146:175;;;;:::o;57908:45::-;;;:::o;8384:151::-;8473:7;8500:11;:18;8512:5;8500:18;;;;;;;;;;;;;;;:27;8519:7;8500:27;;;;;;;;;;;;;;;;8493:34;;8384:151;;;;:::o;58007:39::-;;;;;;;;;;;;;;;;;:::o;4226:98::-;4279:7;4306:10;4299:17;;4226:98;:::o;14636:380::-;14789:1;14772:19;;:5;:19;;;;14764:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;14870:1;14851:21;;:7;:21;;;;14843:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;14954:6;14924:11;:18;14936:5;14924:18;;;;;;;;;;;;;;;:27;14943:7;14924:27;;;;;;;;;;;;;;;:36;;;;14992:7;14976:32;;14985:5;14976:32;;;15001:6;14976:32;;;;;;:::i;:::-;;;;;;;;14636:380;;;:::o;11855:733::-;12013:1;11995:20;;:6;:20;;;;11987:70;;;;;;;;;;;;:::i;:::-;;;;;;;;;12097:1;12076:23;;:9;:23;;;;12068:71;;;;;;;;;;;;:::i;:::-;;;;;;;;;12152:47;12173:6;12181:9;12192:6;12152:20;:47::i;:::-;12212:21;12236:9;:17;12246:6;12236:17;;;;;;;;;;;;;;;;12212:41;;12289:6;12272:13;:23;;12264:74;;;;;;;;;;;;:::i;:::-;;;;;;;;;12410:6;12394:13;:22;12374:9;:17;12384:6;12374:17;;;;;;;;;;;;;;;:42;;;;12462:6;12438:9;:20;12448:9;12438:20;;;;;;;;;;;;;;;;:30;;;;;;;:::i;:::-;;;;;;;;12503:9;12486:35;;12495:6;12486:35;;;12514:6;12486:35;;;;;;:::i;:::-;;;;;;;;12534:46;12554:6;12562:9;12573:6;12534:19;:46::i;:::-;11855:733;;;;:::o;56757:107::-;56815:7;56847:1;56842;:6;;:14;;56855:1;56842:14;;;56851:1;56842:14;56835:21;;56757:107;;;;:::o;12875:399::-;12978:1;12959:21;;:7;:21;;;;12951:65;;;;;;;;;;;;:::i;:::-;;;;;;;;;13029:49;13058:1;13062:7;13071:6;13029:20;:49::i;:::-;13107:6;13091:12;;:22;;;;;;;:::i;:::-;;;;;;;;13146:6;13124:9;:18;13134:7;13124:18;;;;;;;;;;;;;;;;:28;;;;;;;:::i;:::-;;;;;;;;13189:7;13168:37;;13185:1;13168:37;;;13198:6;13168:37;;;;;;:::i;:::-;;;;;;;;13218:48;13246:1;13250:7;13259:6;13218:19;:48::i;:::-;12875:399;;:::o;15616:125::-;;;;:::o;16345:124::-;;;;:::o;7:139:1:-;;91:6;78:20;69:29;;107:33;134:5;107:33;:::i;:::-;59:87;;;;:::o;152:143::-;;240:6;234:13;225:22;;256:33;283:5;256:33;:::i;:::-;215:80;;;;:::o;318:367::-;;;451:3;444:4;436:6;432:17;428:27;418:2;;469:1;466;459:12;418:2;505:6;492:20;482:30;;535:18;527:6;524:30;521:2;;;567:1;564;557:12;521:2;604:4;596:6;592:17;580:29;;658:3;650:4;642:6;638:17;628:8;624:32;621:41;618:2;;;675:1;672;665:12;618:2;408:277;;;;;:::o;691:139::-;;775:6;762:20;753:29;;791:33;818:5;791:33;:::i;:::-;743:87;;;;:::o;836:143::-;;924:6;918:13;909:22;;940:33;967:5;940:33;:::i;:::-;899:80;;;;:::o;985:262::-;;1093:2;1081:9;1072:7;1068:23;1064:32;1061:2;;;1109:1;1106;1099:12;1061:2;1152:1;1177:53;1222:7;1213:6;1202:9;1198:22;1177:53;:::i;:::-;1167:63;;1123:117;1051:196;;;;:::o;1253:284::-;;1372:2;1360:9;1351:7;1347:23;1343:32;1340:2;;;1388:1;1385;1378:12;1340:2;1431:1;1456:64;1512:7;1503:6;1492:9;1488:22;1456:64;:::i;:::-;1446:74;;1402:128;1330:207;;;;:::o;1543:407::-;;;1668:2;1656:9;1647:7;1643:23;1639:32;1636:2;;;1684:1;1681;1674:12;1636:2;1727:1;1752:53;1797:7;1788:6;1777:9;1773:22;1752:53;:::i;:::-;1742:63;;1698:117;1854:2;1880:53;1925:7;1916:6;1905:9;1901:22;1880:53;:::i;:::-;1870:63;;1825:118;1626:324;;;;;:::o;1956:552::-;;;;2098:2;2086:9;2077:7;2073:23;2069:32;2066:2;;;2114:1;2111;2104:12;2066:2;2157:1;2182:53;2227:7;2218:6;2207:9;2203:22;2182:53;:::i;:::-;2172:63;;2128:117;2284:2;2310:53;2355:7;2346:6;2335:9;2331:22;2310:53;:::i;:::-;2300:63;;2255:118;2412:2;2438:53;2483:7;2474:6;2463:9;2459:22;2438:53;:::i;:::-;2428:63;;2383:118;2056:452;;;;;:::o;2514:407::-;;;2639:2;2627:9;2618:7;2614:23;2610:32;2607:2;;;2655:1;2652;2645:12;2607:2;2698:1;2723:53;2768:7;2759:6;2748:9;2744:22;2723:53;:::i;:::-;2713:63;;2669:117;2825:2;2851:53;2896:7;2887:6;2876:9;2872:22;2851:53;:::i;:::-;2841:63;;2796:118;2597:324;;;;;:::o;2927:425::-;;;3070:2;3058:9;3049:7;3045:23;3041:32;3038:2;;;3086:1;3083;3076:12;3038:2;3157:1;3146:9;3142:17;3129:31;3187:18;3179:6;3176:30;3173:2;;;3219:1;3216;3209:12;3173:2;3255:80;3327:7;3318:6;3307:9;3303:22;3255:80;:::i;:::-;3237:98;;;;3100:245;3028:324;;;;;:::o;3358:262::-;;3466:2;3454:9;3445:7;3441:23;3437:32;3434:2;;;3482:1;3479;3472:12;3434:2;3525:1;3550:53;3595:7;3586:6;3575:9;3571:22;3550:53;:::i;:::-;3540:63;;3496:117;3424:196;;;;:::o;3626:284::-;;3745:2;3733:9;3724:7;3720:23;3716:32;3713:2;;;3761:1;3758;3751:12;3713:2;3804:1;3829:64;3885:7;3876:6;3865:9;3861:22;3829:64;:::i;:::-;3819:74;;3775:128;3703:207;;;;:::o;3916:118::-;4003:24;4021:5;4003:24;:::i;:::-;3998:3;3991:37;3981:53;;:::o;4040:109::-;4121:21;4136:5;4121:21;:::i;:::-;4116:3;4109:34;4099:50;;:::o;4155:183::-;4268:63;4325:5;4268:63;:::i;:::-;4263:3;4256:76;4246:92;;:::o;4344:364::-;;4460:39;4493:5;4460:39;:::i;:::-;4515:71;4579:6;4574:3;4515:71;:::i;:::-;4508:78;;4595:52;4640:6;4635:3;4628:4;4621:5;4617:16;4595:52;:::i;:::-;4672:29;4694:6;4672:29;:::i;:::-;4667:3;4663:39;4656:46;;4436:272;;;;;:::o;4714:367::-;;4877:67;4941:2;4936:3;4877:67;:::i;:::-;4870:74;;4974:34;4970:1;4965:3;4961:11;4954:55;5040:5;5035:2;5030:3;5026:12;5019:27;5072:2;5067:3;5063:12;5056:19;;4860:221;;;:::o;5087:366::-;;5250:67;5314:2;5309:3;5250:67;:::i;:::-;5243:74;;5347:34;5343:1;5338:3;5334:11;5327:55;5413:4;5408:2;5403:3;5399:12;5392:26;5444:2;5439:3;5435:12;5428:19;;5233:220;;;:::o;5459:370::-;;5622:67;5686:2;5681:3;5622:67;:::i;:::-;5615:74;;5719:34;5715:1;5710:3;5706:11;5699:55;5785:8;5780:2;5775:3;5771:12;5764:30;5820:2;5815:3;5811:12;5804:19;;5605:224;;;:::o;5835:372::-;;5998:67;6062:2;6057:3;5998:67;:::i;:::-;5991:74;;6095:34;6091:1;6086:3;6082:11;6075:55;6161:10;6156:2;6151:3;6147:12;6140:32;6198:2;6193:3;6189:12;6182:19;;5981:226;;;:::o;6213:369::-;;6376:67;6440:2;6435:3;6376:67;:::i;:::-;6369:74;;6473:34;6469:1;6464:3;6460:11;6453:55;6539:7;6534:2;6529:3;6525:12;6518:29;6573:2;6568:3;6564:12;6557:19;;6359:223;;;:::o;6588:368::-;;6751:67;6815:2;6810:3;6751:67;:::i;:::-;6744:74;;6848:34;6844:1;6839:3;6835:11;6828:55;6914:6;6909:2;6904:3;6900:12;6893:28;6947:2;6942:3;6938:12;6931:19;;6734:222;;;:::o;6962:369::-;;7125:67;7189:2;7184:3;7125:67;:::i;:::-;7118:74;;7222:34;7218:1;7213:3;7209:11;7202:55;7288:7;7283:2;7278:3;7274:12;7267:29;7322:2;7317:3;7313:12;7306:19;;7108:223;;;:::o;7337:329::-;;7500:67;7564:2;7559:3;7500:67;:::i;:::-;7493:74;;7597:33;7593:1;7588:3;7584:11;7577:54;7657:2;7652:3;7648:12;7641:19;;7483:183;;;:::o;7672:118::-;7759:24;7777:5;7759:24;:::i;:::-;7754:3;7747:37;7737:53;;:::o;7796:112::-;7879:22;7895:5;7879:22;:::i;:::-;7874:3;7867:35;7857:51;;:::o;7914:222::-;;8045:2;8034:9;8030:18;8022:26;;8058:71;8126:1;8115:9;8111:17;8102:6;8058:71;:::i;:::-;8012:124;;;;:::o;8142:332::-;;8301:2;8290:9;8286:18;8278:26;;8314:71;8382:1;8371:9;8367:17;8358:6;8314:71;:::i;:::-;8395:72;8463:2;8452:9;8448:18;8439:6;8395:72;:::i;:::-;8268:206;;;;;:::o;8480:210::-;;8605:2;8594:9;8590:18;8582:26;;8618:65;8680:1;8669:9;8665:17;8656:6;8618:65;:::i;:::-;8572:118;;;;:::o;8696:274::-;;8853:2;8842:9;8838:18;8830:26;;8866:97;8960:1;8949:9;8945:17;8936:6;8866:97;:::i;:::-;8820:150;;;;:::o;8976:313::-;;9127:2;9116:9;9112:18;9104:26;;9176:9;9170:4;9166:20;9162:1;9151:9;9147:17;9140:47;9204:78;9277:4;9268:6;9204:78;:::i;:::-;9196:86;;9094:195;;;;:::o;9295:419::-;;9499:2;9488:9;9484:18;9476:26;;9548:9;9542:4;9538:20;9534:1;9523:9;9519:17;9512:47;9576:131;9702:4;9576:131;:::i;:::-;9568:139;;9466:248;;;:::o;9720:419::-;;9924:2;9913:9;9909:18;9901:26;;9973:9;9967:4;9963:20;9959:1;9948:9;9944:17;9937:47;10001:131;10127:4;10001:131;:::i;:::-;9993:139;;9891:248;;;:::o;10145:419::-;;10349:2;10338:9;10334:18;10326:26;;10398:9;10392:4;10388:20;10384:1;10373:9;10369:17;10362:47;10426:131;10552:4;10426:131;:::i;:::-;10418:139;;10316:248;;;:::o;10570:419::-;;10774:2;10763:9;10759:18;10751:26;;10823:9;10817:4;10813:20;10809:1;10798:9;10794:17;10787:47;10851:131;10977:4;10851:131;:::i;:::-;10843:139;;10741:248;;;:::o;10995:419::-;;11199:2;11188:9;11184:18;11176:26;;11248:9;11242:4;11238:20;11234:1;11223:9;11219:17;11212:47;11276:131;11402:4;11276:131;:::i;:::-;11268:139;;11166:248;;;:::o;11420:419::-;;11624:2;11613:9;11609:18;11601:26;;11673:9;11667:4;11663:20;11659:1;11648:9;11644:17;11637:47;11701:131;11827:4;11701:131;:::i;:::-;11693:139;;11591:248;;;:::o;11845:419::-;;12049:2;12038:9;12034:18;12026:26;;12098:9;12092:4;12088:20;12084:1;12073:9;12069:17;12062:47;12126:131;12252:4;12126:131;:::i;:::-;12118:139;;12016:248;;;:::o;12270:419::-;;12474:2;12463:9;12459:18;12451:26;;12523:9;12517:4;12513:20;12509:1;12498:9;12494:17;12487:47;12551:131;12677:4;12551:131;:::i;:::-;12543:139;;12441:248;;;:::o;12695:222::-;;12826:2;12815:9;12811:18;12803:26;;12839:71;12907:1;12896:9;12892:17;12883:6;12839:71;:::i;:::-;12793:124;;;;:::o;12923:214::-;;13050:2;13039:9;13035:18;13027:26;;13063:67;13127:1;13116:9;13112:17;13103:6;13063:67;:::i;:::-;13017:120;;;;:::o;13143:99::-;;13229:5;13223:12;13213:22;;13202:40;;;:::o;13248:169::-;;13366:6;13361:3;13354:19;13406:4;13401:3;13397:14;13382:29;;13344:73;;;;:::o;13423:305::-;;13482:20;13500:1;13482:20;:::i;:::-;13477:25;;13516:20;13534:1;13516:20;:::i;:::-;13511:25;;13670:1;13602:66;13598:74;13595:1;13592:81;13589:2;;;13676:18;;:::i;:::-;13589:2;13720:1;13717;13713:9;13706:16;;13467:261;;;;:::o;13734:348::-;;13797:20;13815:1;13797:20;:::i;:::-;13792:25;;13831:20;13849:1;13831:20;:::i;:::-;13826:25;;14019:1;13951:66;13947:74;13944:1;13941:81;13936:1;13929:9;13922:17;13918:105;13915:2;;;14026:18;;:::i;:::-;13915:2;14074:1;14071;14067:9;14056:20;;13782:300;;;;:::o;14088:191::-;;14148:20;14166:1;14148:20;:::i;:::-;14143:25;;14182:20;14200:1;14182:20;:::i;:::-;14177:25;;14221:1;14218;14215:8;14212:2;;;14226:18;;:::i;:::-;14212:2;14271:1;14268;14264:9;14256:17;;14133:146;;;;:::o;14285:96::-;;14351:24;14369:5;14351:24;:::i;:::-;14340:35;;14330:51;;;:::o;14387:90::-;;14464:5;14457:13;14450:21;14439:32;;14429:48;;;:::o;14483:126::-;;14560:42;14553:5;14549:54;14538:65;;14528:81;;;:::o;14615:77::-;;14681:5;14670:16;;14660:32;;;:::o;14698:86::-;;14773:4;14766:5;14762:16;14751:27;;14741:43;;;:::o;14790:178::-;;14899:63;14956:5;14899:63;:::i;:::-;14886:76;;14876:92;;;:::o;14974:139::-;;15083:24;15101:5;15083:24;:::i;:::-;15070:37;;15060:53;;;:::o;15119:307::-;15187:1;15197:113;15211:6;15208:1;15205:13;15197:113;;;15296:1;15291:3;15287:11;15281:18;15277:1;15272:3;15268:11;15261:39;15233:2;15230:1;15226:10;15221:15;;15197:113;;;15328:6;15325:1;15322:13;15319:2;;;15408:1;15399:6;15394:3;15390:16;15383:27;15319:2;15168:258;;;;:::o;15432:320::-;;15513:1;15507:4;15503:12;15493:22;;15560:1;15554:4;15550:12;15581:18;15571:2;;15637:4;15629:6;15625:17;15615:27;;15571:2;15699;15691:6;15688:14;15668:18;15665:38;15662:2;;;15718:18;;:::i;:::-;15662:2;15483:269;;;;:::o;15758:233::-;;15820:24;15838:5;15820:24;:::i;:::-;15811:33;;15866:66;15859:5;15856:77;15853:2;;;15936:18;;:::i;:::-;15853:2;15983:1;15976:5;15972:13;15965:20;;15801:190;;;:::o;15997:180::-;16045:77;16042:1;16035:88;16142:4;16139:1;16132:15;16166:4;16163:1;16156:15;16183:180;16231:77;16228:1;16221:88;16328:4;16325:1;16318:15;16352:4;16349:1;16342:15;16369:102;;16461:2;16457:7;16452:2;16445:5;16441:14;16437:28;16427:38;;16417:54;;;:::o;16477:122::-;16550:24;16568:5;16550:24;:::i;:::-;16543:5;16540:35;16530:2;;16589:1;16586;16579:12;16530:2;16520:79;:::o;16605:122::-;16678:24;16696:5;16678:24;:::i;:::-;16671:5;16668:35;16658:2;;16717:1;16714;16707:12;16658:2;16648:79;:::o

Swarm Source

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