Skip to content

Commit

Permalink
clippy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
psorinionut committed May 30, 2024
1 parent d973c34 commit 0c4b9ab
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions dex/interactor/src/structs.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#[allow(dead_code)]

use multiversx_sc_scenario::{
api::StaticApi,
imports::{
Expand Down Expand Up @@ -44,6 +42,7 @@ impl<M: ManagedTypeApi>

pub type RustBigInt = num_bigint::BigInt;

#[allow(dead_code)]
pub struct InteractorUnstakeResult {
pub other_token_payment: InteractorToken,
pub lp_farm_rewards: InteractorToken,
Expand All @@ -62,6 +61,7 @@ impl<M: ManagedTypeApi> From<UnstakeResult<M>> for InteractorUnstakeResult {
}
}

#[allow(dead_code)]
pub struct InteractorStakeProxyResult {
pub dual_yield_tokens: InteractorToken,
pub staking_boosted_rewards: InteractorToken,
Expand All @@ -78,6 +78,7 @@ impl<M: ManagedTypeApi> From<StakeProxyResult<M>> for InteractorStakeProxyResult
}
}

#[allow(dead_code)]
pub struct InteractorClaimDualYieldResult {
pub lp_farm_rewards: InteractorToken,
pub staking_farm_rewards: InteractorToken,
Expand Down Expand Up @@ -109,6 +110,7 @@ pub struct InteractorToken {
pub amount: RustBigUint,
}

#[allow(dead_code)]
pub struct InteractorEnergy {
pub amount: RustBigInt,
pub last_update_epoch: u64,
Expand Down

0 comments on commit 0c4b9ab

Please sign in to comment.