@rabbitholegg/questdk-plugin-aerodrome
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-alpha.23 • Public • Published

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.

Sample Transactions

Readme

Keywords

none

Package Sidebar

Install

npm i @rabbitholegg/questdk-plugin-aerodrome

Weekly Downloads

713

Version

1.0.0-alpha.23

License

ISC

Unpacked Size

449 kB

Total Files

41

Last publish

Collaborators

  • quazia
  • jamierabbithole
  • rhjim