Skip to content

Commit

Permalink
Merge pull request #817 from multiversx/cleanup-pair
Browse files Browse the repository at this point in the history
Cleanup Pair SC
  • Loading branch information
dorin-iancu authored Jan 29, 2024
2 parents 6dd9f44 + 489f715 commit 59b5cf6
Show file tree
Hide file tree
Showing 23 changed files with 837 additions and 684 deletions.
1 change: 1 addition & 0 deletions dex/farm/src/exit_penalty.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ multiversx_sc::imports!();

use common_errors::ERROR_PARAMETERS;
use common_structs::Epoch;
use pair::pair_actions::remove_liq::ProxyTrait as _;

pub const MAX_PERCENT: u64 = 10_000;
pub const DEFAULT_PENALTY_PERCENT: u64 = 100;
Expand Down
4 changes: 3 additions & 1 deletion dex/fuzz/src/fuzz_pair.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ pub mod fuzz_pair_test {
use rand::prelude::*;

use crate::fuzz_data::fuzz_data_tests::*;
use pair::*;
use pair::pair_actions::{
add_liq::AddLiquidityModule, remove_liq::RemoveLiquidityModule, swap::SwapModule,
};

pub fn add_liquidity<PairObjBuilder, FarmObjBuilder, FactoryObjBuilder, PriceDiscObjBuilder>(
fuzzer_data: &mut FuzzerData<
Expand Down
Loading

0 comments on commit 59b5cf6

Please sign in to comment.