gill
gill/programs/token/Type aliases

ConfidentialTransferInstructionDataArgs

type ConfidentialTransferInstructionDataArgs = {
  ciphertextValidityProofInstructionOffset: number;
  equalityProofInstructionOffset: number;
  newSourceDecryptableAvailableBalance: DecryptableBalanceArgs;
  rangeProofInstructionOffset: number;
};

Properties

ciphertextValidityProofInstructionOffset

ciphertextValidityProofInstructionOffset: number;

Relative location of the ProofInstruction::VerifyBatchedGroupedCiphertext3HandlesValidity instruction to the Transfer instruction in the transaction. If the offset is 0, then use a context state account for the proof.


equalityProofInstructionOffset

equalityProofInstructionOffset: number;

Relative location of the ProofInstruction::VerifyCiphertextCommitmentEquality instruction to the Transfer instruction in the transaction. If the offset is 0, then use a context state account for the proof.


newSourceDecryptableAvailableBalance

newSourceDecryptableAvailableBalance: DecryptableBalanceArgs;

The new source decryptable balance if the transfer succeeds.


rangeProofInstructionOffset

rangeProofInstructionOffset: number;

Relative location of the ProofInstruction::BatchedRangeProofU128Data instruction to the Transfer instruction in the transaction. If the offset is 0, then use a context state account for the proof.

On this page