java.lang.Object
com.hedera.hashgraph.sdk.EvmHookStorageUpdate
- Direct Known Subclasses:
EvmHookStorageUpdate.EvmHookMappingEntries,EvmHookStorageUpdate.EvmHookStorageSlot
Abstract base class for EVM hook storage updates.
Storage updates define how to modify the storage of an EVM hook. This can be done either by directly specifying storage slots or by updating Solidity mapping entries.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classRepresents storage updates via Solidity mapping entries.static classRepresents a direct storage slot update. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static EvmHookStorageUpdatefromProtobuf(EvmHookStorageUpdate proto) Create an EvmHookStorageUpdate from a protobuf message.(package private) abstract EvmHookStorageUpdateConvert this storage update to a protobuf message.
-
Constructor Details
-
EvmHookStorageUpdate
public EvmHookStorageUpdate()
-
-
Method Details
-
toProtobuf
Convert this storage update to a protobuf message.- Returns:
- the protobuf EvmHookStorageUpdate
-
fromProtobuf
Create an EvmHookStorageUpdate from a protobuf message.- Parameters:
proto- the protobuf EvmHookStorageUpdate- Returns:
- a new EvmHookStorageUpdate instance
-