Skip to main content

@midnight-ntwrk/compact-runtime v0.7.0Readme | API


@midnight-ntwrk/compact-runtime v0.7.0 / witnessContext

Function: witnessContext()

Internal

witnessContext<L, T>(
ledger,
privateState,
contractAddress): WitnessContext<L, T>

Internal constructor for WitnessContext.

Type parameters

L

T

Parameters

ledger: L

privateState: T

contractAddress: string

Returns

WitnessContext<L, T>