-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add Token-2022 program * Add asserts for Token-2022 * Make token program account optional * Update asserts for Token-2022 * Add Token-2022 types * Support multiple token programs * wip: update tests to support multiple token programs * Update generated clients * Refactor unpack helper * Fix tests for Token-2022 * Fix tests for Token-2022 * Update edition helper * Add Token-2022 support to burn instruction * Use transfer checked * Remove spl-token dependency * Update mpl-utils dependency * Update generated code * Update generated clients * Add missing option * Add missing spl token program * Update spl-token program resolver condition * Mint extensions validation * Add creation and validation for spl-token-2022 mints * Add metadata pointer error * Update spl-token-2022 version * Regenerate clients * Update tests * Update generated code * Move validation to a sparate module * Add mint and token accounts validation * Add token program test * Add spl-token-2022 tests * Update generated code * Add token account validation on transfer * Restrict token program * Fix warnings * Validate token owner * Validate account owner in legacy instructions * Update clients * Fix error type * Check close authority on destination account * Check immutable owner extension on token account * Refactor collection check * Update kinobi version * Add missing token extension * Add custom error type * Add token account tests * Add ATA non-transferable test * Remove redundant check * Add close authority check * Fix close authority check * Switch error type * Validate token close authority on print * Fix clippy * Add Token-2022 JS test * Add owner assert * Revert to optional token owner (#70) * Fix optional token owner * Fix account type * Improve token program test * Fix typos * Remove large slot offset * Not applicable comments --------- Co-authored-by: febo <febo@users.noreply.github.com>
- Loading branch information
Showing
111 changed files
with
6,328 additions
and
2,060 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.