Skip to main content

PrePartitionContractCall

For the complete documentation index, see llms.txt

@midnight/ledger v8.0.3


@midnight/ledger / PrePartitionContractCall

Class: PrePartitionContractCall

A ContractCall prior to being partitioned into guarnateed and fallible parts, for use with Transaction.addCalls.

Note that this is similar, but not the same as ContractCall, which assumes partitionTranscripts was already used. Transaction.addCalls is a replacement for this that also handles Zswap components, and creates relevant intents when needed.

Constructors​

Constructor​

new PrePartitionContractCall(
address,
entry_point,
op,
pre_transcript,
private_transcript_outputs,
input,
output,
communication_commitment_rand,
key_location): PrePartitionContractCall;

Parameters​

address​

string

entry_point​

string | Uint8Array<ArrayBufferLike>

op​

ContractOperation

pre_transcript​

PreTranscript

private_transcript_outputs​

AlignedValue[]

input​

AlignedValue

output​

AlignedValue

communication_commitment_rand​

string

key_location​

string

Returns​

PrePartitionContractCall

Methods​

toString()​

toString(compact?): string;

Parameters​

compact?​

boolean

Returns​

string