fix cli and disable fair quote price on eclipse (#36)

Co-authored-by: Maximilian Schneider <mail@maximilianschneider.net>
This commit is contained in:
galactus 2024-11-06 17:43:36 +01:00 committed by GitHub
parent 465a601600
commit 44c791a274
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -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]

View File

@ -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")]