Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
scx1332 committed Jul 29, 2024
1 parent 2411d5f commit 0017813
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 87 deletions.
32 changes: 0 additions & 32 deletions .github/workflows/build_nigthly.yml

This file was deleted.

55 changes: 0 additions & 55 deletions src/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,61 +118,6 @@ pub struct MintTestTokensOptions {
pub mint_loop_address: Option<Address>,
}

#[derive(StructOpt)]
#[structopt(about = "Deposit token options")]
pub struct DepositTokensOptions {
#[structopt(short = "c", long = "chain-name", default_value = "holesky")]
pub chain_name: String,

#[structopt(long = "address", help = "Address (has to have private key)")]
pub address: Option<Address>,

#[structopt(long = "account-no", help = "Address by index (for convenience)")]
pub account_no: Option<usize>,

#[structopt(
short = "a",
long = "amount",
help = "Amount (decimal, full precision, i.e. 0.01)"
)]
pub amount: Option<rust_decimal::Decimal>,

#[structopt(long = "all", help = "Deposit all available tokens")]
pub deposit_all: bool,

#[structopt(long = "skip-allowance", help = "Skip allowance check")]
pub skip_allowance: bool,

#[structopt(long = "skip-balance", help = "Skip balance check")]
pub skip_balance_check: bool,
}

#[derive(StructOpt)]
#[structopt(about = "Withdraw token options")]
pub struct WithdrawTokensOptions {
#[structopt(short = "c", long = "chain-name", default_value = "holesky")]
pub chain_name: String,

#[structopt(long = "address", help = "Address (has to have private key)")]
pub address: Option<Address>,

#[structopt(long = "account-no", help = "Address by index (for convenience)")]
pub account_no: Option<usize>,

#[structopt(
short = "a",
long = "amount",
help = "Amount (decimal, full precision, i.e. 0.01)"
)]
pub amount: Option<rust_decimal::Decimal>,

#[structopt(long = "all", help = "Withdraw all available tokens")]
pub withdraw_all: bool,

#[structopt(long = "skip-balance", help = "Skip balance check")]
pub skip_balance_check: bool,
}

#[derive(StructOpt)]
#[structopt(about = "Distribute token (gas) options")]
pub struct DistributeOptions {
Expand Down

0 comments on commit 0017813

Please sign in to comment.