Skip to main content

ProofErasedOffer

For the complete documentation index, see llms.txt

@midnight/zswap v4.0.0-rc


@midnight/zswap / ProofErasedOffer

Class: ProofErasedOffer

모든 증명 정보가 삭제된 Offer입니다.

주로 테스트 또는 올바른 것으로 알려진 데이터 처리에 사용됩니다. external information

Properties​

deltas​

readonly deltas: Map<string, bigint>;

각 토큰 유형별 이 오퍼의 값입니다. 음수일 수 있습니다.

값 벡터에서 입력 코인 값 - 출력 코인 값입니다.


inputs​

readonly inputs: ProofErasedInput[];

이 오퍼를 구성하는 입력입니다.


outputs​

readonly outputs: ProofErasedOutput[];

이 오퍼를 구성하는 출력입니다.


transient​

readonly transient: ProofErasedTransient[];

이 오퍼를 구성하는 트랜지언트입니다.

Methods​

merge()​

merge(other): ProofErasedOffer

Parameters​

other​

ProofErasedOffer

Returns​

ProofErasedOffer


serialize()​

serialize(netid): Uint8Array<ArrayBufferLike>

Parameters​

netid​

NetworkId

Returns​

Uint8Array<ArrayBufferLike>


toString()​

toString(compact?): string

Parameters​

compact?​

boolean

Returns​

string


deserialize()​

static deserialize(raw, netid): ProofErasedOffer

Parameters​

raw​

Uint8Array<ArrayBufferLike>

netid​

NetworkId

Returns​

ProofErasedOffer