@@ -67,7 +67,7 @@ pub enum TokenInstruction<'a> {
67
67
///
68
68
/// 0. `[writable]` The multisignature account to initialize.
69
69
/// 1. `[]` Rent sysvar
70
- /// 2+N. `[signer]` The signer accounts, must equal to N where `1 <= N <= 11`.
70
+ /// 2. `..+N` `[signer]` The signer accounts, must equal to N where `1 <= N <= 11`.
71
71
InitializeMultisig {
72
72
/// The number of signers (M) required to validate this multisignature
73
73
/// account.
@@ -90,7 +90,7 @@ pub enum TokenInstruction<'a> {
90
90
/// 0. `[writable]` The source account.
91
91
/// 1. `[writable]` The destination account.
92
92
/// 2. `[]` The source account's multisignature owner/delegate.
93
- /// 3+M. `[signer]` M signer accounts.
93
+ /// 3. `..+M` `[signer]` M signer accounts.
94
94
Transfer {
95
95
/// The amount of tokens to transfer.
96
96
amount : u64 ,
@@ -110,7 +110,7 @@ pub enum TokenInstruction<'a> {
110
110
/// 0. `[writable]` The source account.
111
111
/// 1. `[]` The delegate.
112
112
/// 2. `[]` The source account's multisignature owner.
113
- /// 3+M. `[signer]` M signer accounts
113
+ /// 3. `..+M` `[signer]` M signer accounts
114
114
Approve {
115
115
/// The amount of tokens the delegate is approved for.
116
116
amount : u64 ,
@@ -127,7 +127,7 @@ pub enum TokenInstruction<'a> {
127
127
/// * Multisignature owner
128
128
/// 0. `[writable]` The source account.
129
129
/// 1. `[]` The source account's multisignature owner.
130
- /// 2+M. `[signer]` M signer accounts
130
+ /// 2. `..+M` `[signer]` M signer accounts
131
131
Revoke ,
132
132
133
133
/// Sets a new authority of a mint or account.
@@ -141,7 +141,7 @@ pub enum TokenInstruction<'a> {
141
141
/// * Multisignature authority
142
142
/// 0. `[writable]` The mint or account to change the authority of.
143
143
/// 1. `[]` The mint's or account's current multisignature authority.
144
- /// 2+M. `[signer]` M signer accounts
144
+ /// 2. `..+M` `[signer]` M signer accounts
145
145
SetAuthority {
146
146
/// The type of authority to update.
147
147
authority_type : AuthorityType ,
@@ -163,7 +163,7 @@ pub enum TokenInstruction<'a> {
163
163
/// 0. `[writable]` The mint.
164
164
/// 1. `[writable]` The account to mint tokens to.
165
165
/// 2. `[]` The mint's multisignature mint-tokens authority.
166
- /// 3+M. `[signer]` M signer accounts.
166
+ /// 3. `..+M` `[signer]` M signer accounts.
167
167
MintTo {
168
168
/// The amount of new tokens to mint.
169
169
amount : u64 ,
@@ -183,7 +183,7 @@ pub enum TokenInstruction<'a> {
183
183
/// 0. `[writable]` The account to burn from.
184
184
/// 1. `[writable]` The token mint.
185
185
/// 2. `[]` The account's multisignature owner/delegate.
186
- /// 3+M. `[signer]` M signer accounts.
186
+ /// 3. `..+M` `[signer]` M signer accounts.
187
187
Burn {
188
188
/// The amount of tokens to burn.
189
189
amount : u64 ,
@@ -203,7 +203,7 @@ pub enum TokenInstruction<'a> {
203
203
/// 0. `[writable]` The account to close.
204
204
/// 1. `[writable]` The destination account.
205
205
/// 2. `[]` The account's multisignature owner.
206
- /// 3+M. `[signer]` M signer accounts.
206
+ /// 3. `..+M` `[signer]` M signer accounts.
207
207
CloseAccount ,
208
208
209
209
/// Freeze an Initialized account using the Mint's [`freeze_authority`] (if
@@ -220,7 +220,7 @@ pub enum TokenInstruction<'a> {
220
220
/// 0. `[writable]` The account to freeze.
221
221
/// 1. `[]` The token mint.
222
222
/// 2. `[]` The mint's multisignature freeze authority.
223
- /// 3+M. `[signer]` M signer accounts.
223
+ /// 3. `..+M` `[signer]` M signer accounts.
224
224
FreezeAccount ,
225
225
226
226
/// Thaw a Frozen account using the Mint's [`freeze_authority`] (if set).
@@ -236,7 +236,7 @@ pub enum TokenInstruction<'a> {
236
236
/// 0. `[writable]` The account to freeze.
237
237
/// 1. `[]` The token mint.
238
238
/// 2. `[]` The mint's multisignature freeze authority.
239
- /// 3+M. `[signer]` M signer accounts.
239
+ /// 3. `..+M` `[signer]` M signer accounts.
240
240
ThawAccount ,
241
241
242
242
/// Transfers tokens from one account to another either directly or via a
@@ -261,7 +261,7 @@ pub enum TokenInstruction<'a> {
261
261
/// 1. `[]` The token mint.
262
262
/// 2. `[writable]` The destination account.
263
263
/// 3. `[]` The source account's multisignature owner/delegate.
264
- /// 4+M. `[signer]` M signer accounts.
264
+ /// 4. `..+M` `[signer]` M signer accounts.
265
265
TransferChecked {
266
266
/// The amount of tokens to transfer.
267
267
amount : u64 ,
@@ -289,7 +289,7 @@ pub enum TokenInstruction<'a> {
289
289
/// 1. `[]` The token mint.
290
290
/// 2. `[]` The delegate.
291
291
/// 3. `[]` The source account's multisignature owner.
292
- /// 4+M. `[signer]` M signer accounts
292
+ /// 4. `..+M` `[signer]` M signer accounts
293
293
ApproveChecked {
294
294
/// The amount of tokens the delegate is approved for.
295
295
amount : u64 ,
@@ -315,7 +315,7 @@ pub enum TokenInstruction<'a> {
315
315
/// 0. `[writable]` The mint.
316
316
/// 1. `[writable]` The account to mint tokens to.
317
317
/// 2. `[]` The mint's multisignature mint-tokens authority.
318
- /// 3+M. `[signer]` M signer accounts.
318
+ /// 3. `..+M` `[signer]` M signer accounts.
319
319
MintToChecked {
320
320
/// The amount of new tokens to mint.
321
321
amount : u64 ,
@@ -342,7 +342,7 @@ pub enum TokenInstruction<'a> {
342
342
/// 0. `[writable]` The account to burn from.
343
343
/// 1. `[writable]` The token mint.
344
344
/// 2. `[]` The account's multisignature owner/delegate.
345
- /// 3+M. `[signer]` M signer accounts.
345
+ /// 3. `..+M` `[signer]` M signer accounts.
346
346
BurnChecked {
347
347
/// The amount of tokens to burn.
348
348
amount : u64 ,
@@ -395,7 +395,7 @@ pub enum TokenInstruction<'a> {
395
395
/// Accounts expected by this instruction:
396
396
///
397
397
/// 0. `[writable]` The multisignature account to initialize.
398
- /// 1+N. `[signer]` The signer accounts, must equal to N where `1 <= N <= 11`.
398
+ /// 1. `..+N` `[signer]` The signer accounts, must equal to N where `1 <= N <= 11`.
399
399
InitializeMultisig2 {
400
400
/// The number of signers (M) required to validate this multisignature
401
401
/// account.
0 commit comments