
Aave · Reads onchain state
Reads the receipt token addresses an Aave reserve mints against an asset: the aToken that represents a supply and the variable debt token that represents a borrow. The pool's data provider returns the reserve's token addresses whole, and the aToken and variable debt token are lifted out as their own token outputs so they can be handed straight to any step that takes a token. Reach for it when a strategy needs to move, transfer, or read the balance of an Aave position rather than the underlying asset, so the next step can coil the aToken or debt token into its token slot without hardcoding a receipt address per market.
On other protocols · 1