@@ -110,6 +110,9 @@ pub enum ConfidentialTransferInstruction {
110
110
/// prior to account closing if no instructions beyond
111
111
/// `ConfidentialTransferInstruction::ConfigureAccount` have affected the token account.
112
112
///
113
+ /// In order for this instruction to be successfully processed, it must be accompanied by the
114
+ /// `VerifyCloseAccount` instruction of the `zk_token_proof` program in the same transaction.
115
+ ///
113
116
/// * Single owner/delegate
114
117
/// 0. `[writable]` The SPL Token account.
115
118
/// 1. `[]` Instructions sysvar.
@@ -157,6 +160,9 @@ pub enum ConfidentialTransferInstruction {
157
160
/// Fails if the source or destination accounts are frozen.
158
161
/// Fails if the associated mint is extended as `NonTransferable`.
159
162
///
163
+ /// In order for this instruction to be successfully processed, it must be accompanied by the
164
+ /// `VerifyWithdraw` instruction of the `zk_token_proof` program in the same transaction.
165
+ ///
160
166
/// Accounts expected by this instruction:
161
167
///
162
168
/// * Single owner/delegate
@@ -179,6 +185,10 @@ pub enum ConfidentialTransferInstruction {
179
185
180
186
/// Transfer tokens confidentially.
181
187
///
188
+ /// In order for this instruction to be successfully processed, it must be accompanied by
189
+ /// either the `VerifyTransfer` or `VerifyTransferWithFee` instruction of the `zk_token_proof`
190
+ /// program in the same transaction.
191
+ ///
182
192
/// Fails if the associated mint is extended as `NonTransferable`.
183
193
///
184
194
/// * Single owner/delegate
@@ -266,6 +276,10 @@ pub enum ConfidentialTransferInstruction {
266
276
/// Transfer all withheld confidential tokens in the mint to an account. Signed by the mint's
267
277
/// withdraw withheld tokens authority.
268
278
///
279
+ /// In order for this instruction to be successfully processed, it must be accompanied by the
280
+ /// `VerifyWithdrawWithheldTokens` instruction of the `zk_token_proof` program in the same
281
+ /// transaction.
282
+ ///
269
283
/// Accounts expected by this instruction:
270
284
///
271
285
/// * Single owner/delegate
@@ -307,6 +321,10 @@ pub enum ConfidentialTransferInstruction {
307
321
/// `HarvestWithheldTokensToMint` and then move the withheld fees from mint to a specified
308
322
/// destination account using `WithdrawWithheldTokensFromMint`.
309
323
///
324
+ /// In order for this instruction to be successfully processed, it must be accompanied by the
325
+ /// `VerifyWithdrawWithheldTokens` instruction of the `zk_token_proof` program in the same
326
+ /// transaction.
327
+ ///
310
328
/// Accounts expected by this instruction:
311
329
///
312
330
/// * Single owner/delegate
0 commit comments