Searcharxiv⌕ Search

arXiv subjects

Nagu Thogiti

Publications and source records attributed to Nagu Thogiti.

2 recordsLinked to original sources

Bottlenecked: The Capital Cost of Protected DeFi Lending

Securing hundreds of billions of dollars in decentralized finance (DeFi) requires both cryptographically secured collateral and economic capital to absorb losses that collateral alone cannot cover. Composability makes both the amount and location of this protection matter: Kelp's nearly \$300 million April 2026 bridge exploit showed how an attacker could borrow against stolen assets across lending markets. We study how to allocate junior capital that absorbs losses before users incur losses in lending protocols. The main object we study is a tripartite graph that records user assets, their covered liabilities, and the junior capital permitted to pay them. Cuts in this graph determine what protection is missing, while a static security game on the graph defines how much such protection should cost. We call this cost the adversarial default premium (ADP), which can be viewed as the excess cost of insurance in composable financial systems. We then study the joint cost of funding loans and protecting their creditors via this insurance. In a tripartite graph with $N$ borrowers and $M$ lenders, we show that existing systems such as Aave and Morpho have an insurance cost that is $Θ(N)$. Under mild assumptions, we show that the optimal graph has an insurance cost that is $Θ(\sqrt{N})$ with small constants. We apply our model to numerous 2026 DeFi cyber attacks and estimate ADP and the performance of optimized graphs. We find practical capital cost savings of up to 34.5% for our optimized design versus designs that resemble Aave and Morpho. Our results suggest that new lending protocols can improve capital efficiency by treating junior capital as a first-class constraint in protocol design.

cs.GT↗

Autodeleveraging as Online Learning

Autodeleveraging (ADL) is a last-resort loss socialization mechanism used by perpetual futures venues when liquidation and insurance buffers are insufficient to restore solvency. Despite the scale of perpetual futures markets, ADL has received limited formal treatment as a sequential control problem. This paper provides a concise formalization of ADL as online learning on a PNL-haircut domain: at each round, the venue selects a solvency budget and a set of profitable trader accounts. The profitable accounts are liquidated to cover shortfalls up to the solvency budget, with the aim of recovering exchange-wide solvency. In this model, ADL haircuts apply to positive PNL (unrealized gains), not to posted collateral principal. Using our online learning model, we provide robustness results and theoretical upper bounds on how poorly a mechanism can perform at recovering solvency. We apply our model to the October 10, 2025 Hyperliquid stress episode. The regret caused by Hyperliquid's production ADL queue is about 50\% of an upper bound on regret, calibrated to this event, while our optimized algorithm achieves about 2.6\% of the same bound. In dollar terms, the production ADL model over liquidates trader profits by up to \$51.7M. We also counterfactually evaluated algorithms inspired by our online learning framework that perform better and found that the best algorithm reduces overshoot to \$3M. Our results provide simple, implementable mechanisms for improving ADL in live perpetuals exchanges.

cs.GT↗