Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
1,534 CB.CABG
Holders
251
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 CB.CABGLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Ingredient
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: Unlicense // Creator: 0xYeety/YEETY.eth - CTO, Virtue Labs pragma solidity ^0.8.17; // // .: // . // .==+ // .=#%. // . .*#*= // - =:-*%#* // :#- :+#%%@@%. // =#%+##%%#%%%++ // =%%#%%%%%@%%%% // :-###%%%@%@%%@%*+: // . -+*#*######%##%@@@% . // . =##: .::-: .:. +**#*#*##%%####%%%##*%#*= :.-.: // :+%%@%= .-+************###%%%%%%%#%%%%%%%@@@%#####%#* // -##%%@@@% . -#######*%###%####%%@%@@%%%%%%%%%@@@@@@@@@@%%@@%=*. // .*%%@@@@@@%##+##*##==*##%%#####%@%%####%%%%%@%####%%%%%@@@@%%%%%%%@@@@@@@%#*+--. // .##%%%#%#%%%@%%@@%%%@@@@%%%#**############%%%%%%%@%%%%%%%%%%%##%%%%%@@@@@@%%@@@@%#**=+. // .--*#%%%%%#***###%%@@@@@%%%%%%%%#########%%%@@@%%%%%%%%%%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%- // #@@@@@@@@@@@@@@@%%%%@@@@@@@@@@@%%%%%%%%@@@@@@@@@@%@%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@* // -@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#: // =@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@+ // .+%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%*+=:. // :.+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*+- // .=*#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%*+==:. // --=*-::..-+#*%@@@@@@@@#=-*%@@%*%@@@@@@@@@@@@@@%*###*=-: : // .--=#%%#- .-=--=-. // import "./ERC721TopLevel.sol"; contract Ingredient is ERC721TopLevel { bytes32 public solvesyWordz; uint256 private howManyWordz; string private _notSolveddd = ""; string private _ooooShinyy = ""; mapping(address => bool) public isRevealed; constructor( address werIzDaInfo, string memory name_, string memory symbol_, string memory description_, string memory image_ ) ERC721TopLevel() { ERC721StorageProto(werIzDaInfo).registerTopLevel(name_, symbol_, description_, image_); setStorageLayer(werIzDaInfo); } ////////// function setSolutionHash(bytes32 wotWurdz_, uint256 howManyyy_) public onlyOwner { solvesyWordz = wotWurdz_; howManyWordz = howManyyy_; } function youreekcar(string[] memory whoaa) public { require(howManyWordz > 0, "nw0"); require(whoaa.length == howManyWordz, "nw"); bytes32 amIRiteOrWut = keccak256(abi.encodePacked("eggzzz")); for (uint256 i = 0; i < whoaa.length; i++) { amIRiteOrWut = keccak256(abi.encodePacked(amIRiteOrWut, whoaa[i])); } require(amIRiteOrWut == solvesyWordz, "sln"); isRevealed[msg.sender] = true; } function hmmmHmmmmm(string memory hmmm___) public onlyOwner { _notSolveddd = hmmm___; } function AHA(string memory ahhh___) public onlyOwner { _ooooShinyy = ahhh___; } ////////// function tokenURI(uint256 tokenId) public view returns (string memory) { if (isRevealed[ownerOf(tokenId)]) { return _ooooShinyy; } else { return _notSolveddd; } } ////////// function urBlocced(address whomst) public onlyOwner { _restrictOperator(whomst); } function unbloccc(address whomst) public onlyOwner { _releaseOperator(whomst); } function noMoarBlok() public onlyOwner { _preventNewRestrictions(); } } ////////////////////////////////////////
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { 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 { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @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 * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 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 functionCallWithValue(target, data, 0, "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"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or 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 { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // 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 /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; import "./math/Math.sol"; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { 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] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } }
// SPDX-License-Identifier: Unlicense // Creator: 0xYeety/YEETY.eth - CTO, Virtue Labs pragma solidity ^0.8.17; import "lib/openzeppelin-contracts/contracts/access/Ownable.sol"; import "lib/openzeppelin-contracts/contracts/utils/Address.sol"; import "lib/openzeppelin-contracts/contracts/utils/Strings.sol"; import "lib/openzeppelin-contracts/contracts/token/ERC721/IERC721.sol"; import "lib/openzeppelin-contracts/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "lib/openzeppelin-contracts/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; import "lib/openzeppelin-contracts/contracts/utils/introspection/ERC165.sol"; import "lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol"; contract ERC721TopLevel is ERC165, Ownable { using Address for address; using Strings for uint256; /** * @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 Storage layer contract that separates out internal minting logic from top level functions * - Designed to reduce top level contract size and enable implementation of additional functionality **/ ERC721StorageProto public storageLayer; bool public storageLayerSet = false; modifier onlyStorage() { _isStorage(); _; } function _isStorage() internal view virtual { require(msg.sender == address(storageLayer), "not storage"); } /******************/ constructor() Ownable() {} /******************/ /** * @dev Mapping from addresses to whether or not an address is restricted as an operator for all **/ mapping(address => bool) public operatorRestrictions; bool public canRestrict = true; // Determines whether or not the contract owner can still restrict any new addresses /** * @dev Sets the storage layer for this top-level contract and prevents it from being reset **/ function setStorageLayer(address storageLayerAddress_) public onlyOwner { require(!storageLayerSet, "sls"); storageLayer = ERC721StorageProto(storageLayerAddress_); storageLayerSet = true; } /** * @dev get the address of the storage layer contract **/ function _storageLayerAddress() public view returns (address) { return address(storageLayer); } /** * @dev Restrict an address from being an operator for all **/ function _restrictOperator(address operator) internal { require(canRestrict, "nnr"); operatorRestrictions[operator] = true; } /** * @dev Release an address from restriction, permitting it to be an operator for all **/ function _releaseOperator(address operator) internal { operatorRestrictions[operator] = false; } /** * @dev Prevent the contract owner from restricting any additional operators **/ function _preventNewRestrictions() internal { canRestrict = false; } /** * @dev See {IERC165-supportsInterface}. **/ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165) returns (bool) { return (interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId)); } function totalSupply() public view returns (uint256) { return storageLayer.storage_totalSupply(address(this)); } function tokenByIndex(uint256 index) public view returns (uint256) { return storageLayer.storage_tokenByIndex(address(this), index); } function tokenOfOwnerByIndex(address owner, uint256 index) public view returns (uint256) { return storageLayer.storage_tokenOfOwnerByIndex(address(this), owner, index); } function tokenOfOwnerByIndexStepped( address owner, uint256 index, uint256 lastToken, uint256 lastIndex ) public view returns (uint256) { return storageLayer.storage_tokenOfOwnerByIndexStepped( address(this), owner, index, lastToken, lastIndex ); } function balanceOf(address owner) public view returns (uint256) { return storageLayer.storage_balanceOf(address(this), owner); } function ownerOf(uint256 tokenId) public view returns (address) { return storageLayer.storage_ownerOf(address(this), tokenId); } function name() public view virtual returns (string memory) { return storageLayer.storage_name(address(this)); } function symbol() public view virtual returns (string memory) { return storageLayer.storage_symbol(address(this)); } function approve(address to, uint256 tokenId) public { storageLayer.storage_approve(msg.sender, to, tokenId); } function getApproved(uint256 tokenId) public view returns (address) { return storageLayer.storage_getApproved(address(this), tokenId); } function setApprovalForAll(address operator, bool approved) public { require(!(operatorRestrictions[operator]), "r"); storageLayer.storage_setApprovalForAll(msg.sender, operator, approved); } function isApprovedForAll(address owner, address operator) public view returns (bool) { return storageLayer.storage_isApprovedForAll(address(this), owner, operator); } function transferFrom(address from, address to, uint256 tokenId) public { storageLayer.storage_transferFrom(msg.sender, from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId) public { storageLayer.storage_safeTransferFrom(msg.sender, from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public { storageLayer.storage_safeTransferFrom(msg.sender, from, to, tokenId, _data); } function burnToken(uint256 tokenId) public { storageLayer.storage_burnToken(msg.sender, tokenId); } function exists(uint256 tokenId) public view returns (bool) { return storageLayer.storage_exists(address(this), tokenId); } function contractURI() public view returns (string memory) { return storageLayer.storage_contractURI(address(this)); } ////////// function emitTransfer(address from, address to, uint256 tokenId) public onlyStorage { emit Transfer(from, to, tokenId); } function emitApproval(address owner, address approved, uint256 tokenId) public onlyStorage { emit Approval(owner, approved, tokenId); } function emitApprovalForAll(address owner, address operator, bool approved) public onlyStorage { emit ApprovalForAll(owner, operator, approved); } ////////// receive() external payable { (bool success, ) = payable(storageLayer.mintingContract()).call{value: msg.value}(""); require(success, "F"); } function withdrawTokens(address tokenAddress) external onlyOwner { IERC20(tokenAddress).transfer(msg.sender, IERC20(tokenAddress).balanceOf(address(this))); } } //////////////////// abstract contract ERC721StorageProto { address public mintingContract; ////////// function registerTopLevel( string memory name_, string memory symbol_, string memory description_, string memory image_ ) public virtual; ////////// function storage_totalSupply(address collection) public view virtual returns (uint256); function storage_tokenByIndex(address collection, uint256 index) public view virtual returns (uint256); function storage_tokenOfOwnerByIndex( address collection, address owner, uint256 index ) public view virtual returns (uint256); function storage_tokenOfOwnerByIndexStepped( address collection, address owner, uint256 index, uint256 lastToken, uint256 lastIndex ) public view virtual returns (uint256); function storage_balanceOf(address collection, address owner) public view virtual returns (uint256); function storage_ownerOf(address collection, uint256 tokenId) public view virtual returns (address); function storage_name(address collection) public view virtual returns (string memory); function storage_symbol(address collection) public view virtual returns (string memory); function storage_approve(address msgSender, address to, uint256 tokenId) public virtual; function storage_getApproved(address collection, uint256 tokenId) public view virtual returns (address); function storage_setApprovalForAll(address msgSender, address operator, bool approved) public virtual; function storage_isApprovedForAll( address collection, address owner, address operator ) public view virtual returns (bool); function storage_transferFrom( address msgSender, address from, address to, uint256 tokenId ) public virtual; function storage_safeTransferFrom( address msgSender, address from, address to, uint256 tokenId ) public virtual; function storage_safeTransferFrom( address msgSender, address from, address to, uint256 tokenId, bytes memory _data ) public virtual; function storage_burnToken(address msgSender, uint256 tokenId) public virtual; function storage_exists(address collection, uint256 tokenId) public view virtual returns (bool); function storage_safeMint(address msgSender, address to, uint256 quantity) public virtual; function storage_safeMint( address msgSender, address to, uint256 quantity, bytes memory _data ) public virtual; function storage_mint(address msgSender, address to, uint256 quantity) public virtual; function storage_contractURI(address collection) public view virtual returns (string memory); } ////////////////////////////////////////
{ "remappings": [ "ds-test/=lib/forge-std/lib/ds-test/src/", "forge-std/=lib/forge-std/src/" ], "optimizer": { "enabled": true, "runs": 200 }, "metadata": { "bytecodeHash": "ipfs" }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "london", "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"werIzDaInfo","type":"address"},{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"string","name":"description_","type":"string"},{"internalType":"string","name":"image_","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"string","name":"ahhh___","type":"string"}],"name":"AHA","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"_storageLayerAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burnToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"canRestrict","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"approved","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"emitApproval","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"emitApprovalForAll","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":"emitTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"hmmm___","type":"string"}],"name":"hmmmHmmmmm","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"noMoarBlok","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"operatorRestrictions","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"wotWurdz_","type":"bytes32"},{"internalType":"uint256","name":"howManyyy_","type":"uint256"}],"name":"setSolutionHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"storageLayerAddress_","type":"address"}],"name":"setStorageLayer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"solvesyWordz","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"storageLayer","outputs":[{"internalType":"contract ERC721StorageProto","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"storageLayerSet","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"uint256","name":"lastToken","type":"uint256"},{"internalType":"uint256","name":"lastIndex","type":"uint256"}],"name":"tokenOfOwnerByIndexStepped","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"whomst","type":"address"}],"name":"unbloccc","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"whomst","type":"address"}],"name":"urBlocced","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string[]","name":"whoaa","type":"string[]"}],"name":"youreekcar","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6001805460ff60a01b191681556003805460ff1916909117905560a060405260006080908152600690620000349082620002dd565b50604080516020810190915260008152600790620000539082620002dd565b503480156200006157600080fd5b50604051620024a8380380620024a8833981016040819052620000849162000460565b6200008f3362000113565b60405163a1601ad360e01b81526001600160a01b0386169063a1601ad390620000c390879087908790879060040162000568565b600060405180830381600087803b158015620000de57600080fd5b505af1158015620000f3573d6000803e3d6000fd5b5050505062000108856200016360201b60201c565b5050505050620005c8565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6200016d620001da565b600154600160a01b900460ff1615620001b35760405162461bcd60e51b8152602060048201526003602482015262736c7360e81b60448201526064015b60405180910390fd5b600180546001600160a81b0319166001600160a01b0390921691909117600160a01b179055565b6000546001600160a01b03163314620002365760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620001aa565b565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200026357607f821691505b6020821081036200028457634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002d857600081815260208120601f850160051c81016020861015620002b35750805b601f850160051c820191505b81811015620002d457828155600101620002bf565b5050505b505050565b81516001600160401b03811115620002f957620002f962000238565b62000311816200030a84546200024e565b846200028a565b602080601f831160018114620003495760008415620003305750858301515b600019600386901b1c1916600185901b178555620002d4565b600085815260208120601f198616915b828110156200037a5788860151825594840194600190910190840162000359565b5085821015620003995787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60005b83811015620003c6578181015183820152602001620003ac565b50506000910152565b600082601f830112620003e157600080fd5b81516001600160401b0380821115620003fe57620003fe62000238565b604051601f8301601f19908116603f0116810190828211818310171562000429576200042962000238565b816040528381528660208588010111156200044357600080fd5b62000456846020830160208901620003a9565b9695505050505050565b600080600080600060a086880312156200047957600080fd5b85516001600160a01b03811681146200049157600080fd5b60208701519095506001600160401b0380821115620004af57600080fd5b620004bd89838a01620003cf565b95506040880151915080821115620004d457600080fd5b620004e289838a01620003cf565b94506060880151915080821115620004f957600080fd5b6200050789838a01620003cf565b935060808801519150808211156200051e57600080fd5b506200052d88828901620003cf565b9150509295509295909350565b6000815180845262000554816020860160208601620003a9565b601f01601f19169290920160200192915050565b6080815260006200057d60808301876200053a565b82810360208401526200059181876200053a565b90508281036040840152620005a781866200053a565b90508281036060840152620005bd81856200053a565b979650505050505050565b611ed080620005d86000396000f3fe6080604052600436106102555760003560e01c8063715018a611610139578063a899707c116100b6578063dbd0af2c1161007a578063dbd0af2c146107e6578063df1f699d14610806578063e711a81214610826578063e8a3d48514610856578063e985e9c51461086b578063f2fde38b1461088b57600080fd5b8063a899707c14610736578063b88d4fde14610766578063bdbd354514610786578063c87b56dd146107a6578063d0794745146107c657600080fd5b80638c25736d116100fd5780638c25736d146106ad5780638da5cb5b146106c357806395d89b41146106e1578063a22cb465146106f6578063a5c491701461071657600080fd5b8063715018a614610618578063748ef90a1461062d5780637b47ec1a1461064d5780637dca256f1461066d578063868ad8431461068d57600080fd5b806334de2673116101d25780634f6ccce7116101965780634f6ccce71461055e57806355c45fbe1461057e5780635687f2b81461059e5780635bcca834146105be5780636352211e146105d857806370a08231146105f857600080fd5b806334de2673146104c957806342842e0e146104de57806349df728c146104fe5780634eff4feb1461051e5780634f558e791461053e57600080fd5b806318160ddd1161021957806318160ddd1461042557806323b872dd1461044857806323de6651146104685780632f745c591461048857806333713d6a146104a857600080fd5b806301ffc9a71461035857806306fdde031461038d578063081812fc146103af578063095ea7b3146103e75780630a8d2a151461040757600080fd5b36610353576001546040805163d2f6f67d60e01b815290516000926001600160a01b03169163d2f6f67d9160048083019260209291908290030181865afa1580156102a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102c89190611751565b6001600160a01b03163460405160006040518083038185875af1925050503d8060008114610312576040519150601f19603f3d011682016040523d82523d6000602084013e610317565b606091505b50509050806103515760405162461bcd60e51b81526020600482015260016024820152602360f91b60448201526064015b60405180910390fd5b005b600080fd5b34801561036457600080fd5b5061037861037336600461176e565b6108ab565b60405190151581526020015b60405180910390f35b34801561039957600080fd5b506103a2610918565b60405161038491906117e8565b3480156103bb57600080fd5b506103cf6103ca3660046117fb565b61098f565b6040516001600160a01b039091168152602001610384565b3480156103f357600080fd5b50610351610402366004611814565b610a04565b34801561041357600080fd5b506001546001600160a01b03166103cf565b34801561043157600080fd5b5061043a610a75565b604051908152602001610384565b34801561045457600080fd5b50610351610463366004611840565b610ae2565b34801561047457600080fd5b50610351610483366004611840565b610b5c565b34801561049457600080fd5b5061043a6104a3366004611814565b610baa565b3480156104b457600080fd5b5060015461037890600160a01b900460ff1681565b3480156104d557600080fd5b50610351610c2d565b3480156104ea57600080fd5b506103516104f9366004611840565b610c46565b34801561050a57600080fd5b50610351610519366004611881565b610c8d565b34801561052a57600080fd5b5061035161053936600461196b565b610d7a565b34801561054a57600080fd5b506103786105593660046117fb565b610d8e565b34801561056a57600080fd5b5061043a6105793660046117fb565b610e02565b34801561058a57600080fd5b506103516105993660046119b6565b610e77565b3480156105aa57600080fd5b506103516105b9366004611840565b610ed3565b3480156105ca57600080fd5b506003546103789060ff1681565b3480156105e457600080fd5b506103cf6105f33660046117fb565b610f21565b34801561060457600080fd5b5061043a610613366004611881565b610f59565b34801561062457600080fd5b50610351610f92565b34801561063957600080fd5b506001546103cf906001600160a01b031681565b34801561065957600080fd5b506103516106683660046117fb565b610fa4565b34801561067957600080fd5b50610351610688366004611881565b61100b565b34801561069957600080fd5b5061043a6106a8366004611a01565b61107a565b3480156106b957600080fd5b5061043a60045481565b3480156106cf57600080fd5b506000546001600160a01b03166103cf565b3480156106ed57600080fd5b506103a261110c565b34801561070257600080fd5b50610351610711366004611a3c565b61113d565b34801561072257600080fd5b50610351610731366004611881565b6111ca565b34801561074257600080fd5b50610378610751366004611881565b60026020526000908152604090205460ff1681565b34801561077257600080fd5b50610351610781366004611a75565b6111de565b34801561079257600080fd5b506103516107a136600461196b565b61124e565b3480156107b257600080fd5b506103a26107c13660046117fb565b611262565b3480156107d257600080fd5b506103516107e1366004611881565b611332565b3480156107f257600080fd5b50610351610801366004611af5565b61135f565b34801561081257600080fd5b50610351610821366004611bb8565b6114b7565b34801561083257600080fd5b50610378610841366004611881565b60086020526000908152604090205460ff1681565b34801561086257600080fd5b506103a26114ca565b34801561087757600080fd5b50610378610886366004611bda565b6114fb565b34801561089757600080fd5b506103516108a6366004611881565b611578565b60006001600160e01b031982166380ac58cd60e01b14806108dc57506001600160e01b03198216635b5e139f60e01b145b806108f757506001600160e01b0319821663780e9d6360e01b145b8061091257506301ffc9a760e01b6001600160e01b03198316145b92915050565b6001546040516321b2458360e01b81523060048201526060916001600160a01b0316906321b24583906024015b600060405180830381865afa158015610962573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261098a9190810190611c08565b905090565b6001546040516301c9332160e71b8152306004820152602481018390526000916001600160a01b03169063e4999080906044015b602060405180830381865afa1580156109e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109129190611751565b6001546040516316a9d09160e11b81523360048201526001600160a01b0384811660248301526044820184905290911690632d53a122906064015b600060405180830381600087803b158015610a5957600080fd5b505af1158015610a6d573d6000803e3d6000fd5b505050505050565b60015460405163bac5ccc360e01b81523060048201526000916001600160a01b03169063bac5ccc390602401602060405180830381865afa158015610abe573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061098a9190611c76565b600154604051636225746760e01b81523360048201526001600160a01b038581166024830152848116604483015260648201849052909116906362257467906084015b600060405180830381600087803b158015610b3f57600080fd5b505af1158015610b53573d6000803e3d6000fd5b50505050505050565b610b646115ee565b80826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60015460405163962bf1f960e01b81523060048201526001600160a01b03848116602483015260448201849052600092169063962bf1f990606401602060405180830381865afa158015610c02573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c269190611c76565b9392505050565b610c35611636565b610c446003805460ff19169055565b565b6001546040516312f20cb560e01b81523360048201526001600160a01b038581166024830152848116604483015260648201849052909116906312f20cb590608401610b25565b610c95611636565b6040516370a0823160e01b81523060048201526001600160a01b0382169063a9059cbb90339083906370a0823190602401602060405180830381865afa158015610ce3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d079190611c76565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610d52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d769190611c8f565b5050565b610d82611636565b6007610d768282611d31565b6001546040516335e7e31560e11b8152306004820152602481018390526000916001600160a01b031690636bcfc62a90604401602060405180830381865afa158015610dde573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109129190611c8f565b6001546040516391bd54f560e01b8152306004820152602481018390526000916001600160a01b0316906391bd54f5906044015b602060405180830381865afa158015610e53573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109129190611c76565b610e7f6115ee565b816001600160a01b0316836001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610ec6911515815260200190565b60405180910390a3505050565b610edb6115ee565b80826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6001546040516367e63f3d60e11b8152306004820152602481018390526000916001600160a01b03169063cfcc7e7a906044016109c3565b600154604051631026c24d60e11b81523060048201526001600160a01b038381166024830152600092169063204d849a90604401610e36565b610f9a611636565b610c446000611690565b600154604051637f5375cf60e11b8152336004820152602481018390526001600160a01b039091169063fea6eb9e90604401600060405180830381600087803b158015610ff057600080fd5b505af1158015611004573d6000803e3d6000fd5b5050505050565b611013611636565b600154600160a01b900460ff16156110535760405162461bcd60e51b8152602060048201526003602482015262736c7360e81b6044820152606401610348565b600180546001600160a81b0319166001600160a01b0390921691909117600160a01b179055565b60015460405162d81d3960e11b81523060048201526001600160a01b03868116602483015260448201869052606482018590526084820184905260009216906301b03a729060a401602060405180830381865afa1580156110df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111039190611c76565b95945050505050565b600154604051630e70816360e11b81523060048201526060916001600160a01b031690631ce102c690602401610945565b6001600160a01b03821660009081526002602052604090205460ff161561118a5760405162461bcd60e51b81526020600482015260016024820152603960f91b6044820152606401610348565b60015460405163045a04cb60e21b81523360048201526001600160a01b038481166024830152831515604483015290911690631168132c90606401610a3f565b6111d2611636565b6111db816116e0565b50565b600154604051637d70630160e01b81526001600160a01b0390911690637d706301906112169033908890889088908890600401611df1565b600060405180830381600087803b15801561123057600080fd5b505af1158015611244573d6000803e3d6000fd5b5050505050505050565b611256611636565b6006610d768282611d31565b60606008600061127184610f21565b6001600160a01b0316815260208101919091526040016000205460ff161561132557600780546112a090611cac565b80601f01602080910402602001604051908101604052809291908181526020018280546112cc90611cac565b80156113195780601f106112ee57610100808354040283529160200191611319565b820191906000526020600020905b8154815290600101906020018083116112fc57829003601f168201915b50505050509050919050565b600680546112a090611cac565b61133a611636565b6111db816001600160a01b03166000908152600260205260409020805460ff19169055565b6000600554116113975760405162461bcd60e51b815260206004820152600360248201526206e77360ec1b6044820152606401610348565b6005548151146113ce5760405162461bcd60e51b81526020600482015260026024820152616e7760f01b6044820152606401610348565b6040516532b3b3bd3d3d60d11b602082015260009060260160405160208183030381529060405280519060200120905060005b8251811015611461578183828151811061141d5761141d611e37565b6020026020010151604051602001611436929190611e4d565b604051602081830303815290604052805190602001209150808061145990611e73565b915050611401565b5060045481146114995760405162461bcd60e51b815260206004820152600360248201526239b63760e91b6044820152606401610348565b5050336000908152600860205260409020805460ff19166001179055565b6114bf611636565b600491909155600555565b600154604051631680d3b960e31b81523060048201526060916001600160a01b03169063b4069dc890602401610945565b60015460405163a9d2f45560e01b81523060048201526001600160a01b0384811660248301528381166044830152600092169063a9d2f45590606401602060405180830381865afa158015611554573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c269190611c8f565b611580611636565b6001600160a01b0381166115e55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610348565b6111db81611690565b6001546001600160a01b03163314610c445760405162461bcd60e51b815260206004820152600b60248201526a6e6f742073746f7261676560a81b6044820152606401610348565b6000546001600160a01b03163314610c445760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610348565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60035460ff166117185760405162461bcd60e51b815260206004820152600360248201526237373960e91b6044820152606401610348565b6001600160a01b03166000908152600260205260409020805460ff19166001179055565b6001600160a01b03811681146111db57600080fd5b60006020828403121561176357600080fd5b8151610c268161173c565b60006020828403121561178057600080fd5b81356001600160e01b031981168114610c2657600080fd5b60005b838110156117b357818101518382015260200161179b565b50506000910152565b600081518084526117d4816020860160208601611798565b601f01601f19169290920160200192915050565b602081526000610c2660208301846117bc565b60006020828403121561180d57600080fd5b5035919050565b6000806040838503121561182757600080fd5b82356118328161173c565b946020939093013593505050565b60008060006060848603121561185557600080fd5b83356118608161173c565b925060208401356118708161173c565b929592945050506040919091013590565b60006020828403121561189357600080fd5b8135610c268161173c565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156118dd576118dd61189e565b604052919050565b600067ffffffffffffffff8211156118ff576118ff61189e565b50601f01601f191660200190565b600061192061191b846118e5565b6118b4565b905082815283838301111561193457600080fd5b828260208301376000602084830101529392505050565b600082601f83011261195c57600080fd5b610c268383356020850161190d565b60006020828403121561197d57600080fd5b813567ffffffffffffffff81111561199457600080fd5b6119a08482850161194b565b949350505050565b80151581146111db57600080fd5b6000806000606084860312156119cb57600080fd5b83356119d68161173c565b925060208401356119e68161173c565b915060408401356119f6816119a8565b809150509250925092565b60008060008060808587031215611a1757600080fd5b8435611a228161173c565b966020860135965060408601359560600135945092505050565b60008060408385031215611a4f57600080fd5b8235611a5a8161173c565b91506020830135611a6a816119a8565b809150509250929050565b60008060008060808587031215611a8b57600080fd5b8435611a968161173c565b93506020850135611aa68161173c565b925060408501359150606085013567ffffffffffffffff811115611ac957600080fd5b8501601f81018713611ada57600080fd5b611ae98782356020840161190d565b91505092959194509250565b60006020808385031215611b0857600080fd5b823567ffffffffffffffff80821115611b2057600080fd5b818501915085601f830112611b3457600080fd5b813581811115611b4657611b4661189e565b8060051b611b558582016118b4565b9182528381018501918581019089841115611b6f57600080fd5b86860192505b83831015611bab57823585811115611b8d5760008081fd5b611b9b8b89838a010161194b565b8352509186019190860190611b75565b9998505050505050505050565b60008060408385031215611bcb57600080fd5b50508035926020909101359150565b60008060408385031215611bed57600080fd5b8235611bf88161173c565b91506020830135611a6a8161173c565b600060208284031215611c1a57600080fd5b815167ffffffffffffffff811115611c3157600080fd5b8201601f81018413611c4257600080fd5b8051611c5061191b826118e5565b818152856020838501011115611c6557600080fd5b611103826020830160208601611798565b600060208284031215611c8857600080fd5b5051919050565b600060208284031215611ca157600080fd5b8151610c26816119a8565b600181811c90821680611cc057607f821691505b602082108103611ce057634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115611d2c57600081815260208120601f850160051c81016020861015611d0d5750805b601f850160051c820191505b81811015610a6d57828155600101611d19565b505050565b815167ffffffffffffffff811115611d4b57611d4b61189e565b611d5f81611d598454611cac565b84611ce6565b602080601f831160018114611d945760008415611d7c5750858301515b600019600386901b1c1916600185901b178555610a6d565b600085815260208120601f198616915b82811015611dc357888601518255948401946001909101908401611da4565b5085821015611de15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160a01b0386811682528581166020830152841660408201526060810183905260a060808201819052600090611e2c908301846117bc565b979650505050505050565b634e487b7160e01b600052603260045260246000fd5b82815260008251611e65816020850160208701611798565b919091016020019392505050565b600060018201611e9357634e487b7160e01b600052601160045260246000fd5b506001019056fea264697066735822122096b4c89f214f70f4b84005ec7767229dedd592374f1962c574ffdd4d73da85f964736f6c63430008110033000000000000000000000000694ec2dffd101e08dfa2e7ce782381b498896d7200000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000001f4372756465426f726e6520496e6772656469656e74202d204361626261676500000000000000000000000000000000000000000000000000000000000000000743422e43414247000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000037496e6772656469656e74732063616e20626520636f6d62696e656420696e206f7264657220746f206272657720656c69786972732e2e2e000000000000000000000000000000000000000000000000000000000000000000000000000000003468747470733a2f2f72696e6e652e6372756465626f726e652e7774662f70696b6e696b4261736b69747a7a5f6d61696e2e6a7067000000000000000000000000
Deployed Bytecode
0x6080604052600436106102555760003560e01c8063715018a611610139578063a899707c116100b6578063dbd0af2c1161007a578063dbd0af2c146107e6578063df1f699d14610806578063e711a81214610826578063e8a3d48514610856578063e985e9c51461086b578063f2fde38b1461088b57600080fd5b8063a899707c14610736578063b88d4fde14610766578063bdbd354514610786578063c87b56dd146107a6578063d0794745146107c657600080fd5b80638c25736d116100fd5780638c25736d146106ad5780638da5cb5b146106c357806395d89b41146106e1578063a22cb465146106f6578063a5c491701461071657600080fd5b8063715018a614610618578063748ef90a1461062d5780637b47ec1a1461064d5780637dca256f1461066d578063868ad8431461068d57600080fd5b806334de2673116101d25780634f6ccce7116101965780634f6ccce71461055e57806355c45fbe1461057e5780635687f2b81461059e5780635bcca834146105be5780636352211e146105d857806370a08231146105f857600080fd5b806334de2673146104c957806342842e0e146104de57806349df728c146104fe5780634eff4feb1461051e5780634f558e791461053e57600080fd5b806318160ddd1161021957806318160ddd1461042557806323b872dd1461044857806323de6651146104685780632f745c591461048857806333713d6a146104a857600080fd5b806301ffc9a71461035857806306fdde031461038d578063081812fc146103af578063095ea7b3146103e75780630a8d2a151461040757600080fd5b36610353576001546040805163d2f6f67d60e01b815290516000926001600160a01b03169163d2f6f67d9160048083019260209291908290030181865afa1580156102a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102c89190611751565b6001600160a01b03163460405160006040518083038185875af1925050503d8060008114610312576040519150601f19603f3d011682016040523d82523d6000602084013e610317565b606091505b50509050806103515760405162461bcd60e51b81526020600482015260016024820152602360f91b60448201526064015b60405180910390fd5b005b600080fd5b34801561036457600080fd5b5061037861037336600461176e565b6108ab565b60405190151581526020015b60405180910390f35b34801561039957600080fd5b506103a2610918565b60405161038491906117e8565b3480156103bb57600080fd5b506103cf6103ca3660046117fb565b61098f565b6040516001600160a01b039091168152602001610384565b3480156103f357600080fd5b50610351610402366004611814565b610a04565b34801561041357600080fd5b506001546001600160a01b03166103cf565b34801561043157600080fd5b5061043a610a75565b604051908152602001610384565b34801561045457600080fd5b50610351610463366004611840565b610ae2565b34801561047457600080fd5b50610351610483366004611840565b610b5c565b34801561049457600080fd5b5061043a6104a3366004611814565b610baa565b3480156104b457600080fd5b5060015461037890600160a01b900460ff1681565b3480156104d557600080fd5b50610351610c2d565b3480156104ea57600080fd5b506103516104f9366004611840565b610c46565b34801561050a57600080fd5b50610351610519366004611881565b610c8d565b34801561052a57600080fd5b5061035161053936600461196b565b610d7a565b34801561054a57600080fd5b506103786105593660046117fb565b610d8e565b34801561056a57600080fd5b5061043a6105793660046117fb565b610e02565b34801561058a57600080fd5b506103516105993660046119b6565b610e77565b3480156105aa57600080fd5b506103516105b9366004611840565b610ed3565b3480156105ca57600080fd5b506003546103789060ff1681565b3480156105e457600080fd5b506103cf6105f33660046117fb565b610f21565b34801561060457600080fd5b5061043a610613366004611881565b610f59565b34801561062457600080fd5b50610351610f92565b34801561063957600080fd5b506001546103cf906001600160a01b031681565b34801561065957600080fd5b506103516106683660046117fb565b610fa4565b34801561067957600080fd5b50610351610688366004611881565b61100b565b34801561069957600080fd5b5061043a6106a8366004611a01565b61107a565b3480156106b957600080fd5b5061043a60045481565b3480156106cf57600080fd5b506000546001600160a01b03166103cf565b3480156106ed57600080fd5b506103a261110c565b34801561070257600080fd5b50610351610711366004611a3c565b61113d565b34801561072257600080fd5b50610351610731366004611881565b6111ca565b34801561074257600080fd5b50610378610751366004611881565b60026020526000908152604090205460ff1681565b34801561077257600080fd5b50610351610781366004611a75565b6111de565b34801561079257600080fd5b506103516107a136600461196b565b61124e565b3480156107b257600080fd5b506103a26107c13660046117fb565b611262565b3480156107d257600080fd5b506103516107e1366004611881565b611332565b3480156107f257600080fd5b50610351610801366004611af5565b61135f565b34801561081257600080fd5b50610351610821366004611bb8565b6114b7565b34801561083257600080fd5b50610378610841366004611881565b60086020526000908152604090205460ff1681565b34801561086257600080fd5b506103a26114ca565b34801561087757600080fd5b50610378610886366004611bda565b6114fb565b34801561089757600080fd5b506103516108a6366004611881565b611578565b60006001600160e01b031982166380ac58cd60e01b14806108dc57506001600160e01b03198216635b5e139f60e01b145b806108f757506001600160e01b0319821663780e9d6360e01b145b8061091257506301ffc9a760e01b6001600160e01b03198316145b92915050565b6001546040516321b2458360e01b81523060048201526060916001600160a01b0316906321b24583906024015b600060405180830381865afa158015610962573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261098a9190810190611c08565b905090565b6001546040516301c9332160e71b8152306004820152602481018390526000916001600160a01b03169063e4999080906044015b602060405180830381865afa1580156109e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109129190611751565b6001546040516316a9d09160e11b81523360048201526001600160a01b0384811660248301526044820184905290911690632d53a122906064015b600060405180830381600087803b158015610a5957600080fd5b505af1158015610a6d573d6000803e3d6000fd5b505050505050565b60015460405163bac5ccc360e01b81523060048201526000916001600160a01b03169063bac5ccc390602401602060405180830381865afa158015610abe573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061098a9190611c76565b600154604051636225746760e01b81523360048201526001600160a01b038581166024830152848116604483015260648201849052909116906362257467906084015b600060405180830381600087803b158015610b3f57600080fd5b505af1158015610b53573d6000803e3d6000fd5b50505050505050565b610b646115ee565b80826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60015460405163962bf1f960e01b81523060048201526001600160a01b03848116602483015260448201849052600092169063962bf1f990606401602060405180830381865afa158015610c02573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c269190611c76565b9392505050565b610c35611636565b610c446003805460ff19169055565b565b6001546040516312f20cb560e01b81523360048201526001600160a01b038581166024830152848116604483015260648201849052909116906312f20cb590608401610b25565b610c95611636565b6040516370a0823160e01b81523060048201526001600160a01b0382169063a9059cbb90339083906370a0823190602401602060405180830381865afa158015610ce3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d079190611c76565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610d52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d769190611c8f565b5050565b610d82611636565b6007610d768282611d31565b6001546040516335e7e31560e11b8152306004820152602481018390526000916001600160a01b031690636bcfc62a90604401602060405180830381865afa158015610dde573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109129190611c8f565b6001546040516391bd54f560e01b8152306004820152602481018390526000916001600160a01b0316906391bd54f5906044015b602060405180830381865afa158015610e53573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109129190611c76565b610e7f6115ee565b816001600160a01b0316836001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610ec6911515815260200190565b60405180910390a3505050565b610edb6115ee565b80826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6001546040516367e63f3d60e11b8152306004820152602481018390526000916001600160a01b03169063cfcc7e7a906044016109c3565b600154604051631026c24d60e11b81523060048201526001600160a01b038381166024830152600092169063204d849a90604401610e36565b610f9a611636565b610c446000611690565b600154604051637f5375cf60e11b8152336004820152602481018390526001600160a01b039091169063fea6eb9e90604401600060405180830381600087803b158015610ff057600080fd5b505af1158015611004573d6000803e3d6000fd5b5050505050565b611013611636565b600154600160a01b900460ff16156110535760405162461bcd60e51b8152602060048201526003602482015262736c7360e81b6044820152606401610348565b600180546001600160a81b0319166001600160a01b0390921691909117600160a01b179055565b60015460405162d81d3960e11b81523060048201526001600160a01b03868116602483015260448201869052606482018590526084820184905260009216906301b03a729060a401602060405180830381865afa1580156110df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111039190611c76565b95945050505050565b600154604051630e70816360e11b81523060048201526060916001600160a01b031690631ce102c690602401610945565b6001600160a01b03821660009081526002602052604090205460ff161561118a5760405162461bcd60e51b81526020600482015260016024820152603960f91b6044820152606401610348565b60015460405163045a04cb60e21b81523360048201526001600160a01b038481166024830152831515604483015290911690631168132c90606401610a3f565b6111d2611636565b6111db816116e0565b50565b600154604051637d70630160e01b81526001600160a01b0390911690637d706301906112169033908890889088908890600401611df1565b600060405180830381600087803b15801561123057600080fd5b505af1158015611244573d6000803e3d6000fd5b5050505050505050565b611256611636565b6006610d768282611d31565b60606008600061127184610f21565b6001600160a01b0316815260208101919091526040016000205460ff161561132557600780546112a090611cac565b80601f01602080910402602001604051908101604052809291908181526020018280546112cc90611cac565b80156113195780601f106112ee57610100808354040283529160200191611319565b820191906000526020600020905b8154815290600101906020018083116112fc57829003601f168201915b50505050509050919050565b600680546112a090611cac565b61133a611636565b6111db816001600160a01b03166000908152600260205260409020805460ff19169055565b6000600554116113975760405162461bcd60e51b815260206004820152600360248201526206e77360ec1b6044820152606401610348565b6005548151146113ce5760405162461bcd60e51b81526020600482015260026024820152616e7760f01b6044820152606401610348565b6040516532b3b3bd3d3d60d11b602082015260009060260160405160208183030381529060405280519060200120905060005b8251811015611461578183828151811061141d5761141d611e37565b6020026020010151604051602001611436929190611e4d565b604051602081830303815290604052805190602001209150808061145990611e73565b915050611401565b5060045481146114995760405162461bcd60e51b815260206004820152600360248201526239b63760e91b6044820152606401610348565b5050336000908152600860205260409020805460ff19166001179055565b6114bf611636565b600491909155600555565b600154604051631680d3b960e31b81523060048201526060916001600160a01b03169063b4069dc890602401610945565b60015460405163a9d2f45560e01b81523060048201526001600160a01b0384811660248301528381166044830152600092169063a9d2f45590606401602060405180830381865afa158015611554573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c269190611c8f565b611580611636565b6001600160a01b0381166115e55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610348565b6111db81611690565b6001546001600160a01b03163314610c445760405162461bcd60e51b815260206004820152600b60248201526a6e6f742073746f7261676560a81b6044820152606401610348565b6000546001600160a01b03163314610c445760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610348565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60035460ff166117185760405162461bcd60e51b815260206004820152600360248201526237373960e91b6044820152606401610348565b6001600160a01b03166000908152600260205260409020805460ff19166001179055565b6001600160a01b03811681146111db57600080fd5b60006020828403121561176357600080fd5b8151610c268161173c565b60006020828403121561178057600080fd5b81356001600160e01b031981168114610c2657600080fd5b60005b838110156117b357818101518382015260200161179b565b50506000910152565b600081518084526117d4816020860160208601611798565b601f01601f19169290920160200192915050565b602081526000610c2660208301846117bc565b60006020828403121561180d57600080fd5b5035919050565b6000806040838503121561182757600080fd5b82356118328161173c565b946020939093013593505050565b60008060006060848603121561185557600080fd5b83356118608161173c565b925060208401356118708161173c565b929592945050506040919091013590565b60006020828403121561189357600080fd5b8135610c268161173c565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156118dd576118dd61189e565b604052919050565b600067ffffffffffffffff8211156118ff576118ff61189e565b50601f01601f191660200190565b600061192061191b846118e5565b6118b4565b905082815283838301111561193457600080fd5b828260208301376000602084830101529392505050565b600082601f83011261195c57600080fd5b610c268383356020850161190d565b60006020828403121561197d57600080fd5b813567ffffffffffffffff81111561199457600080fd5b6119a08482850161194b565b949350505050565b80151581146111db57600080fd5b6000806000606084860312156119cb57600080fd5b83356119d68161173c565b925060208401356119e68161173c565b915060408401356119f6816119a8565b809150509250925092565b60008060008060808587031215611a1757600080fd5b8435611a228161173c565b966020860135965060408601359560600135945092505050565b60008060408385031215611a4f57600080fd5b8235611a5a8161173c565b91506020830135611a6a816119a8565b809150509250929050565b60008060008060808587031215611a8b57600080fd5b8435611a968161173c565b93506020850135611aa68161173c565b925060408501359150606085013567ffffffffffffffff811115611ac957600080fd5b8501601f81018713611ada57600080fd5b611ae98782356020840161190d565b91505092959194509250565b60006020808385031215611b0857600080fd5b823567ffffffffffffffff80821115611b2057600080fd5b818501915085601f830112611b3457600080fd5b813581811115611b4657611b4661189e565b8060051b611b558582016118b4565b9182528381018501918581019089841115611b6f57600080fd5b86860192505b83831015611bab57823585811115611b8d5760008081fd5b611b9b8b89838a010161194b565b8352509186019190860190611b75565b9998505050505050505050565b60008060408385031215611bcb57600080fd5b50508035926020909101359150565b60008060408385031215611bed57600080fd5b8235611bf88161173c565b91506020830135611a6a8161173c565b600060208284031215611c1a57600080fd5b815167ffffffffffffffff811115611c3157600080fd5b8201601f81018413611c4257600080fd5b8051611c5061191b826118e5565b818152856020838501011115611c6557600080fd5b611103826020830160208601611798565b600060208284031215611c8857600080fd5b5051919050565b600060208284031215611ca157600080fd5b8151610c26816119a8565b600181811c90821680611cc057607f821691505b602082108103611ce057634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115611d2c57600081815260208120601f850160051c81016020861015611d0d5750805b601f850160051c820191505b81811015610a6d57828155600101611d19565b505050565b815167ffffffffffffffff811115611d4b57611d4b61189e565b611d5f81611d598454611cac565b84611ce6565b602080601f831160018114611d945760008415611d7c5750858301515b600019600386901b1c1916600185901b178555610a6d565b600085815260208120601f198616915b82811015611dc357888601518255948401946001909101908401611da4565b5085821015611de15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160a01b0386811682528581166020830152841660408201526060810183905260a060808201819052600090611e2c908301846117bc565b979650505050505050565b634e487b7160e01b600052603260045260246000fd5b82815260008251611e65816020850160208701611798565b919091016020019392505050565b600060018201611e9357634e487b7160e01b600052601160045260246000fd5b506001019056fea264697066735822122096b4c89f214f70f4b84005ec7767229dedd592374f1962c574ffdd4d73da85f964736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000694ec2dffd101e08dfa2e7ce782381b498896d7200000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000001f4372756465426f726e6520496e6772656469656e74202d204361626261676500000000000000000000000000000000000000000000000000000000000000000743422e43414247000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000037496e6772656469656e74732063616e20626520636f6d62696e656420696e206f7264657220746f206272657720656c69786972732e2e2e000000000000000000000000000000000000000000000000000000000000000000000000000000003468747470733a2f2f72696e6e652e6372756465626f726e652e7774662f70696b6e696b4261736b69747a7a5f6d61696e2e6a7067000000000000000000000000
-----Decoded View---------------
Arg [0] : werIzDaInfo (address): 0x694Ec2DfFd101E08Dfa2E7Ce782381b498896D72
Arg [1] : name_ (string): CrudeBorne Ingredient - Cabbage
Arg [2] : symbol_ (string): CB.CABG
Arg [3] : description_ (string): Ingredients can be combined in order to brew elixirs...
Arg [4] : image_ (string): https://rinne.crudeborne.wtf/piknikBaskitzz_main.jpg
-----Encoded View---------------
15 Constructor Arguments found :
Arg [0] : 000000000000000000000000694ec2dffd101e08dfa2e7ce782381b498896d72
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [5] : 000000000000000000000000000000000000000000000000000000000000001f
Arg [6] : 4372756465426f726e6520496e6772656469656e74202d204361626261676500
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [8] : 43422e4341424700000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000037
Arg [10] : 496e6772656469656e74732063616e20626520636f6d62696e656420696e206f
Arg [11] : 7264657220746f206272657720656c69786972732e2e2e000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000034
Arg [13] : 68747470733a2f2f72696e6e652e6372756465626f726e652e7774662f70696b
Arg [14] : 6e696b4261736b69747a7a5f6d61696e2e6a7067000000000000000000000000
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.