


Reads onchain state
Reads how much of its asset an Euler vault holds right now. cash is the vault's own record of the asset it holds: the most it can lend to a borrower or pay out to a withdrawing depositor in this block. Reach for it before a large borrow or withdrawal to confirm the vault can cover it.
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 Euler · 16