From 44c791a27426def0a4895a4a69c71196f7ecc8c8 Mon Sep 17 00:00:00 2001 From: galactus <96341601+godmodegalactus@users.noreply.github.com> Date: Wed, 6 Nov 2024 17:43:36 +0100 Subject: [PATCH] fix cli and disable fair quote price on eclipse (#36) Co-authored-by: Maximilian Schneider --- bin/autobahn-router/template-config-eclipse.toml | 2 +- bin/cli/src/cli_args.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/autobahn-router/template-config-eclipse.toml b/bin/autobahn-router/template-config-eclipse.toml index 25bd6e5..16ca307 100644 --- a/bin/autobahn-router/template-config-eclipse.toml +++ b/bin/autobahn-router/template-config-eclipse.toml @@ -85,7 +85,7 @@ birdeye_token = "$BIRDEYE_TOKEN" refresh_interval_secs = 1200 # every 20 min [safety_checks] -check_quote_out_amount_deviation = true +check_quote_out_amount_deviation = false min_quote_out_to_in_amount_ratio = 0.65 [hot_mints] diff --git a/bin/cli/src/cli_args.rs b/bin/cli/src/cli_args.rs index ace49d9..6f62cd4 100644 --- a/bin/cli/src/cli_args.rs +++ b/bin/cli/src/cli_args.rs @@ -27,7 +27,7 @@ pub struct Quote { #[clap(short, long)] pub amount: u64, - #[clap(short, long, default_value = "50")] + #[clap(long, default_value = "50")] pub slippage_bps: u64, #[clap(short, long, default_value = "http://localhost:8888")] @@ -52,7 +52,7 @@ pub struct Swap { #[clap(short, long)] pub amount: u64, - #[clap(short, long, default_value = "50")] + #[clap(long, default_value = "50")] pub slippage_bps: u64, #[clap(short, long, default_value = "http://localhost:8888")]