Skip to content

Commit

Permalink
fix cli and disable fair quote price on eclipse
Browse files Browse the repository at this point in the history
  • Loading branch information
mschneider authored and godmodegalactus committed Nov 6, 2024
1 parent 465a601 commit 420564a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/autobahn-router/template-config-eclipse.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
4 changes: 2 additions & 2 deletions bin/cli/src/cli_args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
Expand All @@ -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")]
Expand Down

0 comments on commit 420564a

Please sign in to comment.