← Academy library

Crypto / Evergreen

Repayment reduces a liability in the borrowed asset

Repaying a DeFi loan requires delivering the appropriate debt asset through the protocol's repayment mechanism, including any accrued amount recognized by its accounting.

THE IDEA TO KEEP

Debt changes through the lending protocol's accounting rules, not merely through moving a similar amount of tokens nearby.

The distinction that matters

Repaying a DeFi loan requires delivering the appropriate debt asset through the protocol's repayment mechanism, including any accrued amount recognized by its accounting. A DeFi lending pool connects supplied assets, borrowing demand, collateral rules, and contract-based accounting. Suppliers receive a claim defined by the protocol, while borrowers incur debt and may need to maintain collateral above specified thresholds. The pool's available cash is different from the total value of supplied claims because some assets are currently lent out.

How the mechanism works

Sending tokens directly to an arbitrary pool address may not execute the function that updates the borrower's debt. Interest, fees, and risk parameters can change according to utilization or governance. Collateralized lending uses prices and risk parameters to decide borrowing capacity and liquidation eligibility. A borrower can become riskier because collateral falls, debt grows, or parameters change, even without initiating a new loan. Explaining the system requires following assets, liabilities, and liquidity separately.

A worked situation

Consider this hypothetical situation: A hypothetical borrower transfers the debt token to a contract address without calling the documented repayment route or identifying the intended borrower. The transfer can occur without reducing the recorded loan, depending on the contract's design.

Where interpretation can fail

Accrued interest can also leave a small residual debt if a repayment covers only the original principal units. Use the documented repayment operation and verify the resulting debt balance rather than assuming any incoming transfer cancels an obligation. Debt changes through the lending protocol's accounting rules, not merely through moving a similar amount of tokens nearby.

The wider technical implication

Some protocols permit repayment on behalf of another account, which makes the beneficiary field important. A correctly executed repayment can reduce somebody else's debt if that is what the caller authorized. Repaying all debt may also use a special maximum-value convention or require a fresh estimate to include accrued interest. The exact method should come from the deployed protocol's documentation. After execution, the strongest evidence is the updated debt balance and relevant receipt, not merely the outgoing token transfer. Residual debt can continue accruing and affecting account health even when the original principal appears fully repaid.

A global perspective

Borrowing, lending receipts, interest, and liquidations may trigger different legal and tax consequences across jurisdictions. Protocol terminology does not determine local classification.

Sources & further reading

Aave documentation — Borrow tokens ↗Aave documentation — Supply tokens ↗Aave documentation — Health Factor & Liquidations ↗

Sources checked Oct 27, 2026. Educational examples. Historical observations are attributed to their sources. No affiliation with cited organizations.

Make the idea stick.

Mark complete when you are ready. Reaching the end alone does not mark a lesson complete.

What assumption in this guide would change the result in a different situation? Revisit the example and explain that change in your own words.

Explore crypto →

KEEP THE CONNECTION

Your next useful question.

Your saved guides →