Skip to main content

EncodedZswapLocalState

For the complete documentation index, see llms.txt

@midnight-ntwrk/compact-runtime v0.16.0


@midnight-ntwrk/compact-runtime / EncodedZswapLocalState

Interface: EncodedZswapLocalState

회로 실행 전반에 걸쳐 소비되고 생성된 코인을 추적합니다.

Properties

coinPublicKey

coinPublicKey: EncodedCoinPublicKey;

회로를 실행하는 사용자의 Zswap 코인 공개 키입니다.


currentIndex

currentIndex: bigint;

다음에 생성될 코인의 Merkle 트리 인덱스입니다.


inputs

inputs: EncodedQualifiedShieldedCoinInfo[];

회로의 입력으로 소비된 코인입니다.


outputs

outputs: {
coinInfo: EncodedShieldedCoinInfo;
recipient: EncodedRecipient;
}[];

회로의 출력으로 생성된 코인입니다.

coinInfo

coinInfo: EncodedShieldedCoinInfo;

recipient

recipient: EncodedRecipient;