Manuscript Offprint
arXiv:2610.34774Performance Guarantees for Permissionless Lending
Abstract
We propose a lending protocol with far fewer risks than existing pool-based lending protocols (e.g., Aave, Compound). In our protocol, lenders and borrowers embody the spirit of decentralization by making competing interest-rate offers, resulting in the discovery of the prevailing interest rate through tâtonnement-like dynamics as opposed to taking rates partly determined by a central authority (e.g., Aave, Federal Reserve). We eliminate the risk of manipulation by creating loans with a fixed interest rate throughout the loan—like US Treasury bills. In particular, we further derive performance guarantees probabilities of repayment shortfall and liquidation by modeling the value of the collateral as a random walk, thus allowing participants to more efficiently manage their risk. To do so, we use characteristic functions and Fourier inversion to derive exact integral representations of the liquidation and repayment shortfall probabilities under the most general assumptions. We illustrate empirically this method by using Bitcoin as collateral and fitting its historical prices to Gaussian, Student-t, and symmetric stable Paretian distributions.
1 Introduction
Risk-averse decision-makers naturally allocate capital across multiple assets, some of which are less liquid (e.g., wrapped tokens, staked tokens, BTC, tokenized RWAs) than others (e.g., stablecoins, US treasury bills). When these decision-makers come across some information and need quick access to liquid assets, they often resort to using the less liquid asset as collateral to borrow liquid assets. However, existing permissionless lending protocols (e.g., Aave, Compound) have two major weaknesses. First, they are tremendously opaque and lack guarantees on risks of liquidation and repayment shortfall. Second, they present extraordinary risks such as arbitrarily-set interest rates, liquidation attacks by manipulation of utilization rates, front-running, withdrawal bottleneck [rse], and overly conservative metrics for valuating the collateral.
We propose a permissionless asynchronous marketplace for loans that addresses these two weaknesses. To address the second weakness, this marketplace
*email: wangnanqiao2022@gmail.com
email: jy@osore.ca operates in a simpler fashion—like Facebook Marketplace and Prosper—where anyone can offer to lend out an amount of liquid assets for a fixed duration and at a fixed interest rate. Moreover, anyone can take up an existing offer by putting down an appropriate collateral, and vice versa. Participants continuously compete by looking at each others' offers and updating their own offers. Loans are concluded in an asynchronous fashion—on a first-come-first-served basis like order books—without the strict timing of auctions. Since all parties are trustless, loans are over-collateralized. Every borrower must put down a collateral that exceeds in value what is borrowed. Just as stablecoins are characterized by their predictable exchange rates, our loans are characterized by fixed interest rates impervious to third-party manipulation.
To address the first weakness, we provide very general performance guarantees for participants in our protocol. It goes without saying that, just as serious blockchains require safety and liveness guarantees [GKL24], a useful lending protocol that handles billions of dollars of value must come with performance guarantees. Although we would like to guarantee that participating in our protocol is more efficient than in other decentralized finance protocols—e.g., staking [BCHO25], minting algorithmic stablecoins [SVFK24], or swapping on decentralized exchanges [HYZ25], such a strong guarantee would inevitably require strong assumptions. Instead, we settle for guaranteeing that, with high probability, a loan will lead to an outcome (repayment with interest) that is agreeable to both the lender and the borrower. This is possible as long as the value of the collateral follows some particular trajectories.
The importance of guarantees is often overlooked in the design of decentralized finance protocols. However, just like the safety and liveness guarantees for ledger-type and virtual-machine-type blockchains are central to their success, similar guarantees are absolutely essential if a permissionless protocol is to manage billions of dollars of value. Despite the extent of use of existing lending pools, some features are still quite counterintuitive. For instance, to avoid liquidation, increasing collateral may be more effective than repaying a loan [BL25]. Moreover, defaulting on a loan is sometimes the best choice when the health factor is too low. These surprising insights highlight the importance of giving performance guarantees to users of lending protocols.
Lending protocols serve two asymmetric sets of users: lenders requiring a guarantee of repayment with interest, and borrowers requiring the return of their collateral. The lender requires a guarantee that most of the time, it will walk away from the loan with the principal and interest, with the exception of rare events, whose probability is controlled by the volatility of the collateral valuation. The borrower requires a guarantee that most of the time, the loan concludes with the return of the collateral minus repayment and interest, and with the exception of rare events. Our protocol makes available to the lender and borrower a set of actions (liquidation and top-up) that control the probability of these rare events.
Our analysis begins by formally specifying the participants, actions, states, and state-transition rules of the proposed lending protocol in Section 2. Under i.i.d. Gaussian returns, we derive exact expressions for borrower liquidation and lender repayment shortfall probabilities in Section 3. In Section 4, we first express the liquidation time as a first-passage time of a nonnegative running maximum. We follow the approach of [Öhg01, PK04] and use Spitzer's Theorem [Spi56] and Pinelis' Integral Formula [Pin15, Eq. 16] to derive a sequence of convolutions that computes this running maximum's characteristic function from the return distribution. Finally, we apply Gil-Pelaez Fourier Inversion [GP51] on this characteristic function to derive the liquidation probability. For the lender repayment probability, we combine the joint characteristic function recursion of [PK04] with Fourier inversion to derive an exact integral representation. Since first passage times are encountered everywhere from queuing theory to probability theory, Theorem 3 can be useful outside of the finance domain. We situate our work within the literature in Section 5 and conclude by listing open problems for future work.
Just as stablecoins are characterized by their predictable exchange rates, fixed-rate loans are characterized by predictable interest rates. Our lending protocol is a peer-to-peer marketplace for loans, like Facebook Marketplace and Prosper, where anyone can offer to sell items with arbitrary sale parameters (e.g., cash payment, pick-up in person, etc.). Moreover, buyer can also offer to purchase items that meet a set of criteria. Sellers and buyers compete by looking at each others' offers and updating their own offer parameters. A sale is concluded instantaneously on a first-come-first-served basis. The main difference with Facebook marketplace and traditional lending through banks is the need for over-collateralization in the trustless world of DeFi. Every borrower must put down a collateral that exceeds in value what is borrowed. The concept of value is tied to a pricing function, and it is hard to get right, especially for tokens with lower circulation and liquidity.
Despite the large number of participants, we will use notation borrowed from Bayesian games and stochastic games [Sha53] to facilitate the description of the interaction between a number of participants (wallets) subject to a set of rules
The borrower is a “leverager” who uses a collateral as leverage to secure a loan of the liquid asset.
and state transitions. The state tracks who owns what, the rules determine the actions allowed in each state and the resulting next state.
2.1 Time, Assets, Wallets, Valuation
Throughout the paper, we consider two assets: a liquid asset LIQ (e.g., USDC) and a collateral asset COL (e.g., BTC, tokenized assets) that is illiquid or less liquid. The liquid asset also serves as the numéraire. Although the notion of liquidity of an asset does not directly affect the guarantees that we present, it is reflected in the price of the asset [DMS20, KM05, FGT08]: an asset is less liquid when its price is more volatile (e.g., due to private information). Time is discrete and indexed by , corresponding to successive checkpoints at which the lending protocol evaluates the states of ongoing loans. Each participant is a cryptographic wallet characterized by a type that determines the assets held, whether it is a lender or borrower, and its preference over the space of outcomes (e.g., long-term discounted payoff). In particular, the type determines whether the participant prioritizes one loan parameter value (e.g., interest rate r) over another (e.g., liquidation threshold c, etc.). Since decentralized lending protocol are permissionless, a single decision-maker can easily control multiple wallets with the same or different types—e.g., both lender and borrower wallets.
For notation sake, we distinguish three wallets: lender wallet , borrower wallet , and vault wallet . The lender wallet and borrower wallet are participant-controlled wallets. The vault wallet denotes a wallet created by the protocol for the sole purpose of storing the liquid and collateral assets committed to an offer or loan. It is not a participant in the game-theoretic sense: it has no type and no preference relation. Its balance of assets changes only through the state-transition rules of the protocol. The creation of the wallet is triggered by certain transactions of the protocol, i.e., offer-to-lend and offer-to-borrow of Section 2.3. Each vault wallet is uniquely associated with a transaction hash . We drop the notation when the triggering transaction is clear from context.
The balance of each wallet at time is represented by a pair of nonnegative numbers. For example, we denote the lender wallet 's balance at time by . The coordinate denotes the collateral balance, and the coordinate denotes the liquid asset balance. The same convention applies to and . Thus, is the collateral balance of the borrower wallet at time , and is the liquid balance of the vault wallet at time . Wallet balances are generally random variables, since they depend on participant actions and on the future valuation of collateral.
This wallet-based representation is a major departure from lending pools (cf. Appendix C). In the lending-pool model, credit-tokens and debit-tokens are introduced to track deposits and outstanding debt. In our protocol, there are no credit-tokens or debit-tokens. Each offer or loan is instead represented directly by its record and by the balances of its associated vault wallet.
We now define the valuation process. Since liquid asset is the numéraire, the relevant valuation is the value of the collateral in the liquid asset. At time t, let denote a snapshot of the external environment, such as information from centralized exchanges and decentralized exchanges. The valuation process takes and an amount of collateral as inputs, and returns the corresponding value in liquid asset: . When the environment is clear from context, we write simply . Unlike a unit-price oracle, this valuation process can depend on the quantity being valued. This allows the model to capture liquidity and market-depth effects when the collateral amount is large. We assume that, for each and , the map is monotone increasing. Hence, when the inverse is well-defined, denotes the amount of collateral whose value at time is liquid asset.
Remark 1 (Valuation convention for the liquid asset). Throughout this paper, we take LIQ to be USD and express all asset values in USD. We assume that one USD is worth one USD. Consequently, the USD value of an amount v of LIQ is also v. We therefore use v to denote both the amount of LIQ and its USD value, without introducing a separate valuation mapping for LIQ. By contrast, denotes the USD value at time t of an amount z of COL.
2.2 Design Principles
We design the set of actions to meet the following six fundamental principles.
PCP 1 During an interaction where the lender acts first, and the borrower acts second:
(a) The lender controls the loan amount v, the loan duration d, the interest rate r, and the probability of repayment with interest.
(b) The borrower controls the start time and the probability of liquidation (through the collateral amount z).
PCP 2 During an interaction where the borrower acts first, and the lender acts second:
(a) The borrower controls the loan amount v, the collateral amount z, the loan duration d, the interest rate r, and influences the probability of liquidation.
(b) The lender controls the start time .
PCP 3 (Ideal ending) The borrower can end the loan at any time by repaying in full with interest.
PCP 4 (Painless ending) The lender or the borrower can split the collateral at any time after maturity, with a share equal in value to the repayment amount going to the lender.
PCP 5 During the course of the loan, the borrower controls the probability of liquidation by topping-up the collateral.
PCP 6 (Painful ending) During the course of the loan, the lender controls the probability of repayment by liquidating the collateral when some conditions are met.
Remark 2 (Similarity to US Treasuries). Principle 2 is exactly how US treasuries are sold to retail investors at non-competitive interest rates. Principle 1 is similar to Principle 2, but giving more control to the borrower.
2.3 Actions, Offers, Loans
In our protocol, it is more natural to introduce the action space before the state space. The actions available are reminiscent of those in a limit order book [CDX23], with a few additional actions, and more parameters for each action because each loan is not only described by a price. In this section, we give only an overview of actions, and defer to Section 2.4 the description of conditions under which each action is allowed. Each participant has a private type and observes the set of available offers and wallet balances. Next, each participant decides to take-up an existing offer, wait for a better offer, or create its own offer. A participant who creates an offer is a first-mover who must be careful to include a risk premium in their offer that accounts for the risk that other participants possess private information, e.g., about an impending crash in value of a collateral [rse]. This risk premium can be in the form of a higher interest rate, a lower liquidation threshold higher, etc. A participant who is already a party in an ongoing loan must also decide whether to top-up loans where it is a borrower, or to enter into a new loan with better terms in order to repay a previous loan, and whether to liquidate loans where it is lender.
Beside waiting and taking no action, at every time step, a participant can take an arbitrary number of actions selected from the following set, which fulfill the fundamental requirements . The parenthetical PCP references indicate the design principles associated with each action.
-
(PCP 1) Offer to lend: a lender wallet makes public an offer to lend out v units of LIQ, with a fixed duration d, a fixed interest rate r for each time step, an initial COL minimum required collateral ratio , and liquidation condition c. The protocol creates a vault wallet for this offer, and the vault wallet holds the v units of LIQ until the offer is taken up or canceled. The liquidation condition c specifies that whenever the ratio of values between collateral COL and loaned LIQ drops below the liquidation threshold c, liquidation may be triggered. For simplicity, we omit for now additional contract conditions imposed by the lender, such as limiting the set of further actions that can be taken on the borrowed tokens.
-
(PCP 2) Offer to borrow: a borrower wallet makes public an offer to borrow v units of LIQ, backed by z units of COL, with a fixed duration d, a fixed interest rate r per time step, a minimum required initial collateral
If we ignore the transaction limits in one block of a blockchain, the action space is actually countably infinite.
ratio , and a liquidation threshold c. The protocol creates a vault wallet for this offer, and the vault wallet holds the z units of COL until the offer is taken up or canceled.
-
(PCP 1 and 2) Take-up an offer: a wallet takes up an offer for lending or an offer for borrowing, with collisions resolved according to first-come-first-served or transaction precedence as recorded on the blockchain.
-
(PCP 1 and 2) Cancel previous offer: a wallet cancels a previously announced offer that has not yet found a taker.
-
(PCP 5) The borrower can top-up the amount of collateral in an ongoing loan to reduce the perceived probability of defaulting.
-
(PCP 3) Interrupt loan: the borrower can end the loan early by repaying the lender the principal plus interest over the full duration d.
-
(PCP 4) If the loan is still ongoing at the maturity time, the liquidation condition is first evaluated. If the liquidation condition is not satisfied, the lender or, with the lender's authorization, the protocol service provider immediately executes the natural-ending settlement using the collateral valuation at the maturity boundary. The lender is paid with a portion of the collateral, and the remaining collateral is returned to the borrower.
-
(PCP 6) Liquidate the collateral in an ongoing loan if the ratio of collateral value to accrued debt falls below c. Liquidation is only available up to maturity. The lender receives only the amount of collateral whose value equals the accrued debt at the liquidation time, capped by the collateral available in the vault. Any remaining collateral is returned to the borrower.
Remark 3 (Additional actions). Although the set of actions that we introduce can be qualified as bare-bones, it is sufficient to derive strong performance guarantees in the following sections. In practice, participants would require additional actions, such as allowing the borrower to draw down from the collateral when its value grows quickly; allow the lender to use a loan on secondary markets like US Treasury bills; and allow participants to modify an offer instead of canceling it.
The fundamental object of our lending protocol is an offer or loan record involving a lender wallet, a borrower wallet, and a protocol-created vault wallet. For ease of reference, the notation used in the offer and loan below is summarized in Table 2. An offer to lend created by lender wallet is represented by
Here, is the lender wallet, is a placeholder for the borrower wallet, is the vault wallet created for the offer, is a placeholder for the loan start time, is the amount of LIQ offered for lending, and is a placeholder for the amount of COL collateral. The parameters , , , and denote the loan duration, the interest rate per time step, the required initial collateral ratio, and the liquidation threshold, respectively. The vault wallet holds units of LIQ.
Remark 4 (Initial collateral ratio and liquidation threshold ). The parameter is the minimum required initial collateral-to-principal ratio , whereas is the liquidation threshold for the collateral-value-to-accrued-debt ratio during the loan. For an admissible loan, ensures that the loan starts strictly above the liquidation threshold. Throughout this paper, we focus on permissionless lending and restrict attention to . This provides an overcollateralization buffer: liquidation can become available while the collateral value still exceeds the accrued debt. By contrast, thresholds provide no such buffer.
Similarly, an offer to borrow created by borrower wallet is represented by
Here, is a placeholder for the lender wallet, is the borrower wallet, is the exact amount of LIQ requested by the borrower and is the amount of COL collateral. All other entries have the same meanings as in the offer-to-lend record. The vault wallet holds units of COL. Finally, an ongoing loan contract between lender wallet and borrower wallet is represented by
Here, is the loan start time, and all other entries have the same meanings as in the offer records. The vault wallet holds z units of COL. The maturity boundary of the ongoing loan is .
Definition 1 (Accrued debt and health factor). For an ongoing loan with , , and , its accrued debt and health factor at time are respectively:
Here, is the loan start time, t is the current time, z is the amount of COL collateral held in the vault, is the USD value of this collateral at time t, v is the principal value in USD, r is the interest rate per time step, and c is the liquidation threshold.
Remark 5 (Adaptive health factor). The health factor in (2) follows the convention used in Aave [aav] and Morpho [mor], incorporating the liquidation threshold directly into the ratio. Our parameter corresponds to a conventional liquidation threshold . Liquidation becomes available when
, or equivalently when . Unlike overly conservative formulations that compare the collateral value with the loan's final maturity value [HPS24], our definition is adaptive and compares against the accrued debt up to time .
Definition 2 (Admissible loan at origination). A loan that starts at time , with principal v, collateral z, initial collateral ratio , and liquidation threshold c, is admissible at origination if
At origination time, admissibility ensures that
so that the loan is not immediately eligible for liquidation.
Remark 6 (Offer creation and take-up). An offer may be created under Action 1 or 2 only if its specified parameters satisfy the applicable conditions in Definition 2. At take-up under Action 3, the resulting loan must satisfy that definition under the current valuation . For an offer to borrow, collateral z is committed at creation. A fall in its value may prevent take-up for a proposed loan amount v, while the offer remains recorded. The borrower may cancel it through Action 4 and submit a new offer with sufficient collateral through Action 2. If left open, the offer may become executable again for that amount if its collateral value recovers. For an offer to lend, no collateral amount is fixed at creation; the borrower chooses and supplies sufficient collateral at take-up.
2.4 State Transitions
In contrast to lending pools, our state space is much more complicated. It is not even a vector space or finite-dimensional metric space. It is composed of all possible sets of offers, where each offer can be either an offer for borrowing or an offer for lending. A state in our protocol is therefore an element from a countably infinite-dimensional state space, with the form
where and denote the numbers of outstanding offers available on the market, is the number of ongoing loan contracts, and denote the balances of all wallets in the protocol, including lender wallets, borrower wallets, and vault wallets. Here include ordinary participant wallets as well as vault wallets. The role of a wallet in a particular offer or loan is specified by the position in which it appears in .
The three collections of records in the state are disjoint at each time t. A record in the first two collections is an open offer, whereas a record in the third collection is an ongoing loan. When an open offer is taken up, it is removed from the corresponding offer collection and inserted into the ongoing-loan collection. The initial state is an empty market with no offers, and all wallet balances are at their initial values.
The state transitions keep track of the available offers on the market, the ongoing contracts, wallet balances, vault balances, and the valuation of collateral.
Each action taken by a participant (wallet) at time t triggers a corresponding state transition as follows.
- Wallet initiates the offer to loan :
The vault wallet receives v in LIQ.
- Borrower wallet takes up an offer to lend from lender wallet by committing z units of COL at time :
The vault wallet sends v in LIQ to the borrower wallet and receives z in COL. The borrower wallet is added to the smart contract, along with the current time t, and the collateral z:
This transaction is only allowed if the collateral z amount results in an admissible loan (Definition 2). In practice, the collateral amount is typically chosen so that its initial value is determined by the collateral ratio , with up to implementation-level rounding and oracle-update effects.
It is extremely important that the borrower calculates the value z carefully to avoid falling into a liquidation condition once the loan starts, which is subject to the valuation process and the volatility in the value of COL relative to LIQ.
- Borrower initiates an offer to borrow b, requesting v units of LIQ and committing z units of COL as collateral:
- Lender wallet takes up an offer to borrow b at time t by providing the principal v specified in the offer:
The lender wallet is added to the smart contract, along with the current time t:
This transaction is only allowed if the collateral amount z and the loan value v result in an admissible loan (Definition 2), thereby satisfying the minimum required initial collateral ratio .
- The offer creator cancels that offer to lend :
- The offer creator cancels an offer to borrow b:
- Borrower tops up collateral by units of COL:
- Interrupt loan: the borrower ends the loan early at time such that :
- The lender liquidates loan at checkpoint when the collateral value falls below the liquidation threshold, or equivalently when . The liquidation action terminates the loan and distributes the collateral between the lender and borrower respectively as follows:
The state transition is
- Natural end of loan : at the maturity time , if the loan is still ongoing, the protocol first evaluates the liquidation condition. If , the liquidation action described above applies. Otherwise, the protocol service provider immediately executes the natural-ending settlement. The settlement follows the same collateral-distribution rules as benevolent liquidation. Specifically, the collateral amounts are given by (3), and the state transition is given by (4)–(5), all evaluated at . To avoid the complexity of performing an exchange between COL and LIQ, the repayment occurs in units of COL as opposed to LIQ, and lender has the burden of converting it back to units LIQ.
Remark 7 (Asset-agnostic lender). Observe that the interrupt loan ending repays the lender in LIQ, whereas the other endings repay in COL. We assume throughout the paper that the lender is agnostic to receiving the repayment in COL or LIQ. In other words, we ignore costs for converting between COL and LIQ.
Remark 8 (Alternative liquidation rules). The above protocol presents a rule for distributing the collateral that prioritizes repayment of the lender. A more general protocol could conceivably allow a distinct distribution rule for each loan. For instance, a distribution rule that transfers the full collateral to the lender in the event of a liquidation would encourage lenders to participate and borrowers to keep the health factor at more conservative levels.
Figure 1 illustrates the transition from an offer to an ongoing loan and to a terminated loan. The state S1 denotes an available offer to borrow, S2 denotes an available offer to lend, S3 denotes an ongoing loan, and S4 denotes a terminated loan or canceled offer. The arrows show the transitions following the different actions of the protocol.
Figure 2 illustrates the evolution of the health factor over the course of a loan that starts at time 0. The left panel shows BTC-USD daily close prices from 2026-06-01 to 2026-06-15. The right panel compares three collateral strategies for a loan with , , , and an APR of 8.00%.

Figure 1: Relation between offers and loans.

Figure 2: BTC/USD daily close prices and health factor paths under three collateral strategies.
Health factors are evaluated using (2), with : higher BTC prices or additional collateral increase the health factor, while accrued debt growth reduces it. The dotted and dashed horizontal lines mark the minimum required initial health factor and the liquidation boundary, respectively.
The baseline path (circle markers) starts with exactly the required collateral, giving an initial health factor of approximately 1.14. The more-initial-collateral path (square markers) adds 0.1 BTC at origination, increasing the initial health factor to approximately 1.28, whereas the top-up path (triangle markers) adds the same amount of BTC on day 5. Before day 5, the top-up path follows the baseline below the more-initial-collateral path; from day 5 onward, it coincides with the latter because both hold the same amount of BTC. Both the baseline and top-up paths first fall below the liquidation boundary on day 4 (2026-06-05). The baseline is below the boundary on days 4, 5, 8, and 9, whereas the top-up path is below it only on day 4. Note that the continuations of the baseline and top-up paths beyond day 4 are shown for illustration only. If liquidation is executed at the first eligible checkpoint, both loans terminate on day 4, before the scheduled top-up. By contrast, the more-initial-collateral path remains above the boundary throughout this historical window, with a minimum health factor of approximately 1.09, avoiding liquidation along this price path.
Remark 9 (Regime of few participants). When there are few participants, we can restrict the values that the parameters can take in order to increase the likelihood that offers are taken up. For example, take finite values, and v is in multiples of 100.
Remark 10 (Frontrunning). Frontrunning can occur in various ways. For example, a lender cancels an existing offer to lend and then is about to take up an offer to borrow, but another lender swoops in and preempts this take-up action by paying more gas fee.
3 Performance Guarantees
In this section, we derive two guarantees for participants in our protocol. First, we quantify the probability of liquidation of the collateral during the contractual loan period. Second, we quantify the probability that the lender receives less than the promised repayment when a loan terminates. These are arguably the most important quantities for borrowers and lenders, and can serve as stepping stones to derive other guarantees. Both guarantees are derived under a pessimistic scenario where the borrower never tops up the collateral, and where the lender always triggers the liquidation action as soon as it is allowed.
Consider an admissible loan and measure time relative to loan origination. Throughout this section, loan states are indexed by , where is the origination time and is the maturity time. We assume that neither a collateral top-up nor an interrupt action occurs after origination; hence, the collateral amount remains fixed. As specified in Section 2.4, the loan is liquidated at the first checkpoint where . At maturity time d, liquidation check is performed one last time before the natural-ending settlement occurs.
We model the collateral valuation as a geometric random walk. This is the discrete-time analogue of the geometric Brownian-motion models commonly used in finance [HLZ07, SM69]. Because the collateral amount z remains fixed throughout the analysis, it is sufficient to specify the valuation process for the collateral held by the particular loan under consideration.
Assumption 1 (Gaussian log-valuation increments). For the collateral amount z held by the loan,
where, conditional on the information observed at origination, are independent and identically distributed as , with and .
With time measured from loan origination, so that , define the log inverse health factor by
For the admissible loan under consideration, let denote the observed value of the log inverse health factor at origination. For the remainder of the paper, all distributional statements, probabilities, and expectations are conditional on the observed initial value . By Assumption 1 and (6), and defining the increments , we obtain
Starting from the initial position , each time increment brings an additional debt term , which is countered by a collateral appreciation term .
We define the liquidation time in terms of the sequence by observing that liquidation is triggered if .
Definition 3 (Liquidation time). Let T denote the time when liquidation is triggered, with the convention that it takes value if no liquidation is triggered. Formally,
In turn, we have
The event denotes a natural-ending settlement at time .
3.1 Borrower Liquidation Probability
Since the liquidation event is entirely determined by the path , in this section, first establish the joint distribution of this sequence and then quantify the probability of liquidation.
Lemma 1 (Multivariate Gaussian representation). Under Assumption 1, for every , the vector random variable has a Gaussian distribution with mean and covariance matrices:
We denote the multivariable Gaussian cumulative distribution function of by . Let denote the -dimensional zero vector. Our main guarantee for the borrower is the following probability of liquidation.
Theorem 1 (Borrower liquidation probability). Under Assumption 1 and the loan setup in Section 3, the probability of liquidation at time t is
and the probability of liquidation by time s is
Remark 11 (Operating regime). This theorem shows that, in order to avoid frequent liquidation events or requiring frequent top ups, the lending protocol requires that the value of the collateral increases geometrically faster than the value of the loan with accumulated interest, i.e., that in (10).
Remark 12 (Borrower control). The borrower can use Theorem 1 to select loan terms that keep the liquidation probability below a desired level. Subject to the admissibility requirements, a smaller loan amount v, shorter duration d, lower interest rate r, lower liquidation threshold c, or larger collateral amount z reduces liquidation probability. During the course of the loan, a re-evaluated version of the probability in (12) can also guide whether and how much to top up the collateral.
3.2 Lender repayment shortfall Probability
In this section, we give a guarantee on the probability that the lender suffers a repayment shortfall when the loan terminates. Again, for simplicity, we assume that the borrower lets the loan terminate never topping it up nor interrupting it. We will see that the lender can control this probability through the parameters and c.
Definition 4 (Repayment shortfall). We say that the lender suffers a repayment shortfall by time if the collateral cannot cover the accrued debt, i.e., and .
Observe that no shortfall can occur if the borrower interrupts the loan or if (no liquidation). In the event of a liquidation at time t, if the lender receives a portion of the collateral equivalent to the accrued debt , it incurs a loss due to missing out on interest from time t to the initial maturity d, but does not suffer a shortfall. For simplicity, we ignore the slippage and other costs that the lender may incur to convert the received portion of COL to LIQ.
Theorem 2 (Lender repayment shortfall probability). Under Assumption 1, with the loan setup in Section 3, the lender repayment shortfall probability by time is
with the sum interpreted as zero when s = 1.
Remark 13 (Lender control). For a fixed admissible collateral amount z set by the borrower, the value of c and jointly control the value , subject to the admissibility constraint . In turn, the value controls , which finally controls the probability of (13). Therefore, the lender can control this probability by setting c and appropriately or by selecting an offer with such values.
4 Generalized Liquidation and Repayment Shortfall Probabilities
The preceding analysis derives exact liquidation and repayment shortfall probabilities under Gaussian log-valuation increments . We now employ characteristic functions to generalize those results to arbitrary increments that are independent and identically distributed. This generalization most importantly allows us to select a suitable family of distributions based on prior knowledge about the valuation dynamics of the collateral. The tradeoff is that the general results require numerical approximation of the corresponding integrals.
As before, we consider an ongoing loan that started at time . We take the observed origination value of to be , and recall that
We assume that the log-valuation increments are i.i.d., and denote the common characteristic function by . In turn, the sequence is also i.i.d. with a common characteristic function
Define the running maximum of the changes in from its origination value and its characteristic function by
For , also define the positive-part sequence and its characteristic functions:
Theorem 3 (Liquidation probability under i.i.d. returns). Suppose that are i.i.d. and that the distribution function of is continuous at for every . Then, the characteristic functions and are
Moreover, the liquidation probability by time is
Remark 14 (Continuity assumption). For each to have a distribution function continuous at , it is sufficient that each have no probability mass at 0 for every . For certain distributions of the i.i.d. increments , including Gaussian, gamma, Poisson, etc., their sum is well-known, allowing the distribution of to be derived analytically. Otherwise, repeated samples of yield samples of , which can be used to estimate its distribution and assess its continuity at 0 by inspection.
The integral in (17) may appear similar to [AW92, Eq. 3.6] and [Nut69, Eq. 1], but the characteristic function in (16) is computed using an approach similar to that of Haslip and Kaishev [HK14, Proposition 3.4], who adopt Öhgren's recursion [Öhg01] and Spitzer's Identity. Whereas Theorem 1 applies only to the Gaussian family of distributions, Theorem 3 applies to every possible family. This broader applicability however requires the numerical evaluation of two integrals ((15) and (17)) over unbounded domains and without analytical form solutions. This introduces both truncation errors and quadrature errors from discretizing the integrals. These errors can be reduced by increasing the truncation cutoffs and reducing the step sizes [AW92, Nut69]. A detailed analysis of these numerical errors is beyond the scope of this paper.
To give the corresponding guarantee for lenders, we first define the sequence of joint characteristic functions
Theorem 4 (Repayment shortfall probability under i.i.d. returns). Suppose that are i.i.d. and that the distribution function of is continuous at both and for every . Let , , and be the characteristic functions introduced before Theorem 3. Then, the characteristic functions are
(19)
Moreover, for , the repayment shortfall probability is
4.1 Empirical Liquidation and Repayment Shortfall Probabilities
To employ Theorems 3 and 4, we need to know the distribution or characteristic function for the sequence . In this section, we consider the inference problem where this distribution is unknown and must be inferred from historical samples. The first step is to select the most suitable one from a set of three candidate parametric distributions by estimating the corresponding parameters. The second step is to calculate the liquidation probability and repayment shortfall probabilities by plugging-in this distribution into Theorems 3 and 4, respectively.
To illustrate these two steps, we use daily BTC-USD returns collected from September 7, 2021 to September 6, 2026 to fit Gaussian, Student-t, and symmetric stable Paretian distributions. Mandelbrot [Man63] proposes stable Paretian distributions for returns to account for departures from Gaussian behavior, such as unusually large price movements. Blattberg and Gonedes [BG74] finds that empirical returns are more Student-t than symmetric stable Paretian, while Chu et al. [CNC15] reports a better fit for Student-t than Gaussian. We select as the most suitable distribution the one with lowest AIC [Aka74]—or lowest BIC [Sch78]. For completeness sake, we compare the liquidation and repayment shortfall probabilities obtained under the three fitted distributions. In the Gaussian case, we also show that successive approximations of the liquidation and repayment shortfall probabilities of Theorems 3 and 4 approach the corresponding exact probabilities of Theorems 1 and 2 as we increase truncation levels.
We estimate the parameters of the Gaussian and Student-t distributions by maximum likelihood. For the symmetric stable Paretian distribution, we perform maximum likelihood estimation using SciPy [VGO 20], which implements Nolan's numerical method [Nol97]. Table 1 reports the maximum-likelihood estimates of the distribution parameters , together with the corresponding estimated daily drift , AIC, and BIC. Both AIC and BIC favor the Student-t distribution.
In Figure 3, we consider an example loan with a duration of days, an annual effective interest rate of 6.00%, a required initial collateral ratio of , and a liquidation threshold of . The initial collateral is set at the minimum admissible level such that , and the daily interest rate is . Figure 3A compares the liquidation probabilities obtained from Theorem 3 under the three return distributions from Table 1, with truncation levels for the inner and outer integrals in (15) and (17). For short time horizons, both Student- and symmetric stable Paretian distributions give higher estimated liquidation probabilities than Gaussian distribution, which is consistent with the fact that they have heavier tails. The symmetric stable Paretian distribution gives the highest estimates for the liquidation probability throughout the thirty-day horizon, reaching a liquidation probability of 34.55% within thirty days from loan origination. The Gaussian and Student- gives similar estimates for the liquidation probability, especially for long time horizons: the liquidation probabilities are 31.03% and 30.89%, respectively, within 30 days. Next, we examine the numerical approximation in Theorem 3 in the Gaussian case, for which Theorem 1 provides an exact analytical baseline. We approximate (17) at truncation levels . Figure 3B shows that, as the truncation levels increase, the numerical estimates converge to the analytical Gaussian probabilities as expected.
Figure 3C compares the repayment shortfall probabilities obtained from Theorem 4 under the three return distributions from Table 1, with truncation levels . The Gaussian, Student-t, and symmetric stable Paretian distributions give estimated repayment shortfall probabilities of 0.90%, 4.92%, and 9.90%, respectively, within 30 days. Using the same fitted Gaussian distribution and loan parameters, we next evaluate the repayment shortfall probability using Theorem 4. Figure 3D compares numerical evaluations of (20) at with the analytical Gaussian probabilities of Theorem 2. The case is omitted because the numerical estimates deviate substantially from the analytical Gaussian probabilities. The integral defining in (15) and the integrals in (20) are truncated at , while the outer integral is truncated at . The repayment shortfall probability is lower than the liquidation probability throughout the thirty-day horizon. For example, on day 30, the Gaussian benchmarks give a repayment shortfall probability of 0.90%, compared with a liquidation probability of 31.04%.
Table 1: Parameter estimates and model selection.
| Distribution | Parameter estimates | Daily drift estimates | AIC | BIC |
|---|---|---|---|---|
| Gaussian | -1.32 | -7967.82 | -7956.80 | |
| Student-t | -0.35 | -8301.38 | -8284.85 | |
| Symmetric stable | -0.75 | -8262.35 | -8245.82 | |
| Paretian |
The parameters are: Gaussian, (mean) and (standard deviation); Student-t, (degrees of freedom), (location), and (scale); symmetric stable Paretian, (stability index), (scale), and (location).
In practice, we also recommend updating the estimated probabilities at each checkpoint (with the last realization of ) for improved prediction accuracy. Although checkpoints occur at a daily frequency in our example, the same approach holds when checkpoints occur at the same frequency as price updates by an oracle.
5 Related Works
Our lending protocol has a unique set of features: it is a permissionless marketplace, with fixed rate and fixed maturity. Each of these features connects it to existing protocols, but together distinguish it from most. By virtue of being a marketplace that matches lenders and borrowers to create fixed-rate fixed-term loans, it is reminiscent of traditional loans with well-defined fixed-rate, like the USD 28 trillion of US Treasury securities outstanding today [fin]. In the latter setting, there is a single borrower who issues bills through discriminatory and uniform-price auction [BH15, Gol07] among lenders. In our protocol, the interest rate of ongoing loans is determined by a different competition, where lenders and borrowers dynamically cancel and resubmit offers, and loans are taken-up instantaneously on a first-come-first-served basis, much like limit orders in order books [CDX23]. Other examples of fixed-rate lending marketplaces include permissioned protocols, such as Prosper [CGL14] and LendingClub, and permissionless protocols, such as ETHLend [ETH].

(A)
(B)

(C)
(D)
Figure 3: Liquidation probabilities (A, B) and repayment shortfall probabilities (C, D) over thirty days. Panels (A, C) compare Gaussian, Student-t, and symmetric stable Paretian return distributions using . Panels (B, D) compare analytical Gaussian probabilities from Theorems 1 and 2 with numerical estimates from Theorems 3 and 4, respectively, using in (B) and in (D). All numerical estimates use a base quadrature step size of 0.5.
Our lending protocol is most similar to Morpho Midnight, which introduces intent-based, fixed-term, fixed-rate markets in which lenders and borrowers express offers with acceptable terms [Mor25, Mor26]. Other fixed-rate and fixed-term lending protocols have recently been proposed, emphasizing undercollateralized borrowing [Wil25] or tokenized fixed-rate instruments [Ter26]. The main distinction of our protocol are the performance guarantees for both borrowers and lenders.
Other existing permissionless lending protocols are pool-based (e.g., Aave, Compound) with variable interest rates, or auction-based (Term Finance [ter]) with fixed rates. In contrast to lending pools , our protocol is impervious to interest-rate manipulations by other users manipulating the utilization rate [HPS24, BL25] or by the lending-pool authority (e.g., Aave, Compound). Our interest rates are fixed, whereas pool-based lending protocols have variable interest rates that change with utilization [BBGD 25] and a few lenders often control a majority of the liquidity [GWPK20]. The interest rate for ongoing loans are products of a dynamic competition among participants, which is arguably more fair than the arbitrary rates [HPS24] on lending pools—e.g., Chaos Labs set the interest rate for Aave until April 2026 [cha]. A borrower can first look outside our protocol for the best available rate, and then publish an offer to borrow or immediately take up an offer to lend that is better than elsewhere. Since our loans have a fixed duration d, we avoid redemption bottlenecks due to insufficient reserves in lending pool. By setting a lower bound on allowed values for the duration d, our protocol can prevent flash loan, and the associated attacks [QZLG21].
Most of the technical literature on lending protocols uses a continuous-time model (e.g., Brownian motion) for the valuation of tokens with respect to a numéraire (e.g., USD). The probability of liquidation for a continuous-time lending protocol with zero drift is analyzed in [BV25]. The optimal collateral amount is derived in [MP24]. An alternative lending pool is proposed to address the impossibility of fair interest rates in existing lending pools [HPS24]. A dynamic equilibrium model is proposed in [COYZ23] to predict equilibria that arise over time. Discrete-time models similar to ours are presented in [BNW 24, BL25]. The problem of slow convergence of interest rates to a market equilibrium is highlighted in [BNW 24]. A detailed model of lending pools is presented in [BL25] along with major features.
6 Open Problems and Future Work
This paper takes a first step in providing performance guarantees that enable rigorous risk management in permissionless decentralized finance. There are of course many important directions for future work.
For instance, how do we generalize our results a setting with stochastic gas fees? How do we extend the performance guarantees of Theorem 3 to returns
For ease of comparison, we describe lending pools in Appendix C using the same section headings as Section 2.
that are not i.i.d. Since the order of transactions on the blockchain are determined by gas fees, can we use a commitment scheme to protect participants from front-running [KDC23]. How do we quantify the dynamics of participants that observe ongoing loan contracts and use tâtonnement-like [Wal74] offers to gauge market demand, as in [CDX23]. How do we model the error between the valuation process and the actual proceeds of converting the collateral COL to LIQ?
Although these guarantees are useful once two participants have already taken actions to contract a loan, other performance guarantees are beyond the scope of this paper. We do not give guidance to the participants on when to take up an offer, versus creating an offer, or waiting for a better offer to appear. We do not characterize how quickly offers turn into loans, nor the convergence of interest rates of similar offers.
References
[aav] Full depreciation of stable rate. https://governance.aave.com/t/bgd-full-depreciation-of-stable-rate/16473. Accessed: 2025-09-08.
[Aka74] Hirotugu Akaike. A new look at the statistical model identification. IEEE Transactions on Automatic Control, 19(6):716–723, 1974.
[AW92] Joseph Abate and Ward Whitt. The Fourier-series method for inverting transforms of probability distributions. Queueing Systems, 10:5–87, 1992.
[BBGD 25] Charles Bertucci, Louis Bertucci, Mathis Gontier Delaunay, Olivier Gueant, and Matthieu Lesbre. Agents' behavior and interest rate model optimization in DeFi lending. Available at SSRN 4802776, 2025.
[BCHO25] Juan Beccuti, Thunj Chantramonklasri, Matthias Hafner, and Nicolas Oderbolz. Towards a formal framework of the ethereum staking market, 2025.
[BG74] Robert C. Blattberg and Nicholas J. Gonedes. A comparison of the Stable and Student distributions as statistical models for stock prices. The Journal of Business, 47(2):244–280, 1974.
[BH15] Sushil Bukhchandani and Chi-fu Huang. Auctions with resale markets: An exploratory model of Treasury bill markets. The Review of Financial Studies, 2(3):311–339, 05 2015.
[BL25] Massimo Bartoletti and Enrico Lipparini. A theory of lending protocols in DeFi, 2025.
[BNW 24] Mahsa Bastankhah, Viraj Nadkarni, Xuechao Wang, Chi Jin, Sanjeev Kulkarni, and Pramod Viswanath. Thinking fast and slow: Data-driven adaptive DeFi borrow-lending protocol, 2024.
[BV25] Timofei Belenko and Georgii Vosorov. DeFi liquidation risk modeling using the reflection principle for zero-drift Brownian motion, 2025.
[CDX23] Rama Cont, Pierre Degond, and Lifan Xuan. A mathematical framework for modelling order book dynamics, 2023.
[CGL14] Ning Chen, Arpita Ghosh, and Nicolas S Lambert. Auctions for social lending: A theoretical analysis. Games and Economic Behavior, 86:367–391, 2014.
[cha] Chaos Labs is leaving Aave. https://governance.aave.com/t/chaos-labs-is-leaving-aave/24386. Accessed: 2026-07-16.
[CNC15] Jeffrey Chu, Saralees Nadarajah, and Stephen Chan. Statistical analysis of the exchange rate of Bitcoin. PLOS ONE, 10(7):e0133678, 2015.
[COYZ23] Jonathan Chiu, Emre Ozdenoren, Kathy Yuan, and Shengxing Zhang. On the fragility of DeFi lending. Staff Working Papers 23-14, Bank of Canada, Feb 2023.
[DMS20] Itamar Drechsler, Alan Moreira, and Alexi Savov. Liquidity and volatility. Technical report, National Bureau of Economic Research, 2020.
[ETH] Ethlend.io white paper. https://github.com/ETHLend/Documentation/blob/master/ETHLendWhitePaper.md. Accessed: 2025-09-08.
[FGT08] Emmanuel Farhi, Mikhail Golosov, and Aleh Tsyvinski. A theory of liquidity and regulation of financial intermediation, 2008. Manuscript, February 25, 2008.
[fin] Trade reporting and compliance engine. www.finra.org/finra-data/browse-catalog/about-treasury. Accessed: 2025-09-08.
[GKL24] Juan Garay, Aggelos Kiayias, and Nikos Leonardos. The Bitcoin backbone protocol: Analysis and applications. J. ACM, 71(4), August 2024.
[Gol07] David Goldreich. Underpricing in discriminatory and uniform-price treasury auctions. The Journal of Financial and Quantitative Analysis, 42(2):443–466, 2007.
[GP51] J. Gil-Pelaez. Note on the Inversion Theorem. Biometrika, 38(3/4):481–482, 1951.
[GWPK20] Lewis Gudgeon, Sam M. Werner, Daniel Perez, and William J. Knottenbelt. DeFi protocols for loanable funds: Interest rates, liquidity and market efficiency, 2020.
[HK14] Gareth G. Haslip and Vladimir K. Kaishev. Lookback option pricing using the Fourier transform B-spline method. Quantitative Finance, 14(5):789–803, 2014.
[HLZ07] Yongmiao Hong, Haitao Li, and Feng Zhao. Can the random walk model be beaten in out-of-sample density forecasts? evidence from intraday foreign exchange rates. Journal of Econometrics, 141(2):736–776, 2007.
[HPS24] Joe Halpern, Rafael Pass, and Aditya Saraf. Fair interest rates are impossible for lending pools: Results from options pricing, 2024.
[HYZ25] Xue Dong He, Chen Yang, and Yutian Zhou. Arbitrage on decentralized exchanges, 2025.
[KDC23] Kshitij Kulkarni, Theo Diamandis, and Tarun Chitra. Towards a theory of maximal extractable value I: Constant function market makers, 2023.
[KM05] Nobuhiro Kiyotaki and John Moore. Liquidity and asset prices. International Economic Review, 46(2):317–349, 2005.
[Man63] Benoit Mandelbrot. The variation of certain speculative prices. The Journal of Business, 36(4):394–419, 1963.
[mor] Morpho midnight whitepaper. https://morpho.org/whitepapers/midnight-whitepaper.pdf. Accessed: 2026-07-04.
[Mor25] Morpho. Morpho fixed rate markets: Liberating the potential of onchain loans. https://morpho.org/blog/morpho-v2-liberating-the-potential-of-onchain-loans/, June 2025. Official blog post.
[Mor26] Morpho. The morpho effect: April 2026. https://morpho.org/blog/the-morpho-effect-april-2026/, May 2026. Official blog post discussing Morpho Midnight.
[MP24] Ciamac Moallemi and Utkarsh Patange. An analysis of fixed-spread liquidation lending in defi. In Financial Cryptography and Data Security. FC 2024 International Workshops: Voting, DeFI, WTSC, CoDecFin, Willemstad, Curaçao, March 4–8, 2024, Revised Selected Papers, page 105–127, Berlin, Heidelberg, 2024. Springer-Verlag.
[Nol97] John P. Nolan. Numerical calculation of stable densities and distribution functions. Communications in Statistics. Stochastic Models, 13(4):759–774, 1997.
[Nut69] Albert H. Nuttall. Numerical evaluation of cumulative probability distribution functions directly from characteristic functions. Proceedings of the IEEE, 57(11):2071–2072, 1969.
[Öhg01] Anders Öhgren. A remark on the pricing of discrete lookback options. Journal of Computational Finance, 4(3):141–146, 2001.
[Pin15] Iosif Pinelis. Characteristic function of the positive part of a random variable and related results, with applications. Statistics & Probability Letters, 106:281–286, 2015.
[PK04] Giovanni Petrella and Steven Kou. Numerical pricing of discrete barrier and lookback options via Laplace transforms. Journal of Computational Finance, 8(1):1–37, 2004.
[QZLG21] Kaihua Qin, Liyi Zhou, Benjamin Livshits, and Arthur Gervais. Attacking the DeFi ecosystem with flash loans for fun and profit, 2021.
[rse] Forensic analysis of the KelpDAO rsETH exploit and cascade effects on DeFi lending markets. https://www.migalabs.io/uploads/Kelp_DAO_IEEE_V4_6_BRAINS_2026_6361a2be9b.pdf. Accessed: 2026-07-16.
[Sch78] Gideon Schwarz. Estimating the dimension of a model. The Annals of Statistics, 6(2):461–464, 1978.
[Sha53] L. S. Shapley. Stochastic games. Proceedings of the National Academy of Sciences, 39(10):1095–1100, 1953.
[SM69] Paul Samuelson and Robert C. Merton. A complete model of warrant pricing that maximizes utility. IMR; Industrial Management Review (pre-1986), 10(2):17, Winter 1969. Copyright - Copyright Sloan Management Review Association, Alfred P. Sloan School of Management Winter 1969.
[Spi56] Frank Spitzer. A combinatorial lemma and its application to probability theory. Transactions of the American Mathematical Society, 82(2):323–339, 1956.
[SVFK24] Nicholas Strohmeyer, Sriram Vishwanath, and David Fridovich-Keil. Improving DeFi mechanisms with dynamic games and optimal control: A case study in stablecoins, 2024.
[ter] Term auctions. https://docs.term.finance/protocol/term-auctions. Accessed: 2025-09-08.
[Ter26] TermMax. TMX token whitepaper. https://docs.ts.finance/resources/tmx-token-whitepaper, 2026. TermMax documentation.
[VGO 20] Pauli Virtanen, Ralf Gommers, Travis E. Oliphant, Matt Haberland, Tyler Reddy, David Cournapeau, Evgeni Burovski, Pearu Peterson, Warren Weckesser, Jonathan Bright, Stéfan J. van der
Walt, Matthew Brett, Joshua Wilson, K. Jarrod Millman, Nikolay Mayorov, Andrew R. J. Nelson, Eric Jones, Robert Kern, Eric Larson, C J Carey, Ilhan Polat, Yu Feng, Eric W. Moore, Jake VanderPlas, Denis Laxalde, Josef Perktold, Robert Cimrman, Ian Henriksen, E. A. Quintero, Charles R. Harris, Anne M. Archibald, Antônio H. Ribeiro, Fabian Pedregosa, Paul van Mulbregt, and SciPy 1.0 Contributors. SciPy 1.0: Fundamental algorithms for scientific computing in Python. Nature Methods, 17(3):261–272, 2020.
[Wal74] Léon Walras. Éléments d'économie politique pure ; ou, Théorie de la richesse sociale. G. F. F. La Goutte, Lausanne, 1874.
[Wil25] Wildcat Protocol. The elevator pitch. https://docs.wildcat.finance/overview/introduction, 2025. Wildcat Protocol documentation.
[Zyg59] Antoni Zygmund. Trigonometric Series, volume II. Cambridge University Press, Cambridge, 2nd edition, 1959.
A Figures and Tables
Table 2: Notation for loan contract
| △ | lender wallet | |
|---|---|---|
| △ | borrower wallet | |
| △ | protocol-created vault wallet associated with this offer or loan | |
| △ | start of loan | |
| △ | LIQ principal amount | |
| △ | COL collateral amount | |
| △ | duration of loan | |
| △ | interest rate for each time step | |
| △ | minimum required initial collateral-to-loan ratio at time | |
| △ | liquidation threshold |
B Proofs
B.1 Proof of Lemma 1
Proof. By (7),
Thus, is an affine transformation of the independent Gaussian vector and is therefore jointly Gaussian.
Its mean is
For , independence of the increments gives
These are the stated mean vector and covariance matrix.
B.2 Proof of Theorem 1
Proof. At the first checkpoint, liquidation occurs when . Therefore,
For each , first liquidation at time requires that no liquidation occur through time and that liquidation occur at time . By Lemma 1,
The first CDF is the probability that are all nonpositive, so no liquidation occurs through time . The second CDF is the probability that are all nonpositive, so no liquidation occurs through time . Their difference is therefore the probability that liquidation first occurs at time .
Because the first-liquidation events are mutually disjoint, summing their probabilities gives, for every ,
(B.3)
The intermediate CDF terms cancel telescopically. Notice that the result also applies to the case . Consequently, we have (12) holds for every .
B.3 Proof of Theorem 2
Proof. Notice that no repayment shortfall can occur when , which corresponds to a natural ending. Section 2.4 specifies the terminal settlements under both natural ending and liquidation. At time d, the protocol first evaluates the liquidation condition using . If the condition is satisfied, the loan is liquidated; otherwise, the natural-ending settlement is immediately executed using the same collateral valuation. Therefore, implies that the liquidation condition is not satisfied at time , and (8) gives . Hence,
Under the natural-ending settlement, the collateral transferred to the lender consequently has value
at time d. Thus, the lender is fully repaid at natural ending, and the event cannot produce a repayment shortfall.
For a finite liquidation time , the protocol instead applies the liquidation rule, the lender receives only the amount of collateral needed to cover the accrued debt, capped by the collateral available in the vault, and any excess collateral is returned to the borrower. Under full-collateral liquidation rule of Remark 8, all collateral held in the vault is transferred to the lender, and no collateral is returned to the borrower. Accordingly, let and denote the asset values, evaluated at liquidation time , of the collateral received by the lender under benevolent and full-collateral liquidation, respectively. Then
Conditional on T = t, the shortfall condition under each rule satisfies
Hence, full-collateral liquidation rule generates exactly the same repayment shortfall event. Because the two events coincide, we may write for the asset value at time of the collateral received by the lender under the standard liquidation rule and under full-collateral liquidation rule. Their common repayment shortfall event at time is
The equality follows from . On this common shortfall event, under either liquidation rule. If instead , then under either rule, although the realized proceeds may differ across the two rules. Thus, the choice of liquidation rule may affect the amount recovered when no shortfall occurs, but it does not affect the repayment shortfall event or its probability conditional on .
The liquidation boundary and the repayment shortfall boundary therefore divide the state space into three regions:
No liquidation; no repayment shortfall:
(B.10)
Liquidation; no repayment shortfall:
(B.11)
Liquidation with repayment shortfall:
(B.12)
The three-region partition summarizes the distinction between borrower liquidation and lender repayment shortfall: the middle region permits liquidation with full repayment. This completes the characterization of repayment shortfall at every finite liquidation time .
Using (B.9), together with the facts that does not produce a repayment shortfall and that the finite first-liquidation events , are mutually disjoint, we obtain, for every ,
At the first checkpoint, crossing the repayment shortfall boundary also triggers the first liquidation. Therefore, the term in (B.14) is
(B.15)
For each , the first-passage representation of gives
(B.16)
Substituting these joint-event probabilities into (B.14) gives the conditional lender repayment shortfall probability by time s:
The right-hand side of (13) also agrees with the first-checkpoint result when , since the summation term is then absent. Consequently, (13) holds for every .
B.4 Proof of Theorem 3
Proof. Fix . Since , the definitions of and give
Thus, to compute the liquidation probability, it suffices to determine the distribution of at . We first determine the positive-part characteristic function for . Recall that , where the increments are i.i.d. with characteristic function . By independence, is the characteristic function of , so Pinelis's positive-part formula [Pin15, Eq. 16] applies to . This formula expresses as plus the difference between two transform values evaluated at and at zero. Using the positive-half-axis representation following Eq. (2) in [Pin15], we express each transform value as an integral and subtract the two integrals to obtain
The integral above is well defined as an improper Riemann integral, since Pinelis's Proposition 1 [Pin15, Proposition 1] establishes the existence of its defining limit. This establishes (15).
To derive (16), we pass from the positive parts of the individual partial sums to their running maximum. Since , we have
Here, the positive part is taken separately for each partial sum before the maximum is taken. In the present notation, the partial sums and their positive parts in [Spi56] are and , respectively, and their running maximum is . Spitzer's Theorem 3.1 [Spi56, Eq. (3.5)] gives the following generating-function identity for an infinite i.i.d. sequence with the same increment law. Here we use only its coefficients through degree , which depend solely on :
Because and are characteristic functions, their absolute values are bounded by one. The relevant power series therefore converge absolutely and locally uniformly for , permitting term-by-term differentiation and multiplication. Differentiating (B.19) with respect to gives
We now want the coefficient of in the product of the two series on the right-hand side of (B.20). We find it using the Cauchy product: multiply one term from each series and add their exponents of . Multiplying from the first series by from the second gives . For this term to contribute to the coefficient we want, its exponent must satisfy , or equivalently . Since the first series starts at and the second at , the possible values are . Collecting the terms with the same power of , we obtain
We can now compare the coefficients on the two sides. After differentiation, the coefficient of on the left-hand side is . On the right-hand side, it is . Since the two power series are equal for , uniqueness of power-series coefficients gives
Since , we have and the discrete convolution recursion
Thus, we have proved (16).
It remains to prove (17). Let denote the distribution function of . By the theorem's assumption, is continuous at , and hence . Moreover, since and , is also continuous at , with . Thus neither evaluation point carries probability mass, so we use the continuity-point form of the Gil-Pelaez inversion formula [GP51, p. 481]. If there were mass at , the discontinuity version would instead return the average of the two one-sided limits [GP51, p. 482]. A corresponding formula for the liquidation probability could then be derived by a similar argument, but we do not consider that case here.
Under the present assumptions, the inversion formula gives, for ,
Apply (B.23) at and using these continuity conditions, and subtract the latter identity from the former. Since is real-valued, its characteristic function satisfies . Hence,
Euler's formula gives
Using these two identities, the difference between the two numerators becomes
(B.24)
It follows that
Using , which follows from and , we obtain
Finally, because ,
This establishes (17) and completes the proof.
B.5 Proof of Theorem 4
Proof. Fix . Since and , a repayment shortfall at the first liquidation time occurs exactly when the loan survives through and . Hence
The probability of this event is the survival probability multiplied by the conditional probability that the endpoint exceeds the shortfall threshold. When ,
The first factor equals and can therefore be evaluated using (17) in Theorem 3, with value 1 when . To evaluate the second factor in (B.28), we compute the characteristic function of the endpoint conditional on survival and then apply Fourier inversion. This conditional characteristic function is
The denominator in (B.29) is the known survival probability. The numerator averages the endpoint exponential only over paths satisfying the restriction on the past maximum; evaluating it therefore requires the dependence between these two random quantities.
The proof follows three linked steps. Step 1 obtains the joint characteristic function of and , which describes the joint distribution needed in this restricted expectation. Step 2 uses that function to impose , evaluates the numerator in (B.29), and divides by the known survival probability to obtain the conditional characteristic function in (B.29). Step 3 applies Fourier inversion to (B.29) at to evaluate the second factor in (B.28). Multiplying by the survival probability and summing over then gives the cumulative probability in (20).
Step 1. The numerator in (B.29) involves and . We first determine , which describes , and then include the independent increment at to obtain the joint characteristic function of the required pair. Petrella and Kou [PK04, Lemma 1, Eqs. (7) and (9)] give the joint recurrence
The positive- and negative-part decomposition used in the proof of their Lemma 2 yields the identity
Taking expectations gives , which establishes (19). Independence of from the increments through now gives
This is the joint transform of the two random quantities appearing in (B.28). Step 2 uses it to retain only the paths that satisfy the survival restriction.
Step 2. We now compute the expectation in the numerator of (B.29). The same independence used in Step 1 gives
We evaluate the remaining expectation by following the truncated-integral argument of Gil-Pelaez [GP51]. The identity obtained below can alternatively be derived from classical Fourier–Stieltjes inversion applied to the distribution of the past maximum weighted by the endpoint exponential [Zyg59, Vol. II, Chapter XVI, § 4, Theorem (4.5)]. To express its survival indicator as an integral, we first establish the algebraic identity for the integrand. Euler’s formulas give
The imaginary terms cancel. Multiplying this identity by therefore gives
Next, the sine addition and subtraction formulas give
Adding these equations cancels the terms and . Consequently,
Combining the two identities, dividing by , and integrating from 0 to a finite , we obtain
We now evaluate the limits of the two sine integrals. The deterministic identity used in the proof of Gil-Pelaez [GP51, p. 481] is
We apply this identity one sample path at a time. Once we fix the path, is a fixed nonnegative real number. We can then find the two limits by changing variables in each integral, as follows.
For the first integral, and imply . With , we have
Consequently, for every ,
Since as , the cited identity gives
For the second integral, the sign of determines the result.
If , then . Taking again gives , and hence
The upper endpoint tends to infinity, so
If , then . The oddness of the sine function gives
Therefore, taking , we obtain
Here , and thus
Combining these calculations, for every sample path with ,
Thus their sum tends to 1 when and to 0 when . The boundary event has probability zero by the continuity assumption; for , it is excluded by . Therefore,
(B.31)
Multiplying by and taking expectations gives
(B.32)
We now evaluate the expectation on the right-hand side of (B.30) by interchanging the expectation and the improper integral.
For fixed and finite , the integrand is jointly measurable: after extending continuously to at , it is a continuous function of and the random vector . It is also absolutely integrable on the finite interval, since
Here we used , , and for . Fubini's theorem therefore applies on every finite interval.
The deterministic sine-integral estimate in the proof of Pinelis's Proposition 1 [Pin15] implies
The preceding trigonometric identity and the triangle inequality give
These normalized truncated integrals converge almost surely by (B.31), and the bound is independent of U. Bounded convergence therefore implies convergence of their expectations. On each finite interval, Fubini's theorem identifies these expectations with the corresponding integrals of the expected integrand. Consequently, the improper integral of the expected integrand exists and equals the expectation of the improper integral in (B.32). This justifies the first equality below; the remaining equalities follow from linearity of expectation and (18):
(B.33)
The inner integral thus converges for every real .
Combining (B.32) and (B.33) with (B.30) gives the required numerator:
Dividing by the known survival probability in (B.29) therefore gives, whenever that probability is positive,
This determines the conditional characteristic function in (B.29). Step 3 uses it to evaluate the second factor in (B.28).
Step 3. To evaluate the second factor in (B.28), we apply Fourier inversion at to the conditional characteristic function in (B.29), as obtained in Step 2. If , the conditional endpoint distribution is continuous at . Indeed,
and the latter event has probability zero by assumption.
Applying the inversion formula of Gil-Pelaez [GP51, p. 481] to the conditional characteristic function in (B.29), and taking the complementary probability at , gives
Substituting (B.29) into this expression yields
Notice that the survival probability does not change as we integrate over . Here it is a positive real number, so we can take its reciprocal outside both the imaginary part and the integral:
Multiplying by , as required by (B.28), gives
Cancelling the common factor in the coefficient of the integral, we obtain
(B.35)
If the survival probability is zero, the daily shortfall probability and the weighted expectation are both zero, so the last expression remains valid without conditioning on a zero-probability event.
Using (17) in Theorem 3, we obtain
For , the same identity holds with by the Dirichlet integral. Substituting this identity and (B.34) into (B.35), and summing over the disjoint events , proves (20).
C Lending pools
In order to compare with our proposed protocol, we present a precise model of lending pools, such as Aave and Compound.
C.1 Tokens, wallets, oracle
First, we assume that there are two base tokens of interest: COL and LIQ, along with the corresponding credit and debit tokens. In addition to these two base tokens, we also introduce corresponding credit-tokens and and debit-tokens and . These tokens and their balances are controlled by the lending pool alone: wallets cannot send them to other wallets.
We partially follow the notation from [BL25].
We let time steps be denoted . The set of participants are a set of wallets W. We abstract away the cryptographic notions behind wallets, and denote the content of a wallet w at time t by
Here, denotes the COL balance, and denotes the LIQ balance; and denote the credits in COL and LIQ, and and denote the debits in COL and LIQ. Credits represent collateral that is deposited into a lending pool, whereas debits track amounts borrowed.
We also define the pool reserves at time t as the vector:
We assume that there exists a price oracle that takes as input a snapshot of the external environment at time (e.g., information from various DEXs and CEXs) and outputs a vector of prices, one for each token:
For a token , we write for the slippage-free exchange rate from the corresponding credit token to the token . Equivalently, is the slippage-free exchange rate from the token to the corresponding credit token . Similarly, is the exchange rate from the debit token to the token , and is the exchange rate from the token to the debit token .
C.2 State
The state of the lending pool at time t is composed of the balances of all the wallets participating in the lending pool, the pool reserve , and the price vector . Assuming that there is a constant number n of wallets participating, then the state at time t is
Following the distinction between wallet balances and pool reserves, we include explicitly in the state, since the pool reserve determines the available liquidity and cannot be replaced by the ordinary token balances held in user wallets.
Initially, all credit- and debit-balances are zero.
C.3 Actions
Next, we describe the actions available to the wallets at each time step. The following actions are available to wallets at time t.
- Deposit: a wallet w sends an amount v of x-token into the pool and receives corresponding -credit-tokens. If the value v is allowed, this results in the following state variable updates:
The corresponding pool-side reserve update is
Observe that this deposit assumes that there is no slippage in converting a token x to its -credit-token.
- Borrow: a wallet w receives v units of x-token from the pool and is assigned a corresponding amount of -debit-token. If the value v is allowed (enough x-token in the pool and wallet has sufficient collateral), this results in the following state variable updates:
The corresponding pool-side reserve update is
- Repay: a wallet w sends v units of x-token and reduces its borrowing balance by the corresponding amount of -debit-token. If the value v is allowed, this results in the following state variable updates:
The corresponding pool-side reserve update is
- Redeem: a wallet w sends units of -credit-token and receives back the corresponding amount of x-token. If the value is allowed, this results in the following state variable updates:
The corresponding pool-side reserve update is
- Liquidate: if the health factor (cf. [BL25]) of a borrower m falls below 1, then a wallet w can liquidate an amount v of m's x-loan and receive a corresponding amount of -credit-tokens from m. This corresponding amount is usually scaled by a factor to incentivize liquidation and dis-incentivize borrowers from not putting enough collateral into the pool. If the value v is allowed, this results in the following state variable updates:
The corresponding pool-side reserve update is
- Sending and receiving: a wallet can send and receive tokens 0 and 1 from another wallet, but cannot send credit- and debit-tokens. The balances are updated correspondingly.
Remark 15 (Blockchain network fees). So far, for simplicity, we have omitted network transaction fees (e.g., gas) that are typically associated with each action taken by a wallet. These fees can be modeled as additive random variables.
C.4 State transitions
We are now in a position to describe how the state evolves from one time to another, subject to the actions of wallets. In addition to the effect of actions on updating state variables, the state transition also keeps track of interest accumulation as follows. For each token x, the lending pool calculates an interest rate from the utilization of the pool reserve. Let
denote the total outstanding debt denominated in units of the base token x at time t. The utilization rate of the pool for token x is then
A central decision-maker (e.g., Chaos Lab for Aave [cha]) determines coefficients and , and sets the interest rate to
The lending pool then updates credit- and debit-balances for every wallet w: