Base: Aerodrome Gauges
scripts\base\deployAeroGaugePlugin.js
This script will deploy a factory that can deploy plugins for any Aerodrome LP with a gauge on Base. The underlying token is a Aerodrome LP, which gets deposited into the plugin. The plugin deposits the LP into an Aerdrome gauge to earn AERO. AERO is harvested and sent to its bribe contract.
Plugin Factory: contracts/plugins/base/AeroGaugePluginFactory.sol
IMPORTANT NOTICE
These plugins are not audited. It is recommended to get them audited if you plan to use them in production.
Plugin Description
This plugin is made Aerodrome Pair LPs with Gauges on Aerodrome. Use the Factory to create the plugins with the following parameters.
_lpToken
Address of the Aerodrome LP token. Example. Address the AERO/WETH LP:
_symbol
The desired symbol for this plugin. Example. The symbol for the AERO/WETH LP could be:
Plugin Logic
depositFor
User deposits LP in plugin
Plugin deposits LP in Aerodrome gauge
withdrawTo
Plugin withdraws LP from Aerodrome gauge
Plugin withdraws LP to user
claimAndDistribute
LP deposited in Aerodrome Gauge earns AERO
AERO claimed from Aerodrome gauge
AERO sent to bribe contract for voters
Refer to the Test Plugins deployment instructions for deploying this plugin factory
Last updated