referrerpolicy=no-referrer-when-downgrade

Module IStorage

Source
Expand description

Module containing a contract’s types and functions.

interface IStorage {
    function clearStorage(uint32 flags, bool isFixedKey, bytes memory key) external returns (bool containedKey, uint valueLen);
    function containsStorage(uint32 flags, bool isFixedKey, bytes memory key) external view returns (bool containedKey, uint valueLen);
    function takeStorage(uint32 flags, bool isFixedKey, bytes memory key) external returns (bytes memory);
}

Structs§

clearStorageCall
Clear the value at the given key in the contract storage.
clearStorageReturn
Clear the value at the given key in the contract storage.
containsStorageCall
Checks whether there is a value stored under the given key.
containsStorageReturn
Checks whether there is a value stored under the given key.
takeStorageCall
Retrieve and remove the value under the given key from storage.
takeStorageReturn
Retrieve and remove the value under the given key from storage.

Enums§

IStorageCalls
Container for all the IStorage function calls.