|
1 | 1 | # Light Token Native Rust Solana Programs |
2 | 2 |
|
| 3 | +- **approve** - Approve delegate via CPI |
| 4 | + - [Instruction](program/src/instructions/approve.rs) | [Test](program/tests/approve.rs) |
| 5 | +- **burn** - Burn tokens via CPI |
| 6 | + - [Instruction](program/src/instructions/burn.rs) | [Test](program/tests/burn.rs) |
| 7 | +- **close** - Close token account via CPI |
| 8 | + - [Instruction](program/src/instructions/close.rs) | [Test](program/tests/close.rs) |
| 9 | +- **create-associated** - Create an associated light-token account via CPI |
| 10 | + - [Instruction](program/src/instructions/create_ata.rs) | [Test](program/tests/create_ata.rs) |
3 | 11 | - **create-mint** - Create a light-token mint via CPI |
4 | 12 | - [Instruction](program/src/instructions/create_mint.rs) | [Test](program/tests/create_mint.rs) |
5 | | -- **create-ata** - Create an associated light-token account via CPI |
6 | | - - [Instruction](program/src/instructions/create_ata.rs) | [Test](program/tests/create_ata.rs) |
7 | 13 | - **create-token-account** - Create a light-token account via CPI |
8 | 14 | - [Instruction](program/src/instructions/create_token_account.rs) | [Test](program/tests/create_token_account.rs) |
| 15 | +- **freeze** - Freeze token account via CPI |
| 16 | + - [Instruction](program/src/instructions/freeze.rs) | [Test](program/tests/freeze.rs) |
9 | 17 | - **mint-to** - Mint tokens via CPI |
10 | 18 | - [Instruction](program/src/instructions/mint_to.rs) | [Test](program/tests/mint_to.rs) |
11 | 19 | - **mint-to-checked** - Mint tokens with decimal validation via CPI |
12 | 20 | - [Instruction](program/src/instructions/mint_to_checked.rs) | [Test](program/tests/mint_to_checked.rs) |
13 | | -- **transfer-interface** - Transfer between light-token, T22, and SPL accounts via CPI |
14 | | - - [Instruction](program/src/instructions/transfer_interface.rs) | [Test](program/tests/transfer.rs) |
15 | | -- **transfer-checked** - Transfer with decimal validation against mint via CPI |
16 | | - - [Instruction](program/src/instructions/transfer_checked.rs) | [Test](program/tests/transfer_checked.rs) |
17 | | -- **approve** - Approve delegate via CPI |
18 | | - - [Instruction](program/src/instructions/approve.rs) | [Test](program/tests/approve.rs) |
19 | 21 | - **revoke** - Revoke delegate via CPI |
20 | 22 | - [Instruction](program/src/instructions/revoke.rs) | [Test](program/tests/revoke.rs) |
21 | | -- **burn** - Burn tokens via CPI |
22 | | - - [Instruction](program/src/instructions/burn.rs) | [Test](program/tests/burn.rs) |
23 | | -- **freeze** - Freeze token account via CPI |
24 | | - - [Instruction](program/src/instructions/freeze.rs) | [Test](program/tests/freeze.rs) |
25 | 23 | - **thaw** - Thaw token account via CPI |
26 | 24 | - [Instruction](program/src/instructions/thaw.rs) | [Test](program/tests/thaw.rs) |
27 | | -- **close** - Close token account via CPI |
28 | | - - [Instruction](program/src/instructions/close.rs) | [Test](program/tests/close.rs) |
| 25 | +- **transfer-checked** - Transfer with decimal validation against mint via CPI |
| 26 | + - [Instruction](program/src/instructions/transfer_checked.rs) | [Test](program/tests/transfer_checked.rs) |
| 27 | +- **transfer-interface** - Transfer between light-token, T22, and SPL accounts via CPI |
| 28 | + - [Instruction](program/src/instructions/transfer_interface.rs) | [Test](program/tests/transfer.rs) |
29 | 29 |
|
30 | 30 | ## Build |
31 | 31 |
|
|
0 commit comments