gill
gill/programs/token/Type aliases

ConfidentialTransferInstructionData

type ConfidentialTransferInstructionData = {
  ciphertextValidityProofInstructionOffset: number;
  confidentialTransferDiscriminator: number;
  discriminator: number;
  equalityProofInstructionOffset: number;
  newSourceDecryptableAvailableBalance: DecryptableBalance;
  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.


confidentialTransferDiscriminator

confidentialTransferDiscriminator: number;

discriminator

discriminator: number;

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: DecryptableBalance;

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