@rabbitholegg/questdk-plugin-aerodrome
v1.0.0-alpha.38
Published
Plugin for Aerodrome
Downloads
30
Readme
Aerodrome
Aerodrome Finance is a next-generation AMM designed to serve as BASE's central liquidity hub, combining a powerful liquidity incentive engine, vote-lock governance model, and friendly user experience. Aerodrome inherits the latest features from Velodrome V2.
Implementation Details
Aerodrome is a fork of Velodrome on BASE, which uses Uniswap V2 style swaps. There are a total of 3 swap methods we will watch for, and their SupportingFee
counterparts. These use the same parameters as the non-supporting fee functions, so we can expect them to act the same as the functions without supporting fees.
- ExactETHForTokens
- ExactTokensForEth
- ExactTokensForTokens
Current Limitations
AmountOut is not very reliable for some methods (Exact_X_For_X), as it uses amountOutMin, which can be much lower then expected. In extreme cases it can even be zero if slippage is set high enough. This will cause issues when using (==) operator or the (>=) operator.