Skip to content

Commit

Permalink
fix: Remove unnecessary contract addresses to avoid breakage
Browse files Browse the repository at this point in the history
  • Loading branch information
KirilMihaylov authored Jun 28, 2024
1 parent 33ef79f commit 9c20b07
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions platform/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,8 @@ impl Platform {
#[derive(Deserialize)]
#[serde(rename_all = "snake_case")]
pub struct PlatformContracts {
#[serde(alias = "dispatcher")]
pub rewards_dispatcher: Box<str>,
#[serde(alias = "timealarms")]
pub time_alarms: Box<str>,
pub treasury: Box<str>,
}

#[derive(Deserialize)]
Expand Down Expand Up @@ -83,10 +80,7 @@ pub struct ProtocolDefinition {
#[derive(Deserialize)]
#[serde(rename_all = "snake_case")]
pub struct ProtocolContracts {
pub leaser: Box<str>,
pub lpp: Box<str>,
pub oracle: Box<str>,
pub profit: Box<str>,
}

async fn query_contract<T>(
Expand Down

0 comments on commit 9c20b07

Please sign in to comment.