gill
gill/programs/token/Type aliases

ConfidentialTransferWithFeeInput

type ConfidentialTransferWithFeeInput<TAccountSourceToken, TAccountMint, TAccountDestinationToken, TAccountInstructionsSysvar, TAccountEqualityRecord, TAccountTransferAmountCiphertextValidityRecord, TAccountFeeSigmaRecord, TAccountFeeCiphertextValidityRecord, TAccountRangeRecord, TAccountAuthority> = {
  authority:   | Address<TAccountAuthority>
     | TransactionSigner<TAccountAuthority>;
  destinationToken: Address<TAccountDestinationToken>;
  equalityProofInstructionOffset: ConfidentialTransferWithFeeInstructionDataArgs["equalityProofInstructionOffset"];
  equalityRecord?: Address<TAccountEqualityRecord>;
  feeCiphertextValidityProofInstructionOffset: ConfidentialTransferWithFeeInstructionDataArgs["feeCiphertextValidityProofInstructionOffset"];
  feeCiphertextValidityRecord?: Address<TAccountFeeCiphertextValidityRecord>;
  feeSigmaProofInstructionOffset: ConfidentialTransferWithFeeInstructionDataArgs["feeSigmaProofInstructionOffset"];
  feeSigmaRecord?: Address<TAccountFeeSigmaRecord>;
  instructionsSysvar?: Address<TAccountInstructionsSysvar>;
  mint: Address<TAccountMint>;
  multiSigners?: TransactionSigner[];
  newSourceDecryptableAvailableBalance: ConfidentialTransferWithFeeInstructionDataArgs["newSourceDecryptableAvailableBalance"];
  rangeProofInstructionOffset: ConfidentialTransferWithFeeInstructionDataArgs["rangeProofInstructionOffset"];
  rangeRecord?: Address<TAccountRangeRecord>;
  sourceToken: Address<TAccountSourceToken>;
  transferAmountCiphertextValidityProofInstructionOffset: ConfidentialTransferWithFeeInstructionDataArgs["transferAmountCiphertextValidityProofInstructionOffset"];
  transferAmountCiphertextValidityRecord?: Address<TAccountTransferAmountCiphertextValidityRecord>;
};

Type Parameters

Type ParameterDefault type
TAccountSourceToken extends stringstring
TAccountMint extends stringstring
TAccountDestinationToken extends stringstring
TAccountInstructionsSysvar extends stringstring
TAccountEqualityRecord extends stringstring
TAccountTransferAmountCiphertextValidityRecord extends stringstring
TAccountFeeSigmaRecord extends stringstring
TAccountFeeCiphertextValidityRecord extends stringstring
TAccountRangeRecord extends stringstring
TAccountAuthority extends stringstring

Properties

authority

authority: 
  | Address<TAccountAuthority>
| TransactionSigner<TAccountAuthority>;

The source account's owner/delegate or its multisignature account.


destinationToken

destinationToken: Address<TAccountDestinationToken>;

The destination SPL Token account.


equalityProofInstructionOffset

equalityProofInstructionOffset: ConfidentialTransferWithFeeInstructionDataArgs["equalityProofInstructionOffset"];

equalityRecord?

optional equalityRecord: Address<TAccountEqualityRecord>;

(Optional) Equality proof record account or context state account.


feeCiphertextValidityProofInstructionOffset

feeCiphertextValidityProofInstructionOffset: ConfidentialTransferWithFeeInstructionDataArgs["feeCiphertextValidityProofInstructionOffset"];

feeCiphertextValidityRecord?

optional feeCiphertextValidityRecord: Address<TAccountFeeCiphertextValidityRecord>;

(Optional) Fee ciphertext validity proof record account or context state account.


feeSigmaProofInstructionOffset

feeSigmaProofInstructionOffset: ConfidentialTransferWithFeeInstructionDataArgs["feeSigmaProofInstructionOffset"];

feeSigmaRecord?

optional feeSigmaRecord: Address<TAccountFeeSigmaRecord>;

(Optional) Fee sigma proof record account or context state account.


instructionsSysvar?

optional instructionsSysvar: Address<TAccountInstructionsSysvar>;

(Optional) Instructions sysvar if at least one of the zk_elgamal_proof instructions are included in the same transaction.


mint

mint: Address<TAccountMint>;

The corresponding SPL Token mint.


multiSigners?

optional multiSigners: TransactionSigner[];

newSourceDecryptableAvailableBalance

newSourceDecryptableAvailableBalance: ConfidentialTransferWithFeeInstructionDataArgs["newSourceDecryptableAvailableBalance"];

rangeProofInstructionOffset

rangeProofInstructionOffset: ConfidentialTransferWithFeeInstructionDataArgs["rangeProofInstructionOffset"];

rangeRecord?

optional rangeRecord: Address<TAccountRangeRecord>;

(Optional) Range proof record account or context state account.


sourceToken

sourceToken: Address<TAccountSourceToken>;

The source SPL Token account.


transferAmountCiphertextValidityProofInstructionOffset

transferAmountCiphertextValidityProofInstructionOffset: ConfidentialTransferWithFeeInstructionDataArgs["transferAmountCiphertextValidityProofInstructionOffset"];

transferAmountCiphertextValidityRecord?

optional transferAmountCiphertextValidityRecord: Address<TAccountTransferAmountCiphertextValidityRecord>;

(Optional) Transfer amount ciphertext validity proof record account or context state account.