Skip to main content

witnessContext

@midnight-ntwrk/compact-runtime v0.9.0


@midnight-ntwrk/compact-runtime / witnessContext

Function: witnessContext()

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

Internal

Internal constructor for WitnessContext.

Type Parameters

L

L

T

T

Parameters

ledger

L

privateState

T

contractAddress

string

Returns

WitnessContext<L, T>