Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit 181cdfa

Browse files
Tyera Eulbergmvines
authored andcommitted
C headers
1 parent 2e5056f commit 181cdfa

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

token/program/inc/token.h

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ typedef enum Token_TokenInstruction_Tag {
118118
* Accounts expected by this instruction:
119119
*
120120
* 0. `[writable]` The mint to initialize.
121+
* 1. `[]` Rent sysvar
121122
*
122123
*/
123124
Token_TokenInstruction_InitializeMint,
@@ -134,6 +135,7 @@ typedef enum Token_TokenInstruction_Tag {
134135
* 0. `[writable]` The account to initialize.
135136
* 1. `[]` The mint this account will be associated with.
136137
* 2. `[]` The new account's owner/multisignature.
138+
* 3. `[]` Rent sysvar
137139
*/
138140
Token_TokenInstruction_InitializeAccount,
139141
/**
@@ -150,7 +152,8 @@ typedef enum Token_TokenInstruction_Tag {
150152
* Accounts expected by this instruction:
151153
*
152154
* 0. `[writable]` The multisignature account to initialize.
153-
* 1. ..1+N. `[]` The signer accounts, must equal to N where 1 <= N <= 11.
155+
* 2. `[]` Rent sysvar
156+
* 3. ..2+N. `[]` The signer accounts, must equal to N where 1 <= N <= 11.
154157
*/
155158
Token_TokenInstruction_InitializeMultisig,
156159
/**
@@ -441,6 +444,11 @@ typedef struct Token_Account {
441444
* Optional authority to close the account.
442445
*/
443446
Token_COption_Pubkey close_authority;
447+
/**
448+
* An Account is required to be rent-exempt. This value logs the reserve required to be
449+
* rent-exempt so that wrapped SOL accounts do not drop below this threshold.
450+
*/
451+
uint64_t rent_exempt_reserve;
444452
} Token_Account;
445453

446454
/**

0 commit comments

Comments
 (0)