
Moonwell · Acts onchain
Redeems an exact amount of mTokens from a Moonwell market for the asset behind them. The market burns the mTokens and pays out the asset at its current exchange rate, interest included, and the step reports exactly what was received. A redemption the account's borrows still depend on is refused, so repay first or keep enough supplied. Reach for it to exit a supply position by its share count, or to pull the asset a following swap, repay or transfer needs, coiling the received amount forward.
On other protocols · 5