VII. Developers

Tydro Docs | Credit Delegation

Credit delegation lets a supplier keep collateral and lending exposure in Tydro while allowing another address to use some of the supplier's borrowing power.

What this page covers

Credit delegation lets a supplier keep collateral and lending exposure in Tydro while allowing another address to use some of the supplier's borrowing power.

How it works

The delegator approves a delegatee for a specified debt token through delegation functions. The delegatee then borrows on behalf of the delegator. The delegated borrow must respect eMode constraints and cannot push the delegator below the liquidation threshold.

Practical usage

Use delegation only when the legal or smart-contract relationship between delegator and delegatee is clear. Monitor remaining delegated credit and the health factor of the collateral supporting the delegated debt.

Risks and operational notes

Delegation can create unsecured counterparty exposure even though the protocol still enforces collateral and health constraints at the delegator account level.

Developer note: Verify the network, deployed address and current contract version before signing or broadcasting transactions.