

Reads onchain state
Reads the amount an Aero pool would pay right now for a swap. The pool prices the sell amount on its own stable or volatile curve over its live reserves, after the fee it charges. Reach for it to set a swap floor from a live quote with a slippage haircut, to compare a pair's pools, or to gate a trade on a minimum rate with a predicate.
Plug lets you combine onchain actions like this one into a single transaction, without writing a smart contract. Use in App opens a new plug with this action already in it.
ETH to Staked WETH USDC Aero LP



1·Get amount out
Reads the current amount of USDC the Aero WETH/USDC Volatile 0.30% pool would pay for swapping 0.0105 WETH, used as the reference quote for pricing the swap.
2·Multiply then divide
Takes that quote and multiplies by 995 then divides by 1000 rounding down, trimming it to a floor that serves as the minimum output tolerance.
3·Swap tokens
Swaps 0.0105 ETH for USDC through the solver, requiring at least the floored amount so the trade reverts if the price has drifted too far.
4·Wrap
Wraps 0.01 ETH into WETH on the current chain, producing the WETH leg for the liquidity deposit.
5·Quote add liquidity
Quotes what adding the wrapped WETH and the received USDC to the same Aero WETH/USDC pool would settle at right now, returning the paired amounts.
6·Multiply then divide
Applies the same 995 over 1000 reduction rounding down to the quoted WETH amount, setting a minimum for one side of the deposit.
7·Multiply then divide
Does the same reduction on the quoted USDC amount, setting a minimum for the other side of the deposit.
8·Add liquidity
Deposits the quoted WETH and USDC into the Aero pool, requiring at least the two floored minimums, and receives the pool's LP token.
9·Stake
Stakes the received LP token in the pool's gauge to earn AERO emissions.
More on Aero · 10











On other protocols · 2