deBridge Liquidity Network (DLN)
DLN with hooks is available for integrations where users are comfortable managing gas and submitting transactions directly.DLN Hook Limitations
DLN hooks execute in a trustless manner — the deposited funds are sent directly to the protocol contract during order fulfillment. However, because the deposit is not executed by the user’s wallet, the target protocol must have a function that accepts a beneficiary address parameter. Compatible pattern: Protocols like Aave V3 that offersupply(asset, amount, onBehalfOf, referralCode) work well — the
onBehalfOf parameter allows specifying who receives the deposit credit.
Incompatible pattern: Protocols that only offer deposit(amount) and credit msg.sender cannot be used with DLN hooks, since
the depositor would be the DLN contract, not the user.