@midnight-ntwrk/compact-runtime v0.8.1
@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
>