ContractCallPrototype
@midnight/ledger / ContractCallPrototype
Class: ContractCallPrototype
A ContractCall still being assembled
Constructors
Constructor
new ContractCallPrototype(
address,
entry_point,
op,
guaranteed_public_transcript,
fallible_public_transcript,
private_transcript_outputs,
input,
output,
communication_commitment_rand,
key_location): ContractCallPrototype;
Parameters
address
string
The address being called
entry_point
The entry point being called
string | Uint8Array<ArrayBufferLike>
op
The operation expected at this entry point
guaranteed_public_transcript
The guaranteed transcript computed for this call
undefined | Transcript<AlignedValue>
fallible_public_transcript
The fallible transcript computed for this call
undefined | Transcript<AlignedValue>
private_transcript_outputs
The private transcript recorded for this call
input
The input(s) provided to this call
output
The output(s) computed from this call
communication_commitment_rand
string
The communication randomness used for this call
key_location
string
An identifier for how the key for this call may be looked up
Returns
ContractCallPrototype
Methods
intoCall()
intoCall(parentBinding): ContractCall<PreProof>;
Parameters
parentBinding
Returns
toString()
toString(compact?): string;
Parameters
compact?
boolean
Returns
string