ETH Price: $3,427.29 (-2.17%)

Token

Ice Cream NFT (LICK)
 

Overview

Max Total Supply

3,531 LICK

Holders

3,530

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
Balance
1 LICK
0x462dd4e6eb89cba07496122bd9a84e971edaa087
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information

Contract Source Code Verified (Exact Match)

Contract Name:
IceCreamNFT

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 15 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";

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

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

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

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

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 2 of 15 : Pausable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 3 of 15 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
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 4 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, 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 5 of 15 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

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 6 of 15 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @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 7 of 15 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @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 8 of 15 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

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

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

File 9 of 15 : Address.sol
// SPDX-License-Identifier: MIT

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 10 of 15 : Context.sol
// SPDX-License-Identifier: MIT

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 11 of 15 : Strings.sol
// SPDX-License-Identifier: MIT

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 12 of 15 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * 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 13 of 15 : IERC165.sol
// SPDX-License-Identifier: MIT

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 14 of 15 : Base64.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.7;

/// @title Base64
/// @notice Provides a function for encoding some bytes in base64
/// @author Brecht Devos <[email protected]>
library Base64 {
    bytes internal constant TABLE =
        "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

    /// @notice Encodes some bytes to the base64 representation
    function encode(bytes memory data) internal pure returns (string memory) {
        uint256 len = data.length;
        if (len == 0) return "";

        // multiply by 4/3 rounded up
        uint256 encodedLen = 4 * ((len + 2) / 3);

        // Add some extra buffer at the end
        bytes memory result = new bytes(encodedLen + 32);

        bytes memory table = TABLE;

        assembly {
            let tablePtr := add(table, 1)
            let resultPtr := add(result, 32)

            for {
                let i := 0
            } lt(i, len) {

            } {
                i := add(i, 3)
                let input := and(mload(add(data, i)), 0xffffff)

                let out := mload(add(tablePtr, and(shr(18, input), 0x3F)))
                out := shl(8, out)
                out := add(
                    out,
                    and(mload(add(tablePtr, and(shr(12, input), 0x3F))), 0xFF)
                )
                out := shl(8, out)
                out := add(
                    out,
                    and(mload(add(tablePtr, and(shr(6, input), 0x3F))), 0xFF)
                )
                out := shl(8, out)
                out := add(
                    out,
                    and(mload(add(tablePtr, and(input, 0x3F))), 0xFF)
                )
                out := shl(224, out)

                mstore(resultPtr, out)

                resultPtr := add(resultPtr, 4)
            }

            switch mod(len, 3)
            case 1 {
                mstore(sub(resultPtr, 2), shl(240, 0x3d3d))
            }
            case 2 {
                mstore(sub(resultPtr, 1), shl(248, 0x3d))
            }

            mstore(result, encodedLen)
        }

        return string(result);
    }
}

File 15 of 15 : IceCreamNFT.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.7;

import {
    ERC721,
    ERC721Enumerable
} from "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {Pausable} from "@openzeppelin/contracts/security/Pausable.sol";
import "./Base64.sol";

// solhint-disable
contract IceCreamNFT is ERC721Enumerable, Ownable, Pausable {
    uint256 public immutable threshold;

    mapping(uint256 => uint256) public licks;
    mapping(uint256 => uint256) public lickTime;
    mapping(address => bool) public hasClaimed;

    constructor(uint256 threshold_) ERC721("Ice Cream NFT", "LICK") {
        threshold = threshold_;
    }

    function pause() external onlyOwner {
        _pause();
    }

    function unpause() external onlyOwner {
        _unpause();
    }

    function mint() external {
        require(!hasClaimed[msg.sender], "already claimed");
        uint256 nextTokenId = totalSupply() + 1;
        lickTime[nextTokenId] = block.timestamp;
        hasClaimed[msg.sender] = true;
        _safeMint(msg.sender, nextTokenId);
    }

    function lick(uint256 tokenId_) external {
        require(_exists(tokenId_), "tokenId does not exist");
        require(
            block.timestamp - lickTime[tokenId_] > threshold,
            "brainfreeze, cannot lick"
        );
        licks[tokenId_] += 1;
        lickTime[tokenId_] = block.timestamp;
    }

    function tokenURI(uint256 tokenId_)
        public
        view
        virtual
        override
        returns (string memory)
    {
        uint256 numLicks = licks[tokenId_];
        string[3] memory parts;
        parts[0] = _getView(numLicks);
        parts[1] = uint2str(numLicks);
        parts[2] = '</text></svg>';

        string memory output = string(
            abi.encodePacked(parts[0], parts[1], parts[2])
        );

        string memory json = Base64.encode(
            bytes(
                string(
                    abi.encodePacked(
                        '{"name": "Cone #',
                        uint2str(tokenId_),
                        '", "description": "Test Gelato Automation by auto-licking your sweet Gelato NFT", "image": "data:image/svg+xml;base64,',
                        Base64.encode(bytes(output)),
                        '"}'
                    )
                )
            )
        );
        output = string(
            abi.encodePacked('data:application/json;base64,', json)
        );

        return output;
    }

    function _getView(uint256 numLicks_) internal pure returns (string memory) {
        string
            memory s = '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 400 400"><defs><style>.cls-1{fill:#fae7ce;}.cls-2{fill:url(#linear-gradient);}.cls-3{fill:url(#linear-gradient-2);}.cls-4{fill:url(#linear-gradient-3);}.cls-5{fill:url(#linear-gradient-4);}.cls-6{opacity:0.3;}.cls-7{fill:#35211c;}.cls-8{fill:url(#radial-gradient);}.cls-9{fill:url(#radial-gradient-2);}.cls-10{fill:url(#radial-gradient-3);}</style><linearGradient id="linear-gradient" x1="168.88" y1="331" x2="218.89" y2="331" gradientUnits="userSpaceOnUse"><stop offset="0.19" stop-color="#ffd788"/><stop offset="0.96" stop-color="#f7a265"/></linearGradient><linearGradient id="linear-gradient-2" x1="155.64" y1="303.17" x2="227.67" y2="303.17" xlink:href="#linear-gradient"/><linearGradient id="linear-gradient-3" x1="144.23" y1="277.66" x2="253.66" y2="277.66" xlink:href="#linear-gradient"/><linearGradient id="linear-gradient-4" x1="182.12" y1="358.61" x2="210.1" y2="358.61" xlink:href="#linear-gradient"/><radialGradient id="radial-gradient" cx="174.15" cy="192.27" r="102.96" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ffd9d2"/><stop offset="0.04" stop-color="#ffd5cf"/><stop offset="0.25" stop-color="#ffc5c4"/><stop offset="0.41" stop-color="#ffc0c0"/><stop offset="0.6" stop-color="#ffbdbd"/><stop offset="0.75" stop-color="#feb2b2"/><stop offset="0.9" stop-color="#fda0a0"/><stop offset="1" stop-color="#fc9090"/></radialGradient><radialGradient id="radial-gradient-2" cx="178.89" cy="125.64" r="89.23" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset="0.27" stop-color="#fffcef"/><stop offset="0.48" stop-color="#fffbe9"/><stop offset="1" stop-color="#fcf2ca"/></radialGradient><radialGradient id="radial-gradient-3" cx="180.64" cy="60.86" r="98.15" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff9a9"/><stop offset="0.47" stop-color="#ffd899"/><stop offset="0.71" stop-color="#f0b662"/><stop offset="0.9" stop-color="#e69d3c"/><stop offset="1" stop-color="#e2942d"/></radialGradient></defs><rect class="cls-1" width="400" height="400"/><polygon class="cls-2" points="218.89 335.2 168.88 309.63 179.12 335.5 212.09 352.37 218.89 335.2"/><polygon class="cls-3" points="165.88 302.05 220.87 330.18 227.67 313.01 155.64 276.17 165.88 302.05"/><polygon class="cls-4" points="229.66 307.99 253.66 247.34 144.23 247.34 152.64 268.59 229.66 307.99"/><path class="cls-5" d="M182.12,343.08l10.62,26.84a6.67,6.67,0,0,0,12.41,0l4.95-12.52Z"/>';
        if (numLicks_ % 5 == 0) {
            s = string(
                abi.encodePacked(
                    s,
                    '<g class="cls-6"><path class="cls-7" d="M265.39,229.55a16.5,16.5,0,0,0-8.75-9.46,12.4,12.4,0,0,1-7.09-10.57,50.7,50.7,0,0,0-101.19,0,12.45,12.45,0,0,1-7.09,10.6,16.46,16.46,0,0,0-8.77,9.47,16.7,16.7,0,0,0,21.73,21.25,13.3,13.3,0,0,1,13.18,1.69,50.9,50.9,0,0,0,22.37,10.17c6.31,1.17,11.14,5.85,14,11.6a23.3,23.3,0,0,0,44.13-9.32c.3-6.62,4.84-12,10.49-15.47a19.13,19.13,0,0,0,1.92-1.36A16.81,16.81,0,0,0,265.39,229.55Z"/></g>',
                    '<g class="cls-6"><path class="cls-7" d="M265.39,164.23a16.5,16.5,0,0,0-8.75-9.46,12.4,12.4,0,0,1-7.09-10.57,50.7,50.7,0,0,0-101.19,0,12.45,12.45,0,0,1-7.09,10.6,16.46,16.46,0,0,0-8.77,9.47,16.7,16.7,0,0,0,21.73,21.25,13.3,13.3,0,0,1,13.18,1.69,50.9,50.9,0,0,0,22.37,10.17c6.31,1.17,11.14,5.85,14,11.6a23.3,23.3,0,0,0,44.13-9.32c.3-6.62,4.84-12,10.49-15.47a19.13,19.13,0,0,0,1.92-1.36A16.81,16.81,0,0,0,265.39,164.23Z"/></g>',
                    '<g class="cls-6"><path class="cls-7" d="M265.39,164.23a16.5,16.5,0,0,0-8.75-9.46,12.4,12.4,0,0,1-7.09-10.57,50.7,50.7,0,0,0-101.19,0,12.45,12.45,0,0,1-7.09,10.6,16.46,16.46,0,0,0-8.77,9.47,16.7,16.7,0,0,0,21.73,21.25,13.3,13.3,0,0,1,13.18,1.69,50.9,50.9,0,0,0,22.37,10.17c6.31,1.17,11.14,5.85,14,11.6a23.3,23.3,0,0,0,44.13-9.32c.3-6.62,4.84-12,10.49-15.47a19.13,19.13,0,0,0,1.92-1.36A16.81,16.81,0,0,0,265.39,164.23Z"/></g><g class="cls-6"><path class="cls-7" d="M265.39,98.91a16.5,16.5,0,0,0-8.75-9.46,12.4,12.4,0,0,1-7.09-10.57,50.7,50.7,0,0,0-101.19,0,12.45,12.45,0,0,1-7.09,10.6,16.46,16.46,0,0,0-8.77,9.47,16.7,16.7,0,0,0,21.73,21.25,13.3,13.3,0,0,1,13.18,1.69A50.9,50.9,0,0,0,189.78,132c6.31,1.17,11.14,5.85,14,11.6a23.3,23.3,0,0,0,44.13-9.32c.3-6.62,4.84-12,10.49-15.47a19.13,19.13,0,0,0,1.92-1.36A16.81,16.81,0,0,0,265.39,98.91Z"/></g>',
                    '<path class="cls-8" d="M265.39,224a16.49,16.49,0,0,0-8.75-9.47,12.39,12.39,0,0,1-7.09-10.57,50.7,50.7,0,0,0-101.19,0,12.45,12.45,0,0,1-7.09,10.6A16.49,16.49,0,0,0,132.5,224a16.69,16.69,0,0,0,21.73,21.25,13.3,13.3,0,0,1,13.18,1.69,50.9,50.9,0,0,0,22.37,10.17c6.31,1.17,11.14,5.85,14,11.6a23.3,23.3,0,0,0,44.13-9.32c.3-6.62,4.84-12,10.49-15.47a16.37,16.37,0,0,0,1.92-1.36A16.8,16.8,0,0,0,265.39,224Z"/>',
                    '<path class="cls-9" d="M265.39,158.65a16.5,16.5,0,0,0-8.75-9.46,12.39,12.39,0,0,1-7.09-10.57,50.7,50.7,0,0,0-101.19,0,12.45,12.45,0,0,1-7.09,10.6,16.49,16.49,0,0,0-8.77,9.47,16.69,16.69,0,0,0,21.73,21.25,13.3,13.3,0,0,1,13.18,1.69,50.9,50.9,0,0,0,22.37,10.17c6.31,1.17,11.14,5.85,14,11.6A23.3,23.3,0,0,0,247.9,194c.3-6.62,4.84-12,10.49-15.47a16.37,16.37,0,0,0,1.92-1.36A16.81,16.81,0,0,0,265.39,158.65Z"/>',
                    '<path class="cls-10" d="M265.39,93.33a16.5,16.5,0,0,0-8.75-9.46,12.39,12.39,0,0,1-7.09-10.57,50.7,50.7,0,0,0-101.19,0,12.45,12.45,0,0,1-7.09,10.6,16.49,16.49,0,0,0-8.77,9.47,16.69,16.69,0,0,0,21.73,21.25,13.3,13.3,0,0,1,13.18,1.69,50.9,50.9,0,0,0,22.37,10.17c6.31,1.17,11.14,5.85,14,11.6a23.3,23.3,0,0,0,44.13-9.32c.3-6.62,4.84-12,10.49-15.47a16.37,16.37,0,0,0,1.92-1.36A16.81,16.81,0,0,0,265.39,93.33Z"/>'
                )
            );
        } else if (numLicks_ % 5 == 1) {
            s = string(
                abi.encodePacked(
                    s,
                    '<g class="cls-6"><path class="cls-7" d="M265.39,229.55a16.5,16.5,0,0,0-8.75-9.46,12.4,12.4,0,0,1-7.09-10.57,50.7,50.7,0,0,0-101.19,0,12.45,12.45,0,0,1-7.09,10.6,16.46,16.46,0,0,0-8.77,9.47,16.7,16.7,0,0,0,21.73,21.25,13.3,13.3,0,0,1,13.18,1.69,50.9,50.9,0,0,0,22.37,10.17c6.31,1.17,11.14,5.85,14,11.6a23.3,23.3,0,0,0,44.13-9.32c.3-6.62,4.84-12,10.49-15.47a19.13,19.13,0,0,0,1.92-1.36A16.81,16.81,0,0,0,265.39,229.55Z"/></g>',
                    '<g class="cls-6"><path class="cls-7" d="M265.39,164.23a16.5,16.5,0,0,0-8.75-9.46,12.4,12.4,0,0,1-7.09-10.57,50.7,50.7,0,0,0-101.19,0,12.45,12.45,0,0,1-7.09,10.6,16.46,16.46,0,0,0-8.77,9.47,16.7,16.7,0,0,0,21.73,21.25,13.3,13.3,0,0,1,13.18,1.69,50.9,50.9,0,0,0,22.37,10.17c6.31,1.17,11.14,5.85,14,11.6a23.3,23.3,0,0,0,44.13-9.32c.3-6.62,4.84-12,10.49-15.47a19.13,19.13,0,0,0,1.92-1.36A16.81,16.81,0,0,0,265.39,164.23Z"/></g>',
                    '<path class="cls-8" d="M265.39,224a16.49,16.49,0,0,0-8.75-9.47,12.39,12.39,0,0,1-7.09-10.57,50.7,50.7,0,0,0-101.19,0,12.45,12.45,0,0,1-7.09,10.6A16.49,16.49,0,0,0,132.5,224a16.69,16.69,0,0,0,21.73,21.25,13.3,13.3,0,0,1,13.18,1.69,50.9,50.9,0,0,0,22.37,10.17c6.31,1.17,11.14,5.85,14,11.6a23.3,23.3,0,0,0,44.13-9.32c.3-6.62,4.84-12,10.49-15.47a16.37,16.37,0,0,0,1.92-1.36A16.8,16.8,0,0,0,265.39,224Z"/>',
                    '<path class="cls-9" d="M265.39,158.65a16.5,16.5,0,0,0-8.75-9.46,12.39,12.39,0,0,1-7.09-10.57,50.7,50.7,0,0,0-101.19,0,12.45,12.45,0,0,1-7.09,10.6,16.49,16.49,0,0,0-8.77,9.47,16.69,16.69,0,0,0,21.73,21.25,13.3,13.3,0,0,1,13.18,1.69,50.9,50.9,0,0,0,22.37,10.17c6.31,1.17,11.14,5.85,14,11.6A23.3,23.3,0,0,0,247.9,194c.3-6.62,4.84-12,10.49-15.47a16.37,16.37,0,0,0,1.92-1.36A16.81,16.81,0,0,0,265.39,158.65Z"/>'
                )
            );
        } else if (numLicks_ % 5 == 2) {
            s = string(
                abi.encodePacked(
                    s,
                    '<g class="cls-6"><path class="cls-7" d="M265.39,229.55a16.5,16.5,0,0,0-8.75-9.46,12.4,12.4,0,0,1-7.09-10.57,50.7,50.7,0,0,0-101.19,0,12.45,12.45,0,0,1-7.09,10.6,16.46,16.46,0,0,0-8.77,9.47,16.7,16.7,0,0,0,21.73,21.25,13.3,13.3,0,0,1,13.18,1.69,50.9,50.9,0,0,0,22.37,10.17c6.31,1.17,11.14,5.85,14,11.6a23.3,23.3,0,0,0,44.13-9.32c.3-6.62,4.84-12,10.49-15.47a19.13,19.13,0,0,0,1.92-1.36A16.81,16.81,0,0,0,265.39,229.55Z"/></g>',
                    '<path class="cls-8" d="M265.39,224a16.49,16.49,0,0,0-8.75-9.47,12.39,12.39,0,0,1-7.09-10.57,50.7,50.7,0,0,0-101.19,0,12.45,12.45,0,0,1-7.09,10.6A16.49,16.49,0,0,0,132.5,224a16.69,16.69,0,0,0,21.73,21.25,13.3,13.3,0,0,1,13.18,1.69,50.9,50.9,0,0,0,22.37,10.17c6.31,1.17,11.14,5.85,14,11.6a23.3,23.3,0,0,0,44.13-9.32c.3-6.62,4.84-12,10.49-15.47a16.37,16.37,0,0,0,1.92-1.36A16.8,16.8,0,0,0,265.39,224Z"/>'
                )
            );
        } else if (numLicks_ % 5 == 4) {
            s = '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 400 400"><defs><style>.cls-1{fill:#fae7ce;}</style></defs><rect class="cls-1" width="400" height="400"/><text x="185" y="200">YUM!</text>';
        }

        return string(abi.encodePacked(s, '<text x="25" y="25">LICKS: '));
    }

    function uint2str(uint256 _i)
        internal
        pure
        returns (string memory _uintAsString)
    {
        if (_i == 0) {
            return "0";
        }
        uint256 j = _i;
        uint256 len;
        while (j != 0) {
            len++;
            j /= 10;
        }
        bytes memory bstr = new bytes(len);
        uint256 k = len;
        while (_i != 0) {
            k = k - 1;
            uint8 temp = (48 + uint8(_i - (_i / 10) * 10));
            bytes1 b1 = bytes1(temp);
            bstr[k] = b1;
            _i /= 10;
        }
        return string(bstr);
    }

    receive() external payable {}
}

Settings
{
  "evmVersion": "london",
  "libraries": {},
  "metadata": {
    "bytecodeHash": "ipfs",
    "useLiteralContent": true
  },
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "remappings": [],
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"threshold_","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"hasClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId_","type":"uint256"}],"name":"lick","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"lickTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"licks","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"threshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId_","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60a06040523480156200001157600080fd5b5060405162003fd038038062003fd08339810160408190526200003491620001ca565b604080518082018252600d81526c1258d94810dc99585b48139195609a1b6020808301918252835180850190945260048452634c49434b60e01b908401528151919291620000859160009162000124565b5080516200009b90600190602084019062000124565b505050620000b8620000b2620000ce60201b60201c565b620000d2565b600a805460ff60a01b1916905560805262000221565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200013290620001e4565b90600052602060002090601f016020900481019282620001565760008555620001a1565b82601f106200017157805160ff1916838001178555620001a1565b82800160010185558215620001a1579182015b82811115620001a157825182559160200191906001019062000184565b50620001af929150620001b3565b5090565b5b80821115620001af5760008155600101620001b4565b600060208284031215620001dd57600080fd5b5051919050565b600181811c90821680620001f957607f821691505b602082108114156200021b57634e487b7160e01b600052602260045260246000fd5b50919050565b608051613d8c620002446000396000818161038001526109530152613d8c6000f3fe6080604052600436106101bb5760003560e01c80635c975abb116100ec57806395d89b411161008a578063c87b56dd11610064578063c87b56dd146104ee578063e985e9c51461050e578063f2fde38b14610557578063f6cc68e21461057757600080fd5b806395d89b4114610499578063a22cb465146104ae578063b88d4fde146104ce57600080fd5b8063715018a6116100c6578063715018a61461042157806373b2e80e146104365780638456cb59146104665780638da5cb5b1461047b57600080fd5b80635c975abb146103c25780636352211e146103e157806370a082311461040157600080fd5b806323b872dd116101595780633f4ba83a116101335780633f4ba83a1461033957806342842e0e1461034e57806342cde4e81461036e5780634f6ccce7146103a257600080fd5b806323b872dd146102d95780632a3220e6146102f95780632f745c591461031957600080fd5b8063095ea7b311610195578063095ea7b3146102565780631249c58b1461027857806318160ddd1461028d57806318f5d72f146102ac57600080fd5b806301ffc9a7146101c757806306fdde03146101fc578063081812fc1461021e57600080fd5b366101c257005b600080fd5b3480156101d357600080fd5b506101e76101e2366004611f0b565b6105a4565b60405190151581526020015b60405180910390f35b34801561020857600080fd5b506102116105cf565b6040516101f39190612fd7565b34801561022a57600080fd5b5061023e610239366004611f45565b610661565b6040516001600160a01b0390911681526020016101f3565b34801561026257600080fd5b50610276610271366004611ee1565b6106fb565b005b34801561028457600080fd5b50610276610811565b34801561029957600080fd5b506008545b6040519081526020016101f3565b3480156102b857600080fd5b5061029e6102c7366004611f45565b600b6020526000908152604090205481565b3480156102e557600080fd5b506102766102f4366004611d8d565b6108b4565b34801561030557600080fd5b50610276610314366004611f45565b6108e5565b34801561032557600080fd5b5061029e610334366004611ee1565b610a01565b34801561034557600080fd5b50610276610a97565b34801561035a57600080fd5b50610276610369366004611d8d565b610acb565b34801561037a57600080fd5b5061029e7f000000000000000000000000000000000000000000000000000000000000000081565b3480156103ae57600080fd5b5061029e6103bd366004611f45565b610ae6565b3480156103ce57600080fd5b50600a54600160a01b900460ff166101e7565b3480156103ed57600080fd5b5061023e6103fc366004611f45565b610b79565b34801561040d57600080fd5b5061029e61041c366004611d38565b610bf0565b34801561042d57600080fd5b50610276610c77565b34801561044257600080fd5b506101e7610451366004611d38565b600d6020526000908152604090205460ff1681565b34801561047257600080fd5b50610276610cab565b34801561048757600080fd5b50600a546001600160a01b031661023e565b3480156104a557600080fd5b50610211610cdd565b3480156104ba57600080fd5b506102766104c9366004611ea5565b610cec565b3480156104da57600080fd5b506102766104e9366004611dc9565b610db1565b3480156104fa57600080fd5b50610211610509366004611f45565b610de9565b34801561051a57600080fd5b506101e7610529366004611d5a565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561056357600080fd5b50610276610572366004611d38565b610ed8565b34801561058357600080fd5b5061029e610592366004611f45565b600c6020526000908152604090205481565b60006001600160e01b0319821663780e9d6360e01b14806105c957506105c982610f70565b92915050565b6060600080546105de90613175565b80601f016020809104026020016040519081016040528092919081815260200182805461060a90613175565b80156106575780601f1061062c57610100808354040283529160200191610657565b820191906000526020600020905b81548152906001019060200180831161063a57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166106df5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061070682610b79565b9050806001600160a01b0316836001600160a01b031614156107745760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016106d6565b336001600160a01b038216148061079057506107908133610529565b6108025760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106d6565b61080c8383610fc0565b505050565b336000908152600d602052604090205460ff16156108635760405162461bcd60e51b815260206004820152600f60248201526e185b1c9958591e4818db185a5b5959608a1b60448201526064016106d6565b600061086e60085490565b6108799060016130c2565b6000818152600c6020908152604080832042905533808452600d909252909120805460ff191660011790559091506108b1908261102e565b50565b6108be338261104c565b6108da5760405162461bcd60e51b81526004016106d690613071565b61080c838383611143565b6000818152600260205260409020546001600160a01b03166109425760405162461bcd60e51b81526020600482015260166024820152751d1bdad95b925908191bd95cc81b9bdd08195e1a5cdd60521b60448201526064016106d6565b6000818152600c60205260409020547f00000000000000000000000000000000000000000000000000000000000000009061097d9042613132565b116109ca5760405162461bcd60e51b815260206004820152601860248201527f627261696e667265657a652c2063616e6e6f74206c69636b000000000000000060448201526064016106d6565b6000818152600b602052604081208054600192906109e99084906130c2565b90915550506000908152600c60205260409020429055565b6000610a0c83610bf0565b8210610a6e5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016106d6565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b03163314610ac15760405162461bcd60e51b81526004016106d69061303c565b610ac96112ee565b565b61080c83838360405180602001604052806000815250610db1565b6000610af160085490565b8210610b545760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016106d6565b60088281548110610b6757610b67613221565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806105c95760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016106d6565b60006001600160a01b038216610c5b5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016106d6565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610ca15760405162461bcd60e51b81526004016106d69061303c565b610ac9600061138b565b600a546001600160a01b03163314610cd55760405162461bcd60e51b81526004016106d69061303c565b610ac96113dd565b6060600180546105de90613175565b6001600160a01b038216331415610d455760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106d6565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610dbb338361104c565b610dd75760405162461bcd60e51b81526004016106d690613071565b610de384848484611465565b50505050565b6000818152600b6020526040902054606090610e03611cf5565b610e0c82611498565b8152610e1782611590565b6020828101918252604080518082018252600d81526c1e17ba32bc3a1f1e17b9bb339f60991b81840152818501819052845193519151600094610e5e94909392910161237c565b60405160208183030381529060405290506000610eab610e7d87611590565b610e86846116b9565b604051602001610e97929190612eab565b6040516020818303038152906040526116b9565b905080604051602001610ebe9190612e66565b60408051601f198184030181529190529695505050505050565b600a546001600160a01b03163314610f025760405162461bcd60e51b81526004016106d69061303c565b6001600160a01b038116610f675760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106d6565b6108b18161138b565b60006001600160e01b031982166380ac58cd60e01b1480610fa157506001600160e01b03198216635b5e139f60e01b145b806105c957506301ffc9a760e01b6001600160e01b03198316146105c9565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610ff582610b79565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b61104882826040518060200160405280600081525061181f565b5050565b6000818152600260205260408120546001600160a01b03166110c55760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106d6565b60006110d083610b79565b9050806001600160a01b0316846001600160a01b0316148061110b5750836001600160a01b031661110084610661565b6001600160a01b0316145b8061113b57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661115682610b79565b6001600160a01b0316146111be5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016106d6565b6001600160a01b0382166112205760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106d6565b61122b838383611852565b611236600082610fc0565b6001600160a01b038316600090815260036020526040812080546001929061125f908490613132565b90915550506001600160a01b038216600090815260036020526040812080546001929061128d9084906130c2565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a54600160a01b900460ff1661133e5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016106d6565b600a805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600a54600160a01b900460ff161561142a5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016106d6565b600a805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861136e3390565b611470848484611143565b61147c8484848461190a565b610de35760405162461bcd60e51b81526004016106d690612fea565b6060600060405180610a0001604052806109ca81526020016132646109ca913990506114c56005846131cb565b6114f057806040516020016114da9190612822565b6040516020818303038152906040529050611568565b6114fb6005846131cb565b6001141561151457806040516020016114da9190612400565b61151f6005846131cb565b6002141561153857806040516020016114da9190612e46565b6115436005846131cb565b600414156115685760405180610120016040528060e98152602001613c6e60e9913990505b8060405160200161157991906123bf565b604051602081830303815290604052915050919050565b6060816115b45750506040805180820190915260018152600360fc1b602082015290565b8160005b81156115de57806115c8816131b0565b91506115d79050600a836130ff565b91506115b8565b60008167ffffffffffffffff8111156115f9576115f9613237565b6040519080825280601f01601f191660200182016040528015611623576020820181803683370190505b509050815b85156116b057611639600182613132565b90506000611648600a886130ff565b61165390600a613113565b61165d9088613132565b6116689060306130da565b905060008160f81b90508084848151811061168557611685613221565b60200101906001600160f81b031916908160001a9053506116a7600a896130ff565b97505050611628565b50949350505050565b8051606090806116d9575050604080516020810190915260008152919050565b600060036116e88360026130c2565b6116f291906130ff565b6116fd906004613113565b9050600061170c8260206130c2565b67ffffffffffffffff81111561172457611724613237565b6040519080825280601f01601f19166020018201604052801561174e576020820181803683370190505b5090506000604051806060016040528060408152602001613c2e604091399050600181016020830160005b868110156117da576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b835260049092019101611779565b5060038606600181146117f4576002811461180557611811565b613d3d60f01b600119830152611811565b603d60f81b6000198301525b505050918152949350505050565b6118298383611a17565b611836600084848461190a565b61080c5760405162461bcd60e51b81526004016106d690612fea565b6001600160a01b0383166118ad576118a881600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6118d0565b816001600160a01b0316836001600160a01b0316146118d0576118d08382611b65565b6001600160a01b0382166118e75761080c81611c02565b826001600160a01b0316826001600160a01b03161461080c5761080c8282611cb1565b60006001600160a01b0384163b15611a0c57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061194e903390899088908890600401612f9a565b602060405180830381600087803b15801561196857600080fd5b505af1925050508015611998575060408051601f3d908101601f1916820190925261199591810190611f28565b60015b6119f2573d8080156119c6576040519150601f19603f3d011682016040523d82523d6000602084013e6119cb565b606091505b5080516119ea5760405162461bcd60e51b81526004016106d690612fea565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061113b565b506001949350505050565b6001600160a01b038216611a6d5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106d6565b6000818152600260205260409020546001600160a01b031615611ad25760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106d6565b611ade60008383611852565b6001600160a01b0382166000908152600360205260408120805460019290611b079084906130c2565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001611b7284610bf0565b611b7c9190613132565b600083815260076020526040902054909150808214611bcf576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611c1490600190613132565b60008381526009602052604081205460088054939450909284908110611c3c57611c3c613221565b906000526020600020015490508060088381548110611c5d57611c5d613221565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611c9557611c9561320b565b6001900381819060005260206000200160009055905550505050565b6000611cbc83610bf0565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b60405180606001604052806003905b6060815260200190600190039081611d045790505090565b80356001600160a01b0381168114611d3357600080fd5b919050565b600060208284031215611d4a57600080fd5b611d5382611d1c565b9392505050565b60008060408385031215611d6d57600080fd5b611d7683611d1c565b9150611d8460208401611d1c565b90509250929050565b600080600060608486031215611da257600080fd5b611dab84611d1c565b9250611db960208501611d1c565b9150604084013590509250925092565b60008060008060808587031215611ddf57600080fd5b611de885611d1c565b9350611df660208601611d1c565b925060408501359150606085013567ffffffffffffffff80821115611e1a57600080fd5b818701915087601f830112611e2e57600080fd5b813581811115611e4057611e40613237565b604051601f8201601f19908116603f01168101908382118183101715611e6857611e68613237565b816040528281528a6020848701011115611e8157600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611eb857600080fd5b611ec183611d1c565b915060208301358015158114611ed657600080fd5b809150509250929050565b60008060408385031215611ef457600080fd5b611efd83611d1c565b946020939093013593505050565b600060208284031215611f1d57600080fd5b8135611d538161324d565b600060208284031215611f3a57600080fd5b8151611d538161324d565b600060208284031215611f5757600080fd5b5035919050565b60008151808452611f76816020860160208601613149565b601f01601f19169290920160200192915050565b7f3c7061746820636c6173733d22636c732d382220643d224d3236352e33392c3281527f32346131362e34392c31362e34392c302c302c302d382e37352d392e34372c3160208201527f322e33392c31322e33392c302c302c312d372e30392d31302e35372c35302e3760408201527f2c35302e372c302c302c302d3130312e31392c302c31322e34352c31322e343560608201527f2c302c302c312d372e30392c31302e364131362e34392c31362e34392c302c3060808201527f2c302c3133322e352c3232346131362e36392c31362e36392c302c302c302c3260a08201527f312e37332c32312e32352c31332e332c31332e332c302c302c312c31332e313860c08201527f2c312e36392c35302e392c35302e392c302c302c302c32322e33372c31302e3160e08201527f3763362e33312c312e31372c31312e31342c352e38352c31342c31312e3661326101008201527f332e332c32332e332c302c302c302c34342e31332d392e3332632e332d362e366101208201527f322c342e38342d31322c31302e34392d31352e34376131362e33372c31362e336101408201527f372c302c302c302c312e39322d312e33364131362e382c31362e382c302c302c6101608201526f1816191b1a97199c9619191a2d11179f60811b6101808201526101900190565b7f3c6720636c6173733d22636c732d36223e3c7061746820636c6173733d22636c81527f732d372220643d224d3236352e33392c3232392e35356131362e352c31362e3560208201527f2c302c302c302d382e37352d392e34362c31322e342c31322e342c302c302c3160408201527f2d372e30392d31302e35372c35302e372c35302e372c302c302c302d3130312e60608201527f31392c302c31322e34352c31322e34352c302c302c312d372e30392c31302e3660808201527f2c31362e34362c31362e34362c302c302c302d382e37372c392e34372c31362e60a08201527f372c31362e372c302c302c302c32312e37332c32312e32352c31332e332c313360c08201527f2e332c302c302c312c31332e31382c312e36392c35302e392c35302e392c302c60e08201527f302c302c32322e33372c31302e313763362e33312c312e31372c31312e31342c6101008201527f352e38352c31342c31312e366132332e332c32332e332c302c302c302c34342e6101208201527f31332d392e3332632e332d362e36322c342e38342d31322c31302e34392d31356101408201527f2e34376131392e31332c31392e31332c302c302c302c312e39322d312e3336416101608201527f31362e38312c31362e38312c302c302c302c3236352e33392c3232392e35355a6101808201526611179f1e17b39f60c91b6101a08201526101a70190565b6000845161238e818460208901613149565b8451908301906123a2818360208901613149565b84519101906123b5818360208801613149565b0195945050505050565b600082516123d1818460208701613149565b7f3c7465787420783d2232352220793d223235223e4c49434b533a200000000000920191825250601b01919050565b60008251612412818460208701613149565b61113b61263361262e612426848701612174565b7f3c6720636c6173733d22636c732d36223e3c7061746820636c6173733d22636c81527f732d372220643d224d3236352e33392c3136342e32336131362e352c31362e3560208201527f2c302c302c302d382e37352d392e34362c31322e342c31322e342c302c302c3160408201527f2d372e30392d31302e35372c35302e372c35302e372c302c302c302d3130312e60608201527f31392c302c31322e34352c31322e34352c302c302c312d372e30392c31302e3660808201527f2c31362e34362c31362e34362c302c302c302d382e37372c392e34372c31362e60a08201527f372c31362e372c302c302c302c32312e37332c32312e32352c31332e332c313360c08201527f2e332c302c302c312c31332e31382c312e36392c35302e392c35302e392c302c60e08201527f302c302c32322e33372c31302e313763362e33312c312e31372c31312e31342c6101008201527f352e38352c31342c31312e366132332e332c32332e332c302c302c302c34342e6101208201527f31332d392e3332632e332d362e36322c342e38342d31322c31302e34392d31356101408201527f2e34376131392e31332c31392e31332c302c302c302c312e39322d312e3336416101608201527f31362e38312c31362e38312c302c302c302c3236352e33392c3136342e32335a6101808201526611179f1e17b39f60c91b6101a08201526101a70190565b611f8a565b7f3c7061746820636c6173733d22636c732d392220643d224d3236352e33392c3181527f35382e36356131362e352c31362e352c302c302c302d382e37352d392e34362c60208201527f31322e33392c31322e33392c302c302c312d372e30392d31302e35372c35302e60408201527f372c35302e372c302c302c302d3130312e31392c302c31322e34352c31322e3460608201527f352c302c302c312d372e30392c31302e362c31362e34392c31362e34392c302c60808201527f302c302d382e37372c392e34372c31362e36392c31362e36392c302c302c302c60a08201527f32312e37332c32312e32352c31332e332c31332e332c302c302c312c31332e3160c08201527f382c312e36392c35302e392c35302e392c302c302c302c32322e33372c31302e60e08201527f313763362e33312c312e31372c31312e31342c352e38352c31342c31312e36416101008201527f32332e332c32332e332c302c302c302c3234372e392c313934632e332d362e366101208201527f322c342e38342d31322c31302e34392d31352e34376131362e33372c31362e336101408201527f372c302c302c302c312e39322d312e33364131362e38312c31362e38312c302c6101608201527418161816191b1a97199c96189a9c171b1aad11179f60591b6101808201526101950190565b60008251612834818460208701613149565b612842612426828501612174565b7f3c6720636c6173733d22636c732d36223e3c7061746820636c6173733d22636c81527f732d372220643d224d3236352e33392c3136342e32336131362e352c31362e3560208201527f2c302c302c302d382e37352d392e34362c31322e342c31322e342c302c302c3160408201527f2d372e30392d31302e35372c35302e372c35302e372c302c302c302d3130312e60608201527f31392c302c31322e34352c31322e34352c302c302c312d372e30392c31302e3660808201527f2c31362e34362c31362e34362c302c302c302d382e37372c392e34372c31362e60a08201527f372c31362e372c302c302c302c32312e37332c32312e32352c31332e332c313360c08201527f2e332c302c302c312c31332e31382c312e36392c35302e392c35302e392c302c60e08201527f302c302c32322e33372c31302e313763362e33312c312e31372c31312e31342c6101008201527f352e38352c31342c31312e366132332e332c32332e332c302c302c302c34342e6101208201527f31332d392e3332632e332d362e36322c342e38342d31322c31302e34392d31356101408201527f2e34376131392e31332c31392e31332c302c302c302c312e39322d312e3336416101608201527f31362e38312c31362e38312c302c302c302c3236352e33392c3136342e32335a6101808201527f222f3e3c2f673e3c6720636c6173733d22636c732d36223e3c7061746820636c6101a08201527f6173733d22636c732d372220643d224d3236352e33392c39382e39316131362e6101c08201527f352c31362e352c302c302c302d382e37352d392e34362c31322e342c31322e346101e08201527f2c302c302c312d372e30392d31302e35372c35302e372c35302e372c302c302c6102008201527f302d3130312e31392c302c31322e34352c31322e34352c302c302c312d372e306102208201527f392c31302e362c31362e34362c31362e34362c302c302c302d382e37372c392e6102408201527f34372c31362e372c31362e372c302c302c302c32312e37332c32312e32352c316102608201527f332e332c31332e332c302c302c312c31332e31382c312e36394135302e392c356102808201527f302e392c302c302c302c3138392e37382c31333263362e33312c312e31372c316102a08201527f312e31342c352e38352c31342c31312e366132332e332c32332e332c302c302c6102c08201527f302c34342e31332d392e3332632e332d362e36322c342e38342d31322c31302e6102e08201527f34392d31352e34376131392e31332c31392e31332c302c302c302c312e39322d6103008201527f312e33364131362e38312c31362e38312c302c302c302c3236352e33392c39386103208201526a171c98ad11179f1e17b39f60a91b610340820152905061113b612c5761263361034b8401611f8a565b7f3c7061746820636c6173733d22636c732d31302220643d224d3236352e33392c81527f39332e33336131362e352c31362e352c302c302c302d382e37352d392e34362c60208201527f31322e33392c31322e33392c302c302c312d372e30392d31302e35372c35302e60408201527f372c35302e372c302c302c302d3130312e31392c302c31322e34352c31322e3460608201527f352c302c302c312d372e30392c31302e362c31362e34392c31362e34392c302c60808201527f302c302d382e37372c392e34372c31362e36392c31362e36392c302c302c302c60a08201527f32312e37332c32312e32352c31332e332c31332e332c302c302c312c31332e3160c08201527f382c312e36392c35302e392c35302e392c302c302c302c32322e33372c31302e60e08201527f313763362e33312c312e31372c31312e31342c352e38352c31342c31312e36616101008201527f32332e332c32332e332c302c302c302c34342e31332d392e3332632e332d362e6101208201527f36322c342e38342d31322c31302e34392d31352e34376131362e33372c31362e6101408201527f33372c302c302c302c312e39322d312e33364131362e38312c31362e38312c30610160820152741618161816191b1a97199c961c99971999ad11179f60591b6101808201526101950190565b60008251612e58818460208701613149565b61113b61262e828501612174565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000815260008251612e9e81601d850160208701613149565b91909101601d0192915050565b6f7b226e616d65223a2022436f6e65202360801b81528251600090612ed7816010850160208801613149565b7f222c20226465736372697074696f6e223a2022546573742047656c61746f20416010918401918201527f75746f6d6174696f6e206279206175746f2d6c69636b696e6720796f7572207360308201527f776565742047656c61746f204e4654222c2022696d616765223a2022646174616050820152750e9a5b5859d94bdcdd99cade1b5b0ed8985cd94d8d0b60521b60708201528351612f7f816086840160208801613149565b61227d60f01b60869290910191820152608801949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612fcd90830184611f5e565b9695505050505050565b602081526000611d536020830184611f5e565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156130d5576130d56131df565b500190565b600060ff821660ff84168060ff038211156130f7576130f76131df565b019392505050565b60008261310e5761310e6131f5565b500490565b600081600019048311821515161561312d5761312d6131df565b500290565b600082821015613144576131446131df565b500390565b60005b8381101561316457818101518382015260200161314c565b83811115610de35750506000910152565b600181811c9082168061318957607f821691505b602082108114156131aa57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156131c4576131c46131df565b5060010190565b6000826131da576131da6131f5565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146108b157600080fdfe3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f7376672220786d6c6e733a786c696e6b3d22687474703a2f2f7777772e77332e6f72672f313939392f786c696e6b222076696577426f783d223020302034303020343030223e3c646566733e3c7374796c653e2e636c732d317b66696c6c3a236661653763653b7d2e636c732d327b66696c6c3a75726c28236c696e6561722d6772616469656e74293b7d2e636c732d337b66696c6c3a75726c28236c696e6561722d6772616469656e742d32293b7d2e636c732d347b66696c6c3a75726c28236c696e6561722d6772616469656e742d33293b7d2e636c732d357b66696c6c3a75726c28236c696e6561722d6772616469656e742d34293b7d2e636c732d367b6f7061636974793a302e333b7d2e636c732d377b66696c6c3a233335323131633b7d2e636c732d387b66696c6c3a75726c282372616469616c2d6772616469656e74293b7d2e636c732d397b66696c6c3a75726c282372616469616c2d6772616469656e742d32293b7d2e636c732d31307b66696c6c3a75726c282372616469616c2d6772616469656e742d33293b7d3c2f7374796c653e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e74222078313d223136382e3838222079313d22333331222078323d223231382e3839222079323d2233333122206772616469656e74556e6974733d227573657253706163654f6e557365223e3c73746f70206f66667365743d22302e3139222073746f702d636f6c6f723d2223666664373838222f3e3c73746f70206f66667365743d22302e3936222073746f702d636f6c6f723d2223663761323635222f3e3c2f6c696e6561724772616469656e743e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d32222078313d223135352e3634222079313d223330332e3137222078323d223232372e3637222079323d223330332e31372220786c696e6b3a687265663d22236c696e6561722d6772616469656e74222f3e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d33222078313d223134342e3233222079313d223237372e3636222078323d223235332e3636222079323d223237372e36362220786c696e6b3a687265663d22236c696e6561722d6772616469656e74222f3e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d34222078313d223138322e3132222079313d223335382e3631222078323d223231302e31222079323d223335382e36312220786c696e6b3a687265663d22236c696e6561722d6772616469656e74222f3e3c72616469616c4772616469656e742069643d2272616469616c2d6772616469656e74222063783d223137342e3135222063793d223139322e32372220723d223130322e393622206772616469656e74556e6974733d227573657253706163654f6e557365223e3c73746f70206f66667365743d2230222073746f702d636f6c6f723d2223666664396432222f3e3c73746f70206f66667365743d22302e3034222073746f702d636f6c6f723d2223666664356366222f3e3c73746f70206f66667365743d22302e3235222073746f702d636f6c6f723d2223666663356334222f3e3c73746f70206f66667365743d22302e3431222073746f702d636f6c6f723d2223666663306330222f3e3c73746f70206f66667365743d22302e36222073746f702d636f6c6f723d2223666662646264222f3e3c73746f70206f66667365743d22302e3735222073746f702d636f6c6f723d2223666562326232222f3e3c73746f70206f66667365743d22302e39222073746f702d636f6c6f723d2223666461306130222f3e3c73746f70206f66667365743d2231222073746f702d636f6c6f723d2223666339303930222f3e3c2f72616469616c4772616469656e743e3c72616469616c4772616469656e742069643d2272616469616c2d6772616469656e742d32222063783d223137382e3839222063793d223132352e36342220723d2238392e323322206772616469656e74556e6974733d227573657253706163654f6e557365223e3c73746f70206f66667365743d2230222073746f702d636f6c6f723d2223666666222f3e3c73746f70206f66667365743d22302e3237222073746f702d636f6c6f723d2223666666636566222f3e3c73746f70206f66667365743d22302e3438222073746f702d636f6c6f723d2223666666626539222f3e3c73746f70206f66667365743d2231222073746f702d636f6c6f723d2223666366326361222f3e3c2f72616469616c4772616469656e743e3c72616469616c4772616469656e742069643d2272616469616c2d6772616469656e742d33222063783d223138302e3634222063793d2236302e38362220723d2239382e313522206772616469656e74556e6974733d227573657253706163654f6e557365223e3c73746f70206f66667365743d2230222073746f702d636f6c6f723d2223666666396139222f3e3c73746f70206f66667365743d22302e3437222073746f702d636f6c6f723d2223666664383939222f3e3c73746f70206f66667365743d22302e3731222073746f702d636f6c6f723d2223663062363632222f3e3c73746f70206f66667365743d22302e39222073746f702d636f6c6f723d2223653639643363222f3e3c73746f70206f66667365743d2231222073746f702d636f6c6f723d2223653239343264222f3e3c2f72616469616c4772616469656e743e3c2f646566733e3c7265637420636c6173733d22636c732d31222077696474683d2234303022206865696768743d22343030222f3e3c706f6c79676f6e20636c6173733d22636c732d322220706f696e74733d223231382e3839203333352e32203136382e3838203330392e3633203137392e3132203333352e35203231322e3039203335322e3337203231382e3839203333352e32222f3e3c706f6c79676f6e20636c6173733d22636c732d332220706f696e74733d223136352e3838203330322e3035203232302e3837203333302e3138203232372e3637203331332e3031203135352e3634203237362e3137203136352e3838203330322e3035222f3e3c706f6c79676f6e20636c6173733d22636c732d342220706f696e74733d223232392e3636203330372e3939203235332e3636203234372e3334203134342e3233203234372e3334203135322e3634203236382e3539203232392e3636203330372e3939222f3e3c7061746820636c6173733d22636c732d352220643d224d3138322e31322c3334332e30386c31302e36322c32362e383461362e36372c362e36372c302c302c302c31322e34312c306c342e39352d31322e35325a222f3e4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f7376672220786d6c6e733a786c696e6b3d22687474703a2f2f7777772e77332e6f72672f313939392f786c696e6b222076696577426f783d223020302034303020343030223e3c646566733e3c7374796c653e2e636c732d317b66696c6c3a236661653763653b7d3c2f7374796c653e3c2f646566733e3c7265637420636c6173733d22636c732d31222077696474683d2234303022206865696768743d22343030222f3e3c7465787420783d223138352220793d22323030223e59554d213c2f746578743ea2646970667358221220a68e77cd166fd049a422286eb12414461afd50ca49d3c703d9ab489e4718c09064736f6c6343000807003300000000000000000000000000000000000000000000000000000000000000b4

Deployed Bytecode

0x6080604052600436106101bb5760003560e01c80635c975abb116100ec57806395d89b411161008a578063c87b56dd11610064578063c87b56dd146104ee578063e985e9c51461050e578063f2fde38b14610557578063f6cc68e21461057757600080fd5b806395d89b4114610499578063a22cb465146104ae578063b88d4fde146104ce57600080fd5b8063715018a6116100c6578063715018a61461042157806373b2e80e146104365780638456cb59146104665780638da5cb5b1461047b57600080fd5b80635c975abb146103c25780636352211e146103e157806370a082311461040157600080fd5b806323b872dd116101595780633f4ba83a116101335780633f4ba83a1461033957806342842e0e1461034e57806342cde4e81461036e5780634f6ccce7146103a257600080fd5b806323b872dd146102d95780632a3220e6146102f95780632f745c591461031957600080fd5b8063095ea7b311610195578063095ea7b3146102565780631249c58b1461027857806318160ddd1461028d57806318f5d72f146102ac57600080fd5b806301ffc9a7146101c757806306fdde03146101fc578063081812fc1461021e57600080fd5b366101c257005b600080fd5b3480156101d357600080fd5b506101e76101e2366004611f0b565b6105a4565b60405190151581526020015b60405180910390f35b34801561020857600080fd5b506102116105cf565b6040516101f39190612fd7565b34801561022a57600080fd5b5061023e610239366004611f45565b610661565b6040516001600160a01b0390911681526020016101f3565b34801561026257600080fd5b50610276610271366004611ee1565b6106fb565b005b34801561028457600080fd5b50610276610811565b34801561029957600080fd5b506008545b6040519081526020016101f3565b3480156102b857600080fd5b5061029e6102c7366004611f45565b600b6020526000908152604090205481565b3480156102e557600080fd5b506102766102f4366004611d8d565b6108b4565b34801561030557600080fd5b50610276610314366004611f45565b6108e5565b34801561032557600080fd5b5061029e610334366004611ee1565b610a01565b34801561034557600080fd5b50610276610a97565b34801561035a57600080fd5b50610276610369366004611d8d565b610acb565b34801561037a57600080fd5b5061029e7f00000000000000000000000000000000000000000000000000000000000000b481565b3480156103ae57600080fd5b5061029e6103bd366004611f45565b610ae6565b3480156103ce57600080fd5b50600a54600160a01b900460ff166101e7565b3480156103ed57600080fd5b5061023e6103fc366004611f45565b610b79565b34801561040d57600080fd5b5061029e61041c366004611d38565b610bf0565b34801561042d57600080fd5b50610276610c77565b34801561044257600080fd5b506101e7610451366004611d38565b600d6020526000908152604090205460ff1681565b34801561047257600080fd5b50610276610cab565b34801561048757600080fd5b50600a546001600160a01b031661023e565b3480156104a557600080fd5b50610211610cdd565b3480156104ba57600080fd5b506102766104c9366004611ea5565b610cec565b3480156104da57600080fd5b506102766104e9366004611dc9565b610db1565b3480156104fa57600080fd5b50610211610509366004611f45565b610de9565b34801561051a57600080fd5b506101e7610529366004611d5a565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561056357600080fd5b50610276610572366004611d38565b610ed8565b34801561058357600080fd5b5061029e610592366004611f45565b600c6020526000908152604090205481565b60006001600160e01b0319821663780e9d6360e01b14806105c957506105c982610f70565b92915050565b6060600080546105de90613175565b80601f016020809104026020016040519081016040528092919081815260200182805461060a90613175565b80156106575780601f1061062c57610100808354040283529160200191610657565b820191906000526020600020905b81548152906001019060200180831161063a57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166106df5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061070682610b79565b9050806001600160a01b0316836001600160a01b031614156107745760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016106d6565b336001600160a01b038216148061079057506107908133610529565b6108025760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106d6565b61080c8383610fc0565b505050565b336000908152600d602052604090205460ff16156108635760405162461bcd60e51b815260206004820152600f60248201526e185b1c9958591e4818db185a5b5959608a1b60448201526064016106d6565b600061086e60085490565b6108799060016130c2565b6000818152600c6020908152604080832042905533808452600d909252909120805460ff191660011790559091506108b1908261102e565b50565b6108be338261104c565b6108da5760405162461bcd60e51b81526004016106d690613071565b61080c838383611143565b6000818152600260205260409020546001600160a01b03166109425760405162461bcd60e51b81526020600482015260166024820152751d1bdad95b925908191bd95cc81b9bdd08195e1a5cdd60521b60448201526064016106d6565b6000818152600c60205260409020547f00000000000000000000000000000000000000000000000000000000000000b49061097d9042613132565b116109ca5760405162461bcd60e51b815260206004820152601860248201527f627261696e667265657a652c2063616e6e6f74206c69636b000000000000000060448201526064016106d6565b6000818152600b602052604081208054600192906109e99084906130c2565b90915550506000908152600c60205260409020429055565b6000610a0c83610bf0565b8210610a6e5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016106d6565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b03163314610ac15760405162461bcd60e51b81526004016106d69061303c565b610ac96112ee565b565b61080c83838360405180602001604052806000815250610db1565b6000610af160085490565b8210610b545760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016106d6565b60088281548110610b6757610b67613221565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806105c95760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016106d6565b60006001600160a01b038216610c5b5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016106d6565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610ca15760405162461bcd60e51b81526004016106d69061303c565b610ac9600061138b565b600a546001600160a01b03163314610cd55760405162461bcd60e51b81526004016106d69061303c565b610ac96113dd565b6060600180546105de90613175565b6001600160a01b038216331415610d455760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106d6565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610dbb338361104c565b610dd75760405162461bcd60e51b81526004016106d690613071565b610de384848484611465565b50505050565b6000818152600b6020526040902054606090610e03611cf5565b610e0c82611498565b8152610e1782611590565b6020828101918252604080518082018252600d81526c1e17ba32bc3a1f1e17b9bb339f60991b81840152818501819052845193519151600094610e5e94909392910161237c565b60405160208183030381529060405290506000610eab610e7d87611590565b610e86846116b9565b604051602001610e97929190612eab565b6040516020818303038152906040526116b9565b905080604051602001610ebe9190612e66565b60408051601f198184030181529190529695505050505050565b600a546001600160a01b03163314610f025760405162461bcd60e51b81526004016106d69061303c565b6001600160a01b038116610f675760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106d6565b6108b18161138b565b60006001600160e01b031982166380ac58cd60e01b1480610fa157506001600160e01b03198216635b5e139f60e01b145b806105c957506301ffc9a760e01b6001600160e01b03198316146105c9565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610ff582610b79565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b61104882826040518060200160405280600081525061181f565b5050565b6000818152600260205260408120546001600160a01b03166110c55760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106d6565b60006110d083610b79565b9050806001600160a01b0316846001600160a01b0316148061110b5750836001600160a01b031661110084610661565b6001600160a01b0316145b8061113b57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661115682610b79565b6001600160a01b0316146111be5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016106d6565b6001600160a01b0382166112205760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106d6565b61122b838383611852565b611236600082610fc0565b6001600160a01b038316600090815260036020526040812080546001929061125f908490613132565b90915550506001600160a01b038216600090815260036020526040812080546001929061128d9084906130c2565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a54600160a01b900460ff1661133e5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016106d6565b600a805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600a54600160a01b900460ff161561142a5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016106d6565b600a805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861136e3390565b611470848484611143565b61147c8484848461190a565b610de35760405162461bcd60e51b81526004016106d690612fea565b6060600060405180610a0001604052806109ca81526020016132646109ca913990506114c56005846131cb565b6114f057806040516020016114da9190612822565b6040516020818303038152906040529050611568565b6114fb6005846131cb565b6001141561151457806040516020016114da9190612400565b61151f6005846131cb565b6002141561153857806040516020016114da9190612e46565b6115436005846131cb565b600414156115685760405180610120016040528060e98152602001613c6e60e9913990505b8060405160200161157991906123bf565b604051602081830303815290604052915050919050565b6060816115b45750506040805180820190915260018152600360fc1b602082015290565b8160005b81156115de57806115c8816131b0565b91506115d79050600a836130ff565b91506115b8565b60008167ffffffffffffffff8111156115f9576115f9613237565b6040519080825280601f01601f191660200182016040528015611623576020820181803683370190505b509050815b85156116b057611639600182613132565b90506000611648600a886130ff565b61165390600a613113565b61165d9088613132565b6116689060306130da565b905060008160f81b90508084848151811061168557611685613221565b60200101906001600160f81b031916908160001a9053506116a7600a896130ff565b97505050611628565b50949350505050565b8051606090806116d9575050604080516020810190915260008152919050565b600060036116e88360026130c2565b6116f291906130ff565b6116fd906004613113565b9050600061170c8260206130c2565b67ffffffffffffffff81111561172457611724613237565b6040519080825280601f01601f19166020018201604052801561174e576020820181803683370190505b5090506000604051806060016040528060408152602001613c2e604091399050600181016020830160005b868110156117da576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b835260049092019101611779565b5060038606600181146117f4576002811461180557611811565b613d3d60f01b600119830152611811565b603d60f81b6000198301525b505050918152949350505050565b6118298383611a17565b611836600084848461190a565b61080c5760405162461bcd60e51b81526004016106d690612fea565b6001600160a01b0383166118ad576118a881600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6118d0565b816001600160a01b0316836001600160a01b0316146118d0576118d08382611b65565b6001600160a01b0382166118e75761080c81611c02565b826001600160a01b0316826001600160a01b03161461080c5761080c8282611cb1565b60006001600160a01b0384163b15611a0c57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061194e903390899088908890600401612f9a565b602060405180830381600087803b15801561196857600080fd5b505af1925050508015611998575060408051601f3d908101601f1916820190925261199591810190611f28565b60015b6119f2573d8080156119c6576040519150601f19603f3d011682016040523d82523d6000602084013e6119cb565b606091505b5080516119ea5760405162461bcd60e51b81526004016106d690612fea565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061113b565b506001949350505050565b6001600160a01b038216611a6d5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106d6565b6000818152600260205260409020546001600160a01b031615611ad25760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106d6565b611ade60008383611852565b6001600160a01b0382166000908152600360205260408120805460019290611b079084906130c2565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001611b7284610bf0565b611b7c9190613132565b600083815260076020526040902054909150808214611bcf576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611c1490600190613132565b60008381526009602052604081205460088054939450909284908110611c3c57611c3c613221565b906000526020600020015490508060088381548110611c5d57611c5d613221565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611c9557611c9561320b565b6001900381819060005260206000200160009055905550505050565b6000611cbc83610bf0565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b60405180606001604052806003905b6060815260200190600190039081611d045790505090565b80356001600160a01b0381168114611d3357600080fd5b919050565b600060208284031215611d4a57600080fd5b611d5382611d1c565b9392505050565b60008060408385031215611d6d57600080fd5b611d7683611d1c565b9150611d8460208401611d1c565b90509250929050565b600080600060608486031215611da257600080fd5b611dab84611d1c565b9250611db960208501611d1c565b9150604084013590509250925092565b60008060008060808587031215611ddf57600080fd5b611de885611d1c565b9350611df660208601611d1c565b925060408501359150606085013567ffffffffffffffff80821115611e1a57600080fd5b818701915087601f830112611e2e57600080fd5b813581811115611e4057611e40613237565b604051601f8201601f19908116603f01168101908382118183101715611e6857611e68613237565b816040528281528a6020848701011115611e8157600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611eb857600080fd5b611ec183611d1c565b915060208301358015158114611ed657600080fd5b809150509250929050565b60008060408385031215611ef457600080fd5b611efd83611d1c565b946020939093013593505050565b600060208284031215611f1d57600080fd5b8135611d538161324d565b600060208284031215611f3a57600080fd5b8151611d538161324d565b600060208284031215611f5757600080fd5b5035919050565b60008151808452611f76816020860160208601613149565b601f01601f19169290920160200192915050565b7f3c7061746820636c6173733d22636c732d382220643d224d3236352e33392c3281527f32346131362e34392c31362e34392c302c302c302d382e37352d392e34372c3160208201527f322e33392c31322e33392c302c302c312d372e30392d31302e35372c35302e3760408201527f2c35302e372c302c302c302d3130312e31392c302c31322e34352c31322e343560608201527f2c302c302c312d372e30392c31302e364131362e34392c31362e34392c302c3060808201527f2c302c3133322e352c3232346131362e36392c31362e36392c302c302c302c3260a08201527f312e37332c32312e32352c31332e332c31332e332c302c302c312c31332e313860c08201527f2c312e36392c35302e392c35302e392c302c302c302c32322e33372c31302e3160e08201527f3763362e33312c312e31372c31312e31342c352e38352c31342c31312e3661326101008201527f332e332c32332e332c302c302c302c34342e31332d392e3332632e332d362e366101208201527f322c342e38342d31322c31302e34392d31352e34376131362e33372c31362e336101408201527f372c302c302c302c312e39322d312e33364131362e382c31362e382c302c302c6101608201526f1816191b1a97199c9619191a2d11179f60811b6101808201526101900190565b7f3c6720636c6173733d22636c732d36223e3c7061746820636c6173733d22636c81527f732d372220643d224d3236352e33392c3232392e35356131362e352c31362e3560208201527f2c302c302c302d382e37352d392e34362c31322e342c31322e342c302c302c3160408201527f2d372e30392d31302e35372c35302e372c35302e372c302c302c302d3130312e60608201527f31392c302c31322e34352c31322e34352c302c302c312d372e30392c31302e3660808201527f2c31362e34362c31362e34362c302c302c302d382e37372c392e34372c31362e60a08201527f372c31362e372c302c302c302c32312e37332c32312e32352c31332e332c313360c08201527f2e332c302c302c312c31332e31382c312e36392c35302e392c35302e392c302c60e08201527f302c302c32322e33372c31302e313763362e33312c312e31372c31312e31342c6101008201527f352e38352c31342c31312e366132332e332c32332e332c302c302c302c34342e6101208201527f31332d392e3332632e332d362e36322c342e38342d31322c31302e34392d31356101408201527f2e34376131392e31332c31392e31332c302c302c302c312e39322d312e3336416101608201527f31362e38312c31362e38312c302c302c302c3236352e33392c3232392e35355a6101808201526611179f1e17b39f60c91b6101a08201526101a70190565b6000845161238e818460208901613149565b8451908301906123a2818360208901613149565b84519101906123b5818360208801613149565b0195945050505050565b600082516123d1818460208701613149565b7f3c7465787420783d2232352220793d223235223e4c49434b533a200000000000920191825250601b01919050565b60008251612412818460208701613149565b61113b61263361262e612426848701612174565b7f3c6720636c6173733d22636c732d36223e3c7061746820636c6173733d22636c81527f732d372220643d224d3236352e33392c3136342e32336131362e352c31362e3560208201527f2c302c302c302d382e37352d392e34362c31322e342c31322e342c302c302c3160408201527f2d372e30392d31302e35372c35302e372c35302e372c302c302c302d3130312e60608201527f31392c302c31322e34352c31322e34352c302c302c312d372e30392c31302e3660808201527f2c31362e34362c31362e34362c302c302c302d382e37372c392e34372c31362e60a08201527f372c31362e372c302c302c302c32312e37332c32312e32352c31332e332c313360c08201527f2e332c302c302c312c31332e31382c312e36392c35302e392c35302e392c302c60e08201527f302c302c32322e33372c31302e313763362e33312c312e31372c31312e31342c6101008201527f352e38352c31342c31312e366132332e332c32332e332c302c302c302c34342e6101208201527f31332d392e3332632e332d362e36322c342e38342d31322c31302e34392d31356101408201527f2e34376131392e31332c31392e31332c302c302c302c312e39322d312e3336416101608201527f31362e38312c31362e38312c302c302c302c3236352e33392c3136342e32335a6101808201526611179f1e17b39f60c91b6101a08201526101a70190565b611f8a565b7f3c7061746820636c6173733d22636c732d392220643d224d3236352e33392c3181527f35382e36356131362e352c31362e352c302c302c302d382e37352d392e34362c60208201527f31322e33392c31322e33392c302c302c312d372e30392d31302e35372c35302e60408201527f372c35302e372c302c302c302d3130312e31392c302c31322e34352c31322e3460608201527f352c302c302c312d372e30392c31302e362c31362e34392c31362e34392c302c60808201527f302c302d382e37372c392e34372c31362e36392c31362e36392c302c302c302c60a08201527f32312e37332c32312e32352c31332e332c31332e332c302c302c312c31332e3160c08201527f382c312e36392c35302e392c35302e392c302c302c302c32322e33372c31302e60e08201527f313763362e33312c312e31372c31312e31342c352e38352c31342c31312e36416101008201527f32332e332c32332e332c302c302c302c3234372e392c313934632e332d362e366101208201527f322c342e38342d31322c31302e34392d31352e34376131362e33372c31362e336101408201527f372c302c302c302c312e39322d312e33364131362e38312c31362e38312c302c6101608201527418161816191b1a97199c96189a9c171b1aad11179f60591b6101808201526101950190565b60008251612834818460208701613149565b612842612426828501612174565b7f3c6720636c6173733d22636c732d36223e3c7061746820636c6173733d22636c81527f732d372220643d224d3236352e33392c3136342e32336131362e352c31362e3560208201527f2c302c302c302d382e37352d392e34362c31322e342c31322e342c302c302c3160408201527f2d372e30392d31302e35372c35302e372c35302e372c302c302c302d3130312e60608201527f31392c302c31322e34352c31322e34352c302c302c312d372e30392c31302e3660808201527f2c31362e34362c31362e34362c302c302c302d382e37372c392e34372c31362e60a08201527f372c31362e372c302c302c302c32312e37332c32312e32352c31332e332c313360c08201527f2e332c302c302c312c31332e31382c312e36392c35302e392c35302e392c302c60e08201527f302c302c32322e33372c31302e313763362e33312c312e31372c31312e31342c6101008201527f352e38352c31342c31312e366132332e332c32332e332c302c302c302c34342e6101208201527f31332d392e3332632e332d362e36322c342e38342d31322c31302e34392d31356101408201527f2e34376131392e31332c31392e31332c302c302c302c312e39322d312e3336416101608201527f31362e38312c31362e38312c302c302c302c3236352e33392c3136342e32335a6101808201527f222f3e3c2f673e3c6720636c6173733d22636c732d36223e3c7061746820636c6101a08201527f6173733d22636c732d372220643d224d3236352e33392c39382e39316131362e6101c08201527f352c31362e352c302c302c302d382e37352d392e34362c31322e342c31322e346101e08201527f2c302c302c312d372e30392d31302e35372c35302e372c35302e372c302c302c6102008201527f302d3130312e31392c302c31322e34352c31322e34352c302c302c312d372e306102208201527f392c31302e362c31362e34362c31362e34362c302c302c302d382e37372c392e6102408201527f34372c31362e372c31362e372c302c302c302c32312e37332c32312e32352c316102608201527f332e332c31332e332c302c302c312c31332e31382c312e36394135302e392c356102808201527f302e392c302c302c302c3138392e37382c31333263362e33312c312e31372c316102a08201527f312e31342c352e38352c31342c31312e366132332e332c32332e332c302c302c6102c08201527f302c34342e31332d392e3332632e332d362e36322c342e38342d31322c31302e6102e08201527f34392d31352e34376131392e31332c31392e31332c302c302c302c312e39322d6103008201527f312e33364131362e38312c31362e38312c302c302c302c3236352e33392c39386103208201526a171c98ad11179f1e17b39f60a91b610340820152905061113b612c5761263361034b8401611f8a565b7f3c7061746820636c6173733d22636c732d31302220643d224d3236352e33392c81527f39332e33336131362e352c31362e352c302c302c302d382e37352d392e34362c60208201527f31322e33392c31322e33392c302c302c312d372e30392d31302e35372c35302e60408201527f372c35302e372c302c302c302d3130312e31392c302c31322e34352c31322e3460608201527f352c302c302c312d372e30392c31302e362c31362e34392c31362e34392c302c60808201527f302c302d382e37372c392e34372c31362e36392c31362e36392c302c302c302c60a08201527f32312e37332c32312e32352c31332e332c31332e332c302c302c312c31332e3160c08201527f382c312e36392c35302e392c35302e392c302c302c302c32322e33372c31302e60e08201527f313763362e33312c312e31372c31312e31342c352e38352c31342c31312e36616101008201527f32332e332c32332e332c302c302c302c34342e31332d392e3332632e332d362e6101208201527f36322c342e38342d31322c31302e34392d31352e34376131362e33372c31362e6101408201527f33372c302c302c302c312e39322d312e33364131362e38312c31362e38312c30610160820152741618161816191b1a97199c961c99971999ad11179f60591b6101808201526101950190565b60008251612e58818460208701613149565b61113b61262e828501612174565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000815260008251612e9e81601d850160208701613149565b91909101601d0192915050565b6f7b226e616d65223a2022436f6e65202360801b81528251600090612ed7816010850160208801613149565b7f222c20226465736372697074696f6e223a2022546573742047656c61746f20416010918401918201527f75746f6d6174696f6e206279206175746f2d6c69636b696e6720796f7572207360308201527f776565742047656c61746f204e4654222c2022696d616765223a2022646174616050820152750e9a5b5859d94bdcdd99cade1b5b0ed8985cd94d8d0b60521b60708201528351612f7f816086840160208801613149565b61227d60f01b60869290910191820152608801949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612fcd90830184611f5e565b9695505050505050565b602081526000611d536020830184611f5e565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156130d5576130d56131df565b500190565b600060ff821660ff84168060ff038211156130f7576130f76131df565b019392505050565b60008261310e5761310e6131f5565b500490565b600081600019048311821515161561312d5761312d6131df565b500290565b600082821015613144576131446131df565b500390565b60005b8381101561316457818101518382015260200161314c565b83811115610de35750506000910152565b600181811c9082168061318957607f821691505b602082108114156131aa57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156131c4576131c46131df565b5060010190565b6000826131da576131da6131f5565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146108b157600080fdfe3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f7376672220786d6c6e733a786c696e6b3d22687474703a2f2f7777772e77332e6f72672f313939392f786c696e6b222076696577426f783d223020302034303020343030223e3c646566733e3c7374796c653e2e636c732d317b66696c6c3a236661653763653b7d2e636c732d327b66696c6c3a75726c28236c696e6561722d6772616469656e74293b7d2e636c732d337b66696c6c3a75726c28236c696e6561722d6772616469656e742d32293b7d2e636c732d347b66696c6c3a75726c28236c696e6561722d6772616469656e742d33293b7d2e636c732d357b66696c6c3a75726c28236c696e6561722d6772616469656e742d34293b7d2e636c732d367b6f7061636974793a302e333b7d2e636c732d377b66696c6c3a233335323131633b7d2e636c732d387b66696c6c3a75726c282372616469616c2d6772616469656e74293b7d2e636c732d397b66696c6c3a75726c282372616469616c2d6772616469656e742d32293b7d2e636c732d31307b66696c6c3a75726c282372616469616c2d6772616469656e742d33293b7d3c2f7374796c653e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e74222078313d223136382e3838222079313d22333331222078323d223231382e3839222079323d2233333122206772616469656e74556e6974733d227573657253706163654f6e557365223e3c73746f70206f66667365743d22302e3139222073746f702d636f6c6f723d2223666664373838222f3e3c73746f70206f66667365743d22302e3936222073746f702d636f6c6f723d2223663761323635222f3e3c2f6c696e6561724772616469656e743e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d32222078313d223135352e3634222079313d223330332e3137222078323d223232372e3637222079323d223330332e31372220786c696e6b3a687265663d22236c696e6561722d6772616469656e74222f3e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d33222078313d223134342e3233222079313d223237372e3636222078323d223235332e3636222079323d223237372e36362220786c696e6b3a687265663d22236c696e6561722d6772616469656e74222f3e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d34222078313d223138322e3132222079313d223335382e3631222078323d223231302e31222079323d223335382e36312220786c696e6b3a687265663d22236c696e6561722d6772616469656e74222f3e3c72616469616c4772616469656e742069643d2272616469616c2d6772616469656e74222063783d223137342e3135222063793d223139322e32372220723d223130322e393622206772616469656e74556e6974733d227573657253706163654f6e557365223e3c73746f70206f66667365743d2230222073746f702d636f6c6f723d2223666664396432222f3e3c73746f70206f66667365743d22302e3034222073746f702d636f6c6f723d2223666664356366222f3e3c73746f70206f66667365743d22302e3235222073746f702d636f6c6f723d2223666663356334222f3e3c73746f70206f66667365743d22302e3431222073746f702d636f6c6f723d2223666663306330222f3e3c73746f70206f66667365743d22302e36222073746f702d636f6c6f723d2223666662646264222f3e3c73746f70206f66667365743d22302e3735222073746f702d636f6c6f723d2223666562326232222f3e3c73746f70206f66667365743d22302e39222073746f702d636f6c6f723d2223666461306130222f3e3c73746f70206f66667365743d2231222073746f702d636f6c6f723d2223666339303930222f3e3c2f72616469616c4772616469656e743e3c72616469616c4772616469656e742069643d2272616469616c2d6772616469656e742d32222063783d223137382e3839222063793d223132352e36342220723d2238392e323322206772616469656e74556e6974733d227573657253706163654f6e557365223e3c73746f70206f66667365743d2230222073746f702d636f6c6f723d2223666666222f3e3c73746f70206f66667365743d22302e3237222073746f702d636f6c6f723d2223666666636566222f3e3c73746f70206f66667365743d22302e3438222073746f702d636f6c6f723d2223666666626539222f3e3c73746f70206f66667365743d2231222073746f702d636f6c6f723d2223666366326361222f3e3c2f72616469616c4772616469656e743e3c72616469616c4772616469656e742069643d2272616469616c2d6772616469656e742d33222063783d223138302e3634222063793d2236302e38362220723d2239382e313522206772616469656e74556e6974733d227573657253706163654f6e557365223e3c73746f70206f66667365743d2230222073746f702d636f6c6f723d2223666666396139222f3e3c73746f70206f66667365743d22302e3437222073746f702d636f6c6f723d2223666664383939222f3e3c73746f70206f66667365743d22302e3731222073746f702d636f6c6f723d2223663062363632222f3e3c73746f70206f66667365743d22302e39222073746f702d636f6c6f723d2223653639643363222f3e3c73746f70206f66667365743d2231222073746f702d636f6c6f723d2223653239343264222f3e3c2f72616469616c4772616469656e743e3c2f646566733e3c7265637420636c6173733d22636c732d31222077696474683d2234303022206865696768743d22343030222f3e3c706f6c79676f6e20636c6173733d22636c732d322220706f696e74733d223231382e3839203333352e32203136382e3838203330392e3633203137392e3132203333352e35203231322e3039203335322e3337203231382e3839203333352e32222f3e3c706f6c79676f6e20636c6173733d22636c732d332220706f696e74733d223136352e3838203330322e3035203232302e3837203333302e3138203232372e3637203331332e3031203135352e3634203237362e3137203136352e3838203330322e3035222f3e3c706f6c79676f6e20636c6173733d22636c732d342220706f696e74733d223232392e3636203330372e3939203235332e3636203234372e3334203134342e3233203234372e3334203135322e3634203236382e3539203232392e3636203330372e3939222f3e3c7061746820636c6173733d22636c732d352220643d224d3138322e31322c3334332e30386c31302e36322c32362e383461362e36372c362e36372c302c302c302c31322e34312c306c342e39352d31322e35325a222f3e4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f7376672220786d6c6e733a786c696e6b3d22687474703a2f2f7777772e77332e6f72672f313939392f786c696e6b222076696577426f783d223020302034303020343030223e3c646566733e3c7374796c653e2e636c732d317b66696c6c3a236661653763653b7d3c2f7374796c653e3c2f646566733e3c7265637420636c6173733d22636c732d31222077696474683d2234303022206865696768743d22343030222f3e3c7465787420783d223138352220793d22323030223e59554d213c2f746578743ea2646970667358221220a68e77cd166fd049a422286eb12414461afd50ca49d3c703d9ab489e4718c09064736f6c63430008070033

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

00000000000000000000000000000000000000000000000000000000000000b4

-----Decoded View---------------
Arg [0] : threshold_ (uint256): 180

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000b4


[ 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.