Credit Delegation
Lending out your unused borrowing capacity to someone else, so they can borrow against your collateral.
Basically
In DeFi, you can let another address use the borrowing power you are not using. That address can take out a loan backed by your deposit without locking up any assets of its own.
Key Takeaways
- Credit delegation lets you grant your unused borrowing capacity in a lending protocol to another address. The recipient can borrow without posting its own collateral.
- You bear all liquidation risk as the delegator, and your collateral can be seized if the borrower fails to repay. Credit delegation therefore suits trusted or institutional counterparties best.
- Aave pioneered credit delegation, bringing traditional credit line mechanics on-chain with instant approval, transparent terms, and 24/7 availability. No intermediary is required.
What Is Credit Delegation?
Credit delegation separates capital provision from capital usage in DeFi. When you deposit assets into a lending protocol like Aave, you receive borrowing power proportional to your deposit, and any capacity you do not use sits idle. You can assign that unused borrowing power to a trusted third party, who can take out loans backed by your collateral.
Every loan remains overcollateralised from the protocol's perspective because your deposits back the borrower's debt. From the borrower's perspective, the loan is effectively uncollateralised because they receive funds without locking up their own assets. Traditional credit lines work in a similar way: a bank extends borrowing capacity based on a creditworthy relationship rather than requiring collateral for every transaction.
Aave introduced the concept in 2020 as one of the first attempts to bring undercollateralised lending to DeFi. DeversiFi, a decentralised exchange, executed the first credit delegation on the protocol, with a depositor locking approximately $500,000 in USDC and delegating borrowing power for 20 wBTC.
How It Works
Credit delegation operates through debt token approvals on Aave's smart contracts. The process follows four steps:
The delegation is revolving, so the delegatee can borrow again up to the approved limit after repayment. You can adjust or revoke the allowance at any time by calling approveDelegation() with a new amount, or zero to revoke it.
On-Chain Mechanics
At the contract level, credit delegation uses a pattern similar to ERC-20 token allowances. The DebtTokenBase contract maintains a mapping of borrow allowances:
The Pool contract internally calls _decreaseBorrowAllowance() on the debt token when the delegatee borrows, which decrements the allowance by the borrowed amount. The transaction reverts if the remaining allowance is insufficient.
Health Factor Protection
Aave V3 includes a safety check that reverts a borrow transaction if it would cause the delegator's health factor to drop below the liquidation threshold. The check prevents a delegatee from borrowing so much that it triggers immediate liquidation of the delegator's position. Subsequent market movements can still push the collateral factor into dangerous territory.
Gasless Delegation (V3)
Aave V3 introduced delegationWithSig(), which allows delegators to sign an EIP-712 typed message off-chain. Anyone can then submit this signature on-chain, enabling gasless approvals where the delegator does not need to pay transaction fees:
Credit Delegation vs. Traditional Credit Lines
Credit delegation mirrors the mechanics of a revolving credit facility in traditional finance. Execution differs in significant ways:
Aave delegators earn supply APY on their deposited collateral regardless of whether the delegation is exercised, unlike a bank that charges commitment fees on unused credit lines, typically 0.25% to 0.50% annually. The stablecoin-backed lending platforms research article provides a deeper look at how these lending mechanisms compare.
Institutional Borrowing
Market makers, trading firms, and exchanges often need rapid access to capital without wanting to lock up their own assets. Credit delegation allows a capital provider, such as a DeFi fund or treasury, to deposit stablecoins and delegate borrowing power to a vetted institutional counterparty. The institution borrows at protocol-determined rates, and both parties formalise terms through an off-chain legal agreement.
DAO Treasury Management
A DAO holding idle treasury assets can deposit them into Aave and delegate borrowing capacity to a sub-DAO or working group. The working group can then access capital for operations without the main DAO needing to transfer ownership of assets. Governance can revoke the delegation by vote if needed.
Yield Optimization
Delegators earn supply APY on their deposited collateral while simultaneously granting borrowing access. A reliable borrower who pays interest on the debt lets the delegator effectively earn on both sides: supply yield from the protocol and the trust premium embedded in the delegation relationship. Traditional finance makes this form of capital efficiency difficult to replicate without intermediaries.
Smart Contract Vaults
Some implementations delegate to a smart contract vault that enforces predefined borrowing strategies rather than to an individual address. The vault can only execute specific actions, such as borrowing USDC to provide liquidity on a DEX, reducing the trust requirement. Audited and constrained vault logic limits the delegator's risk to the vault's strategy rather than an individual's behaviour.
Related Approaches to Undercollateralized Lending
Aave pioneered peer-to-peer credit delegation. Other protocols address undercollateralised lending through different models:
The key distinction is that Aave's credit delegation is peer-to-peer, with one depositor delegating to one borrower. Maple, Goldfinch, and TrueFi instead use pooled structures with third-party credit assessment.
Liquidation Risk for Delegators
The delegator's collateral backs the borrower's loan. Market conditions can push the delegator's health factor below the liquidation threshold if the borrower does not repay, causing automatic liquidation of the delegator's collateral. The delegator bears the full downside while the borrower walks away with the borrowed assets.
Counterparty Default
No on-chain mechanism can force a borrower to repay. An off-chain legal agreement, if one exists, is the delegator's only recourse if the delegatee defaults. Counterparty risk is the primary reason credit delegation works best between parties with existing trust relationships, legal agreements, or aligned economic incentives.
Smart Contract Risk
Bugs or vulnerabilities in the DebtTokenBase, Pool, or any credit delegation vault contracts could result in loss of funds. Oracle manipulation could cause incorrect health factor calculations, triggering or preventing liquidations at the wrong time.
Market and Interest Rate Risk
Borrowers face variable interest rates that can spike during periods of high utilisation. Delegators face the risk that rapid collateral price declines trigger liquidation before the borrower can repay. Extreme market conditions can create insufficient liquidator demand and bad debt where liquidation fails to fully cover outstanding loans, potentially leading to a liquidation cascade.
Governance Risk
Protocol parameter changes made through governance, including liquidation thresholds, interest rate models, and supported assets, could adversely affect existing credit delegation positions. A change in the collateral factor for a delegator's deposited asset could reduce available borrowing capacity or trigger liquidation unexpectedly.
The glossary entry is for informational purposes only and does not constitute financial or investment advice. Always do your own research before using any protocol or technology.