From 1056f96ecead9d918d76cb0e8c34d78986df9bd1 Mon Sep 17 00:00:00 2001 From: 0xripleys <0xripleys@solend.fi> Date: Fri, 5 Jul 2024 00:35:54 -0400 Subject: [PATCH] oops --- token-lending/oracles/src/switchboard.rs | 2 +- token-lending/sdk/src/lib.rs | 29 ------------------------ 2 files changed, 1 insertion(+), 30 deletions(-) diff --git a/token-lending/oracles/src/switchboard.rs b/token-lending/oracles/src/switchboard.rs index 673030c33c2..8fb45ca29fa 100644 --- a/token-lending/oracles/src/switchboard.rs +++ b/token-lending/oracles/src/switchboard.rs @@ -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, }; diff --git a/token-lending/sdk/src/lib.rs b/token-lending/sdk/src/lib.rs index bb0e4b9bcad..37d5d4f3b17 100644 --- a/token-lending/sdk/src/lib.rs +++ b/token-lending/sdk/src/lib.rs @@ -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"); -}