

Reads onchain state
Reads the token reserves held by an Aerodrome stable or volatile pool and when they last changed. The pool's getReserves returns reserve0 and reserve1 in their tokens' units with the last update timestamp. Reach for it to measure depth before a trade, to compute a removal's payout from the ratio, or to set add-liquidity floors that track the current ratio.
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.
More on Aerodrome ยท 37





































