Skip to main content

PrePartitionContractCall

For the complete documentation index, see llms.txt

@midnight/ledger v8.0.3


@midnight/ledger / PrePartitionContractCall

Class: PrePartitionContractCall

Transaction.addCalls에서 사용하기 위해 guaranteed와 fallible 부분으로 분할되기 전의 ContractCall입니다.

partitionTranscripts가 이미 사용되었다고 가정하는 ContractCall과 유사하지만 동일하지는 않습니다. Transaction.addCalls는 Zswap 구성 요소도 처리하고 필요 시 관련 인텐트를 생성하는 대체 방법입니다.

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