Skip to content

Commit

Permalink
Bumping version
Browse files Browse the repository at this point in the history
  • Loading branch information
0xOsiris committed May 14, 2023
1 parent 9baae4c commit c8f493e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/discover-factories.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ async fn main() -> Result<(), Box<dyn Error>> {
],
number_of_amms_threshold,
provider,
100000
100000,
)
.await?;

Expand Down
8 changes: 6 additions & 2 deletions src/amm/factory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,12 @@ impl AutomatedMarketMakerFactory for Factory {
step: u64,
) -> Result<Vec<AMM>, DAMMError<M>> {
match self {
Factory::UniswapV2Factory(factory) => factory.get_all_amms(to_block, middleware, step).await,
Factory::UniswapV3Factory(factory) => factory.get_all_amms(to_block, middleware, step).await,
Factory::UniswapV2Factory(factory) => {
factory.get_all_amms(to_block, middleware, step).await
}
Factory::UniswapV3Factory(factory) => {
factory.get_all_amms(to_block, middleware, step).await
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/discovery/erc_4626.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use crate::{

pub async fn discover_erc_4626_vaults<M: Middleware>(
middleware: Arc<M>,
step: u64
step: u64,
) -> Result<Vec<ERC4626Vault>, DAMMError<M>> {
let spinner = Spinner::new(
spinners::Dots,
Expand Down

0 comments on commit c8f493e

Please sign in to comment.