stability-contracts
stability-contracts copied to clipboard
🪲 AlgebraV4Adapter bug: pool bUSDC.e-20 / wstkscUSD give incorrect price.
Swapper getPriceForRoute
- route:
[["0x322e1d5384aa4ED66AeCa770B95686271de61dc3","0xB7192f4b8f741E21b9022D2F8Fd19Ca8c94E7774", "0x322e1d5384aa4ED66AeCa770B95686271de61dc3", "0x9fb76f7ce5FCeAA2C42887ff441D46095E494206"]] - amount:
1000000000000000000
Reply is: 0.010106000000000000 but correct is about 0.001
That this route (by ERC4626Adapter) give: [["0x322e1d5384aa4ED66AeCa770B95686271de61dc3","0xB7192f4b8f741E21b9022D2F8Fd19Ca8c94E7774", "0x322e1d5384aa4ED66AeCa770B95686271de61dc3", "0x9fb76f7ce5FCeAA2C42887ff441D46095E494206"]]