createCircuitContext
@midnight-ntwrk/compact-runtime v0.14.0
@midnight-ntwrk/compact-runtime / createCircuitContext
Function: createCircuitContext()
function createCircuitContext<PS>(
contractAddress,
coinPublicKeyOrZswapState,
contractState,
privateState,
gasLimit?,
costModel?,
time?): CircuitContext<PS>;
Type Parametersβ
PSβ
PS
Parametersβ
contractAddressβ
string
coinPublicKeyOrZswapStateβ
string | ZswapLocalState | EncodedCoinPublicKey | EncodedZswapLocalState
contractStateβ
ContractState | StateValue | ChargedState
privateStateβ
PS
gasLimit?β
costModel?β
time?β
number
Returnsβ
CircuitContext<PS>