pub trait CurveFunction<M: ManagedTypeApi> {
// Required method
fn calculate_price(
&self,
token_start: &BigUint<M>,
amount: &BigUint<M>,
arguments: &CurveArguments<M>,
) -> BigUint<M>;
}
pub trait CurveFunction<M: ManagedTypeApi> {
// Required method
fn calculate_price(
&self,
token_start: &BigUint<M>,
amount: &BigUint<M>,
arguments: &CurveArguments<M>,
) -> BigUint<M>;
}