Skip to content

Commit

Permalink
feat: add token 22 support (#1344)
Browse files Browse the repository at this point in the history
* feat: token 2022 support

* feat: restrict allowed token 2022 extensions

* feat: use anchor InterfaceAccounts instead of manual checks

* chore: remove unused error code InvalidMintAccount

* chore: add TokenMetadata to whitelisted tokens

* Update create_token_pool.rs

Co-authored-by: Swen Schäferjohann <[email protected]>

* Update create_token_pool.rs

Co-authored-by: Swen Schäferjohann <[email protected]>

---------

Co-authored-by: Swen Schäferjohann <[email protected]>
  • Loading branch information
ananas-block and SwenSchaeferjohann authored Dec 3, 2024
1 parent dae9ced commit 854cc88
Show file tree
Hide file tree
Showing 22 changed files with 2,816 additions and 1,823 deletions.
247 changes: 208 additions & 39 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ solana-transaction-status = "=1.18.22"
solana-account-decoder = "=1.18.22"
solana-rpc = "=1.18.22"
spl-token = "=4.0.0"
spl-token-2022 = {version="3.0.0", no-default-features = true, features = ["no-entrypoint"]}

# Anchor
anchor-lang = "=0.29.0"
Expand Down
Loading

0 comments on commit 854cc88

Please sign in to comment.