Interface AccountsUpdate.ConfigureDeltaFromState

Enclosing class:
AccountsUpdate
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface AccountsUpdate.ConfigureDeltaFromState
Interface for updating the account delta, providing the current state.

Account updates are commonly performed by evaluating the current account state and creating a delta to be applied to it in a later step. This is done by implementing this interface.

If the current account state is not needed, use AccountsUpdate.ConfigureStatelessDelta instead. Alternatively, if you need to perform extra storage reads/writes during the update, use AccountsUpdate.ConfigureDeltaFromStateAndContext.