Skip to content

Commit

Permalink
update stablebond sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
anthontaylor committed Nov 8, 2024
1 parent 87d3dff commit cc3bfc4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "etherfuse-arb"
version = "0.3.0"
version = "0.4.0"
edition = "2021"
license = "Apache-2.0"
description = "A command line interface for transacting arbitrage opportunities on etherfuse."
Expand Down Expand Up @@ -35,7 +35,7 @@ spl-associated-token-account = { version = "=2.3.0", features = [
] }
spl-token = { version = "^4.0.0", features = ["no-entrypoint"] }
spl-token-2022 = { version = "^1.0.0", features = ["no-entrypoint"] }
stablebond-sdk = { version = "0.3.29", features = ["sdk", "serde"] }
stablebond-sdk = { version = "2.0.0", features = ["sdk", "serde"] }
thiserror = "1.0.50"
tokio = { version = "1.39.2", features = ["full"] }
tokio-tungstenite = "0.16"
Expand Down
4 changes: 1 addition & 3 deletions src/purchase.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use spl_associated_token_account::{
};
use stablebond_sdk::{
accounts::{Bond, PaymentFeed},
find_bond_pda, find_config_pda, find_issuance_pda, find_payment_feed_pda, find_payment_pda,
find_bond_pda, find_issuance_pda, find_payment_feed_pda, find_payment_pda,
instructions::{PurchaseBond, PurchaseBondInstructionArgs},
};

Expand Down Expand Up @@ -39,7 +39,6 @@ impl Arber {
}

let ix = PurchaseBond {
config_account: find_config_pda().0,
user_wallet: user_wallet.pubkey(),
user_token_account: get_associated_token_address_with_program_id(
&user_wallet.pubkey(),
Expand Down Expand Up @@ -99,7 +98,6 @@ impl Arber {
}

let ix = PurchaseBond {
config_account: find_config_pda().0,
user_wallet: user_wallet.pubkey(),
user_token_account: get_associated_token_address_with_program_id(
&user_wallet.pubkey(),
Expand Down

0 comments on commit cc3bfc4

Please sign in to comment.