gill
gill/programs/token/Type aliases

ConfidentialTransferWithFeeInstructionData

type ConfidentialTransferWithFeeInstructionData = {
  confidentialTransferDiscriminator: number;
  discriminator: number;
  equalityProofInstructionOffset: number;
  feeCiphertextValidityProofInstructionOffset: number;
  feeSigmaProofInstructionOffset: number;
  newSourceDecryptableAvailableBalance: DecryptableBalance;
  rangeProofInstructionOffset: number;
  transferAmountCiphertextValidityProofInstructionOffset: number;
};

Properties

confidentialTransferDiscriminator

confidentialTransferDiscriminator: number;

discriminator

discriminator: number;

equalityProofInstructionOffset

equalityProofInstructionOffset: number;

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


feeCiphertextValidityProofInstructionOffset

feeCiphertextValidityProofInstructionOffset: number;

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


feeSigmaProofInstructionOffset

feeSigmaProofInstructionOffset: number;

Relative location of the ProofInstruction::VerifyPercentageWithFee instruction to the TransferWithFee 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::BatchedRangeProofU256Data instruction to the TransferWithFee instruction in the transaction. If the offset is 0, then use a context state account for the proof.


transferAmountCiphertextValidityProofInstructionOffset

transferAmountCiphertextValidityProofInstructionOffset: number;

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

On this page