Skip to content

Commit

Permalink
pcli: remove auction code
Browse files Browse the repository at this point in the history
  • Loading branch information
erwanor committed May 2, 2024
1 parent 5596d73 commit 479b85c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 259 deletions.
9 changes: 0 additions & 9 deletions crates/bin/pcli/src/command/tx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ use ibc_types::lightclients::tendermint::client_state::ClientState as Tendermint
use rand_core::OsRng;
use regex::Regex;

use auction::AuctionCmd;
use liquidity_position::PositionCmd;
use penumbra_asset::{asset, asset::Metadata, Value, STAKING_TOKEN_ASSET_ID};
use penumbra_dex::{lp::position, swap_claim::SwapClaimPlan};
Expand Down Expand Up @@ -64,7 +63,6 @@ use proposal::ProposalCmd;

use crate::App;

mod auction;
mod liquidity_position;
mod proposal;
mod replicate;
Expand Down Expand Up @@ -224,9 +222,6 @@ pub enum TxCmd {
#[clap(short, long, value_enum, default_value_t)]
fee_tier: FeeTier,
},
/// Auction related commands.
#[clap(display_order = 600, subcommand)]
Auction(AuctionCmd),
}

// A fee tier enum suitable for use with clap.
Expand Down Expand Up @@ -316,7 +311,6 @@ impl TxCmd {
TxCmd::CommunityPoolDeposit { .. } => false,
TxCmd::Position(lp_cmd) => lp_cmd.offline(),
TxCmd::Withdraw { .. } => false,
TxCmd::Auction(_) => false,
}
}

Expand Down Expand Up @@ -1281,9 +1275,6 @@ impl TxCmd {
TxCmd::Position(PositionCmd::Replicate(replicate_cmd)) => {
replicate_cmd.exec(app).await?;
}
TxCmd::Auction(AuctionCmd::Dutch(auction_cmd)) => {
auction_cmd.exec(app).await?;
}
}
Ok(())
}
Expand Down
250 changes: 0 additions & 250 deletions crates/bin/pcli/src/command/tx/auction.rs

This file was deleted.

0 comments on commit 479b85c

Please sign in to comment.