Basin
Basin copied to clipboard
A composable EVM-native decentralized exchange protocol.
# RFC: Multi Flow v1.1.0 ## Author Brendan Sanderson ## Summary - Modify the cap reserves functionality in Multi Flow to have two separate caps: 1. A cap on the...
# RFC: Multi Flow v1.1.0 ## Author Brendan Sanderson ## Summary - Modify the cap reserves functionality in Multi Flow to have two separate caps: 1. A cap on the...
PR adds the stableswap invariant developed by Curve Finance (WIP).
- reduces optimizer from 800 to 400 to support upgradeable wells. - implements `_authorizeUpgrade` and `upgradeTo` to support ERC1167 minimal proxies bored by an aquifer. - restricts upgrades to wells...
`calcReserveAtRatioSwap` and `calcReserveAtRatioLiquidity` utilize a LUT to decrease the computation needed to estimate the reserves. When this function is called at extremely high or low values, the function can revert...
- Adds an onlyOwner modifier to `authorizeUpgrade` so that only the well owner can upgrade the implementation.