

Aave V4 · Acts onchain
Withdraws an asset the wallet has supplied to an Aave V4 spoke. The taker position manager redeems the wallet's shares on the spoke and pays the underlying to the socket, which delivers it to the wallet; the spoke only lets it leave while the health factor stays above one afterward. The wallet approves the taker as a position manager on the spoke once and grants the socket a withdraw allowance for the amount, both in the same confirmation. Set the amount to all to withdraw the whole supplied balance, read at execution with the yield it has earned; a full close needs an unbounded allowance, which the wallet grants the same way. Reach for it to take profit off a supply, to pull collateral once the debt it backed has been repaid earlier in the transaction, or to move a balance to a spoke with a better collateral factor.
On other protocols · 21

Aave

Aerodrome

Arcadia

Avantis

Beefy

Chamber

Compound

ERC4626

Euler

Exactly

Morpho

Morpho Midnight

Sablier

Snuggle

Spark

Spark PSM

SynFutures

Vesper

vfat

Virtuals

Zora