

Reads onchain state
Reads what a Moonwell market pays suppliers, per second and as an APY. supplyRatePerTimestamp is the market's interest rate model evaluated at its current cash, borrows and reserves, net of the reserve factor, at 18 decimals; the action compounds it over a year into supplyApy. Reach for it to gate a mint on a minimum yield, or to move a supply to whichever market pays more.
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 Moonwell · 17