Skip to content

Commit e72e24f

Browse files
committed
Update mock.rs
1 parent 2d9f17b commit e72e24f

File tree

1 file changed

+0
-4
lines changed
  • lib-serml/serp/serp-prices/src

1 file changed

+0
-4
lines changed

lib-serml/serp/serp-prices/src/mock.rs

-4
Original file line numberDiff line numberDiff line change
@@ -118,15 +118,13 @@ impl DEXManager<AccountId, CurrencyId, Balance> for MockDEX {
118118
fn get_swap_target_amount(
119119
_path: &[CurrencyId],
120120
_supply_amount: Balance,
121-
_price_impact_limit: Option<Ratio>,
122121
) -> Option<Balance> {
123122
unimplemented!()
124123
}
125124

126125
fn get_swap_supply_amount(
127126
_path: &[CurrencyId],
128127
_target_amount: Balance,
129-
_price_impact_limit: Option<Ratio>,
130128
) -> Option<Balance> {
131129
unimplemented!()
132130
}
@@ -136,7 +134,6 @@ impl DEXManager<AccountId, CurrencyId, Balance> for MockDEX {
136134
_path: &[CurrencyId],
137135
_supply_amount: Balance,
138136
_min_target_amount: Balance,
139-
_price_impact_limit: Option<Ratio>,
140137
) -> sp_std::result::Result<Balance, DispatchError> {
141138
unimplemented!()
142139
}
@@ -146,7 +143,6 @@ impl DEXManager<AccountId, CurrencyId, Balance> for MockDEX {
146143
_path: &[CurrencyId],
147144
_target_amount: Balance,
148145
_max_supply_amount: Balance,
149-
_price_impact_limit: Option<Ratio>,
150146
) -> sp_std::result::Result<Balance, DispatchError> {
151147
unimplemented!()
152148
}

0 commit comments

Comments
 (0)