Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix cli and disable fair quote price on eclipse #36

Merged
merged 1 commit into from
Nov 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading