Methods
eval
- eval<State>(executionContext: ExecutionContext<State, unknown>, currentTx: { contractTxId: string; interactionTxId: string }[]): Promise<EvalStateResult<State>>
-
Type parameters
Parameters
-
executionContext: ExecutionContext<State, unknown>
-
currentTx: { contractTxId: string; interactionTxId: string }[]
onStateUpdate
-
Type parameters
Parameters
Returns Promise<void>
Implementors of this class are responsible for evaluating contract's state