Searcharxiv⌕ Search

arXiv subjects

Hamza El Khalloufi

Publications and source records attributed to Hamza El Khalloufi.

2 recordsLinked to original sources

Capital allocation on decentralized lending platforms

This work complements our previous paper, which studies borrower-side strategies in decentralized lending markets, by focusing on lender-side capital allocation. We consider a lender who seeks to allocate a fixed budget across multiple markets sharing the same supplied asset. Accounting for the impact of supplied capital on lending rates, we derive closed-form solutions under three interest-rate models: linear, kinked, and adaptive (Morpho's AdaptiveCurveIRM). Backtests are conducted first on USDC and then on WETH Morpho lending markets on Ethereum. We also show that, under the kinked rate model, an allocation that brings a market exactly to the kink is never optimal on the lender side, whereas it can be optimal on the borrower side. This asymmetry may create tension between lenders and borrowers around the kink and thereby exacerbate rate volatility.

q-fin.MF↗

Leveraged positions on decentralized lending platforms

We develop a mathematical framework to optimize leveraged staking ("loopy") strategies in Decentralized Finance (DeFi), in which a staked asset is supplied as collateral, the underlying is borrowed and re-staked, and the loop can be repeated across multiple lending markets. Exploiting the fact that DeFi borrow rates are deterministic functions of pool utilization, we reduce the multi-market problem to a convex allocation problem and obtain closed-form solutions under three interest-rate models: linear, kinked, and adaptive (Morpho's AdaptiveCurveIRM). The framework incorporates market-specific leverage limits, utilization-dependent borrowing costs, and transaction fees. Backtests on the Ethereum and Base blockchains using the largest Morpho wstETH/WETH markets (from January 1 to April 1, 2025) show that rebalanced leveraged positions can reach up to 6.2% APY versus 3.1% for unleveraged staking, with strong dependence on position size and rebalancing frequency. Our results provide a mathematical basis for transparent, automated DeFi portfolio optimization.

q-fin.MF↗