@@ -82,13 +82,13 @@ pub enum TokenInstruction {
82
82
/// * Single owner/delegate
83
83
/// 0. `[writable]` The source account.
84
84
/// 1. `[writable]` The destination account.
85
- /// 2. ' [signer]' The source account's owner/delegate.
85
+ /// 2. ` [signer]` The source account's owner/delegate.
86
86
///
87
87
/// * Multisignature owner/delegate
88
88
/// 0. `[writable]` The source account.
89
89
/// 1. `[writable]` The destination account.
90
- /// 2. '[]' The source account's multisignature owner/delegate.
91
- /// 3. ..3+M ' [signer]' M signer accounts.
90
+ /// 2. `[]` The source account's multisignature owner/delegate.
91
+ /// 3. ..3+M ` [signer]` M signer accounts.
92
92
Transfer {
93
93
/// The amount of tokens to transfer.
94
94
amount : u64 ,
@@ -106,8 +106,8 @@ pub enum TokenInstruction {
106
106
/// * Multisignature owner
107
107
/// 0. `[writable]` The source account.
108
108
/// 1. `[]` The delegate.
109
- /// 2. '[]' The source account's multisignature owner.
110
- /// 3. ..3+M ' [signer]' M signer accounts
109
+ /// 2. `[]` The source account's multisignature owner.
110
+ /// 3. ..3+M ` [signer]` M signer accounts
111
111
Approve {
112
112
/// The amount of tokens the delegate is approved for.
113
113
amount : u64 ,
@@ -122,8 +122,8 @@ pub enum TokenInstruction {
122
122
///
123
123
/// * Multisignature owner
124
124
/// 0. `[writable]` The source account.
125
- /// 1. '[]' The source account's multisignature owner.
126
- /// 2. ..2+M ' [signer]' M signer accounts
125
+ /// 1. `[]` The source account's multisignature owner.
126
+ /// 2. ..2+M ` [signer]` M signer accounts
127
127
Revoke ,
128
128
/// Sets a new authority of a mint or account.
129
129
///
@@ -136,7 +136,7 @@ pub enum TokenInstruction {
136
136
/// * Multisignature authority
137
137
/// 0. `[writable]` The mint or account to change the authority of.
138
138
/// 1. `[]` The mint's or account's multisignature authority.
139
- /// 2. ..2+M ' [signer]' M signer accounts
139
+ /// 2. ..2+M ` [signer]` M signer accounts
140
140
SetAuthority {
141
141
/// The type of authority to update.
142
142
authority_type : AuthorityType ,
@@ -156,7 +156,7 @@ pub enum TokenInstruction {
156
156
/// 0. `[writable]` The mint.
157
157
/// 1. `[writable]` The account to mint tokens to.
158
158
/// 2. `[]` The mint's multisignature mint-tokens authority.
159
- /// 3. ..3+M ' [signer]' M signer accounts.
159
+ /// 3. ..3+M ` [signer]` M signer accounts.
160
160
MintTo {
161
161
/// The amount of new tokens to mint.
162
162
amount : u64 ,
@@ -168,7 +168,7 @@ pub enum TokenInstruction {
168
168
///
169
169
/// * Single owner/delegate
170
170
/// 0. `[writable]` The account to burn from.
171
- /// 1. ' [writable]' The token mint.
171
+ /// 1. ` [writable]` The token mint.
172
172
/// 2. `[signer]` The account's owner/delegate.
173
173
///
174
174
/// * Multisignature owner/delegate
@@ -187,44 +187,44 @@ pub enum TokenInstruction {
187
187
///
188
188
/// * Single owner
189
189
/// 0. `[writable]` The account to close.
190
- /// 1. ' [writable]' The destination account.
190
+ /// 1. ` [writable]` The destination account.
191
191
/// 2. `[signer]` The account's owner.
192
192
///
193
193
/// * Multisignature owner
194
194
/// 0. `[writable]` The account to close.
195
- /// 1. ' [writable]' The destination account.
195
+ /// 1. ` [writable]` The destination account.
196
196
/// 2. `[]` The account's multisignature owner.
197
- /// 3. ..3+M ' [signer]' M signer accounts.
197
+ /// 3. ..3+M ` [signer]` M signer accounts.
198
198
CloseAccount ,
199
199
/// Freeze an Initialized account using the Mint's freeze_authority (if set).
200
200
///
201
201
/// Accounts expected by this instruction:
202
202
///
203
203
/// * Single owner
204
204
/// 0. `[writable]` The account to freeze.
205
- /// 1. '[]' The token mint.
205
+ /// 1. `[]` The token mint.
206
206
/// 2. `[signer]` The mint freeze authority.
207
207
///
208
208
/// * Multisignature owner
209
209
/// 0. `[writable]` The account to freeze.
210
- /// 1. '[]' The token mint.
210
+ /// 1. `[]` The token mint.
211
211
/// 2. `[]` The mint's multisignature freeze authority.
212
- /// 3. ..3+M ' [signer]' M signer accounts.
212
+ /// 3. ..3+M ` [signer]` M signer accounts.
213
213
FreezeAccount ,
214
214
/// Thaw a Frozen account using the Mint's freeze_authority (if set).
215
215
///
216
216
/// Accounts expected by this instruction:
217
217
///
218
218
/// * Single owner
219
219
/// 0. `[writable]` The account to freeze.
220
- /// 1. '[]' The token mint.
220
+ /// 1. `[]` The token mint.
221
221
/// 2. `[signer]` The mint freeze authority.
222
222
///
223
223
/// * Multisignature owner
224
224
/// 0. `[writable]` The account to freeze.
225
- /// 1. '[]' The token mint.
225
+ /// 1. `[]` The token mint.
226
226
/// 2. `[]` The mint's multisignature freeze authority.
227
- /// 3. ..3+M ' [signer]' M signer accounts.
227
+ /// 3. ..3+M ` [signer]` M signer accounts.
228
228
ThawAccount ,
229
229
230
230
/// Transfers tokens from one account to another either directly or via a delegate. If this
@@ -239,16 +239,16 @@ pub enum TokenInstruction {
239
239
///
240
240
/// * Single owner/delegate
241
241
/// 0. `[writable]` The source account.
242
- /// 1. '[]' The token mint.
242
+ /// 1. `[]` The token mint.
243
243
/// 2. `[writable]` The destination account.
244
- /// 3. ' [signer]' The source account's owner/delegate.
244
+ /// 3. ` [signer]` The source account's owner/delegate.
245
245
///
246
246
/// * Multisignature owner/delegate
247
247
/// 0. `[writable]` The source account.
248
- /// 1. '[]' The token mint.
248
+ /// 1. `[]` The token mint.
249
249
/// 2. `[writable]` The destination account.
250
- /// 3. '[]' The source account's multisignature owner/delegate.
251
- /// 4. ..4+M ' [signer]' M signer accounts.
250
+ /// 3. `[]` The source account's multisignature owner/delegate.
251
+ /// 4. ..4+M ` [signer]` M signer accounts.
252
252
Transfer2 {
253
253
/// The amount of tokens to transfer.
254
254
amount : u64 ,
@@ -266,16 +266,16 @@ pub enum TokenInstruction {
266
266
///
267
267
/// * Single owner
268
268
/// 0. `[writable]` The source account.
269
- /// 1. '[]' The token mint.
269
+ /// 1. `[]` The token mint.
270
270
/// 2. `[]` The delegate.
271
271
/// 3. `[signer]` The source account owner.
272
272
///
273
273
/// * Multisignature owner
274
274
/// 0. `[writable]` The source account.
275
- /// 1. '[]' The token mint.
275
+ /// 1. `[]` The token mint.
276
276
/// 2. `[]` The delegate.
277
- /// 3. '[]' The source account's multisignature owner.
278
- /// 4. ..4+M ' [signer]' M signer accounts
277
+ /// 3. `[]` The source account's multisignature owner.
278
+ /// 4. ..4+M ` [signer]` M signer accounts
279
279
Approve2 {
280
280
/// The amount of tokens the delegate is approved for.
281
281
amount : u64 ,
@@ -298,7 +298,7 @@ pub enum TokenInstruction {
298
298
/// 0. `[writable]` The mint.
299
299
/// 1. `[writable]` The account to mint tokens to.
300
300
/// 2. `[]` The mint's multisignature mint-tokens authority.
301
- /// 3. ..3+M ' [signer]' M signer accounts.
301
+ /// 3. ..3+M ` [signer]` M signer accounts.
302
302
MintTo2 {
303
303
/// The amount of new tokens to mint.
304
304
amount : u64 ,
@@ -315,14 +315,14 @@ pub enum TokenInstruction {
315
315
///
316
316
/// * Single owner/delegate
317
317
/// 0. `[writable]` The account to burn from.
318
- /// 1. ' [writable]' The token mint.
318
+ /// 1. ` [writable]` The token mint.
319
319
/// 2. `[signer]` The account's owner/delegate.
320
320
///
321
321
/// * Multisignature owner/delegate
322
322
/// 0. `[writable]` The account to burn from.
323
- /// 1. ' [writable]' The token mint.
323
+ /// 1. ` [writable]` The token mint.
324
324
/// 2. `[]` The account's multisignature owner/delegate.
325
- /// 3. ..3+M ' [signer]' M signer accounts.
325
+ /// 3. ..3+M ` [signer]` M signer accounts.
326
326
Burn2 {
327
327
/// The amount of tokens to burn.
328
328
amount : u64 ,
@@ -570,7 +570,7 @@ impl AuthorityType {
570
570
}
571
571
}
572
572
573
- /// Creates a ' InitializeMint' instruction.
573
+ /// Creates a ` InitializeMint` instruction.
574
574
pub fn initialize_mint (
575
575
token_program_id : & Pubkey ,
576
576
mint_pubkey : & Pubkey ,
0 commit comments