Bella-DeFinTech / uniswap-v3-simulator

the "Tuner", a Uniswap V3 Simulator
https://docs.bella.fi/
Other
144 stars 45 forks source link

check and do some test on replacing instance from typechain to our typescript file(mock) on smart contract spec testing #15

Open kafeikui opened 3 years ago

neptune-v commented 3 years ago

Per our discussion in the meeting:

  1. First, extract all the functions of the pool instance (stub generated from MockTimeUniswapV3Pool.sol) that are being called in UniswapV3Pool.spec.ts into an interface.
  2. Provide an implementation of this interface that wraps our simulator, specifically the ConfigurableCoolPool class.