Skip to content

Commit

Permalink
token-extensions: Upstream t22 blockbuster changes
Browse files Browse the repository at this point in the history
  • Loading branch information
niks3089 committed Feb 19, 2024
1 parent e80fdef commit f3ced09
Show file tree
Hide file tree
Showing 4 changed files with 807 additions and 6 deletions.
19 changes: 13 additions & 6 deletions blockbuster/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ edition = "2021"
readme = "../README.md"

[dependencies]
spl-account-compression = { version = "0.2.0", features = ["no-entrypoint"] }
bytemuck = { version = "1.14.0", features = ["derive"] }
spl-token-2022 = { version = "1.0", features = ["no-entrypoint"] }
spl-account-compression = { version = "0.3.0", features = ["no-entrypoint"] }
spl-noop = { version = "0.2.0", features = ["no-entrypoint"] }
mpl-bubblegum = "1.2.0"
mpl-token-metadata = { version = "4.1.1", features = ["serde"] }
Expand All @@ -21,14 +23,19 @@ lazy_static = "1.4.0"
flatbuffers = "23.1.21"
borsh = "~0.10.3"
thiserror = "1.0.32"
solana-sdk = "~1.16.11"
anchor-lang = { version = "0.28.0"}
log = "0.4.17"
solana-sdk = "1.17.16"
spl-token-metadata-interface = "0.2.0"
spl-token-group-interface = "0.1.0"
spl-pod = { version = "0.1.0", features = ["serde-traits"] }
serde = "1.0.140"
solana-zk-token-sdk = "1.17.16"
anchor-lang = { version = "0.29.0"}

[dev-dependencies]
rand = "0.8.5"
spl-concurrent-merkle-tree = "0.2.0"
solana-client = "~1.16.11"
solana-transaction-status = "~1.16.11"
solana-geyser-plugin-interface = "~1.16.11"
solana-client = "1.17.16"
solana-transaction-status = "1.17.16"
solana-geyser-plugin-interface = "1.17.16"
serde_json="1.0.89"
3 changes: 3 additions & 0 deletions blockbuster/src/programs/mod.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
use bubblegum::BubblegumInstruction;
use token_account::TokenProgramAccount;
use token_extensions::TokenExtensionsProgramAccount;
use token_metadata::TokenMetadataAccountState;

pub mod bubblegum;
pub mod token_account;
pub mod token_extensions;
pub mod token_metadata;

// Note: `ProgramParseResult` used to contain the following variants that have been deprecated and
Expand All @@ -24,5 +26,6 @@ pub enum ProgramParseResult<'a> {
Bubblegum(&'a BubblegumInstruction),
TokenMetadata(&'a TokenMetadataAccountState),
TokenProgramAccount(&'a TokenProgramAccount),
TokenExtensionsProgramAccount(&'a TokenExtensionsProgramAccount),
Unknown,
}
Loading

0 comments on commit f3ced09

Please sign in to comment.