gill
gill/programs/token/Type aliases

ConfidentialTransferInput

type ConfidentialTransferInput<TAccountSourceToken, TAccountMint, TAccountDestinationToken, TAccountInstructionsSysvar, TAccountEqualityRecord, TAccountCiphertextValidityRecord, TAccountRangeRecord, TAccountAuthority> = {
  authority:   | Address<TAccountAuthority>
     | TransactionSigner<TAccountAuthority>;
  ciphertextValidityProofInstructionOffset: ConfidentialTransferInstructionDataArgs["ciphertextValidityProofInstructionOffset"];
  ciphertextValidityRecord?: Address<TAccountCiphertextValidityRecord>;
  destinationToken: Address<TAccountDestinationToken>;
  equalityProofInstructionOffset: ConfidentialTransferInstructionDataArgs["equalityProofInstructionOffset"];
  equalityRecord?: Address<TAccountEqualityRecord>;
  instructionsSysvar?: Address<TAccountInstructionsSysvar>;
  mint: Address<TAccountMint>;
  multiSigners?: TransactionSigner[];
  newSourceDecryptableAvailableBalance: ConfidentialTransferInstructionDataArgs["newSourceDecryptableAvailableBalance"];
  rangeProofInstructionOffset: ConfidentialTransferInstructionDataArgs["rangeProofInstructionOffset"];
  rangeRecord?: Address<TAccountRangeRecord>;
  sourceToken: Address<TAccountSourceToken>;
};

Type Parameters

Type ParameterDefault type
TAccountSourceToken extends stringstring
TAccountMint extends stringstring
TAccountDestinationToken extends stringstring
TAccountInstructionsSysvar extends stringstring
TAccountEqualityRecord extends stringstring
TAccountCiphertextValidityRecord 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.


ciphertextValidityProofInstructionOffset

ciphertextValidityProofInstructionOffset: ConfidentialTransferInstructionDataArgs["ciphertextValidityProofInstructionOffset"];

ciphertextValidityRecord?

optional ciphertextValidityRecord: Address<TAccountCiphertextValidityRecord>;

(Optional) Ciphertext validity proof record account or context state account.


destinationToken

destinationToken: Address<TAccountDestinationToken>;

The destination SPL Token account.


equalityProofInstructionOffset

equalityProofInstructionOffset: ConfidentialTransferInstructionDataArgs["equalityProofInstructionOffset"];

equalityRecord?

optional equalityRecord: Address<TAccountEqualityRecord>;

(Optional) Equality 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: ConfidentialTransferInstructionDataArgs["newSourceDecryptableAvailableBalance"];

rangeProofInstructionOffset

rangeProofInstructionOffset: ConfidentialTransferInstructionDataArgs["rangeProofInstructionOffset"];

rangeRecord?

optional rangeRecord: Address<TAccountRangeRecord>;

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


sourceToken

sourceToken: Address<TAccountSourceToken>;

The source SPL Token account.

On this page