@@ -33,7 +33,7 @@ pub enum ConfidentialTransferInstruction {
33
33
///
34
34
/// Accounts expected by this instruction:
35
35
///
36
- /// 0. `[writable]` The SPL Token mint
36
+ /// 0. `[writable]` The SPL Token mint.
37
37
///
38
38
/// Data expected by this instruction:
39
39
/// `ConfidentialTransferMint`
@@ -44,9 +44,9 @@ pub enum ConfidentialTransferInstruction {
44
44
///
45
45
/// Accounts expected by this instruction:
46
46
///
47
- /// 0. `[writable]` The SPL Token mint
48
- /// 1. `[signer]` Confidential transfer mint authority
49
- /// 2. `[signer]` New confidential transfer mint authority
47
+ /// 0. `[writable]` The SPL Token mint.
48
+ /// 1. `[signer]` Confidential transfer mint authority.
49
+ /// 2. `[signer]` New confidential transfer mint authority.
50
50
///
51
51
/// Data expected by this instruction:
52
52
/// `ConfidentialTransferMint`
@@ -66,12 +66,16 @@ pub enum ConfidentialTransferInstruction {
66
66
///
67
67
/// Accounts expected by this instruction:
68
68
///
69
- /// 0. `[writeable]` The SPL Token account
70
- /// 1. `[]` The corresponding SPL Token mint
71
- /// 2. `[signer]` The single source account owner
72
- /// or:
73
- /// 2. `[]` The multisig source account owner
74
- /// 3.. `[signer]` Required M signer accounts for the SPL Token Multisig account
69
+ /// * Single owner/delegate
70
+ /// 0. `[writeable]` The SPL Token account.
71
+ /// 1. `[]` The corresponding SPL Token mint.
72
+ /// 2. `[signer]` The single source account owner.
73
+ ///
74
+ /// * Multisignature owner/delegate
75
+ /// 0. `[writeable]` The SPL Token account.
76
+ /// 1. `[]` The corresponding SPL Token mint.
77
+ /// 2. `[]` The multisig source account owner.
78
+ /// 3.. `[signer]` Required M signer accounts for the SPL Token Multisig account.
75
79
///
76
80
/// Data expected by this instruction:
77
81
/// `ConfigureAccountInstructionData`
@@ -87,9 +91,9 @@ pub enum ConfidentialTransferInstruction {
87
91
///
88
92
/// Accounts expected by this instruction:
89
93
///
90
- /// 0. `[writable]` The SPL Token account to approve
91
- /// 1. `[]` The SPL Token mint
92
- /// 2. `[signer]` Confidential transfer auditor authority
94
+ /// 0. `[writable]` The SPL Token account to approve.
95
+ /// 1. `[]` The SPL Token mint.
96
+ /// 2. `[signer]` Confidential transfer auditor authority.
93
97
///
94
98
/// Data expected by this instruction:
95
99
/// None
@@ -105,13 +109,16 @@ pub enum ConfidentialTransferInstruction {
105
109
/// prior to account closing if no instructions beyond
106
110
/// `ConfidentialTransferInstruction::ConfigureAccount` have affected the token account.
107
111
///
112
+ /// * Single owner/delegate
113
+ /// 0. `[writable]` The SPL Token account.
114
+ /// 1. `[]` Instructions sysvar.
115
+ /// 2. `[signer]` The single account owner.
108
116
///
109
- /// 0. `[writable]` The SPL Token account
110
- /// 1. `[]` Instructions sysvar
111
- /// 2. `[signer]` The single account owner
112
- /// or:
113
- /// 2. `[]` The multisig account owner
114
- /// 3.. `[signer]` Required M signer accounts for the SPL Token Multisig account
117
+ /// * Multisignature owner/delegate
118
+ /// 0. `[writable]` The SPL Token account.
119
+ /// 1. `[]` Instructions sysvar.
120
+ /// 2. `[]` The multisig account owner.
121
+ /// 3.. `[signer]` Required M signer accounts for the SPL Token Multisig account.
115
122
///
116
123
/// Data expected by this instruction:
117
124
/// `EmptyAccountInstructionData`
@@ -127,13 +134,18 @@ pub enum ConfidentialTransferInstruction {
127
134
///
128
135
/// Accounts expected by this instruction:
129
136
///
130
- /// 0. `[writable]` The source SPL Token account
131
- /// 1. `[writable]` The destination SPL Token account with confidential transfers configured
137
+ /// * Single owner/delegate
138
+ /// 0. `[writable]` The source SPL Token account.
139
+ /// 1. `[writable]` The destination SPL Token account with confidential transfers configured.
140
+ /// 2. `[]` The token mint.
141
+ /// 3. `[signer]` The single source account owner or delegate.
142
+ ///
143
+ /// * Multisignature owner/delegate
144
+ /// 0. `[writable]` The source SPL Token account.
145
+ /// 1. `[writable]` The destination SPL Token account with confidential transfers configured.
132
146
/// 2. `[]` The token mint.
133
- /// 3. `[signer]` The single source account owner or delegate
134
- /// or:
135
147
/// 3. `[]` The multisig source account owner or delegate.
136
- /// 4.. `[signer]` Required M signer accounts for the SPL Token Multisig account
148
+ /// 4.. `[signer]` Required M signer accounts for the SPL Token Multisig account.
137
149
///
138
150
/// Data expected by this instruction:
139
151
/// `DepositInstructionData`
@@ -146,14 +158,20 @@ pub enum ConfidentialTransferInstruction {
146
158
///
147
159
/// Accounts expected by this instruction:
148
160
///
149
- /// 0. `[writable]` The source SPL Token account with confidential transfers configured
150
- /// 1. `[writable]` The destination SPL Token account
161
+ /// * Single owner/delegate
162
+ /// 0. `[writable]` The source SPL Token account with confidential transfers configured.
163
+ /// 1. `[writable]` The destination SPL Token account.
164
+ /// 2. `[]` The token mint.
165
+ /// 3. `[]` Instructions sysvar.
166
+ /// 4. `[signer]` The single source account owner.
167
+ ///
168
+ /// * Multisignature owner/delegate
169
+ /// 0. `[writable]` The source SPL Token account with confidential transfers configured.
170
+ /// 1. `[writable]` The destination SPL Token account.
151
171
/// 2. `[]` The token mint.
152
- /// 3. `[]` Instructions sysvar
153
- /// 4. `[signer]` The single source account owner
154
- /// or:
155
- /// 4. `[]` The multisig source account owner
156
- /// 5.. `[signer]` Required M signer accounts for the SPL Token Multisig account
172
+ /// 3. `[]` Instructions sysvar.
173
+ /// 4. `[]` The multisig source account owner.
174
+ /// 5.. `[signer]` Required M signer accounts for the SPL Token Multisig account.
157
175
///
158
176
/// Data expected by this instruction:
159
177
/// `WithdrawInstructionData`
@@ -162,14 +180,20 @@ pub enum ConfidentialTransferInstruction {
162
180
163
181
/// Transfer tokens confidentially.
164
182
///
165
- /// 1. `[writable]` The source SPL Token account
166
- /// 2. `[writable]` The destination SPL Token account
167
- /// 3. `[]` The token mint
168
- /// 4. `[]` Instructions sysvar
169
- /// 5. `[signer]` The single source account owner
170
- /// or:
171
- /// 5. `[]` The multisig source account owner
172
- /// 6.. `[signer]` Required M signer accounts for the SPL Token Multisig account
183
+ /// * Single owner/delegate
184
+ /// 1. `[writable]` The source SPL Token account.
185
+ /// 2. `[writable]` The destination SPL Token account.
186
+ /// 3. `[]` The token mint.
187
+ /// 4. `[]` Instructions sysvar.
188
+ /// 5. `[signer]` The single source account owner.
189
+ ///
190
+ /// * Multisignature owner/delegate
191
+ /// 1. `[writable]` The source SPL Token account.
192
+ /// 2. `[writable]` The destination SPL Token account.
193
+ /// 3. `[]` The token mint.
194
+ /// 4. `[]` Instructions sysvar.
195
+ /// 5. `[]` The multisig source account owner.
196
+ /// 6.. `[signer]` Required M signer accounts for the SPL Token Multisig account.
173
197
///
174
198
/// Data expected by this instruction:
175
199
/// `TransferInstructionData`
@@ -188,11 +212,14 @@ pub enum ConfidentialTransferInstruction {
188
212
///
189
213
/// Account expected by this instruction:
190
214
///
191
- /// 0. `[writable]` The SPL Token account
192
- /// 1. `[signer]` The single account owner
193
- /// or:
194
- /// 1. `[]` The multisig account owner
195
- /// 2.. `[signer]` Required M signer accounts for the SPL Token Multisig account
215
+ /// * Single owner/delegate
216
+ /// 0. `[writable]` The SPL Token account.
217
+ /// 1. `[signer]` The single account owner.
218
+ ///
219
+ /// * Multisignature owner/delegate
220
+ /// 0. `[writable]` The SPL Token account.
221
+ /// 1. `[]` The multisig account owner.
222
+ /// 2.. `[signer]` Required M signer accounts for the SPL Token Multisig account.
196
223
///
197
224
/// Data expected by this instruction:
198
225
/// `ApplyPendingBalanceData`
@@ -203,11 +230,14 @@ pub enum ConfidentialTransferInstruction {
203
230
///
204
231
/// Accounts expected by this instruction:
205
232
///
206
- /// 0. `[writable]` The SPL Token account
207
- /// 1. `[signer]` Single authority
208
- /// or:
209
- /// 1. `[]` Multisig authority
210
- /// 2.. `[signer]` Required M signer accounts for the SPL Token Multisig account
233
+ /// * Single owner/delegate
234
+ /// 0. `[writable]` The SPL Token account.
235
+ /// 1. `[signer]` Single authority.
236
+ ///
237
+ /// * Multisignature owner/delegate
238
+ /// 0. `[writable]` The SPL Token account.
239
+ /// 1. `[]` Multisig authority.
240
+ /// 2.. `[signer]` Required M signer accounts for the SPL Token Multisig account.
211
241
///
212
242
/// Data expected by this instruction:
213
243
/// None
@@ -218,11 +248,14 @@ pub enum ConfidentialTransferInstruction {
218
248
///
219
249
/// Accounts expected by this instruction:
220
250
///
221
- /// 0. `[writable]` The SPL Token account
222
- /// 1. `[signer]` The single account owner
223
- /// or:
224
- /// 1. `[]` The multisig account owner
225
- /// 2.. `[signer]` Required M signer accounts for the SPL Token Multisig account
251
+ /// * Single owner/delegate
252
+ /// 0. `[writable]` The SPL Token account.
253
+ /// 1. `[signer]` The single account owner.
254
+ ///
255
+ /// * Multisignature owner/delegate
256
+ /// 0. `[writable]` The SPL Token account.
257
+ /// 1. `[]` The multisig account owner.
258
+ /// 2.. `[signer]` Required M signer accounts for the SPL Token Multisig account.
226
259
///
227
260
/// Data expected by this instruction:
228
261
/// None
@@ -234,12 +267,18 @@ pub enum ConfidentialTransferInstruction {
234
267
///
235
268
/// Accounts expected by this instruction:
236
269
///
270
+ /// * Single owner/delegate
237
271
/// 0. `[writable]` The token mint. Must include the `TransferFeeConfig` extension.
238
272
/// 1. `[writable]` The fee receiver account. Must include the `TransferFeeAmount` and
239
273
/// `ConfidentialTransferAccount` extensions.
240
- /// 2. `[]` Instructions sysvar
274
+ /// 2. `[]` Instructions sysvar.
241
275
/// 3. `[signer]` The mint's `withdraw_withheld_authority`.
242
- /// or:
276
+ ///
277
+ /// * Multisignature owner/delegate
278
+ /// 0. `[writable]` The token mint. Must include the `TransferFeeConfig` extension.
279
+ /// 1. `[writable]` The fee receiver account. Must include the `TransferFeeAmount` and
280
+ /// `ConfidentialTransferAccount` extensions.
281
+ /// 2. `[]` Instructions sysvar.
243
282
/// 3. `[]` The mint's `withdraw_withheld_authority`'s multisignature owner/delegate.
244
283
/// 4. ..3+M `[signer]` M signer accounts.
245
284
///
@@ -269,13 +308,19 @@ pub enum ConfidentialTransferInstruction {
269
308
///
270
309
/// Accounts expected by this instruction:
271
310
///
311
+ /// * Single owner/delegate
272
312
/// 0. `[]` The token mint. Must include the `TransferFeeConfig` extension.
273
313
/// 1. `[writable]` The fee receiver account. Must include the `TransferFeeAmount` and
274
314
/// `ConfidentialTransferAccount` extensions.
275
- /// 2. `[]` Instructions sysvar
315
+ /// 2. `[]` Instructions sysvar.
276
316
/// 3. `[signer]` The mint's `withdraw_withheld_authority`.
277
317
/// 4. ..3+N `[writable]` The source accounts to withdraw from.
278
- /// or:
318
+ ///
319
+ /// * Multisignature owner/delegate
320
+ /// 0. `[]` The token mint. Must include the `TransferFeeConfig` extension.
321
+ /// 1. `[writable]` The fee receiver account. Must include the `TransferFeeAmount` and
322
+ /// `ConfidentialTransferAccount` extensions.
323
+ /// 2. `[]` Instructions sysvar.
279
324
/// 3. `[]` The mint's `withdraw_withheld_authority`'s multisignature owner/delegate.
280
325
/// 4. ..4+M `[signer]` M signer accounts.
281
326
/// 4+M+1. ..3+M+N `[writable]` The source accounts to withdraw from.
0 commit comments