gill
gill/programs/token/Type aliases

ParsedConfidentialTransferWithFeeInstruction

type ParsedConfidentialTransferWithFeeInstruction<TProgram, TAccountMetas> = {
  accounts: {
     authority: TAccountMetas[9];
     destinationToken: TAccountMetas[2];
     equalityRecord?: TAccountMetas[4];
     feeCiphertextValidityRecord?: TAccountMetas[7];
     feeSigmaRecord?: TAccountMetas[6];
     instructionsSysvar?: TAccountMetas[3];
     mint: TAccountMetas[1];
     rangeRecord?: TAccountMetas[8];
     sourceToken: TAccountMetas[0];
     transferAmountCiphertextValidityRecord?: TAccountMetas[5];
  };
  data: ConfidentialTransferWithFeeInstructionData;
  programAddress: Address<TProgram>;
};

Type Parameters

Type ParameterDefault type
TProgram extends stringtypeof TOKEN_2022_PROGRAM_ADDRESS
TAccountMetas extends readonly IAccountMeta[]readonly IAccountMeta[]

Properties

accounts

accounts: {
  authority: TAccountMetas[9];
  destinationToken: TAccountMetas[2];
  equalityRecord?: TAccountMetas[4];
  feeCiphertextValidityRecord?: TAccountMetas[7];
  feeSigmaRecord?: TAccountMetas[6];
  instructionsSysvar?: TAccountMetas[3];
  mint: TAccountMetas[1];
  rangeRecord?: TAccountMetas[8];
  sourceToken: TAccountMetas[0];
  transferAmountCiphertextValidityRecord?: TAccountMetas[5];
};
NameTypeDescription
authorityTAccountMetas[9]The source account's owner/delegate or its multisignature account.
destinationTokenTAccountMetas[2]The destination SPL Token account.
equalityRecord?TAccountMetas[4](Optional) Equality proof record account or context state account.
feeCiphertextValidityRecord?TAccountMetas[7](Optional) Fee ciphertext validity proof record account or context state account.
feeSigmaRecord?TAccountMetas[6](Optional) Fee sigma proof record account or context state account.
instructionsSysvar?TAccountMetas[3](Optional) Instructions sysvar if at least one of the zk_elgamal_proof instructions are included in the same transaction.
mintTAccountMetas[1]The corresponding SPL Token mint.
rangeRecord?TAccountMetas[8](Optional) Range proof record account or context state account.
sourceTokenTAccountMetas[0]The source SPL Token account.
transferAmountCiphertextValidityRecord?TAccountMetas[5](Optional) Transfer amount ciphertext validity proof record account or context state account.

data

data: ConfidentialTransferWithFeeInstructionData;

programAddress

programAddress: Address<TProgram>;

On this page