
Euler · Reads onchain state
Reads how much an account owes an Euler vault. debtOf is the account's debt with the vault's interest accrued to this block, rounded up as the vault itself rounds what it is owed, so it is exactly what a full repayment would pull. Reach for it to size a repayment, or to act when a debt grows past a threshold.