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