Skip to content

Commit

Permalink
remove fidelity api from taker
Browse files Browse the repository at this point in the history
  • Loading branch information
Shourya742 committed Aug 18, 2024
1 parent e49fee8 commit dfc7d5f
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions src/bin/taker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,16 +72,12 @@ enum Commands {
SwapUtxo,
/// Returns a list of live contract utxos
ContractUtxo,
/// Returns a list of fidelity utxos
FidelityUtxo,
/// Returns the total seed balance
SeedBalance,
/// Returns the total swap coin balance
SwapBalance,
/// Returns the total live contract balance
ContractBalance,
/// Returns the total fidelity balance
FidelityBalance,
/// Returns the total balance of taker wallet
TotalBalance,
/// Returns a new address
Expand Down Expand Up @@ -152,16 +148,6 @@ fn main() {
.collect();
println!("{:?}", utxos);
}
Commands::FidelityUtxo => {
let utxos: Vec<ListUnspentResultEntry> = taker
.get_wallet()
.list_fidelity_spend_info(None)
.unwrap()
.iter()
.map(|(l, _)| l.clone())
.collect();
println!("{:?}", utxos);
}
Commands::ContractBalance => {
let balance = taker.get_wallet().balance_live_contract(None).unwrap();
println!("{:?}", balance);
Expand All @@ -174,10 +160,6 @@ fn main() {
let balance = taker.get_wallet().balance_descriptor_utxo(None).unwrap();
println!("{:?}", balance);
}
Commands::FidelityBalance => {
let balance = taker.get_wallet().balance_fidelity_bonds(None).unwrap();
println!("{:?}", balance);
}
Commands::TotalBalance => {
let balance = taker.get_wallet().balance().unwrap();
println!("{:?}", balance);
Expand Down

0 comments on commit dfc7d5f

Please sign in to comment.