WETH USDC Volatile LP on Vfat

Base
Base
0x62180042606624f02D8A130dA8A3171e9b33894d

What this does

This plug adds liquidity to the Aerodrome WETH/USDC volatile pool through vfat and stakes the resulting LP in the pool's gauge. It asks the caller for 0.01 WETH and 40 USDC. It quotes the deposit, derives a floor of 99.5 percent on each token, and fires when both settle at or above those floors. Running it on a stale quote risks depositing at a worse ratio or reverting if the live amounts fall below the 99.5 percent minimums.

Actions · 4

  • Quote add liquidity
    Quote adding and to
    Reads what adding liquidity to an Aerodrome stable or volatile pool would settle at right now.
  • Multiply then divide
    Calculate times divided by rounded
    Multiplies two values and divides by a third in one step, rounding up or down.
  • Multiply then divide
    Calculate times divided by rounded
    Multiplies two values and divides by a third in one step, rounding up or down.
  • Deposit
    Deposit and into on vfat for at least and
    Adds both of an Aerodrome stable or volatile pool's tokens through vfat and stakes the LP in the pool's gauge.

Related plugs · 4