gill
gill/programs/token/Type aliases

ConfidentialWithdrawInput

type ConfidentialWithdrawInput<TAccountToken, TAccountMint, TAccountInstructionsSysvar, TAccountEqualityRecord, TAccountRangeRecord, TAccountAuthority> = {
  amount: ConfidentialWithdrawInstructionDataArgs["amount"];
  authority:   | Address<TAccountAuthority>
     | TransactionSigner<TAccountAuthority>;
  decimals: ConfidentialWithdrawInstructionDataArgs["decimals"];
  equalityProofInstructionOffset: ConfidentialWithdrawInstructionDataArgs["equalityProofInstructionOffset"];
  equalityRecord?: Address<TAccountEqualityRecord>;
  instructionsSysvar?: Address<TAccountInstructionsSysvar>;
  mint: Address<TAccountMint>;
  multiSigners?: TransactionSigner[];
  newDecryptableAvailableBalance: ConfidentialWithdrawInstructionDataArgs["newDecryptableAvailableBalance"];
  rangeProofInstructionOffset: ConfidentialWithdrawInstructionDataArgs["rangeProofInstructionOffset"];
  rangeRecord?: Address<TAccountRangeRecord>;
  token: Address<TAccountToken>;
};

Type Parameters

Type ParameterDefault type
TAccountToken extends stringstring
TAccountMint extends stringstring
TAccountInstructionsSysvar extends stringstring
TAccountEqualityRecord extends stringstring
TAccountRangeRecord extends stringstring
TAccountAuthority extends stringstring

Properties

amount

amount: ConfidentialWithdrawInstructionDataArgs["amount"];

authority

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

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


decimals

decimals: ConfidentialWithdrawInstructionDataArgs["decimals"];

equalityProofInstructionOffset

equalityProofInstructionOffset: ConfidentialWithdrawInstructionDataArgs["equalityProofInstructionOffset"];

equalityRecord?

optional equalityRecord: Address<TAccountEqualityRecord>;

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


instructionsSysvar?

optional instructionsSysvar: Address<TAccountInstructionsSysvar>;

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[];

newDecryptableAvailableBalance

newDecryptableAvailableBalance: ConfidentialWithdrawInstructionDataArgs["newDecryptableAvailableBalance"];

rangeProofInstructionOffset

rangeProofInstructionOffset: ConfidentialWithdrawInstructionDataArgs["rangeProofInstructionOffset"];

rangeRecord?

optional rangeRecord: Address<TAccountRangeRecord>;

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


token

token: Address<TAccountToken>;

The SPL Token account.

On this page