Skip to content
This repository has been archived by the owner on Aug 2, 2024. It is now read-only.

Commit

Permalink
refacto
Browse files Browse the repository at this point in the history
  • Loading branch information
azurwastaken committed Jun 20, 2024
2 parents 52029a1 + f76dea1 commit 3e318cf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/client/eth-client/src/oracle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ impl PragmaOracle {
}

#[derive(Default, Debug, Serialize, Deserialize, Clone)]
/// Supported Aggregation Methods
pub enum AggregationMethod {
#[serde(rename = "median")]
Median,
Expand All @@ -94,7 +95,7 @@ impl AggregationMethod {
}
}

// Supported Aggregation Intervals
/// Supported Aggregation Intervals
#[derive(Default, Debug, Serialize, Deserialize, Clone)]
pub enum Interval {
#[serde(rename = "1min")]
Expand Down

0 comments on commit 3e318cf

Please sign in to comment.