Skip to main content

createWitnessContext

For the complete documentation index, see llms.txt

@midnight-ntwrk/compact-runtime v0.16.0


@midnight-ntwrk/compact-runtime / createWitnessContext

Function: createWitnessContext()

function createWitnessContext<L, PS>(
ledger,
privateState,
contractAddress): WitnessContext<L, PS>;

Internal

WitnessContext의 내부 생성자입니다.

Type Parameters​

L​

L

PS​

PS

Parameters​

ledger​

L

privateState​

PS

contractAddress​

string

Returns​

WitnessContext<L, PS>