ETH Price: $3,441.56 (-0.23%)
Gas: 6 Gwei

Token

Frog Soup (SOUP)
 

Overview

Max Total Supply

1,853 SOUP

Holders

176

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
10 SOUP
0xed44ceb196ea8d15654d677a3b49fee3b6724066
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
FrogSoup

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 3 : SoupTest.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

// May 27th 2023
// https://frogsoup.cafe

/*

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

*/

// Import the Uniswap Router and Token interfaces for cooking toads
import '@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol';

//IERC20 for Token usage
interface IERC20 {
    function transfer(address _to, uint256 _amount) external returns (bool);
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
    function balanceOf(address account) external view returns (uint256);
}

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

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

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


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


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


/**
 * @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;
        // solhint-disable-next-line no-inline-assembly
        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");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}


/*
 * @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) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}


/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant alphabet = "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] = alphabet[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

}


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

/**
 * @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}. 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(to).onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    // solhint-disable-next-line no-inline-assembly
                    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` 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 { }
}

/**
 * @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 () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

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

contract FrogSoup is ERC721Enumerable, Ownable {

    using Strings for uint256;

    string _baseTokenURI;
    string _baseContractURI;

    uint256 private _price1 = 0.03 ether;  // Single Soup
    uint256 private _price3 = 0.08 ether;  // Triple Bundle
    uint256 private _price5 = 0.12 ether;  // Penta Bundle
    uint256 private _price10 = 0.20 ether; // Deca Bundle

    bool public _paused = true;
    uint256 public immutable collectionSize = 5029; //Total Supply

    //Constants for Cooking Frogs
    IUniswapV2Router02 private uniswapRouter;
    address private UNISWAP_ROUTER_ADDRESS = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; //Router for Buying Toad to cook
    address private constant TOAD_ADDRESS = 0x370a366f402e2e41CDBbE54EcEC12aaE0cce1955;  //Where to buy Toad (Token contract Address)
    address private constant SOUP_KITCHEN = 0x38e1d4314a38c60C6ab3b98b0a89a4411D839d44; //For storing our purchased Toads where no one can get them

    //Soup Chef aka Contract Owner
    address private constant HEAD_CHEF = 0x544E205B0715a74f567e45342Bf59ACB333Ff28B;

    constructor(string memory baseURI) ERC721("Frog Soup", "SOUP")  {   
        uniswapRouter = IUniswapV2Router02(UNISWAP_ROUTER_ADDRESS);
        setBaseURI(baseURI);
        setContractURI(baseURI);

        //Mint Soup #0 for special giveaway reward ;)
        _safeMint(HEAD_CHEF, 0);
    }

    //Ordering Soup off the menu - aka Minting NFTs
    function mint1() public payable {
        uint256 supply = totalSupply();
        require( !_paused,                              "Minting paused" );
        require( supply + 1 < collectionSize,       "Exceeds maximum soup supply" );
        require( msg.value >= _price1,             "Ether sent is not correct" );

        for(uint256 i; i < 1; i++){
            _safeMint( msg.sender, supply + i );
        }
    }

    function mint3() public payable {
        uint256 supply = totalSupply();
        require( !_paused,                              "Minting paused" );
        require( supply + 3 < collectionSize,       "Exceeds maximum soup supply" );
        require( msg.value >= _price3,             "Ether sent is not correct" );

        for(uint256 i; i < 3; i++){
            _safeMint( msg.sender, supply + i );
        }
    }

    function mint5() public payable {
        uint256 supply = totalSupply();
        require( !_paused,                              "Minting paused" );
        require( supply + 5 < collectionSize,       "Exceeds maximum soup supply" );
        require( msg.value >= _price5,             "Ether sent is not correct" );

        for(uint256 i; i < 5; i++){
            _safeMint( msg.sender, supply + i );
        }
    }

    function mint10() public payable {
        uint256 supply = totalSupply();
        require( !_paused,                              "Minting paused" );
        require( supply + 10 < collectionSize,       "Exceeds maximum soup supply" );
        require( msg.value >= _price10,             "Ether sent is not correct" );

        for(uint256 i; i < 10; i++){
            _safeMint( msg.sender, supply + i );
        }
    }
    // Above is minting

    //View Tokens owned by wallet address - used for potential soup gallery and apis
    function walletOfOwner(address _owner) public view returns(uint256[] memory) {
        uint256 tokenCount = balanceOf(_owner);

        uint256[] memory tokensId = new uint256[](tokenCount);
        for(uint256 i; i < tokenCount; i++){
            tokensId[i] = tokenOfOwnerByIndex(_owner, i);
        }
        return tokensId;
    }

    // Just in case Eth does some crazy stuff and we need to rebalance mint prices, per bundle
    function setPrice(uint256 _newPrice, uint256 _bundle) public onlyOwner() {
        if (_bundle == 1) {
            _price1 = _newPrice * 1 ether;
        } else if (_bundle == 3) {
            _price3 = _newPrice * 1 ether;
        } else if (_bundle == 5) {
            _price5 = _newPrice * 1 ether;
        } else if (_bundle == 10) {
            _price10 = _newPrice * 1 ether;
        } else {
            revert("Please provide a correct bundle value");
        }
    }

    //Get URI for token
    function _baseURI() internal view virtual override returns (string memory) {
        return _baseTokenURI;
    }

    //For updating URI once minted out and moved to IPFS
    function setBaseURI(string memory baseURI) public onlyOwner {
        _baseTokenURI = baseURI;
    }

    //Collection Metadata for Opensea
    function contractURI() public view returns (string memory) {
        return _baseContractURI;
    }

    //For updating URI once moved to IPFS
    function setContractURI(string memory baseURI) public onlyOwner {
        _baseContractURI = baseURI;
    }

    //Bulk Mint for promotions, airdrops, giveaways, etc - 1 per address sent
    function soupCatering(address[] calldata recipients) external onlyOwner {
        require(recipients.length > 0, "Invalid addresses");
        uint256 supply = totalSupply();
        uint256 amount = recipients.length;
        require(supply + amount <= collectionSize, "Max supply exceeded");

        for (uint256 i = 0; i < recipients.length; i++){
            _safeMint(recipients[i], supply + i);
        }
    }

    //Pause minting for any reason
    function pause(bool val) public onlyOwner {
        _paused = val;
    }

    //Ability to update Uniswap Router address for Future-proofing
    function setRouter(address newRouter) public onlyOwner {
        UNISWAP_ROUTER_ADDRESS = newRouter;
        uniswapRouter = IUniswapV2Router02(UNISWAP_ROUTER_ADDRESS);
    }

    //Chef Withdrawal for fund usage - e.g. Gas for airdrop mints, cost of hosting, marketing, etc
    function withdrawForChef(uint256 weiAmount) public payable onlyOwner {
        require(payable(HEAD_CHEF).send(weiAmount));
    }

    //Safety net in case we need to withdraw/refund any ERC20 tokens from contract (e.g. if people send tokens, etc)
    function withdrawToken(address _tokenContract, uint256 _amount, address _to) external onlyOwner {
        IERC20 tokenContract = IERC20(_tokenContract);
        tokenContract.transfer(_to, _amount);
    }

    //Function to buy Toad and store in Kitchen 
    function getToads(uint256 weiAmount) external onlyOwner {
        address[] memory path = new address[](2);
        path[0] = uniswapRouter.WETH();
        path[1] = TOAD_ADDRESS;
        
        // Set the deadline for the swap transaction
        uint256 deadline = block.timestamp + 180;  // 3 minute deadline

        // Perform the Toad purchase
        uniswapRouter.swapExactETHForTokens{value: weiAmount}(
            0,  // Accept any amount of Toad for our ETH
            path,
            SOUP_KITCHEN, //Send directly to our kitchen for storage
            deadline
        );
    }
}

File 2 of 3 : IUniswapV2Router02.sol
pragma solidity >=0.6.2;

import './IUniswapV2Router01.sol';

interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);
    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountETH);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}

File 3 of 3 : IUniswapV2Router01.sol
pragma solidity >=0.6.2;

interface IUniswapV2Router01 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"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":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"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":[],"name":"collectionSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"weiAmount","type":"uint256"}],"name":"getToads","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint1","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mint10","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mint3","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mint5","outputs":[],"stateMutability":"payable","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":[{"internalType":"bool","name":"val","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","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":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"},{"internalType":"uint256","name":"_bundle","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newRouter","type":"address"}],"name":"setRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"}],"name":"soupCatering","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"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":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"weiAmount","type":"uint256"}],"name":"withdrawForChef","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenContract","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"withdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a0604052666a94d74f430000600d5567011c37937e080000600e556701aa535d3d0c0000600f556702c68af0bb1400006010556011805460ff191660011790556113a5608052601280546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d1790553480156200007957600080fd5b5060405162003af438038062003af48339810160408190526200009c9162000929565b6040805180820182526009815268046726f6720536f75760bc1b6020808301918252835180850190945260048452630534f55560e41b908401528151919291620000e99160009162000852565b508051620000ff90600190602084019062000852565b505050600062000114620001c960201b60201c565b600a80546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350601254601180546001600160a01b0390921661010002610100600160a81b03199092169190911790556200019681620001cd565b620001a18162000235565b620001c273544e205b0715a74f567e45342bf59acb333ff28b600062000290565b5062000c3b565b3390565b620001d7620001c9565b6001600160a01b0316620001ea620002b2565b6001600160a01b0316146200021c5760405162461bcd60e51b8152600401620002139062000b35565b60405180910390fd5b80516200023190600b90602084019062000852565b5050565b6200023f620001c9565b6001600160a01b031662000252620002b2565b6001600160a01b0316146200027b5760405162461bcd60e51b8152600401620002139062000b35565b80516200023190600c90602084019062000852565b62000231828260405180602001604052806000815250620002c160201b60201c565b600a546001600160a01b031690565b620002cd838362000300565b620002dc6000848484620003eb565b620002fb5760405162461bcd60e51b8152600401620002139062000a2d565b505050565b6001600160a01b038216620003295760405162461bcd60e51b8152600401620002139062000b00565b620003348162000524565b15620003545760405162461bcd60e51b8152600401620002139062000a7f565b620003626000838362000541565b6001600160a01b03821660009081526003602052604081208054600192906200038d90849062000b6a565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006200040c846001600160a01b0316620005e560201b620017571760201c565b1562000518576001600160a01b03841663150b7a026200042b620001c9565b8786866040518563ffffffff1660e01b81526004016200044f9493929190620009d7565b602060405180830381600087803b1580156200046a57600080fd5b505af19250505080156200049d575060408051601f3d908101601f191682019092526200049a91810190620008f8565b60015b620004fd573d808015620004ce576040519150601f19603f3d011682016040523d82523d6000602084013e620004d3565b606091505b508051620004f55760405162461bcd60e51b8152600401620002139062000a2d565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506200051c565b5060015b949350505050565b6000908152600260205260409020546001600160a01b0316151590565b62000559838383620002fb60201b620009a21760201c565b6001600160a01b03831662000579576200057381620005eb565b6200059f565b816001600160a01b0316836001600160a01b0316146200059f576200059f83826200062f565b6001600160a01b038216620005bf57620005b981620006dc565b620002fb565b826001600160a01b0316826001600160a01b031614620002fb57620002fb8282620007ba565b3b151590565b600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6000600162000649846200080b60201b62000ebf1760201c565b62000655919062000b85565b600083815260076020526040902054909150808214620006a9576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090620006f09060019062000b85565b600083815260096020526040812054600880549394509092849081106200072757634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080600883815481106200075757634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806200079e57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000620007d2836200080b60201b62000ebf1760201c565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b60006001600160a01b038216620008365760405162461bcd60e51b8152600401620002139062000ab6565b506001600160a01b031660009081526003602052604090205490565b828054620008609062000bd2565b90600052602060002090601f016020900481019282620008845760008555620008cf565b82601f106200089f57805160ff1916838001178555620008cf565b82800160010185558215620008cf579182015b82811115620008cf578251825591602001919060010190620008b2565b50620008dd929150620008e1565b5090565b5b80821115620008dd5760008155600101620008e2565b6000602082840312156200090a578081fd5b81516001600160e01b03198116811462000922578182fd5b9392505050565b6000602082840312156200093b578081fd5b81516001600160401b038082111562000952578283fd5b818401915084601f83011262000966578283fd5b8151818111156200097b576200097b62000c25565b604051601f8201601f191681016020018381118282101715620009a257620009a262000c25565b604052818152838201602001871015620009ba578485fd5b620009cd82602083016020870162000b9f565b9695505050505050565b600060018060a01b03808716835280861660208401525083604083015260806060830152825180608084015262000a168160a085016020870162000b9f565b601f01601f19169190910160a00195945050505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000821982111562000b805762000b8062000c0f565b500190565b60008282101562000b9a5762000b9a62000c0f565b500390565b60005b8381101562000bbc57818101518382015260200162000ba2565b8381111562000bcc576000848401525b50505050565b60028104600182168062000be757607f821691505b6020821081141562000c0957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b608051612e7a62000c7a600039600081816106d50152818161083701528181610b3a01528181610caa01528181610d3701526110fc0152612e7a6000f3fe60806040526004361061020f5760003560e01c806355f804b311610118578063b1d22793116100a0578063e8a3d4851161006f578063e8a3d48514610586578063e985e9c51461059b578063f2fde38b146105bb578063f7d97577146105db578063fa5bceea146105fb5761020f565b8063b1d2279314610513578063b88d4fde14610526578063c0d7865514610546578063c87b56dd146105665761020f565b80638da5cb5b116100e75780638da5cb5b146104a1578063938e3d7b146104b657806395d89b41146104d6578063a22cb465146104eb578063a9decdda1461050b5761020f565b806355f804b31461042c5780636352211e1461044c57806370a082311461046c578063715018a61461048c5761020f565b806323b872dd1161019b57806342842e0e1161016a57806342842e0e1461038a578063438b6300146103aa57806345c0f533146103d75780634d7e8a2f146103ec5780634f6ccce71461040c5761020f565b806323b872dd146103225780632f745c59146103425780633ccdbb28146103625780633f85880d146103825761020f565b80630788ce79116101e25780630788ce7914610296578063081812fc1461029e578063095ea7b3146102cb57806316c61ccc146102eb57806318160ddd146103005761020f565b806301ffc9a71461021457806302329a291461024a578063044b4b5d1461026c57806306fdde0314610274575b600080fd5b34801561022057600080fd5b5061023461022f366004612427565b61061b565b60405161024191906125e7565b60405180910390f35b34801561025657600080fd5b5061026a6102653660046123ef565b610648565b005b61026a6106a3565b34801561028057600080fd5b50610289610773565b604051610241919061265b565b61026a610805565b3480156102aa57600080fd5b506102be6102b93660046124a5565b6108cc565b6040516102419190612539565b3480156102d757600080fd5b5061026a6102e636600461226d565b61090f565b3480156102f757600080fd5b506102346109a7565b34801561030c57600080fd5b506103156109b0565b6040516102419190612c9e565b34801561032e57600080fd5b5061026a61033d366004612183565b6109b6565b34801561034e57600080fd5b5061031561035d36600461226d565b6109ee565b34801561036e57600080fd5b5061026a61037d366004612298565b610a40565b61026a610b08565b34801561039657600080fd5b5061026a6103a5366004612183565b610bcf565b3480156103b657600080fd5b506103ca6103c5366004612113565b610bea565b60405161024191906125a3565b3480156103e357600080fd5b50610315610ca8565b3480156103f857600080fd5b5061026a6104073660046122d9565b610ccc565b34801561041857600080fd5b506103156104273660046124a5565b610ddd565b34801561043857600080fd5b5061026a61044736600461245f565b610e38565b34801561045857600080fd5b506102be6104673660046124a5565b610e8a565b34801561047857600080fd5b50610315610487366004612113565b610ebf565b34801561049857600080fd5b5061026a610f03565b3480156104ad57600080fd5b506102be610f8c565b3480156104c257600080fd5b5061026a6104d136600461245f565b610f9b565b3480156104e257600080fd5b50610289610fed565b3480156104f757600080fd5b5061026a610506366004612240565b610ffc565b61026a6110ca565b61026a6105213660046124a5565b611191565b34801561053257600080fd5b5061026a6105413660046121c3565b61120c565b34801561055257600080fd5b5061026a610561366004612113565b61124b565b34801561057257600080fd5b506102896105813660046124a5565b6112c8565b34801561059257600080fd5b5061028961134b565b3480156105a757600080fd5b506102346105b636600461214b565b61135a565b3480156105c757600080fd5b5061026a6105d6366004612113565b611388565b3480156105e757600080fd5b5061026a6105f63660046124bd565b611449565b34801561060757600080fd5b5061026a6106163660046124a5565b61152c565b60006001600160e01b0319821663780e9d6360e01b148061064057506106408261175d565b90505b919050565b61065061179d565b6001600160a01b0316610661610f8c565b6001600160a01b0316146106905760405162461bcd60e51b815260040161068790612a15565b60405180910390fd5b6011805460ff1916911515919091179055565b60006106ad6109b0565b60115490915060ff16156106d35760405162461bcd60e51b815260040161068790612738565b7f00000000000000000000000000000000000000000000000000000000000000006106ff826001612cd1565b1061071c5760405162461bcd60e51b815260040161068790612bf0565b600d5434101561073e5760405162461bcd60e51b815260040161068790612b68565b60005b600181101561076f5761075d336107588385612cd1565b6117a1565b8061076781612d9a565b915050610741565b5050565b60606000805461078290612d5f565b80601f01602080910402602001604051908101604052809291908181526020018280546107ae90612d5f565b80156107fb5780601f106107d0576101008083540402835291602001916107fb565b820191906000526020600020905b8154815290600101906020018083116107de57829003601f168201915b5050505050905090565b600061080f6109b0565b60115490915060ff16156108355760405162461bcd60e51b815260040161068790612738565b7f0000000000000000000000000000000000000000000000000000000000000000610861826003612cd1565b1061087e5760405162461bcd60e51b815260040161068790612bf0565b600e543410156108a05760405162461bcd60e51b815260040161068790612b68565b60005b600381101561076f576108ba336107588385612cd1565b806108c481612d9a565b9150506108a3565b60006108d7826117bb565b6108f35760405162461bcd60e51b8152600401610687906129c9565b506000908152600460205260409020546001600160a01b031690565b600061091a82610e8a565b9050806001600160a01b0316836001600160a01b0316141561094e5760405162461bcd60e51b815260040161068790612b27565b806001600160a01b031661096061179d565b6001600160a01b0316148061097c575061097c816105b661179d565b6109985760405162461bcd60e51b8152600401610687906128a4565b6109a283836117d8565b505050565b60115460ff1681565b60085490565b6109c76109c161179d565b82611846565b6109e35760405162461bcd60e51b815260040161068790612b9f565b6109a28383836118cb565b60006109f983610ebf565b8210610a175760405162461bcd60e51b81526004016106879061269b565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b610a4861179d565b6001600160a01b0316610a59610f8c565b6001600160a01b031614610a7f5760405162461bcd60e51b815260040161068790612a15565b60405163a9059cbb60e01b815283906001600160a01b0382169063a9059cbb90610aaf908590879060040161258a565b602060405180830381600087803b158015610ac957600080fd5b505af1158015610add573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b01919061240b565b5050505050565b6000610b126109b0565b60115490915060ff1615610b385760405162461bcd60e51b815260040161068790612738565b7f0000000000000000000000000000000000000000000000000000000000000000610b6482600a612cd1565b10610b815760405162461bcd60e51b815260040161068790612bf0565b601054341015610ba35760405162461bcd60e51b815260040161068790612b68565b60005b600a81101561076f57610bbd336107588385612cd1565b80610bc781612d9a565b915050610ba6565b6109a28383836040518060200160405280600081525061120c565b60606000610bf783610ebf565b905060008167ffffffffffffffff811115610c2257634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610c4b578160200160208202803683370190505b50905060005b82811015610ca057610c6385826109ee565b828281518110610c8357634e487b7160e01b600052603260045260246000fd5b602090810291909101015280610c9881612d9a565b915050610c51565b509392505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b610cd461179d565b6001600160a01b0316610ce5610f8c565b6001600160a01b031614610d0b5760405162461bcd60e51b815260040161068790612a15565b80610d285760405162461bcd60e51b815260040161068790612c73565b6000610d326109b0565b9050817f0000000000000000000000000000000000000000000000000000000000000000610d608284612cd1565b1115610d7e5760405162461bcd60e51b81526004016106879061266e565b60005b83811015610b0157610dcb858583818110610dac57634e487b7160e01b600052603260045260246000fd5b9050602002016020810190610dc19190612113565b6107588386612cd1565b80610dd581612d9a565b915050610d81565b6000610de76109b0565b8210610e055760405162461bcd60e51b815260040161068790612c27565b60088281548110610e2657634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b610e4061179d565b6001600160a01b0316610e51610f8c565b6001600160a01b031614610e775760405162461bcd60e51b815260040161068790612a15565b805161076f90600b906020840190612022565b6000818152600260205260408120546001600160a01b0316806106405760405162461bcd60e51b81526004016106879061294b565b60006001600160a01b038216610ee75760405162461bcd60e51b815260040161068790612901565b506001600160a01b031660009081526003602052604090205490565b610f0b61179d565b6001600160a01b0316610f1c610f8c565b6001600160a01b031614610f425760405162461bcd60e51b815260040161068790612a15565b600a546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80546001600160a01b0319169055565b600a546001600160a01b031690565b610fa361179d565b6001600160a01b0316610fb4610f8c565b6001600160a01b031614610fda5760405162461bcd60e51b815260040161068790612a15565b805161076f90600c906020840190612022565b60606001805461078290612d5f565b61100461179d565b6001600160a01b0316826001600160a01b031614156110355760405162461bcd60e51b815260040161068790612821565b806005600061104261179d565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff19169215159290921790915561108661179d565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516110be91906125e7565b60405180910390a35050565b60006110d46109b0565b60115490915060ff16156110fa5760405162461bcd60e51b815260040161068790612738565b7f0000000000000000000000000000000000000000000000000000000000000000611126826005612cd1565b106111435760405162461bcd60e51b815260040161068790612bf0565b600f543410156111655760405162461bcd60e51b815260040161068790612b68565b60005b600581101561076f5761117f336107588385612cd1565b8061118981612d9a565b915050611168565b61119961179d565b6001600160a01b03166111aa610f8c565b6001600160a01b0316146111d05760405162461bcd60e51b815260040161068790612a15565b60405173544e205b0715a74f567e45342bf59acb333ff28b9082156108fc029083906000818181858888f1935050505061120957600080fd5b50565b61121d61121761179d565b83611846565b6112395760405162461bcd60e51b815260040161068790612b9f565b611245848484846119f8565b50505050565b61125361179d565b6001600160a01b0316611264610f8c565b6001600160a01b03161461128a5760405162461bcd60e51b815260040161068790612a15565b601280546001600160a01b039283166001600160a01b03199091161790819055601180549190921661010002610100600160a81b0319909116179055565b60606112d3826117bb565b6112ef5760405162461bcd60e51b815260040161068790612ad8565b60006112f9611a2b565b905060008151116113195760405180602001604052806000815250611344565b8061132384611a3a565b60405160200161133492919061250a565b6040516020818303038152906040525b9392505050565b6060600c805461078290612d5f565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61139061179d565b6001600160a01b03166113a1610f8c565b6001600160a01b0316146113c75760405162461bcd60e51b815260040161068790612a15565b6001600160a01b0381166113ed5760405162461bcd60e51b815260040161068790612760565b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b61145161179d565b6001600160a01b0316611462610f8c565b6001600160a01b0316146114885760405162461bcd60e51b815260040161068790612a15565b80600114156114ab576114a382670de0b6b3a7640000612cfd565b600d5561076f565b80600314156114ce576114c682670de0b6b3a7640000612cfd565b600e5561076f565b80600514156114f1576114e982670de0b6b3a7640000612cfd565b600f5561076f565b80600a14156115145761150c82670de0b6b3a7640000612cfd565b60105561076f565b60405162461bcd60e51b815260040161068790612a4a565b61153461179d565b6001600160a01b0316611545610f8c565b6001600160a01b03161461156b5760405162461bcd60e51b815260040161068790612a15565b604080516002808252606082018352600092602083019080368337019050509050601160019054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156115da57600080fd5b505afa1580156115ee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611612919061212f565b8160008151811061163357634e487b7160e01b600052603260045260246000fd5b60200260200101906001600160a01b031690816001600160a01b03168152505073370a366f402e2e41cdbbe54ecec12aae0cce19558160018151811061168957634e487b7160e01b600052603260045260246000fd5b6001600160a01b039092166020928302919091019091015260006116ae4260b4612cd1565b601154604051637ff36ab560e01b815291925061010090046001600160a01b031690637ff36ab59085906117019060009087907338e1d4314a38c60c6ab3b98b0a89a4411d839d449088906004016125f2565b6000604051808303818588803b15801561171a57600080fd5b505af115801561172e573d6000803e3d6000fd5b50505050506040513d6000823e601f3d908101601f191682016040526112459190810190612348565b3b151590565b60006001600160e01b031982166380ac58cd60e01b148061178e57506001600160e01b03198216635b5e139f60e01b145b80610640575061064082611b55565b3390565b61076f828260405180602001604052806000815250611b6e565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061180d82610e8a565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611851826117bb565b61186d5760405162461bcd60e51b815260040161068790612858565b600061187883610e8a565b9050806001600160a01b0316846001600160a01b031614806118b35750836001600160a01b03166118a8846108cc565b6001600160a01b0316145b806118c357506118c3818561135a565b949350505050565b826001600160a01b03166118de82610e8a565b6001600160a01b0316146119045760405162461bcd60e51b815260040161068790612a8f565b6001600160a01b03821661192a5760405162461bcd60e51b8152600401610687906127dd565b611935838383611ba1565b6119406000826117d8565b6001600160a01b0383166000908152600360205260408120805460019290611969908490612d1c565b90915550506001600160a01b0382166000908152600360205260408120805460019290611997908490612cd1565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b611a038484846118cb565b611a0f84848484611c2a565b6112455760405162461bcd60e51b8152600401610687906126e6565b6060600b805461078290612d5f565b606081611a5f57506040805180820190915260018152600360fc1b6020820152610643565b8160005b8115611a895780611a7381612d9a565b9150611a829050600a83612ce9565b9150611a63565b60008167ffffffffffffffff811115611ab257634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611adc576020820181803683370190505b5090505b84156118c357611af1600183612d1c565b9150611afe600a86612db5565b611b09906030612cd1565b60f81b818381518110611b2c57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611b4e600a86612ce9565b9450611ae0565b6001600160e01b031981166301ffc9a760e01b14919050565b611b788383611d45565b611b856000848484611c2a565b6109a25760405162461bcd60e51b8152600401610687906126e6565b611bac8383836109a2565b6001600160a01b038316611bc857611bc381611e24565b611beb565b816001600160a01b0316836001600160a01b031614611beb57611beb8382611e68565b6001600160a01b038216611c0757611c0281611f05565b6109a2565b826001600160a01b0316826001600160a01b0316146109a2576109a28282611fde565b6000611c3e846001600160a01b0316611757565b15611d3a57836001600160a01b031663150b7a02611c5a61179d565b8786866040518563ffffffff1660e01b8152600401611c7c949392919061254d565b602060405180830381600087803b158015611c9657600080fd5b505af1925050508015611cc6575060408051601f3d908101601f19168201909252611cc391810190612443565b60015b611d20573d808015611cf4576040519150601f19603f3d011682016040523d82523d6000602084013e611cf9565b606091505b508051611d185760405162461bcd60e51b8152600401610687906126e6565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506118c3565b506001949350505050565b6001600160a01b038216611d6b5760405162461bcd60e51b815260040161068790612994565b611d74816117bb565b15611d915760405162461bcd60e51b8152600401610687906127a6565b611d9d60008383611ba1565b6001600160a01b0382166000908152600360205260408120805460019290611dc6908490612cd1565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b60006001611e7584610ebf565b611e7f9190612d1c565b600083815260076020526040902054909150808214611ed2576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611f1790600190612d1c565b60008381526009602052604081205460088054939450909284908110611f4d57634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508060088381548110611f7c57634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611fc257634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000611fe983610ebf565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b82805461202e90612d5f565b90600052602060002090601f0160209004810192826120505760008555612096565b82601f1061206957805160ff1916838001178555612096565b82800160010185558215612096579182015b8281111561209657825182559160200191906001019061207b565b506120a29291506120a6565b5090565b5b808211156120a257600081556001016120a7565b600067ffffffffffffffff8311156120d5576120d5612df5565b6120e8601f8401601f1916602001612ca7565b90508281528383830111156120fc57600080fd5b828260208301376000602084830101529392505050565b600060208284031215612124578081fd5b813561134481612e0b565b600060208284031215612140578081fd5b815161134481612e0b565b6000806040838503121561215d578081fd5b823561216881612e0b565b9150602083013561217881612e0b565b809150509250929050565b600080600060608486031215612197578081fd5b83356121a281612e0b565b925060208401356121b281612e0b565b929592945050506040919091013590565b600080600080608085870312156121d8578081fd5b84356121e381612e0b565b935060208501356121f381612e0b565b925060408501359150606085013567ffffffffffffffff811115612215578182fd5b8501601f81018713612225578182fd5b612234878235602084016120bb565b91505092959194509250565b60008060408385031215612252578182fd5b823561225d81612e0b565b9150602083013561217881612e20565b6000806040838503121561227f578182fd5b823561228a81612e0b565b946020939093013593505050565b6000806000606084860312156122ac578283fd5b83356122b781612e0b565b92506020840135915060408401356122ce81612e0b565b809150509250925092565b600080602083850312156122eb578182fd5b823567ffffffffffffffff80821115612302578384fd5b818501915085601f830112612315578384fd5b813581811115612323578485fd5b8660208083028501011115612336578485fd5b60209290920196919550909350505050565b6000602080838503121561235a578182fd5b825167ffffffffffffffff80821115612371578384fd5b818501915085601f830112612384578384fd5b81518181111561239657612396612df5565b83810291506123a6848301612ca7565b8181528481019084860184860187018a10156123c0578788fd5b8795505b838610156123e25780518352600195909501949186019186016123c4565b5098975050505050505050565b600060208284031215612400578081fd5b813561134481612e20565b60006020828403121561241c578081fd5b815161134481612e20565b600060208284031215612438578081fd5b813561134481612e2e565b600060208284031215612454578081fd5b815161134481612e2e565b600060208284031215612470578081fd5b813567ffffffffffffffff811115612486578182fd5b8201601f81018413612496578182fd5b6118c3848235602084016120bb565b6000602082840312156124b6578081fd5b5035919050565b600080604083850312156124cf578182fd5b50508035926020909101359150565b600081518084526124f6816020860160208601612d33565b601f01601f19169290920160200192915050565b6000835161251c818460208801612d33565b835190830190612530818360208801612d33565b01949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612580908301846124de565b9695505050505050565b6001600160a01b03929092168252602082015260400190565b6020808252825182820181905260009190848201906040850190845b818110156125db578351835292840192918401916001016125bf565b50909695505050505050565b901515815260200190565b600060808201868352602060808185015281875180845260a0860191508289019350845b8181101561263b5784516001600160a01b031683529383019391830191600101612616565b50506001600160a01b039690961660408501525050506060015292915050565b60006020825261134460208301846124de565b60208082526013908201527213585e081cdd5c1c1b1e48195e18d959591959606a1b604082015260600190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252600e908201526d135a5b9d1a5b99c81c185d5cd95960921b604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526025908201527f506c656173652070726f76696465206120636f72726563742062756e646c652060408201526476616c756560d81b606082015260800190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526019908201527f45746865722073656e74206973206e6f7420636f727265637400000000000000604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601b908201527f45786365656473206d6178696d756d20736f757020737570706c790000000000604082015260600190565b6020808252602c908201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60408201526b7574206f6620626f756e647360a01b606082015260800190565b602080825260119082015270496e76616c69642061646472657373657360781b604082015260600190565b90815260200190565b60405181810167ffffffffffffffff81118282101715612cc957612cc9612df5565b604052919050565b60008219821115612ce457612ce4612dc9565b500190565b600082612cf857612cf8612ddf565b500490565b6000816000190483118215151615612d1757612d17612dc9565b500290565b600082821015612d2e57612d2e612dc9565b500390565b60005b83811015612d4e578181015183820152602001612d36565b838111156112455750506000910152565b600281046001821680612d7357607f821691505b60208210811415612d9457634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612dae57612dae612dc9565b5060010190565b600082612dc457612dc4612ddf565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461120957600080fd5b801515811461120957600080fd5b6001600160e01b03198116811461120957600080fdfea264697066735822122036397045004d43baba8541ed18d0c8c6b15bd5463edda8c73675868dcefa9b2564736f6c634300080000330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001a68747470733a2f2f6170692e66726f67736f75702e636166652f000000000000

Deployed Bytecode

0x60806040526004361061020f5760003560e01c806355f804b311610118578063b1d22793116100a0578063e8a3d4851161006f578063e8a3d48514610586578063e985e9c51461059b578063f2fde38b146105bb578063f7d97577146105db578063fa5bceea146105fb5761020f565b8063b1d2279314610513578063b88d4fde14610526578063c0d7865514610546578063c87b56dd146105665761020f565b80638da5cb5b116100e75780638da5cb5b146104a1578063938e3d7b146104b657806395d89b41146104d6578063a22cb465146104eb578063a9decdda1461050b5761020f565b806355f804b31461042c5780636352211e1461044c57806370a082311461046c578063715018a61461048c5761020f565b806323b872dd1161019b57806342842e0e1161016a57806342842e0e1461038a578063438b6300146103aa57806345c0f533146103d75780634d7e8a2f146103ec5780634f6ccce71461040c5761020f565b806323b872dd146103225780632f745c59146103425780633ccdbb28146103625780633f85880d146103825761020f565b80630788ce79116101e25780630788ce7914610296578063081812fc1461029e578063095ea7b3146102cb57806316c61ccc146102eb57806318160ddd146103005761020f565b806301ffc9a71461021457806302329a291461024a578063044b4b5d1461026c57806306fdde0314610274575b600080fd5b34801561022057600080fd5b5061023461022f366004612427565b61061b565b60405161024191906125e7565b60405180910390f35b34801561025657600080fd5b5061026a6102653660046123ef565b610648565b005b61026a6106a3565b34801561028057600080fd5b50610289610773565b604051610241919061265b565b61026a610805565b3480156102aa57600080fd5b506102be6102b93660046124a5565b6108cc565b6040516102419190612539565b3480156102d757600080fd5b5061026a6102e636600461226d565b61090f565b3480156102f757600080fd5b506102346109a7565b34801561030c57600080fd5b506103156109b0565b6040516102419190612c9e565b34801561032e57600080fd5b5061026a61033d366004612183565b6109b6565b34801561034e57600080fd5b5061031561035d36600461226d565b6109ee565b34801561036e57600080fd5b5061026a61037d366004612298565b610a40565b61026a610b08565b34801561039657600080fd5b5061026a6103a5366004612183565b610bcf565b3480156103b657600080fd5b506103ca6103c5366004612113565b610bea565b60405161024191906125a3565b3480156103e357600080fd5b50610315610ca8565b3480156103f857600080fd5b5061026a6104073660046122d9565b610ccc565b34801561041857600080fd5b506103156104273660046124a5565b610ddd565b34801561043857600080fd5b5061026a61044736600461245f565b610e38565b34801561045857600080fd5b506102be6104673660046124a5565b610e8a565b34801561047857600080fd5b50610315610487366004612113565b610ebf565b34801561049857600080fd5b5061026a610f03565b3480156104ad57600080fd5b506102be610f8c565b3480156104c257600080fd5b5061026a6104d136600461245f565b610f9b565b3480156104e257600080fd5b50610289610fed565b3480156104f757600080fd5b5061026a610506366004612240565b610ffc565b61026a6110ca565b61026a6105213660046124a5565b611191565b34801561053257600080fd5b5061026a6105413660046121c3565b61120c565b34801561055257600080fd5b5061026a610561366004612113565b61124b565b34801561057257600080fd5b506102896105813660046124a5565b6112c8565b34801561059257600080fd5b5061028961134b565b3480156105a757600080fd5b506102346105b636600461214b565b61135a565b3480156105c757600080fd5b5061026a6105d6366004612113565b611388565b3480156105e757600080fd5b5061026a6105f63660046124bd565b611449565b34801561060757600080fd5b5061026a6106163660046124a5565b61152c565b60006001600160e01b0319821663780e9d6360e01b148061064057506106408261175d565b90505b919050565b61065061179d565b6001600160a01b0316610661610f8c565b6001600160a01b0316146106905760405162461bcd60e51b815260040161068790612a15565b60405180910390fd5b6011805460ff1916911515919091179055565b60006106ad6109b0565b60115490915060ff16156106d35760405162461bcd60e51b815260040161068790612738565b7f00000000000000000000000000000000000000000000000000000000000013a56106ff826001612cd1565b1061071c5760405162461bcd60e51b815260040161068790612bf0565b600d5434101561073e5760405162461bcd60e51b815260040161068790612b68565b60005b600181101561076f5761075d336107588385612cd1565b6117a1565b8061076781612d9a565b915050610741565b5050565b60606000805461078290612d5f565b80601f01602080910402602001604051908101604052809291908181526020018280546107ae90612d5f565b80156107fb5780601f106107d0576101008083540402835291602001916107fb565b820191906000526020600020905b8154815290600101906020018083116107de57829003601f168201915b5050505050905090565b600061080f6109b0565b60115490915060ff16156108355760405162461bcd60e51b815260040161068790612738565b7f00000000000000000000000000000000000000000000000000000000000013a5610861826003612cd1565b1061087e5760405162461bcd60e51b815260040161068790612bf0565b600e543410156108a05760405162461bcd60e51b815260040161068790612b68565b60005b600381101561076f576108ba336107588385612cd1565b806108c481612d9a565b9150506108a3565b60006108d7826117bb565b6108f35760405162461bcd60e51b8152600401610687906129c9565b506000908152600460205260409020546001600160a01b031690565b600061091a82610e8a565b9050806001600160a01b0316836001600160a01b0316141561094e5760405162461bcd60e51b815260040161068790612b27565b806001600160a01b031661096061179d565b6001600160a01b0316148061097c575061097c816105b661179d565b6109985760405162461bcd60e51b8152600401610687906128a4565b6109a283836117d8565b505050565b60115460ff1681565b60085490565b6109c76109c161179d565b82611846565b6109e35760405162461bcd60e51b815260040161068790612b9f565b6109a28383836118cb565b60006109f983610ebf565b8210610a175760405162461bcd60e51b81526004016106879061269b565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b610a4861179d565b6001600160a01b0316610a59610f8c565b6001600160a01b031614610a7f5760405162461bcd60e51b815260040161068790612a15565b60405163a9059cbb60e01b815283906001600160a01b0382169063a9059cbb90610aaf908590879060040161258a565b602060405180830381600087803b158015610ac957600080fd5b505af1158015610add573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b01919061240b565b5050505050565b6000610b126109b0565b60115490915060ff1615610b385760405162461bcd60e51b815260040161068790612738565b7f00000000000000000000000000000000000000000000000000000000000013a5610b6482600a612cd1565b10610b815760405162461bcd60e51b815260040161068790612bf0565b601054341015610ba35760405162461bcd60e51b815260040161068790612b68565b60005b600a81101561076f57610bbd336107588385612cd1565b80610bc781612d9a565b915050610ba6565b6109a28383836040518060200160405280600081525061120c565b60606000610bf783610ebf565b905060008167ffffffffffffffff811115610c2257634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610c4b578160200160208202803683370190505b50905060005b82811015610ca057610c6385826109ee565b828281518110610c8357634e487b7160e01b600052603260045260246000fd5b602090810291909101015280610c9881612d9a565b915050610c51565b509392505050565b7f00000000000000000000000000000000000000000000000000000000000013a581565b610cd461179d565b6001600160a01b0316610ce5610f8c565b6001600160a01b031614610d0b5760405162461bcd60e51b815260040161068790612a15565b80610d285760405162461bcd60e51b815260040161068790612c73565b6000610d326109b0565b9050817f00000000000000000000000000000000000000000000000000000000000013a5610d608284612cd1565b1115610d7e5760405162461bcd60e51b81526004016106879061266e565b60005b83811015610b0157610dcb858583818110610dac57634e487b7160e01b600052603260045260246000fd5b9050602002016020810190610dc19190612113565b6107588386612cd1565b80610dd581612d9a565b915050610d81565b6000610de76109b0565b8210610e055760405162461bcd60e51b815260040161068790612c27565b60088281548110610e2657634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b610e4061179d565b6001600160a01b0316610e51610f8c565b6001600160a01b031614610e775760405162461bcd60e51b815260040161068790612a15565b805161076f90600b906020840190612022565b6000818152600260205260408120546001600160a01b0316806106405760405162461bcd60e51b81526004016106879061294b565b60006001600160a01b038216610ee75760405162461bcd60e51b815260040161068790612901565b506001600160a01b031660009081526003602052604090205490565b610f0b61179d565b6001600160a01b0316610f1c610f8c565b6001600160a01b031614610f425760405162461bcd60e51b815260040161068790612a15565b600a546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80546001600160a01b0319169055565b600a546001600160a01b031690565b610fa361179d565b6001600160a01b0316610fb4610f8c565b6001600160a01b031614610fda5760405162461bcd60e51b815260040161068790612a15565b805161076f90600c906020840190612022565b60606001805461078290612d5f565b61100461179d565b6001600160a01b0316826001600160a01b031614156110355760405162461bcd60e51b815260040161068790612821565b806005600061104261179d565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff19169215159290921790915561108661179d565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516110be91906125e7565b60405180910390a35050565b60006110d46109b0565b60115490915060ff16156110fa5760405162461bcd60e51b815260040161068790612738565b7f00000000000000000000000000000000000000000000000000000000000013a5611126826005612cd1565b106111435760405162461bcd60e51b815260040161068790612bf0565b600f543410156111655760405162461bcd60e51b815260040161068790612b68565b60005b600581101561076f5761117f336107588385612cd1565b8061118981612d9a565b915050611168565b61119961179d565b6001600160a01b03166111aa610f8c565b6001600160a01b0316146111d05760405162461bcd60e51b815260040161068790612a15565b60405173544e205b0715a74f567e45342bf59acb333ff28b9082156108fc029083906000818181858888f1935050505061120957600080fd5b50565b61121d61121761179d565b83611846565b6112395760405162461bcd60e51b815260040161068790612b9f565b611245848484846119f8565b50505050565b61125361179d565b6001600160a01b0316611264610f8c565b6001600160a01b03161461128a5760405162461bcd60e51b815260040161068790612a15565b601280546001600160a01b039283166001600160a01b03199091161790819055601180549190921661010002610100600160a81b0319909116179055565b60606112d3826117bb565b6112ef5760405162461bcd60e51b815260040161068790612ad8565b60006112f9611a2b565b905060008151116113195760405180602001604052806000815250611344565b8061132384611a3a565b60405160200161133492919061250a565b6040516020818303038152906040525b9392505050565b6060600c805461078290612d5f565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61139061179d565b6001600160a01b03166113a1610f8c565b6001600160a01b0316146113c75760405162461bcd60e51b815260040161068790612a15565b6001600160a01b0381166113ed5760405162461bcd60e51b815260040161068790612760565b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b61145161179d565b6001600160a01b0316611462610f8c565b6001600160a01b0316146114885760405162461bcd60e51b815260040161068790612a15565b80600114156114ab576114a382670de0b6b3a7640000612cfd565b600d5561076f565b80600314156114ce576114c682670de0b6b3a7640000612cfd565b600e5561076f565b80600514156114f1576114e982670de0b6b3a7640000612cfd565b600f5561076f565b80600a14156115145761150c82670de0b6b3a7640000612cfd565b60105561076f565b60405162461bcd60e51b815260040161068790612a4a565b61153461179d565b6001600160a01b0316611545610f8c565b6001600160a01b03161461156b5760405162461bcd60e51b815260040161068790612a15565b604080516002808252606082018352600092602083019080368337019050509050601160019054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156115da57600080fd5b505afa1580156115ee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611612919061212f565b8160008151811061163357634e487b7160e01b600052603260045260246000fd5b60200260200101906001600160a01b031690816001600160a01b03168152505073370a366f402e2e41cdbbe54ecec12aae0cce19558160018151811061168957634e487b7160e01b600052603260045260246000fd5b6001600160a01b039092166020928302919091019091015260006116ae4260b4612cd1565b601154604051637ff36ab560e01b815291925061010090046001600160a01b031690637ff36ab59085906117019060009087907338e1d4314a38c60c6ab3b98b0a89a4411d839d449088906004016125f2565b6000604051808303818588803b15801561171a57600080fd5b505af115801561172e573d6000803e3d6000fd5b50505050506040513d6000823e601f3d908101601f191682016040526112459190810190612348565b3b151590565b60006001600160e01b031982166380ac58cd60e01b148061178e57506001600160e01b03198216635b5e139f60e01b145b80610640575061064082611b55565b3390565b61076f828260405180602001604052806000815250611b6e565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061180d82610e8a565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611851826117bb565b61186d5760405162461bcd60e51b815260040161068790612858565b600061187883610e8a565b9050806001600160a01b0316846001600160a01b031614806118b35750836001600160a01b03166118a8846108cc565b6001600160a01b0316145b806118c357506118c3818561135a565b949350505050565b826001600160a01b03166118de82610e8a565b6001600160a01b0316146119045760405162461bcd60e51b815260040161068790612a8f565b6001600160a01b03821661192a5760405162461bcd60e51b8152600401610687906127dd565b611935838383611ba1565b6119406000826117d8565b6001600160a01b0383166000908152600360205260408120805460019290611969908490612d1c565b90915550506001600160a01b0382166000908152600360205260408120805460019290611997908490612cd1565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b611a038484846118cb565b611a0f84848484611c2a565b6112455760405162461bcd60e51b8152600401610687906126e6565b6060600b805461078290612d5f565b606081611a5f57506040805180820190915260018152600360fc1b6020820152610643565b8160005b8115611a895780611a7381612d9a565b9150611a829050600a83612ce9565b9150611a63565b60008167ffffffffffffffff811115611ab257634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611adc576020820181803683370190505b5090505b84156118c357611af1600183612d1c565b9150611afe600a86612db5565b611b09906030612cd1565b60f81b818381518110611b2c57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611b4e600a86612ce9565b9450611ae0565b6001600160e01b031981166301ffc9a760e01b14919050565b611b788383611d45565b611b856000848484611c2a565b6109a25760405162461bcd60e51b8152600401610687906126e6565b611bac8383836109a2565b6001600160a01b038316611bc857611bc381611e24565b611beb565b816001600160a01b0316836001600160a01b031614611beb57611beb8382611e68565b6001600160a01b038216611c0757611c0281611f05565b6109a2565b826001600160a01b0316826001600160a01b0316146109a2576109a28282611fde565b6000611c3e846001600160a01b0316611757565b15611d3a57836001600160a01b031663150b7a02611c5a61179d565b8786866040518563ffffffff1660e01b8152600401611c7c949392919061254d565b602060405180830381600087803b158015611c9657600080fd5b505af1925050508015611cc6575060408051601f3d908101601f19168201909252611cc391810190612443565b60015b611d20573d808015611cf4576040519150601f19603f3d011682016040523d82523d6000602084013e611cf9565b606091505b508051611d185760405162461bcd60e51b8152600401610687906126e6565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506118c3565b506001949350505050565b6001600160a01b038216611d6b5760405162461bcd60e51b815260040161068790612994565b611d74816117bb565b15611d915760405162461bcd60e51b8152600401610687906127a6565b611d9d60008383611ba1565b6001600160a01b0382166000908152600360205260408120805460019290611dc6908490612cd1565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b60006001611e7584610ebf565b611e7f9190612d1c565b600083815260076020526040902054909150808214611ed2576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611f1790600190612d1c565b60008381526009602052604081205460088054939450909284908110611f4d57634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508060088381548110611f7c57634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611fc257634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000611fe983610ebf565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b82805461202e90612d5f565b90600052602060002090601f0160209004810192826120505760008555612096565b82601f1061206957805160ff1916838001178555612096565b82800160010185558215612096579182015b8281111561209657825182559160200191906001019061207b565b506120a29291506120a6565b5090565b5b808211156120a257600081556001016120a7565b600067ffffffffffffffff8311156120d5576120d5612df5565b6120e8601f8401601f1916602001612ca7565b90508281528383830111156120fc57600080fd5b828260208301376000602084830101529392505050565b600060208284031215612124578081fd5b813561134481612e0b565b600060208284031215612140578081fd5b815161134481612e0b565b6000806040838503121561215d578081fd5b823561216881612e0b565b9150602083013561217881612e0b565b809150509250929050565b600080600060608486031215612197578081fd5b83356121a281612e0b565b925060208401356121b281612e0b565b929592945050506040919091013590565b600080600080608085870312156121d8578081fd5b84356121e381612e0b565b935060208501356121f381612e0b565b925060408501359150606085013567ffffffffffffffff811115612215578182fd5b8501601f81018713612225578182fd5b612234878235602084016120bb565b91505092959194509250565b60008060408385031215612252578182fd5b823561225d81612e0b565b9150602083013561217881612e20565b6000806040838503121561227f578182fd5b823561228a81612e0b565b946020939093013593505050565b6000806000606084860312156122ac578283fd5b83356122b781612e0b565b92506020840135915060408401356122ce81612e0b565b809150509250925092565b600080602083850312156122eb578182fd5b823567ffffffffffffffff80821115612302578384fd5b818501915085601f830112612315578384fd5b813581811115612323578485fd5b8660208083028501011115612336578485fd5b60209290920196919550909350505050565b6000602080838503121561235a578182fd5b825167ffffffffffffffff80821115612371578384fd5b818501915085601f830112612384578384fd5b81518181111561239657612396612df5565b83810291506123a6848301612ca7565b8181528481019084860184860187018a10156123c0578788fd5b8795505b838610156123e25780518352600195909501949186019186016123c4565b5098975050505050505050565b600060208284031215612400578081fd5b813561134481612e20565b60006020828403121561241c578081fd5b815161134481612e20565b600060208284031215612438578081fd5b813561134481612e2e565b600060208284031215612454578081fd5b815161134481612e2e565b600060208284031215612470578081fd5b813567ffffffffffffffff811115612486578182fd5b8201601f81018413612496578182fd5b6118c3848235602084016120bb565b6000602082840312156124b6578081fd5b5035919050565b600080604083850312156124cf578182fd5b50508035926020909101359150565b600081518084526124f6816020860160208601612d33565b601f01601f19169290920160200192915050565b6000835161251c818460208801612d33565b835190830190612530818360208801612d33565b01949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612580908301846124de565b9695505050505050565b6001600160a01b03929092168252602082015260400190565b6020808252825182820181905260009190848201906040850190845b818110156125db578351835292840192918401916001016125bf565b50909695505050505050565b901515815260200190565b600060808201868352602060808185015281875180845260a0860191508289019350845b8181101561263b5784516001600160a01b031683529383019391830191600101612616565b50506001600160a01b039690961660408501525050506060015292915050565b60006020825261134460208301846124de565b60208082526013908201527213585e081cdd5c1c1b1e48195e18d959591959606a1b604082015260600190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252600e908201526d135a5b9d1a5b99c81c185d5cd95960921b604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526025908201527f506c656173652070726f76696465206120636f72726563742062756e646c652060408201526476616c756560d81b606082015260800190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526019908201527f45746865722073656e74206973206e6f7420636f727265637400000000000000604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601b908201527f45786365656473206d6178696d756d20736f757020737570706c790000000000604082015260600190565b6020808252602c908201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60408201526b7574206f6620626f756e647360a01b606082015260800190565b602080825260119082015270496e76616c69642061646472657373657360781b604082015260600190565b90815260200190565b60405181810167ffffffffffffffff81118282101715612cc957612cc9612df5565b604052919050565b60008219821115612ce457612ce4612dc9565b500190565b600082612cf857612cf8612ddf565b500490565b6000816000190483118215151615612d1757612d17612dc9565b500290565b600082821015612d2e57612d2e612dc9565b500390565b60005b83811015612d4e578181015183820152602001612d36565b838111156112455750506000910152565b600281046001821680612d7357607f821691505b60208210811415612d9457634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612dae57612dae612dc9565b5060010190565b600082612dc457612dc4612ddf565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461120957600080fd5b801515811461120957600080fd5b6001600160e01b03198116811461120957600080fdfea264697066735822122036397045004d43baba8541ed18d0c8c6b15bd5463edda8c73675868dcefa9b2564736f6c63430008000033

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001a68747470733a2f2f6170692e66726f67736f75702e636166652f000000000000

-----Decoded View---------------
Arg [0] : baseURI (string): https://api.frogsoup.cafe/

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 000000000000000000000000000000000000000000000000000000000000001a
Arg [2] : 68747470733a2f2f6170692e66726f67736f75702e636166652f000000000000


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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