Closed pacmanifold closed 2 years ago
Keep a PairType object in struct and implement different functionality in simulate_provide_liquidity using match. This gets rid of the need to use feature flags or have two separate contracts when implementing the vault contracts
PairType
simulate_provide_liquidity
match
Keep a
PairType
object in struct and implement different functionality insimulate_provide_liquidity
usingmatch
. This gets rid of the need to use feature flags or have two separate contracts when implementing the vault contracts