gill
gill/programs/token/Type aliases

ConfidentialTransferWithFeeInstructionDataArgs

type ConfidentialTransferWithFeeInstructionDataArgs = {
  equalityProofInstructionOffset: number;
  feeCiphertextValidityProofInstructionOffset: number;
  feeSigmaProofInstructionOffset: number;
  newSourceDecryptableAvailableBalance: DecryptableBalanceArgs;
  rangeProofInstructionOffset: number;
  transferAmountCiphertextValidityProofInstructionOffset: number;
};

Properties

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

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