Class EvmHookStorageUpdate

java.lang.Object
com.hedera.hashgraph.sdk.EvmHookStorageUpdate
Direct Known Subclasses:
EvmHookStorageUpdate.EvmHookMappingEntries, EvmHookStorageUpdate.EvmHookStorageSlot

public abstract class EvmHookStorageUpdate extends Object
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.

  • Constructor Details

    • EvmHookStorageUpdate

      public EvmHookStorageUpdate()
  • Method Details

    • toProtobuf

      abstract EvmHookStorageUpdate toProtobuf()
      Convert this storage update to a protobuf message.
      Returns:
      the protobuf EvmHookStorageUpdate
    • fromProtobuf

      static EvmHookStorageUpdate fromProtobuf(EvmHookStorageUpdate proto)
      Create an EvmHookStorageUpdate from a protobuf message.
      Parameters:
      proto - the protobuf EvmHookStorageUpdate
      Returns:
      a new EvmHookStorageUpdate instance