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§
- clear
Storage Call - Clear the value at the given key in the contract storage.
- clear
Storage Return - Clear the value at the given key in the contract storage.
- contains
Storage Call - Checks whether there is a value stored under the given key.
- contains
Storage Return - Checks whether there is a value stored under the given key.
- take
Storage Call - Retrieve and remove the value under the given key from storage.
- take
Storage Return - Retrieve and remove the value under the given key from storage.
Enums§
- IStorage
Calls - Container for all the
IStoragefunction calls.