ETH Price: $3,717.41 (+4.36%)

Token

ERC-20: CurrencyCats (CC)
 

Overview

Max Total Supply

2,090 CC

Holders

613

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
11 CC
0xB723434062Db1f652fe23C306C922d873b63172F
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:
CurrencyCats

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-10-05
*/

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



pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

// File: @openzeppelin/contracts/utils/math/SafeMath.sol



pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

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

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

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

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

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

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



pragma solidity ^0.8.0;

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

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}
// File: @openzeppelin/contracts/access/Ownable.sol



pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol


// File: @openzeppelin/contracts/utils/introspection/IERC165.sol



pragma solidity ^0.8.0;

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

// File: @openzeppelin/contracts/token/ERC721/IERC721.sol






pragma solidity ^0.8.0;


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

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



pragma solidity ^0.8.0;

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

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

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

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

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


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



pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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



pragma solidity ^0.8.0;

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


pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;
}

// File: @openzeppelin/contracts/token/ERC721/ERC721.sol



pragma solidity ^0.8.0;




// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol



pragma solidity ^0.8.0;


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

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

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

// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol





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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

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

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

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

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

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

// File: contracts/EverydayApes.sol

pragma solidity ^0.8.0;



/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721Burnable is Context, ERC721 {
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved");
        _burn(tokenId);
    }
}

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol




pragma solidity ^0.8.0;


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

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

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

// File: @openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol


// File: @openzeppelin/contracts/utils/introspection/ERC165.sol


pragma solidity ^0.8.0;



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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


pragma solidity ^0.8.0;






contract CurrencyCats is ERC721Enumerable, Ownable {
    using SafeMath for uint256;
    using Counters for Counters.Counter;
    using Strings for uint256;
    Counters.Counter private _tokenIds;

    string public baseTokenURI;
    uint256 public cost = 0.025 ether;
    uint256 public maxSupply = 9933;
    uint256 public maxMintAmount = 20;
    uint256 public freeMintSupply = 500;
    uint256 public freeMaxMintAmount = 1;
    bool public paused = false;

    event CreateCat(uint256 indexed id);

    constructor() public ERC721("CurrencyCats", "CC") {
        pause(true);
    }
    
    
    function reserveMint() public onlyOwner {        
        mint(msg.sender, 100);
    }

    function _totalSupply() internal view returns (uint) {
        return _tokenIds.current();
    }

    function totalMint() public view returns (uint256) {
        return _totalSupply();
    }

    function mint(address _to, uint256 _mintAmount) public payable {
        uint256 supply = _totalSupply();
        
        require(_mintAmount > 0);
        require(supply + _mintAmount <= maxSupply, "Sale Ended");
        

        if (msg.sender != owner()) {
            require(!paused, "Sale must be active");
            require(_mintAmount <= maxMintAmount, "Exceeds max mint amount");
            if (supply < freeMintSupply)
            {
                require(supply + _mintAmount <= freeMintSupply, "Free mint over");
                require(_mintAmount <= freeMaxMintAmount, "Exceeds free mint amount");    
            }
            else
            {
                require(msg.value >= cost * _mintAmount, "Not enough ETH (Free mint over)");
            }
        }

        for (uint256 i = 0; i < _mintAmount; i++) {
            _mintAnElement(_to);
        }
    }
    
    function getFreeMintSupply() public view returns (uint256) {
        return freeMintSupply;
    }
    
    function getFreeMaxMintAmount() public view returns (uint256) {
        return freeMaxMintAmount;
    }

    function _mintAnElement(address _to) private {
        uint id = _totalSupply();
        _tokenIds.increment();
        _safeMint(_to, id);
        emit CreateCat(id);
    }

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

    function setBaseURI(string memory baseURI) public onlyOwner {
        baseTokenURI = baseURI;
    }

    function walletOfOwner(address _owner) external view returns (uint256[] memory) {
        uint256 tokenCount = balanceOf(_owner);

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

        return tokensId;
    }

    function pause(bool _state) public onlyOwner {
        paused = _state;
    }


    function setCost(uint256 _newCost) public onlyOwner() {
            cost = _newCost;
    }

    function setMaxMintAmount(uint256 _newmaxMintAmount) public onlyOwner() {
        maxMintAmount = _newmaxMintAmount;
    }

    function withdraw() public payable onlyOwner {
        require(payable(msg.sender).send(address(this).balance));
    }
    
    function setFreeMintSupply(uint256 _newFreeMintSupply) public onlyOwner() {
        freeMintSupply = _newFreeMintSupply;
    }
    
    function setFreeMaxMintAmount(uint256 _newMaxFreeMintAmount) public onlyOwner() {
        freeMaxMintAmount = _newMaxFreeMintAmount;
    }
    
    function setMaxSupply(uint256 _newMaxSupply) public onlyOwner() {
        maxSupply = _newMaxSupply;
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[],"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":"uint256","name":"id","type":"uint256"}],"name":"CreateCat","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeMaxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeMintSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getFreeMaxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getFreeMintSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","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":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserveMint","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":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxFreeMintAmount","type":"uint256"}],"name":"setFreeMaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newFreeMintSupply","type":"uint256"}],"name":"setFreeMintSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newmaxMintAmount","type":"uint256"}],"name":"setMaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxSupply","type":"uint256"}],"name":"setMaxSupply","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":"totalMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

60806040526658d15e17628000600d556126cd600e556014600f556101f460105560016011556012805460ff191690553480156200003c57600080fd5b50604080518082018252600c81526b43757272656e63794361747360a01b602080830191825283518085019094526002845261434360f01b9084015281519192916200008b9160009162000198565b508051620000a190600190602084019062000198565b505050620000be620000b8620000d060201b60201c565b620000d4565b620000ca600162000126565b6200027b565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600a546001600160a01b03163314620001855760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b6012805460ff1916911515919091179055565b828054620001a6906200023e565b90600052602060002090601f016020900481019282620001ca576000855562000215565b82601f10620001e557805160ff191683800117855562000215565b8280016001018555821562000215579182015b8281111562000215578251825591602001919060010190620001f8565b506200022392915062000227565b5090565b5b8082111562000223576000815560010162000228565b600181811c908216806200025357607f821691505b602082108114156200027557634e487b7160e01b600052602260045260246000fd5b50919050565b612504806200028b6000396000f3fe60806040526004361061023b5760003560e01c806355f804b31161012e578063b88d4fde116100ab578063d5abeb011161006f578063d5abeb0114610650578063e150007e14610666578063e985e9c51461067c578063ed36c5d1146106c5578063f2fde38b146106da57600080fd5b8063b88d4fde146105bb578063c4c39ed5146105db578063c87b56dd146105fb578063d4fcb2ae1461061b578063d547cfb71461063b57600080fd5b806370a08231116100f257806370a0823114610533578063715018a6146105535780638da5cb5b1461056857806395d89b4114610586578063a22cb4651461059b57600080fd5b806355f804b3146104a457806359a7715a146104c45780635c975abb146104d95780636352211e146104f35780636f8b44b01461051357600080fd5b806321c8d676116101bc57806340c10f191161018057806340c10f191461040457806342842e0e14610417578063438b63001461043757806344a0d68a146104645780634f6ccce71461048457600080fd5b806321c8d67614610391578063239c70ae146103a657806323b872dd146103bc5780632f745c59146103dc5780633ccfd60b146103fc57600080fd5b8063088a4ed011610203578063088a4ed014610310578063095ea7b3146103305780631159aca41461035057806313faede61461036657806318160ddd1461037c57600080fd5b806301b984fc1461024057806301ffc9a71461026457806302329a291461029457806306fdde03146102b6578063081812fc146102d8575b600080fd5b34801561024c57600080fd5b506011545b6040519081526020015b60405180910390f35b34801561027057600080fd5b5061028461027f3660046120ef565b6106fa565b604051901515815260200161025b565b3480156102a057600080fd5b506102b46102af3660046120d4565b610725565b005b3480156102c257600080fd5b506102cb61076b565b60405161025b9190612267565b3480156102e457600080fd5b506102f86102f3366004612172565b6107fd565b6040516001600160a01b03909116815260200161025b565b34801561031c57600080fd5b506102b461032b366004612172565b610892565b34801561033c57600080fd5b506102b461034b3660046120aa565b6108c1565b34801561035c57600080fd5b5061025160115481565b34801561037257600080fd5b50610251600d5481565b34801561038857600080fd5b50600854610251565b34801561039d57600080fd5b506102b46109d7565b3480156103b257600080fd5b50610251600f5481565b3480156103c857600080fd5b506102b46103d7366004611fc8565b610a0e565b3480156103e857600080fd5b506102516103f73660046120aa565b610a3f565b6102b4610ad5565b6102b46104123660046120aa565b610b23565b34801561042357600080fd5b506102b4610432366004611fc8565b610d67565b34801561044357600080fd5b50610457610452366004611f7a565b610d82565b60405161025b9190612223565b34801561047057600080fd5b506102b461047f366004612172565b610e24565b34801561049057600080fd5b5061025161049f366004612172565b610e53565b3480156104b057600080fd5b506102b46104bf366004612129565b610ee6565b3480156104d057600080fd5b50610251610f27565b3480156104e557600080fd5b506012546102849060ff1681565b3480156104ff57600080fd5b506102f861050e366004612172565b610f36565b34801561051f57600080fd5b506102b461052e366004612172565b610fad565b34801561053f57600080fd5b5061025161054e366004611f7a565b610fdc565b34801561055f57600080fd5b506102b4611063565b34801561057457600080fd5b50600a546001600160a01b03166102f8565b34801561059257600080fd5b506102cb611097565b3480156105a757600080fd5b506102b46105b6366004612080565b6110a6565b3480156105c757600080fd5b506102b46105d6366004612004565b61116b565b3480156105e757600080fd5b506102b46105f6366004612172565b61119d565b34801561060757600080fd5b506102cb610616366004612172565b6111cc565b34801561062757600080fd5b506102b4610636366004612172565b6112a7565b34801561064757600080fd5b506102cb6112d6565b34801561065c57600080fd5b50610251600e5481565b34801561067257600080fd5b5061025160105481565b34801561068857600080fd5b50610284610697366004611f95565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156106d157600080fd5b50601054610251565b3480156106e657600080fd5b506102b46106f5366004611f7a565b611364565b60006001600160e01b0319821663780e9d6360e01b148061071f575061071f826113ff565b92915050565b600a546001600160a01b031633146107585760405162461bcd60e51b815260040161074f906122cc565b60405180910390fd5b6012805460ff1916911515919091179055565b60606000805461077a906123e0565b80601f01602080910402602001604051908101604052809291908181526020018280546107a6906123e0565b80156107f35780601f106107c8576101008083540402835291602001916107f3565b820191906000526020600020905b8154815290600101906020018083116107d657829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166108765760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161074f565b506000908152600460205260409020546001600160a01b031690565b600a546001600160a01b031633146108bc5760405162461bcd60e51b815260040161074f906122cc565b600f55565b60006108cc82610f36565b9050806001600160a01b0316836001600160a01b0316141561093a5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161074f565b336001600160a01b038216148061095657506109568133610697565b6109c85760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161074f565b6109d2838361144f565b505050565b600a546001600160a01b03163314610a015760405162461bcd60e51b815260040161074f906122cc565b610a0c336064610b23565b565b610a1833826114bd565b610a345760405162461bcd60e51b815260040161074f90612301565b6109d28383836115b4565b6000610a4a83610fdc565b8210610aac5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b606482015260840161074f565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b03163314610aff5760405162461bcd60e51b815260040161074f906122cc565b60405133904780156108fc02916000818181858888f19350505050610a0c57600080fd5b6000610b2d61175f565b905060008211610b3c57600080fd5b600e54610b498383612352565b1115610b845760405162461bcd60e51b815260206004820152600a60248201526914d85b1948115b99195960b21b604482015260640161074f565b600a546001600160a01b03163314610d3b5760125460ff1615610bdf5760405162461bcd60e51b815260206004820152601360248201527253616c65206d7573742062652061637469766560681b604482015260640161074f565b600f54821115610c315760405162461bcd60e51b815260206004820152601760248201527f45786365656473206d6178206d696e7420616d6f756e74000000000000000000604482015260640161074f565b601054811015610cde57601054610c488383612352565b1115610c875760405162461bcd60e51b815260206004820152600e60248201526d233932b29036b4b73a1037bb32b960911b604482015260640161074f565b601154821115610cd95760405162461bcd60e51b815260206004820152601860248201527f457863656564732066726565206d696e7420616d6f756e740000000000000000604482015260640161074f565b610d3b565b81600d54610cec919061237e565b341015610d3b5760405162461bcd60e51b815260206004820152601f60248201527f4e6f7420656e6f75676820455448202846726565206d696e74206f7665722900604482015260640161074f565b60005b82811015610d6157610d4f8461176a565b80610d598161241b565b915050610d3e565b50505050565b6109d28383836040518060200160405280600081525061116b565b60606000610d8f83610fdc565b905060008167ffffffffffffffff811115610dac57610dac6124a2565b604051908082528060200260200182016040528015610dd5578160200160208202803683370190505b50905060005b82811015610e1c57610ded8582610a3f565b828281518110610dff57610dff61248c565b602090810291909101015280610e148161241b565b915050610ddb565b509392505050565b600a546001600160a01b03163314610e4e5760405162461bcd60e51b815260040161074f906122cc565b600d55565b6000610e5e60085490565b8210610ec15760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b606482015260840161074f565b60088281548110610ed457610ed461248c565b90600052602060002001549050919050565b600a546001600160a01b03163314610f105760405162461bcd60e51b815260040161074f906122cc565b8051610f2390600c906020840190611e3f565b5050565b6000610f3161175f565b905090565b6000818152600260205260408120546001600160a01b03168061071f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161074f565b600a546001600160a01b03163314610fd75760405162461bcd60e51b815260040161074f906122cc565b600e55565b60006001600160a01b0382166110475760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161074f565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b0316331461108d5760405162461bcd60e51b815260040161074f906122cc565b610a0c60006117bd565b60606001805461077a906123e0565b6001600160a01b0382163314156110ff5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161074f565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61117533836114bd565b6111915760405162461bcd60e51b815260040161074f90612301565b610d618484848461180f565b600a546001600160a01b031633146111c75760405162461bcd60e51b815260040161074f906122cc565b601055565b6000818152600260205260409020546060906001600160a01b031661124b5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161074f565b6000611255611842565b9050600081511161127557604051806020016040528060008152506112a0565b8061127f84611851565b6040516020016112909291906121b7565b6040516020818303038152906040525b9392505050565b600a546001600160a01b031633146112d15760405162461bcd60e51b815260040161074f906122cc565b601155565b600c80546112e3906123e0565b80601f016020809104026020016040519081016040528092919081815260200182805461130f906123e0565b801561135c5780601f106113315761010080835404028352916020019161135c565b820191906000526020600020905b81548152906001019060200180831161133f57829003601f168201915b505050505081565b600a546001600160a01b0316331461138e5760405162461bcd60e51b815260040161074f906122cc565b6001600160a01b0381166113f35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161074f565b6113fc816117bd565b50565b60006001600160e01b031982166380ac58cd60e01b148061143057506001600160e01b03198216635b5e139f60e01b145b8061071f57506301ffc9a760e01b6001600160e01b031983161461071f565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061148482610f36565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166115365760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161074f565b600061154183610f36565b9050806001600160a01b0316846001600160a01b0316148061157c5750836001600160a01b0316611571846107fd565b6001600160a01b0316145b806115ac57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166115c782610f36565b6001600160a01b03161461162f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161074f565b6001600160a01b0382166116915760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161074f565b61169c83838361194f565b6116a760008261144f565b6001600160a01b03831660009081526003602052604081208054600192906116d090849061239d565b90915550506001600160a01b03821660009081526003602052604081208054600192906116fe908490612352565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000610f31600b5490565b600061177461175f565b9050611784600b80546001019055565b61178e8282611a07565b60405181907f03c0a8ca1bbdbb2fd63b7c34da27d039acdc8757f36f7f4559249d8671fd1ad890600090a25050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61181a8484846115b4565b61182684848484611a21565b610d615760405162461bcd60e51b815260040161074f9061227a565b6060600c805461077a906123e0565b6060816118755750506040805180820190915260018152600360fc1b602082015290565b8160005b811561189f57806118898161241b565b91506118989050600a8361236a565b9150611879565b60008167ffffffffffffffff8111156118ba576118ba6124a2565b6040519080825280601f01601f1916602001820160405280156118e4576020820181803683370190505b5090505b84156115ac576118f960018361239d565b9150611906600a86612436565b611911906030612352565b60f81b8183815181106119265761192661248c565b60200101906001600160f81b031916908160001a905350611948600a8661236a565b94506118e8565b6001600160a01b0383166119aa576119a581600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6119cd565b816001600160a01b0316836001600160a01b0316146119cd576119cd8382611b2e565b6001600160a01b0382166119e4576109d281611bcb565b826001600160a01b0316826001600160a01b0316146109d2576109d28282611c7a565b610f23828260405180602001604052806000815250611cbe565b60006001600160a01b0384163b15611b2357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611a659033908990889088906004016121e6565b602060405180830381600087803b158015611a7f57600080fd5b505af1925050508015611aaf575060408051601f3d908101601f19168201909252611aac9181019061210c565b60015b611b09573d808015611add576040519150601f19603f3d011682016040523d82523d6000602084013e611ae2565b606091505b508051611b015760405162461bcd60e51b815260040161074f9061227a565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506115ac565b506001949350505050565b60006001611b3b84610fdc565b611b45919061239d565b600083815260076020526040902054909150808214611b98576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611bdd9060019061239d565b60008381526009602052604081205460088054939450909284908110611c0557611c0561248c565b906000526020600020015490508060088381548110611c2657611c2661248c565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611c5e57611c5e612476565b6001900381819060005260206000200160009055905550505050565b6000611c8583610fdc565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b611cc88383611cf1565b611cd56000848484611a21565b6109d25760405162461bcd60e51b815260040161074f9061227a565b6001600160a01b038216611d475760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161074f565b6000818152600260205260409020546001600160a01b031615611dac5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161074f565b611db86000838361194f565b6001600160a01b0382166000908152600360205260408120805460019290611de1908490612352565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611e4b906123e0565b90600052602060002090601f016020900481019282611e6d5760008555611eb3565b82601f10611e8657805160ff1916838001178555611eb3565b82800160010185558215611eb3579182015b82811115611eb3578251825591602001919060010190611e98565b50611ebf929150611ec3565b5090565b5b80821115611ebf5760008155600101611ec4565b600067ffffffffffffffff80841115611ef357611ef36124a2565b604051601f8501601f19908116603f01168101908282118183101715611f1b57611f1b6124a2565b81604052809350858152868686011115611f3457600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611f6557600080fd5b919050565b80358015158114611f6557600080fd5b600060208284031215611f8c57600080fd5b6112a082611f4e565b60008060408385031215611fa857600080fd5b611fb183611f4e565b9150611fbf60208401611f4e565b90509250929050565b600080600060608486031215611fdd57600080fd5b611fe684611f4e565b9250611ff460208501611f4e565b9150604084013590509250925092565b6000806000806080858703121561201a57600080fd5b61202385611f4e565b935061203160208601611f4e565b925060408501359150606085013567ffffffffffffffff81111561205457600080fd5b8501601f8101871361206557600080fd5b61207487823560208401611ed8565b91505092959194509250565b6000806040838503121561209357600080fd5b61209c83611f4e565b9150611fbf60208401611f6a565b600080604083850312156120bd57600080fd5b6120c683611f4e565b946020939093013593505050565b6000602082840312156120e657600080fd5b6112a082611f6a565b60006020828403121561210157600080fd5b81356112a0816124b8565b60006020828403121561211e57600080fd5b81516112a0816124b8565b60006020828403121561213b57600080fd5b813567ffffffffffffffff81111561215257600080fd5b8201601f8101841361216357600080fd5b6115ac84823560208401611ed8565b60006020828403121561218457600080fd5b5035919050565b600081518084526121a38160208601602086016123b4565b601f01601f19169290920160200192915050565b600083516121c98184602088016123b4565b8351908301906121dd8183602088016123b4565b01949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906122199083018461218b565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561225b5783518352928401929184019160010161223f565b50909695505050505050565b6020815260006112a0602083018461218b565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156123655761236561244a565b500190565b60008261237957612379612460565b500490565b60008160001904831182151516156123985761239861244a565b500290565b6000828210156123af576123af61244a565b500390565b60005b838110156123cf5781810151838201526020016123b7565b83811115610d615750506000910152565b600181811c908216806123f457607f821691505b6020821081141561241557634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561242f5761242f61244a565b5060010190565b60008261244557612445612460565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146113fc57600080fdfea2646970667358221220e2d64299e45afda6b17bb02d117e7112305b104b725a8a8b8568ccd45b76d06d64736f6c63430008070033

Deployed Bytecode

0x60806040526004361061023b5760003560e01c806355f804b31161012e578063b88d4fde116100ab578063d5abeb011161006f578063d5abeb0114610650578063e150007e14610666578063e985e9c51461067c578063ed36c5d1146106c5578063f2fde38b146106da57600080fd5b8063b88d4fde146105bb578063c4c39ed5146105db578063c87b56dd146105fb578063d4fcb2ae1461061b578063d547cfb71461063b57600080fd5b806370a08231116100f257806370a0823114610533578063715018a6146105535780638da5cb5b1461056857806395d89b4114610586578063a22cb4651461059b57600080fd5b806355f804b3146104a457806359a7715a146104c45780635c975abb146104d95780636352211e146104f35780636f8b44b01461051357600080fd5b806321c8d676116101bc57806340c10f191161018057806340c10f191461040457806342842e0e14610417578063438b63001461043757806344a0d68a146104645780634f6ccce71461048457600080fd5b806321c8d67614610391578063239c70ae146103a657806323b872dd146103bc5780632f745c59146103dc5780633ccfd60b146103fc57600080fd5b8063088a4ed011610203578063088a4ed014610310578063095ea7b3146103305780631159aca41461035057806313faede61461036657806318160ddd1461037c57600080fd5b806301b984fc1461024057806301ffc9a71461026457806302329a291461029457806306fdde03146102b6578063081812fc146102d8575b600080fd5b34801561024c57600080fd5b506011545b6040519081526020015b60405180910390f35b34801561027057600080fd5b5061028461027f3660046120ef565b6106fa565b604051901515815260200161025b565b3480156102a057600080fd5b506102b46102af3660046120d4565b610725565b005b3480156102c257600080fd5b506102cb61076b565b60405161025b9190612267565b3480156102e457600080fd5b506102f86102f3366004612172565b6107fd565b6040516001600160a01b03909116815260200161025b565b34801561031c57600080fd5b506102b461032b366004612172565b610892565b34801561033c57600080fd5b506102b461034b3660046120aa565b6108c1565b34801561035c57600080fd5b5061025160115481565b34801561037257600080fd5b50610251600d5481565b34801561038857600080fd5b50600854610251565b34801561039d57600080fd5b506102b46109d7565b3480156103b257600080fd5b50610251600f5481565b3480156103c857600080fd5b506102b46103d7366004611fc8565b610a0e565b3480156103e857600080fd5b506102516103f73660046120aa565b610a3f565b6102b4610ad5565b6102b46104123660046120aa565b610b23565b34801561042357600080fd5b506102b4610432366004611fc8565b610d67565b34801561044357600080fd5b50610457610452366004611f7a565b610d82565b60405161025b9190612223565b34801561047057600080fd5b506102b461047f366004612172565b610e24565b34801561049057600080fd5b5061025161049f366004612172565b610e53565b3480156104b057600080fd5b506102b46104bf366004612129565b610ee6565b3480156104d057600080fd5b50610251610f27565b3480156104e557600080fd5b506012546102849060ff1681565b3480156104ff57600080fd5b506102f861050e366004612172565b610f36565b34801561051f57600080fd5b506102b461052e366004612172565b610fad565b34801561053f57600080fd5b5061025161054e366004611f7a565b610fdc565b34801561055f57600080fd5b506102b4611063565b34801561057457600080fd5b50600a546001600160a01b03166102f8565b34801561059257600080fd5b506102cb611097565b3480156105a757600080fd5b506102b46105b6366004612080565b6110a6565b3480156105c757600080fd5b506102b46105d6366004612004565b61116b565b3480156105e757600080fd5b506102b46105f6366004612172565b61119d565b34801561060757600080fd5b506102cb610616366004612172565b6111cc565b34801561062757600080fd5b506102b4610636366004612172565b6112a7565b34801561064757600080fd5b506102cb6112d6565b34801561065c57600080fd5b50610251600e5481565b34801561067257600080fd5b5061025160105481565b34801561068857600080fd5b50610284610697366004611f95565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156106d157600080fd5b50601054610251565b3480156106e657600080fd5b506102b46106f5366004611f7a565b611364565b60006001600160e01b0319821663780e9d6360e01b148061071f575061071f826113ff565b92915050565b600a546001600160a01b031633146107585760405162461bcd60e51b815260040161074f906122cc565b60405180910390fd5b6012805460ff1916911515919091179055565b60606000805461077a906123e0565b80601f01602080910402602001604051908101604052809291908181526020018280546107a6906123e0565b80156107f35780601f106107c8576101008083540402835291602001916107f3565b820191906000526020600020905b8154815290600101906020018083116107d657829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166108765760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161074f565b506000908152600460205260409020546001600160a01b031690565b600a546001600160a01b031633146108bc5760405162461bcd60e51b815260040161074f906122cc565b600f55565b60006108cc82610f36565b9050806001600160a01b0316836001600160a01b0316141561093a5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161074f565b336001600160a01b038216148061095657506109568133610697565b6109c85760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161074f565b6109d2838361144f565b505050565b600a546001600160a01b03163314610a015760405162461bcd60e51b815260040161074f906122cc565b610a0c336064610b23565b565b610a1833826114bd565b610a345760405162461bcd60e51b815260040161074f90612301565b6109d28383836115b4565b6000610a4a83610fdc565b8210610aac5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b606482015260840161074f565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b03163314610aff5760405162461bcd60e51b815260040161074f906122cc565b60405133904780156108fc02916000818181858888f19350505050610a0c57600080fd5b6000610b2d61175f565b905060008211610b3c57600080fd5b600e54610b498383612352565b1115610b845760405162461bcd60e51b815260206004820152600a60248201526914d85b1948115b99195960b21b604482015260640161074f565b600a546001600160a01b03163314610d3b5760125460ff1615610bdf5760405162461bcd60e51b815260206004820152601360248201527253616c65206d7573742062652061637469766560681b604482015260640161074f565b600f54821115610c315760405162461bcd60e51b815260206004820152601760248201527f45786365656473206d6178206d696e7420616d6f756e74000000000000000000604482015260640161074f565b601054811015610cde57601054610c488383612352565b1115610c875760405162461bcd60e51b815260206004820152600e60248201526d233932b29036b4b73a1037bb32b960911b604482015260640161074f565b601154821115610cd95760405162461bcd60e51b815260206004820152601860248201527f457863656564732066726565206d696e7420616d6f756e740000000000000000604482015260640161074f565b610d3b565b81600d54610cec919061237e565b341015610d3b5760405162461bcd60e51b815260206004820152601f60248201527f4e6f7420656e6f75676820455448202846726565206d696e74206f7665722900604482015260640161074f565b60005b82811015610d6157610d4f8461176a565b80610d598161241b565b915050610d3e565b50505050565b6109d28383836040518060200160405280600081525061116b565b60606000610d8f83610fdc565b905060008167ffffffffffffffff811115610dac57610dac6124a2565b604051908082528060200260200182016040528015610dd5578160200160208202803683370190505b50905060005b82811015610e1c57610ded8582610a3f565b828281518110610dff57610dff61248c565b602090810291909101015280610e148161241b565b915050610ddb565b509392505050565b600a546001600160a01b03163314610e4e5760405162461bcd60e51b815260040161074f906122cc565b600d55565b6000610e5e60085490565b8210610ec15760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b606482015260840161074f565b60088281548110610ed457610ed461248c565b90600052602060002001549050919050565b600a546001600160a01b03163314610f105760405162461bcd60e51b815260040161074f906122cc565b8051610f2390600c906020840190611e3f565b5050565b6000610f3161175f565b905090565b6000818152600260205260408120546001600160a01b03168061071f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161074f565b600a546001600160a01b03163314610fd75760405162461bcd60e51b815260040161074f906122cc565b600e55565b60006001600160a01b0382166110475760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161074f565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b0316331461108d5760405162461bcd60e51b815260040161074f906122cc565b610a0c60006117bd565b60606001805461077a906123e0565b6001600160a01b0382163314156110ff5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161074f565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61117533836114bd565b6111915760405162461bcd60e51b815260040161074f90612301565b610d618484848461180f565b600a546001600160a01b031633146111c75760405162461bcd60e51b815260040161074f906122cc565b601055565b6000818152600260205260409020546060906001600160a01b031661124b5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161074f565b6000611255611842565b9050600081511161127557604051806020016040528060008152506112a0565b8061127f84611851565b6040516020016112909291906121b7565b6040516020818303038152906040525b9392505050565b600a546001600160a01b031633146112d15760405162461bcd60e51b815260040161074f906122cc565b601155565b600c80546112e3906123e0565b80601f016020809104026020016040519081016040528092919081815260200182805461130f906123e0565b801561135c5780601f106113315761010080835404028352916020019161135c565b820191906000526020600020905b81548152906001019060200180831161133f57829003601f168201915b505050505081565b600a546001600160a01b0316331461138e5760405162461bcd60e51b815260040161074f906122cc565b6001600160a01b0381166113f35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161074f565b6113fc816117bd565b50565b60006001600160e01b031982166380ac58cd60e01b148061143057506001600160e01b03198216635b5e139f60e01b145b8061071f57506301ffc9a760e01b6001600160e01b031983161461071f565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061148482610f36565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166115365760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161074f565b600061154183610f36565b9050806001600160a01b0316846001600160a01b0316148061157c5750836001600160a01b0316611571846107fd565b6001600160a01b0316145b806115ac57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166115c782610f36565b6001600160a01b03161461162f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161074f565b6001600160a01b0382166116915760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161074f565b61169c83838361194f565b6116a760008261144f565b6001600160a01b03831660009081526003602052604081208054600192906116d090849061239d565b90915550506001600160a01b03821660009081526003602052604081208054600192906116fe908490612352565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000610f31600b5490565b600061177461175f565b9050611784600b80546001019055565b61178e8282611a07565b60405181907f03c0a8ca1bbdbb2fd63b7c34da27d039acdc8757f36f7f4559249d8671fd1ad890600090a25050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61181a8484846115b4565b61182684848484611a21565b610d615760405162461bcd60e51b815260040161074f9061227a565b6060600c805461077a906123e0565b6060816118755750506040805180820190915260018152600360fc1b602082015290565b8160005b811561189f57806118898161241b565b91506118989050600a8361236a565b9150611879565b60008167ffffffffffffffff8111156118ba576118ba6124a2565b6040519080825280601f01601f1916602001820160405280156118e4576020820181803683370190505b5090505b84156115ac576118f960018361239d565b9150611906600a86612436565b611911906030612352565b60f81b8183815181106119265761192661248c565b60200101906001600160f81b031916908160001a905350611948600a8661236a565b94506118e8565b6001600160a01b0383166119aa576119a581600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6119cd565b816001600160a01b0316836001600160a01b0316146119cd576119cd8382611b2e565b6001600160a01b0382166119e4576109d281611bcb565b826001600160a01b0316826001600160a01b0316146109d2576109d28282611c7a565b610f23828260405180602001604052806000815250611cbe565b60006001600160a01b0384163b15611b2357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611a659033908990889088906004016121e6565b602060405180830381600087803b158015611a7f57600080fd5b505af1925050508015611aaf575060408051601f3d908101601f19168201909252611aac9181019061210c565b60015b611b09573d808015611add576040519150601f19603f3d011682016040523d82523d6000602084013e611ae2565b606091505b508051611b015760405162461bcd60e51b815260040161074f9061227a565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506115ac565b506001949350505050565b60006001611b3b84610fdc565b611b45919061239d565b600083815260076020526040902054909150808214611b98576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611bdd9060019061239d565b60008381526009602052604081205460088054939450909284908110611c0557611c0561248c565b906000526020600020015490508060088381548110611c2657611c2661248c565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611c5e57611c5e612476565b6001900381819060005260206000200160009055905550505050565b6000611c8583610fdc565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b611cc88383611cf1565b611cd56000848484611a21565b6109d25760405162461bcd60e51b815260040161074f9061227a565b6001600160a01b038216611d475760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161074f565b6000818152600260205260409020546001600160a01b031615611dac5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161074f565b611db86000838361194f565b6001600160a01b0382166000908152600360205260408120805460019290611de1908490612352565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611e4b906123e0565b90600052602060002090601f016020900481019282611e6d5760008555611eb3565b82601f10611e8657805160ff1916838001178555611eb3565b82800160010185558215611eb3579182015b82811115611eb3578251825591602001919060010190611e98565b50611ebf929150611ec3565b5090565b5b80821115611ebf5760008155600101611ec4565b600067ffffffffffffffff80841115611ef357611ef36124a2565b604051601f8501601f19908116603f01168101908282118183101715611f1b57611f1b6124a2565b81604052809350858152868686011115611f3457600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611f6557600080fd5b919050565b80358015158114611f6557600080fd5b600060208284031215611f8c57600080fd5b6112a082611f4e565b60008060408385031215611fa857600080fd5b611fb183611f4e565b9150611fbf60208401611f4e565b90509250929050565b600080600060608486031215611fdd57600080fd5b611fe684611f4e565b9250611ff460208501611f4e565b9150604084013590509250925092565b6000806000806080858703121561201a57600080fd5b61202385611f4e565b935061203160208601611f4e565b925060408501359150606085013567ffffffffffffffff81111561205457600080fd5b8501601f8101871361206557600080fd5b61207487823560208401611ed8565b91505092959194509250565b6000806040838503121561209357600080fd5b61209c83611f4e565b9150611fbf60208401611f6a565b600080604083850312156120bd57600080fd5b6120c683611f4e565b946020939093013593505050565b6000602082840312156120e657600080fd5b6112a082611f6a565b60006020828403121561210157600080fd5b81356112a0816124b8565b60006020828403121561211e57600080fd5b81516112a0816124b8565b60006020828403121561213b57600080fd5b813567ffffffffffffffff81111561215257600080fd5b8201601f8101841361216357600080fd5b6115ac84823560208401611ed8565b60006020828403121561218457600080fd5b5035919050565b600081518084526121a38160208601602086016123b4565b601f01601f19169290920160200192915050565b600083516121c98184602088016123b4565b8351908301906121dd8183602088016123b4565b01949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906122199083018461218b565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561225b5783518352928401929184019160010161223f565b50909695505050505050565b6020815260006112a0602083018461218b565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156123655761236561244a565b500190565b60008261237957612379612460565b500490565b60008160001904831182151516156123985761239861244a565b500290565b6000828210156123af576123af61244a565b500390565b60005b838110156123cf5781810151838201526020016123b7565b83811115610d615750506000910152565b600181811c908216806123f457607f821691505b6020821081141561241557634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561242f5761242f61244a565b5060010190565b60008261244557612445612460565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146113fc57600080fdfea2646970667358221220e2d64299e45afda6b17bb02d117e7112305b104b725a8a8b8568ccd45b76d06d64736f6c63430008070033

Deployed Bytecode Sourcemap

52273:3702:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54227:105;;;;;;;;;;-1:-1:-1;54307:17:0;;54227:105;;;16239:25:1;;;16227:2;16212:18;54227:105:0;;;;;;;;46086:224;;;;;;;;;;-1:-1:-1;46086:224:0;;;;;:::i;:::-;;:::i;:::-;;;6540:14:1;;6533:22;6515:41;;6503:2;6488:18;46086:224:0;6375:187:1;55117:79:0;;;;;;;;;;-1:-1:-1;55117:79:0;;;;;:::i;:::-;;:::i;:::-;;32253:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;33812:221::-;;;;;;;;;;-1:-1:-1;33812:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;5201:32:1;;;5183:51;;5171:2;5156:18;33812:221:0;5037:203:1;55306:124:0;;;;;;;;;;-1:-1:-1;55306:124:0;;;;;:::i;:::-;;:::i;33335:411::-;;;;;;;;;;-1:-1:-1;33335:411:0;;;;;:::i;:::-;;:::i;52674:36::-;;;;;;;;;;;;;;;;52514:33;;;;;;;;;;;;;;;;46726:113;;;;;;;;;;-1:-1:-1;46814:10:0;:17;46726:113;;52894:88;;;;;;;;;;;;;:::i;52592:33::-;;;;;;;;;;;;;;;;34702:339;;;;;;;;;;-1:-1:-1;34702:339:0;;;;;:::i;:::-;;:::i;46394:256::-;;;;;;;;;;-1:-1:-1;46394:256:0;;;;;:::i;:::-;;:::i;55438:120::-;;;:::i;53195:909::-;;;;;;:::i;:::-;;:::i;35112:185::-;;;;;;;;;;-1:-1:-1;35112:185:0;;;;;:::i;:::-;;:::i;54756:353::-;;;;;;;;;;-1:-1:-1;54756:353:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;55206:92::-;;;;;;;;;;-1:-1:-1;55206:92:0;;;;;:::i;:::-;;:::i;46916:233::-;;;;;;;;;;-1:-1:-1;46916:233:0;;;;;:::i;:::-;;:::i;54647:101::-;;;;;;;;;;-1:-1:-1;54647:101:0;;;;;:::i;:::-;;:::i;53096:91::-;;;;;;;;;;;;;:::i;52717:26::-;;;;;;;;;;-1:-1:-1;52717:26:0;;;;;;;;31947:239;;;;;;;;;;-1:-1:-1;31947:239:0;;;;;:::i;:::-;;:::i;55862:108::-;;;;;;;;;;-1:-1:-1;55862:108:0;;;;;:::i;:::-;;:::i;31677:208::-;;;;;;;;;;-1:-1:-1;31677:208:0;;;;;:::i;:::-;;:::i;10853:94::-;;;;;;;;;;;;;:::i;10202:87::-;;;;;;;;;;-1:-1:-1;10275:6:0;;-1:-1:-1;;;;;10275:6:0;10202:87;;32422:104;;;;;;;;;;;;;:::i;34105:295::-;;;;;;;;;;-1:-1:-1;34105:295:0;;;;;:::i;:::-;;:::i;35368:328::-;;;;;;;;;;-1:-1:-1;35368:328:0;;;;;:::i;:::-;;:::i;55570:128::-;;;;;;;;;;-1:-1:-1;55570:128:0;;;;;:::i;:::-;;:::i;32597:334::-;;;;;;;;;;-1:-1:-1;32597:334:0;;;;;:::i;:::-;;:::i;55710:140::-;;;;;;;;;;-1:-1:-1;55710:140:0;;;;;:::i;:::-;;:::i;52481:26::-;;;;;;;;;;;;;:::i;52554:31::-;;;;;;;;;;;;;;;;52632:35;;;;;;;;;;;;;;;;34471:164;;;;;;;;;;-1:-1:-1;34471:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;34592:25:0;;;34568:4;34592:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;34471:164;54116:99;;;;;;;;;;-1:-1:-1;54193:14:0;;54116:99;;11102:192;;;;;;;;;;-1:-1:-1;11102:192:0;;;;;:::i;:::-;;:::i;46086:224::-;46188:4;-1:-1:-1;;;;;;46212:50:0;;-1:-1:-1;;;46212:50:0;;:90;;;46266:36;46290:11;46266:23;:36::i;:::-;46205:97;46086:224;-1:-1:-1;;46086:224:0:o;55117:79::-;10275:6;;-1:-1:-1;;;;;10275:6:0;9072:10;10422:23;10414:68;;;;-1:-1:-1;;;10414:68:0;;;;;;;:::i;:::-;;;;;;;;;55173:6:::1;:15:::0;;-1:-1:-1;;55173:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;55117:79::o;32253:100::-;32307:13;32340:5;32333:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32253:100;:::o;33812:221::-;33888:7;37295:16;;;:7;:16;;;;;;-1:-1:-1;;;;;37295:16:0;33908:73;;;;-1:-1:-1;;;33908:73:0;;13110:2:1;33908:73:0;;;13092:21:1;13149:2;13129:18;;;13122:30;13188:34;13168:18;;;13161:62;-1:-1:-1;;;13239:18:1;;;13232:42;13291:19;;33908:73:0;12908:408:1;33908:73:0;-1:-1:-1;34001:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;34001:24:0;;33812:221::o;55306:124::-;10275:6;;-1:-1:-1;;;;;10275:6:0;9072:10;10422:23;10414:68;;;;-1:-1:-1;;;10414:68:0;;;;;;;:::i;:::-;55389:13:::1;:33:::0;55306:124::o;33335:411::-;33416:13;33432:23;33447:7;33432:14;:23::i;:::-;33416:39;;33480:5;-1:-1:-1;;;;;33474:11:0;:2;-1:-1:-1;;;;;33474:11:0;;;33466:57;;;;-1:-1:-1;;;33466:57:0;;14710:2:1;33466:57:0;;;14692:21:1;14749:2;14729:18;;;14722:30;14788:34;14768:18;;;14761:62;-1:-1:-1;;;14839:18:1;;;14832:31;14880:19;;33466:57:0;14508:397:1;33466:57:0;9072:10;-1:-1:-1;;;;;33558:21:0;;;;:62;;-1:-1:-1;33583:37:0;33600:5;9072:10;34471:164;:::i;33583:37::-;33536:168;;;;-1:-1:-1;;;33536:168:0;;11143:2:1;33536:168:0;;;11125:21:1;11182:2;11162:18;;;11155:30;11221:34;11201:18;;;11194:62;11292:26;11272:18;;;11265:54;11336:19;;33536:168:0;10941:420:1;33536:168:0;33717:21;33726:2;33730:7;33717:8;:21::i;:::-;33405:341;33335:411;;:::o;52894:88::-;10275:6;;-1:-1:-1;;;;;10275:6:0;9072:10;10422:23;10414:68;;;;-1:-1:-1;;;10414:68:0;;;;;;;:::i;:::-;52953:21:::1;52958:10;52970:3;52953:4;:21::i;:::-;52894:88::o:0;34702:339::-;34897:41;9072:10;34930:7;34897:18;:41::i;:::-;34889:103;;;;-1:-1:-1;;;34889:103:0;;;;;;;:::i;:::-;35005:28;35015:4;35021:2;35025:7;35005:9;:28::i;46394:256::-;46491:7;46527:23;46544:5;46527:16;:23::i;:::-;46519:5;:31;46511:87;;;;-1:-1:-1;;;46511:87:0;;7694:2:1;46511:87:0;;;7676:21:1;7733:2;7713:18;;;7706:30;7772:34;7752:18;;;7745:62;-1:-1:-1;;;7823:18:1;;;7816:41;7874:19;;46511:87:0;7492:407:1;46511:87:0;-1:-1:-1;;;;;;46616:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;46394:256::o;55438:120::-;10275:6;;-1:-1:-1;;;;;10275:6:0;9072:10;10422:23;10414:68;;;;-1:-1:-1;;;10414:68:0;;;;;;;:::i;:::-;55502:47:::1;::::0;55510:10:::1;::::0;55527:21:::1;55502:47:::0;::::1;;;::::0;::::1;::::0;;;55527:21;55510:10;55502:47;::::1;;;;;;55494:56;;;::::0;::::1;53195:909:::0;53269:14;53286;:12;:14::i;:::-;53269:31;;53343:1;53329:11;:15;53321:24;;;;;;53388:9;;53364:20;53373:11;53364:6;:20;:::i;:::-;:33;;53356:56;;;;-1:-1:-1;;;53356:56:0;;10461:2:1;53356:56:0;;;10443:21:1;10500:2;10480:18;;;10473:30;-1:-1:-1;;;10519:18:1;;;10512:40;10569:18;;53356:56:0;10259:334:1;53356:56:0;10275:6;;-1:-1:-1;;;;;10275:6:0;53439:10;:21;53435:562;;53486:6;;;;53485:7;53477:39;;;;-1:-1:-1;;;53477:39:0;;6993:2:1;53477:39:0;;;6975:21:1;7032:2;7012:18;;;7005:30;-1:-1:-1;;;7051:18:1;;;7044:49;7110:18;;53477:39:0;6791:343:1;53477:39:0;53554:13;;53539:11;:28;;53531:64;;;;-1:-1:-1;;;53531:64:0;;15943:2:1;53531:64:0;;;15925:21:1;15982:2;15962:18;;;15955:30;16021:25;16001:18;;;15994:53;16064:18;;53531:64:0;15741:347:1;53531:64:0;53623:14;;53614:6;:23;53610:376;;;53703:14;;53679:20;53688:11;53679:6;:20;:::i;:::-;:38;;53671:65;;;;-1:-1:-1;;;53671:65:0;;10800:2:1;53671:65:0;;;10782:21:1;10839:2;10819:18;;;10812:30;-1:-1:-1;;;10858:18:1;;;10851:44;10912:18;;53671:65:0;10598:338:1;53671:65:0;53778:17;;53763:11;:32;;53755:69;;;;-1:-1:-1;;;53755:69:0;;7341:2:1;53755:69:0;;;7323:21:1;7380:2;7360:18;;;7353:30;7419:26;7399:18;;;7392:54;7463:18;;53755:69:0;7139:348:1;53755:69:0;53610:376;;;53923:11;53916:4;;:18;;;;:::i;:::-;53903:9;:31;;53895:75;;;;-1:-1:-1;;;53895:75:0;;12389:2:1;53895:75:0;;;12371:21:1;12428:2;12408:18;;;12401:30;12467:33;12447:18;;;12440:61;12518:18;;53895:75:0;12187:355:1;53895:75:0;54014:9;54009:88;54033:11;54029:1;:15;54009:88;;;54066:19;54081:3;54066:14;:19::i;:::-;54046:3;;;;:::i;:::-;;;;54009:88;;;;53258:846;53195:909;;:::o;35112:185::-;35250:39;35267:4;35273:2;35277:7;35250:39;;;;;;;;;;;;:16;:39::i;54756:353::-;54818:16;54847:18;54868:17;54878:6;54868:9;:17::i;:::-;54847:38;;54898:25;54940:10;54926:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54926:25:0;;54898:53;;54967:9;54962:112;54986:10;54982:1;:14;54962:112;;;55032:30;55052:6;55060:1;55032:19;:30::i;:::-;55018:8;55027:1;55018:11;;;;;;;;:::i;:::-;;;;;;;;;;:44;54998:3;;;;:::i;:::-;;;;54962:112;;;-1:-1:-1;55093:8:0;54756:353;-1:-1:-1;;;54756:353:0:o;55206:92::-;10275:6;;-1:-1:-1;;;;;10275:6:0;9072:10;10422:23;10414:68;;;;-1:-1:-1;;;10414:68:0;;;;;;;:::i;:::-;55275:4:::1;:15:::0;55206:92::o;46916:233::-;46991:7;47027:30;46814:10;:17;;46726:113;47027:30;47019:5;:38;47011:95;;;;-1:-1:-1;;;47011:95:0;;15530:2:1;47011:95:0;;;15512:21:1;15569:2;15549:18;;;15542:30;15608:34;15588:18;;;15581:62;-1:-1:-1;;;15659:18:1;;;15652:42;15711:19;;47011:95:0;15328:408:1;47011:95:0;47124:10;47135:5;47124:17;;;;;;;;:::i;:::-;;;;;;;;;47117:24;;46916:233;;;:::o;54647:101::-;10275:6;;-1:-1:-1;;;;;10275:6:0;9072:10;10422:23;10414:68;;;;-1:-1:-1;;;10414:68:0;;;;;;;:::i;:::-;54718:22;;::::1;::::0;:12:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;:::-;;54647:101:::0;:::o;53096:91::-;53138:7;53165:14;:12;:14::i;:::-;53158:21;;53096:91;:::o;31947:239::-;32019:7;32055:16;;;:7;:16;;;;;;-1:-1:-1;;;;;32055:16:0;32090:19;32082:73;;;;-1:-1:-1;;;32082:73:0;;11979:2:1;32082:73:0;;;11961:21:1;12018:2;11998:18;;;11991:30;12057:34;12037:18;;;12030:62;-1:-1:-1;;;12108:18:1;;;12101:39;12157:19;;32082:73:0;11777:405:1;55862:108:0;10275:6;;-1:-1:-1;;;;;10275:6:0;9072:10;10422:23;10414:68;;;;-1:-1:-1;;;10414:68:0;;;;;;;:::i;:::-;55937:9:::1;:25:::0;55862:108::o;31677:208::-;31749:7;-1:-1:-1;;;;;31777:19:0;;31769:74;;;;-1:-1:-1;;;31769:74:0;;11568:2:1;31769:74:0;;;11550:21:1;11607:2;11587:18;;;11580:30;11646:34;11626:18;;;11619:62;-1:-1:-1;;;11697:18:1;;;11690:40;11747:19;;31769:74:0;11366:406:1;31769:74:0;-1:-1:-1;;;;;;31861:16:0;;;;;:9;:16;;;;;;;31677:208::o;10853:94::-;10275:6;;-1:-1:-1;;;;;10275:6:0;9072:10;10422:23;10414:68;;;;-1:-1:-1;;;10414:68:0;;;;;;;:::i;:::-;10918:21:::1;10936:1;10918:9;:21::i;32422:104::-:0;32478:13;32511:7;32504:14;;;;;:::i;34105:295::-;-1:-1:-1;;;;;34208:24:0;;9072:10;34208:24;;34200:62;;;;-1:-1:-1;;;34200:62:0;;9694:2:1;34200:62:0;;;9676:21:1;9733:2;9713:18;;;9706:30;9772:27;9752:18;;;9745:55;9817:18;;34200:62:0;9492:349:1;34200:62:0;9072:10;34275:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;34275:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;34275:53:0;;;;;;;;;;34344:48;;6515:41:1;;;34275:42:0;;9072:10;34344:48;;6488:18:1;34344:48:0;;;;;;;34105:295;;:::o;35368:328::-;35543:41;9072:10;35576:7;35543:18;:41::i;:::-;35535:103;;;;-1:-1:-1;;;35535:103:0;;;;;;;:::i;:::-;35649:39;35663:4;35669:2;35673:7;35682:5;35649:13;:39::i;55570:128::-;10275:6;;-1:-1:-1;;;;;10275:6:0;9072:10;10422:23;10414:68;;;;-1:-1:-1;;;10414:68:0;;;;;;;:::i;:::-;55655:14:::1;:35:::0;55570:128::o;32597:334::-;37271:4;37295:16;;;:7;:16;;;;;;32670:13;;-1:-1:-1;;;;;37295:16:0;32696:76;;;;-1:-1:-1;;;32696:76:0;;14294:2:1;32696:76:0;;;14276:21:1;14333:2;14313:18;;;14306:30;14372:34;14352:18;;;14345:62;-1:-1:-1;;;14423:18:1;;;14416:45;14478:19;;32696:76:0;14092:411:1;32696:76:0;32785:21;32809:10;:8;:10::i;:::-;32785:34;;32861:1;32843:7;32837:21;:25;:86;;;;;;;;;;;;;;;;;32889:7;32898:18;:7;:16;:18::i;:::-;32872:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;32837:86;32830:93;32597:334;-1:-1:-1;;;32597:334:0:o;55710:140::-;10275:6;;-1:-1:-1;;;;;10275:6:0;9072:10;10422:23;10414:68;;;;-1:-1:-1;;;10414:68:0;;;;;;;:::i;:::-;55801:17:::1;:41:::0;55710:140::o;52481:26::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;11102:192::-;10275:6;;-1:-1:-1;;;;;10275:6:0;9072:10;10422:23;10414:68;;;;-1:-1:-1;;;10414:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;11191:22:0;::::1;11183:73;;;::::0;-1:-1:-1;;;11183:73:0;;8525:2:1;11183:73:0::1;::::0;::::1;8507:21:1::0;8564:2;8544:18;;;8537:30;8603:34;8583:18;;;8576:62;-1:-1:-1;;;8654:18:1;;;8647:36;8700:19;;11183:73:0::1;8323:402:1::0;11183:73:0::1;11267:19;11277:8;11267:9;:19::i;:::-;11102:192:::0;:::o;31308:305::-;31410:4;-1:-1:-1;;;;;;31447:40:0;;-1:-1:-1;;;31447:40:0;;:105;;-1:-1:-1;;;;;;;31504:48:0;;-1:-1:-1;;;31504:48:0;31447:105;:158;;;-1:-1:-1;;;;;;;;;;13319:40:0;;;31569:36;13210:157;41188:174;41263:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;41263:29:0;-1:-1:-1;;;;;41263:29:0;;;;;;;;:24;;41317:23;41263:24;41317:14;:23::i;:::-;-1:-1:-1;;;;;41308:46:0;;;;;;;;;;;41188:174;;:::o;37500:348::-;37593:4;37295:16;;;:7;:16;;;;;;-1:-1:-1;;;;;37295:16:0;37610:73;;;;-1:-1:-1;;;37610:73:0;;10048:2:1;37610:73:0;;;10030:21:1;10087:2;10067:18;;;10060:30;10126:34;10106:18;;;10099:62;-1:-1:-1;;;10177:18:1;;;10170:42;10229:19;;37610:73:0;9846:408:1;37610:73:0;37694:13;37710:23;37725:7;37710:14;:23::i;:::-;37694:39;;37763:5;-1:-1:-1;;;;;37752:16:0;:7;-1:-1:-1;;;;;37752:16:0;;:51;;;;37796:7;-1:-1:-1;;;;;37772:31:0;:20;37784:7;37772:11;:20::i;:::-;-1:-1:-1;;;;;37772:31:0;;37752:51;:87;;;-1:-1:-1;;;;;;34592:25:0;;;34568:4;34592:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;37807:32;37744:96;37500:348;-1:-1:-1;;;;37500:348:0:o;40492:578::-;40651:4;-1:-1:-1;;;;;40624:31:0;:23;40639:7;40624:14;:23::i;:::-;-1:-1:-1;;;;;40624:31:0;;40616:85;;;;-1:-1:-1;;;40616:85:0;;13884:2:1;40616:85:0;;;13866:21:1;13923:2;13903:18;;;13896:30;13962:34;13942:18;;;13935:62;-1:-1:-1;;;14013:18:1;;;14006:39;14062:19;;40616:85:0;13682:405:1;40616:85:0;-1:-1:-1;;;;;40720:16:0;;40712:65;;;;-1:-1:-1;;;40712:65:0;;9289:2:1;40712:65:0;;;9271:21:1;9328:2;9308:18;;;9301:30;9367:34;9347:18;;;9340:62;-1:-1:-1;;;9418:18:1;;;9411:34;9462:19;;40712:65:0;9087:400:1;40712:65:0;40790:39;40811:4;40817:2;40821:7;40790:20;:39::i;:::-;40894:29;40911:1;40915:7;40894:8;:29::i;:::-;-1:-1:-1;;;;;40936:15:0;;;;;;:9;:15;;;;;:20;;40955:1;;40936:15;:20;;40955:1;;40936:20;:::i;:::-;;;;-1:-1:-1;;;;;;;40967:13:0;;;;;;:9;:13;;;;;:18;;40984:1;;40967:13;:18;;40984:1;;40967:18;:::i;:::-;;;;-1:-1:-1;;40996:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;40996:21:0;-1:-1:-1;;;;;40996:21:0;;;;;;;;;41035:27;;40996:16;;41035:27;;;;;;;40492:578;;;:::o;52990:98::-;53037:4;53061:19;:9;909:14;;817:114;54340:178;54396:7;54406:14;:12;:14::i;:::-;54396:24;;54431:21;:9;1028:19;;1046:1;1028:19;;;939:127;54431:21;54463:18;54473:3;54478:2;54463:9;:18::i;:::-;54497:13;;54507:2;;54497:13;;;;;54385:133;54340:178;:::o;11302:173::-;11377:6;;;-1:-1:-1;;;;;11394:17:0;;;-1:-1:-1;;;;;;11394:17:0;;;;;;;11427:40;;11377:6;;;11394:17;11377:6;;11427:40;;11358:16;;11427:40;11347:128;11302:173;:::o;36578:315::-;36735:28;36745:4;36751:2;36755:7;36735:9;:28::i;:::-;36782:48;36805:4;36811:2;36815:7;36824:5;36782:22;:48::i;:::-;36774:111;;;;-1:-1:-1;;;36774:111:0;;;;;;;:::i;54526:113::-;54586:13;54619:12;54612:19;;;;;:::i;13685:723::-;13741:13;13962:10;13958:53;;-1:-1:-1;;13989:10:0;;;;;;;;;;;;-1:-1:-1;;;13989:10:0;;;;;13685:723::o;13958:53::-;14036:5;14021:12;14077:78;14084:9;;14077:78;;14110:8;;;;:::i;:::-;;-1:-1:-1;14133:10:0;;-1:-1:-1;14141:2:0;14133:10;;:::i;:::-;;;14077:78;;;14165:19;14197:6;14187:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14187:17:0;;14165:39;;14215:154;14222:10;;14215:154;;14249:11;14259:1;14249:11;;:::i;:::-;;-1:-1:-1;14318:10:0;14326:2;14318:5;:10;:::i;:::-;14305:24;;:2;:24;:::i;:::-;14292:39;;14275:6;14282;14275:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;14275:56:0;;;;;;;;-1:-1:-1;14346:11:0;14355:2;14346:11;;:::i;:::-;;;14215:154;;47762:589;-1:-1:-1;;;;;47968:18:0;;47964:187;;48003:40;48035:7;49178:10;:17;;49151:24;;;;:15;:24;;;;;:44;;;49206:24;;;;;;;;;;;;49074:164;48003:40;47964:187;;;48073:2;-1:-1:-1;;;;;48065:10:0;:4;-1:-1:-1;;;;;48065:10:0;;48061:90;;48092:47;48125:4;48131:7;48092:32;:47::i;:::-;-1:-1:-1;;;;;48165:16:0;;48161:183;;48198:45;48235:7;48198:36;:45::i;48161:183::-;48271:4;-1:-1:-1;;;;;48265:10:0;:2;-1:-1:-1;;;;;48265:10:0;;48261:83;;48292:40;48320:2;48324:7;48292:27;:40::i;38190:110::-;38266:26;38276:2;38280:7;38266:26;;;;;;;;;;;;:9;:26::i;41927:799::-;42082:4;-1:-1:-1;;;;;42103:13:0;;16535:20;16583:8;42099:620;;42139:72;;-1:-1:-1;;;42139:72:0;;-1:-1:-1;;;;;42139:36:0;;;;;:72;;9072:10;;42190:4;;42196:7;;42205:5;;42139:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42139:72:0;;;;;;;;-1:-1:-1;;42139:72:0;;;;;;;;;;;;:::i;:::-;;;42135:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42381:13:0;;42377:272;;42424:60;;-1:-1:-1;;;42424:60:0;;;;;;;:::i;42377:272::-;42599:6;42593:13;42584:6;42580:2;42576:15;42569:38;42135:529;-1:-1:-1;;;;;;42262:51:0;-1:-1:-1;;;42262:51:0;;-1:-1:-1;42255:58:0;;42099:620;-1:-1:-1;42703:4:0;41927:799;;;;;;:::o;49865:988::-;50131:22;50181:1;50156:22;50173:4;50156:16;:22::i;:::-;:26;;;;:::i;:::-;50193:18;50214:26;;;:17;:26;;;;;;50131:51;;-1:-1:-1;50347:28:0;;;50343:328;;-1:-1:-1;;;;;50414:18:0;;50392:19;50414:18;;;:12;:18;;;;;;;;:34;;;;;;;;;50465:30;;;;;;:44;;;50582:30;;:17;:30;;;;;:43;;;50343:328;-1:-1:-1;50767:26:0;;;;:17;:26;;;;;;;;50760:33;;;-1:-1:-1;;;;;50811:18:0;;;;;:12;:18;;;;;:34;;;;;;;50804:41;49865:988::o;51148:1079::-;51426:10;:17;51401:22;;51426:21;;51446:1;;51426:21;:::i;:::-;51458:18;51479:24;;;:15;:24;;;;;;51852:10;:26;;51401:46;;-1:-1:-1;51479:24:0;;51401:46;;51852:26;;;;;;:::i;:::-;;;;;;;;;51830:48;;51916:11;51891:10;51902;51891:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;51996:28;;;:15;:28;;;;;;;:41;;;52168:24;;;;;52161:31;52203:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;51219:1008;;;51148:1079;:::o;48652:221::-;48737:14;48754:20;48771:2;48754:16;:20::i;:::-;-1:-1:-1;;;;;48785:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;48830:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;48652:221:0:o;38527:321::-;38657:18;38663:2;38667:7;38657:5;:18::i;:::-;38708:54;38739:1;38743:2;38747:7;38756:5;38708:22;:54::i;:::-;38686:154;;;;-1:-1:-1;;;38686:154:0;;;;;;;:::i;39184:382::-;-1:-1:-1;;;;;39264:16:0;;39256:61;;;;-1:-1:-1;;;39256:61:0;;12749:2:1;39256:61:0;;;12731:21:1;;;12768:18;;;12761:30;12827:34;12807:18;;;12800:62;12879:18;;39256:61:0;12547:356:1;39256:61:0;37271:4;37295:16;;;:7;:16;;;;;;-1:-1:-1;;;;;37295:16:0;:30;39328:58;;;;-1:-1:-1;;;39328:58:0;;8932:2:1;39328:58:0;;;8914:21:1;8971:2;8951:18;;;8944:30;9010;8990:18;;;8983:58;9058:18;;39328:58:0;8730:352:1;39328:58:0;39399:45;39428:1;39432:2;39436:7;39399:20;:45::i;:::-;-1:-1:-1;;;;;39457:13:0;;;;;;:9;:13;;;;;:18;;39474:1;;39457:13;:18;;39474:1;;39457:18;:::i;:::-;;;;-1:-1:-1;;39486:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;39486:21:0;-1:-1:-1;;;;;39486:21:0;;;;;;;;39525:33;;39486:16;;;39525:33;;39486:16;;39525:33;39184:382;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;747:70;650:173;;;:::o;828:160::-;893:20;;949:13;;942:21;932:32;;922:60;;978:1;975;968:12;993:186;1052:6;1105:2;1093:9;1084:7;1080:23;1076:32;1073:52;;;1121:1;1118;1111:12;1073:52;1144:29;1163:9;1144:29;:::i;1184:260::-;1252:6;1260;1313:2;1301:9;1292:7;1288:23;1284:32;1281:52;;;1329:1;1326;1319:12;1281:52;1352:29;1371:9;1352:29;:::i;:::-;1342:39;;1400:38;1434:2;1423:9;1419:18;1400:38;:::i;:::-;1390:48;;1184:260;;;;;:::o;1449:328::-;1526:6;1534;1542;1595:2;1583:9;1574:7;1570:23;1566:32;1563:52;;;1611:1;1608;1601:12;1563:52;1634:29;1653:9;1634:29;:::i;:::-;1624:39;;1682:38;1716:2;1705:9;1701:18;1682:38;:::i;:::-;1672:48;;1767:2;1756:9;1752:18;1739:32;1729:42;;1449:328;;;;;:::o;1782:666::-;1877:6;1885;1893;1901;1954:3;1942:9;1933:7;1929:23;1925:33;1922:53;;;1971:1;1968;1961:12;1922:53;1994:29;2013:9;1994:29;:::i;:::-;1984:39;;2042:38;2076:2;2065:9;2061:18;2042:38;:::i;:::-;2032:48;;2127:2;2116:9;2112:18;2099:32;2089:42;;2182:2;2171:9;2167:18;2154:32;2209:18;2201:6;2198:30;2195:50;;;2241:1;2238;2231:12;2195:50;2264:22;;2317:4;2309:13;;2305:27;-1:-1:-1;2295:55:1;;2346:1;2343;2336:12;2295:55;2369:73;2434:7;2429:2;2416:16;2411:2;2407;2403:11;2369:73;:::i;:::-;2359:83;;;1782:666;;;;;;;:::o;2453:254::-;2518:6;2526;2579:2;2567:9;2558:7;2554:23;2550:32;2547:52;;;2595:1;2592;2585:12;2547:52;2618:29;2637:9;2618:29;:::i;:::-;2608:39;;2666:35;2697:2;2686:9;2682:18;2666:35;:::i;2712:254::-;2780:6;2788;2841:2;2829:9;2820:7;2816:23;2812:32;2809:52;;;2857:1;2854;2847:12;2809:52;2880:29;2899:9;2880:29;:::i;:::-;2870:39;2956:2;2941:18;;;;2928:32;;-1:-1:-1;;;2712:254:1:o;2971:180::-;3027:6;3080:2;3068:9;3059:7;3055:23;3051:32;3048:52;;;3096:1;3093;3086:12;3048:52;3119:26;3135:9;3119:26;:::i;3156:245::-;3214:6;3267:2;3255:9;3246:7;3242:23;3238:32;3235:52;;;3283:1;3280;3273:12;3235:52;3322:9;3309:23;3341:30;3365:5;3341:30;:::i;3406:249::-;3475:6;3528:2;3516:9;3507:7;3503:23;3499:32;3496:52;;;3544:1;3541;3534:12;3496:52;3576:9;3570:16;3595:30;3619:5;3595:30;:::i;3660:450::-;3729:6;3782:2;3770:9;3761:7;3757:23;3753:32;3750:52;;;3798:1;3795;3788:12;3750:52;3838:9;3825:23;3871:18;3863:6;3860:30;3857:50;;;3903:1;3900;3893:12;3857:50;3926:22;;3979:4;3971:13;;3967:27;-1:-1:-1;3957:55:1;;4008:1;4005;3998:12;3957:55;4031:73;4096:7;4091:2;4078:16;4073:2;4069;4065:11;4031:73;:::i;4115:180::-;4174:6;4227:2;4215:9;4206:7;4202:23;4198:32;4195:52;;;4243:1;4240;4233:12;4195:52;-1:-1:-1;4266:23:1;;4115:180;-1:-1:-1;4115:180:1:o;4300:257::-;4341:3;4379:5;4373:12;4406:6;4401:3;4394:19;4422:63;4478:6;4471:4;4466:3;4462:14;4455:4;4448:5;4444:16;4422:63;:::i;:::-;4539:2;4518:15;-1:-1:-1;;4514:29:1;4505:39;;;;4546:4;4501:50;;4300:257;-1:-1:-1;;4300:257:1:o;4562:470::-;4741:3;4779:6;4773:13;4795:53;4841:6;4836:3;4829:4;4821:6;4817:17;4795:53;:::i;:::-;4911:13;;4870:16;;;;4933:57;4911:13;4870:16;4967:4;4955:17;;4933:57;:::i;:::-;5006:20;;4562:470;-1:-1:-1;;;;4562:470:1:o;5245:488::-;-1:-1:-1;;;;;5514:15:1;;;5496:34;;5566:15;;5561:2;5546:18;;5539:43;5613:2;5598:18;;5591:34;;;5661:3;5656:2;5641:18;;5634:31;;;5439:4;;5682:45;;5707:19;;5699:6;5682:45;:::i;:::-;5674:53;5245:488;-1:-1:-1;;;;;;5245:488:1:o;5738:632::-;5909:2;5961:21;;;6031:13;;5934:18;;;6053:22;;;5880:4;;5909:2;6132:15;;;;6106:2;6091:18;;;5880:4;6175:169;6189:6;6186:1;6183:13;6175:169;;;6250:13;;6238:26;;6319:15;;;;6284:12;;;;6211:1;6204:9;6175:169;;;-1:-1:-1;6361:3:1;;5738:632;-1:-1:-1;;;;;;5738:632:1:o;6567:219::-;6716:2;6705:9;6698:21;6679:4;6736:44;6776:2;6765:9;6761:18;6753:6;6736:44;:::i;7904:414::-;8106:2;8088:21;;;8145:2;8125:18;;;8118:30;8184:34;8179:2;8164:18;;8157:62;-1:-1:-1;;;8250:2:1;8235:18;;8228:48;8308:3;8293:19;;7904:414::o;13321:356::-;13523:2;13505:21;;;13542:18;;;13535:30;13601:34;13596:2;13581:18;;13574:62;13668:2;13653:18;;13321:356::o;14910:413::-;15112:2;15094:21;;;15151:2;15131:18;;;15124:30;15190:34;15185:2;15170:18;;15163:62;-1:-1:-1;;;15256:2:1;15241:18;;15234:47;15313:3;15298:19;;14910:413::o;16275:128::-;16315:3;16346:1;16342:6;16339:1;16336:13;16333:39;;;16352:18;;:::i;:::-;-1:-1:-1;16388:9:1;;16275:128::o;16408:120::-;16448:1;16474;16464:35;;16479:18;;:::i;:::-;-1:-1:-1;16513:9:1;;16408:120::o;16533:168::-;16573:7;16639:1;16635;16631:6;16627:14;16624:1;16621:21;16616:1;16609:9;16602:17;16598:45;16595:71;;;16646:18;;:::i;:::-;-1:-1:-1;16686:9:1;;16533:168::o;16706:125::-;16746:4;16774:1;16771;16768:8;16765:34;;;16779:18;;:::i;:::-;-1:-1:-1;16816:9:1;;16706:125::o;16836:258::-;16908:1;16918:113;16932:6;16929:1;16926:13;16918:113;;;17008:11;;;17002:18;16989:11;;;16982:39;16954:2;16947:10;16918:113;;;17049:6;17046:1;17043:13;17040:48;;;-1:-1:-1;;17084:1:1;17066:16;;17059:27;16836:258::o;17099:380::-;17178:1;17174:12;;;;17221;;;17242:61;;17296:4;17288:6;17284:17;17274:27;;17242:61;17349:2;17341:6;17338:14;17318:18;17315:38;17312:161;;;17395:10;17390:3;17386:20;17383:1;17376:31;17430:4;17427:1;17420:15;17458:4;17455:1;17448:15;17312:161;;17099:380;;;:::o;17484:135::-;17523:3;-1:-1:-1;;17544:17:1;;17541:43;;;17564:18;;:::i;:::-;-1:-1:-1;17611:1:1;17600:13;;17484:135::o;17624:112::-;17656:1;17682;17672:35;;17687:18;;:::i;:::-;-1:-1:-1;17721:9:1;;17624:112::o;17741:127::-;17802:10;17797:3;17793:20;17790:1;17783:31;17833:4;17830:1;17823:15;17857:4;17854:1;17847:15;17873:127;17934:10;17929:3;17925:20;17922:1;17915:31;17965:4;17962:1;17955:15;17989:4;17986:1;17979:15;18005:127;18066:10;18061:3;18057:20;18054:1;18047:31;18097:4;18094:1;18087:15;18121:4;18118:1;18111:15;18137:127;18198:10;18193:3;18189:20;18186:1;18179:31;18229:4;18226:1;18219:15;18253:4;18250:1;18243:15;18269:127;18330:10;18325:3;18321:20;18318:1;18311:31;18361:4;18358:1;18351:15;18385:4;18382:1;18375:15;18401:131;-1:-1:-1;;;;;;18475:32:1;;18465:43;;18455:71;;18522:1;18519;18512:12

Swarm Source

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