deep dive — defi lending
The Lenders Portal is the liquidity-provider side of Lavarage. It's where lenders create loan offers, set their own terms, and watch how the borrowers drawing on their capital are performing. Access is permissionless but gated by a Lava Rock NFT, and lenders can run offers actively, stake passively, or backstop liquidations. As one of the engineers on the portal, I worked on the dashboard that turns a stream of raw on-chain lending positions into something a liquidity provider can actually read and manage.
01Overview
A lender lands on a dashboard built to answer one question fast: how is my capital doing right now? The stat cards up top show Total Liquidity Deployed, Active Positions, the count of positions running hot above 75% LTV, and Total Pending Interest — the money currently owed but not yet claimed. Below that, a Recent Offers list and a Quick Actions panel put the next move one click away.
The walkthrough here moves through the portal the way a lender would: check the headline numbers, glance at recent offers, then jump into creating a new one or reviewing positions. The whole thing is designed so a liquidity provider can get a read on their book in seconds rather than parsing raw chain data.

02Loan offers
Active lenders don't lend into a generic pool — they create loan offers, each one scoped to a specific token with its own APR and LTV terms. The offers table lays out every offer the lender runs: the token, the APR they're charging, current utilization, max exposure, available liquidity, the LTV ceiling, and whether the offer is active or paused.
Edit and pause controls sit right on each row, so a lender can retune an offer or pull it entirely as market conditions shift. That's the core lever of being an active lender: you decide which long-tail tokens you're willing to back, at what rate, and against how much collateral.

03Risk
Every offer a lender makes ends up collateralizing borrower positions, and the Position Monitoring page is where those get tracked in real time. It rolls up the totals — positions outstanding, interest earned, average APR — and then lists each borrower position with its opened date, asset, borrowed amount, current LTV, liquidation price, APR, and accrued interest.
The part that matters most is the risk column. Positions are flagged High or Medium risk with color-coded badges as their LTV climbs toward liquidation, so a lender can see trouble building before it becomes a loss rather than after.

04Liquidations
When a borrower position breaches its liquidation threshold, it gets closed out, and the Liquidations log is the lender's record of what happened. Each event shows the liquidation timestamp, the position ID, the amount borrowed, what the collateral actually sold for after fees, and the claim status — including funds already returned to the lender's wallet.
Every line links straight to the on-chain liquidation, sell, and send transactions, so nothing has to be taken on trust. Under normal circumstances, lenders are shielded from the bad-debt side of a liquidation; this log is where that protection becomes something they can audit for themselves.

outcome
The Lenders Portal gives liquidity providers everything they need to run a lending book on Lavarage: create and price loan offers, monitor the borrower positions their capital backs in real time, and audit liquidations down to the on-chain transaction. It's the supply side of a protocol that has funded over $200M in leveraged trading volume for long-tail assets.
more deep dives

A decentralized spot margin trading platform, specializing in long-tail assets.

A portal for partners to create and manage API keys, for integrating with the Lavarage API.

A production-grade DeFi super-app on Sei spanning money market, cross-chain bridge, and token swap.