Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
0xripleys committed Jul 5, 2024
1 parent a7ec4fa commit 1056f96
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 30 deletions.
2 changes: 1 addition & 1 deletion token-lending/oracles/src/switchboard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use solana_program::{
sysvar::clock::Clock,
};
use solend_sdk::{error::LendingError, math::Decimal};
use solend_sdk::{
use crate::{
switchboard_on_demand_devnet, switchboard_on_demand_mainnet, switchboard_v2_devnet,
switchboard_v2_mainnet,
};
Expand Down
29 changes: 0 additions & 29 deletions token-lending/sdk/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,32 +27,3 @@ pub const NULL_PUBKEY: solana_program::pubkey::Pubkey =
138, 64, 177, 28, 19, 90, 156, 0, 0, 0, 0, 0,
]);

/// Mainnet program id for Switchboard v2.
pub mod switchboard_v2_mainnet {
solana_program::declare_id!("SW1TCH7qEPTdLsDHRgPuMQjbQxKdH2aBStViMFnt64f");
}

/// Devnet program id for Switchboard v2.
pub mod switchboard_v2_devnet {
solana_program::declare_id!("2TfB33aLaneQb5TNVwyDz3jSZXS6jdW2ARw1Dgf84XCG");
}

/// Mainnet program id for Switchboard On-Demand Oracle.
pub mod switchboard_on_demand_mainnet {
solana_program::declare_id!("SBondMDrcV3K4kxZR1HNVT7osZxAHVHgYXL5Ze1oMUv");
}

/// Devnet program id for Switchboard On-Demand Oracle.
pub mod switchboard_on_demand_devnet {
solana_program::declare_id!("SBondMDrcV3K4kxZR1HNVT7osZxAHVHgYXL5Ze1oMUv");
}

/// Mainnet program id for pyth
pub mod pyth_mainnet {
solana_program::declare_id!("FsJ3A3u2vn5cTVofAjvy6y5kwABJAqYWpe4975bi2epH");
}

/// Mainnet program id for pyth
pub mod pyth_pull_mainnet {
solana_program::declare_id!("rec5EKMGg6MxZYaMdyBfgwp4d5rB9T1VQH5pJv5LtFJ");
}

0 comments on commit 1056f96

Please sign in to comment.