@@ -105,11 +105,14 @@ typedef struct Token_COption_Pubkey {
105
105
*/
106
106
typedef enum Token_TokenInstruction_Tag {
107
107
/* *
108
- * Initializes a new mint and optionally deposits all the newly minted tokens in an account.
108
+ * Initializes a new mint and optionally deposits all the newly minted
109
+ * tokens in an account.
109
110
*
110
- * The `InitializeMint` instruction requires no signers and MUST be included within
111
- * the same Transaction as the system program's `CreateInstruction` that creates the account
112
- * being initialized. Otherwise another party can acquire ownership of the uninitialized account.
111
+ * The `InitializeMint` instruction requires no signers and MUST be
112
+ * included within the same Transaction as the system program's
113
+ * `CreateInstruction` that creates the account being initialized.
114
+ * Otherwise another party can acquire ownership of the uninitialized
115
+ * account.
113
116
*
114
117
* Accounts expected by this instruction:
115
118
*
@@ -119,14 +122,17 @@ typedef enum Token_TokenInstruction_Tag {
119
122
*/
120
123
Token_TokenInstruction_InitializeMint,
121
124
/* *
122
- * Initializes a new account to hold tokens. If this account is associated with the native
123
- * mint then the token balance of the initialized account will be equal to the amount of SOL
124
- * in the account. If this account is associated with another mint, that mint must be
125
- * initialized before this command can succeed.
125
+ * Initializes a new account to hold tokens. If this account is associated
126
+ * with the native mint then the token balance of the initialized account
127
+ * will be equal to the amount of SOL in the account. If this account is
128
+ * associated with another mint, that mint must be initialized before this
129
+ * command can succeed.
126
130
*
127
- * The `InitializeAccount` instruction requires no signers and MUST be included within
128
- * the same Transaction as the system program's `CreateInstruction` that creates the account
129
- * being initialized. Otherwise another party can acquire ownership of the uninitialized account.
131
+ * The `InitializeAccount` instruction requires no signers and MUST be
132
+ * included within the same Transaction as the system program's
133
+ * `CreateInstruction` that creates the account being initialized.
134
+ * Otherwise another party can acquire ownership of the uninitialized
135
+ * account.
130
136
*
131
137
* Accounts expected by this instruction:
132
138
*
@@ -139,25 +145,30 @@ typedef enum Token_TokenInstruction_Tag {
139
145
/* *
140
146
* Initializes a multisignature account with N provided signers.
141
147
*
142
- * Multisignature accounts can used in place of any single owner/delegate accounts in any
143
- * token instruction that require an owner/delegate to be present. The variant field represents the
144
- * number of signers (M) required to validate this multisignature account.
148
+ * Multisignature accounts can used in place of any single owner/delegate
149
+ * accounts in any token instruction that require an owner/delegate to be
150
+ * present. The variant field represents the number of signers (M)
151
+ * required to validate this multisignature account.
145
152
*
146
- * The `InitializeMultisig` instruction requires no signers and MUST be included within
147
- * the same Transaction as the system program's `CreateInstruction` that creates the account
148
- * being initialized. Otherwise another party can acquire ownership of the uninitialized account.
153
+ * The `InitializeMultisig` instruction requires no signers and MUST be
154
+ * included within the same Transaction as the system program's
155
+ * `CreateInstruction` that creates the account being initialized.
156
+ * Otherwise another party can acquire ownership of the uninitialized
157
+ * account.
149
158
*
150
159
* Accounts expected by this instruction:
151
160
*
152
161
* 0. `[writable]` The multisignature account to initialize.
153
162
* 1. `[]` Rent sysvar
154
- * 2. ..2+N. `[]` The signer accounts, must equal to N where 1 <= N <= 11.
163
+ * 2. ..2+N. `[]` The signer accounts, must equal to N where 1 <= N <=
164
+ * 11.
155
165
*/
156
166
Token_TokenInstruction_InitializeMultisig,
157
167
/* *
158
- * Transfers tokens from one account to another either directly or via a delegate. If this
159
- * account is associated with the native mint then equal amounts of SOL and Tokens will be
160
- * transferred to the destination account.
168
+ * Transfers tokens from one account to another either directly or via a
169
+ * delegate. If this account is associated with the native mint then equal
170
+ * amounts of SOL and Tokens will be transferred to the destination
171
+ * account.
161
172
*
162
173
* Accounts expected by this instruction:
163
174
*
@@ -174,8 +185,8 @@ typedef enum Token_TokenInstruction_Tag {
174
185
*/
175
186
Token_TokenInstruction_Transfer,
176
187
/* *
177
- * Approves a delegate. A delegate is given the authority over
178
- * tokens on behalf of the source account's owner.
188
+ * Approves a delegate. A delegate is given the authority over tokens on
189
+ * behalf of the source account's owner.
179
190
*
180
191
* Accounts expected by this instruction:
181
192
*
@@ -222,7 +233,8 @@ typedef enum Token_TokenInstruction_Tag {
222
233
*/
223
234
Token_TokenInstruction_SetAuthority,
224
235
/* *
225
- * Mints new tokens to an account. The native mint does not support minting.
236
+ * Mints new tokens to an account. The native mint does not support
237
+ * minting.
226
238
*
227
239
* Accounts expected by this instruction:
228
240
*
@@ -239,8 +251,8 @@ typedef enum Token_TokenInstruction_Tag {
239
251
*/
240
252
Token_TokenInstruction_MintTo,
241
253
/* *
242
- * Burns tokens by removing them from an account. `Burn` does not support accounts
243
- * associated with the native mint, use `CloseAccount` instead.
254
+ * Burns tokens by removing them from an account. `Burn` does not support
255
+ * accounts associated with the native mint, use `CloseAccount` instead.
244
256
*
245
257
* Accounts expected by this instruction:
246
258
*
@@ -275,7 +287,8 @@ typedef enum Token_TokenInstruction_Tag {
275
287
*/
276
288
Token_TokenInstruction_CloseAccount,
277
289
/* *
278
- * Freeze an Initialized account using the Mint's freeze_authority (if set).
290
+ * Freeze an Initialized account using the Mint's freeze_authority (if
291
+ * set).
279
292
*
280
293
* Accounts expected by this instruction:
281
294
*
@@ -309,13 +322,14 @@ typedef enum Token_TokenInstruction_Tag {
309
322
*/
310
323
Token_TokenInstruction_ThawAccount,
311
324
/* *
312
- * Transfers tokens from one account to another either directly or via a delegate. If this
313
- * account is associated with the native mint then equal amounts of SOL and Tokens will be
314
- * transferred to the destination account.
325
+ * Transfers tokens from one account to another either directly or via a
326
+ * delegate. If this account is associated with the native mint then equal
327
+ * amounts of SOL and Tokens will be transferred to the destination
328
+ * account.
315
329
*
316
- * This instruction differs from Transfer in that the token mint and decimals value is
317
- * asserted by the caller. This may be useful when creating transactions offline or within a
318
- * hardware wallet.
330
+ * This instruction differs from Transfer in that the token mint and
331
+ * decimals value is asserted by the caller. This may be useful when
332
+ * creating transactions offline or within a hardware wallet.
319
333
*
320
334
* Accounts expected by this instruction:
321
335
*
@@ -334,12 +348,12 @@ typedef enum Token_TokenInstruction_Tag {
334
348
*/
335
349
Token_TokenInstruction_Transfer2,
336
350
/* *
337
- * Approves a delegate. A delegate is given the authority over
338
- * tokens on behalf of the source account's owner.
351
+ * Approves a delegate. A delegate is given the authority over tokens on
352
+ * behalf of the source account's owner.
339
353
*
340
- * This instruction differs from Approve in that the token mint and decimals value is asserted
341
- * by the caller. This may be useful when creating transactions offline or within a hardware
342
- * wallet.
354
+ * This instruction differs from Approve in that the token mint and
355
+ * decimals value is asserted by the caller. This may be useful when
356
+ * creating transactions offline or within a hardware wallet.
343
357
*
344
358
* Accounts expected by this instruction:
345
359
*
@@ -358,10 +372,12 @@ typedef enum Token_TokenInstruction_Tag {
358
372
*/
359
373
Token_TokenInstruction_Approve2,
360
374
/* *
361
- * Mints new tokens to an account. The native mint does not support minting.
375
+ * Mints new tokens to an account. The native mint does not support
376
+ * minting.
362
377
*
363
- * This instruction differs from MintTo in that the decimals value is asserted by the
364
- * caller. This may be useful when creating transactions offline or within a hardware wallet.
378
+ * This instruction differs from MintTo in that the decimals value is
379
+ * asserted by the caller. This may be useful when creating transactions
380
+ * offline or within a hardware wallet.
365
381
*
366
382
* Accounts expected by this instruction:
367
383
*
@@ -378,11 +394,13 @@ typedef enum Token_TokenInstruction_Tag {
378
394
*/
379
395
Token_TokenInstruction_MintTo2,
380
396
/* *
381
- * Burns tokens by removing them from an account. `Burn2` does not support accounts
382
- * associated with the native mint, use `CloseAccount` instead.
397
+ * Burns tokens by removing them from an account. `Burn2` does not
398
+ * support accounts associated with the native mint, use `CloseAccount`
399
+ * instead.
383
400
*
384
- * This instruction differs from Burn in that the decimals value is asserted by the caller.
385
- * This may be useful when creating transactions offline or within a hardware wallet.
401
+ * This instruction differs from Burn in that the decimals value is asserted
402
+ * by the caller. This may be useful when creating transactions offline or
403
+ * within a hardware wallet.
386
404
*
387
405
* Accounts expected by this instruction:
388
406
*
@@ -417,7 +435,8 @@ typedef struct Token_TokenInstruction_Token_InitializeMint_Body {
417
435
418
436
typedef struct Token_TokenInstruction_Token_InitializeMultisig_Body {
419
437
/* *
420
- * The number of signers (M) required to validate this multisignature account.
438
+ * The number of signers (M) required to validate this multisignature
439
+ * account.
421
440
*/
422
441
uint8_t m;
423
442
} Token_TokenInstruction_Token_InitializeMultisig_Body;
0 commit comments