Timeswap connects oracleless lending and borrowing through fixed-term pools

Timeswap is a lending and borrowing protocol that uses fixed-term ERC-20 pools without price oracles. Lenders lock in an interest rate when they open a position, while borrowers obtain assets against collateral. Liquidity providers support both sides through an automated market maker. Loans avoid price-triggered liquidation, although borrowers forfeit collateral if they don't repay before maturity. Early exits remain possible, subject to the pool's conditions and potential slippage.

Lenders, borrowers and liquidity providers share a market

A lending pool brings together participants with different claims on its assets, and liquidity providers connect the fixed interest set for lenders with the interest that borrowers pay.

Lending capital

Lenders supply an asset to the pool in exchange for a position with a fixed interest rate. Their deposits help fund borrowing. The position establishes a claim whose eventual settlement also depends on borrower repayment, so its interest rate alone doesn't describe the full exposure.

Borrowing against collateral

Borrowers lock collateral and receive the pool's borrowable asset. Their interest commitment forms part of the collateral arrangement at entry. The loan has a defined endpoint, giving the borrower a choice between repaying before that pool's maturity and forfeiting the collateral.

Liquidity provision

Liquidity providers, or LPs, act as counterparties to both lenders and borrowers. They earn transaction fees for supporting these interactions. Their returns vary with market activity and the interest spread, which makes providing liquidity a different position from simply lending at a fixed rate.

The AMM discovers interest rates without a price feed

The automated market maker, or AMM, prices lending and borrowing through its reserves and remaining time to maturity. Participants express their willingness to lend or borrow through transactions that change those reserves. Timeswap operates without price oracles. Pricing and risk assessment therefore rest with market participants.

Its design combines a constant-sum relationship between the paired assets with a constant-product relationship that discovers interest rates. Lending adds available assets and reduces the interest reserve, lowering the rate for subsequent positions. Borrowing removes available assets and increases the interest reserve, raising that rate. LP additions preserve the rate when they maintain the required reserve ratio.

Illustration: Timeswap - The AMM discovers interest rates without a price feed
The AMM discovers interest rates without a price feed, illustrated

View image file

Asset pairs and transition prices distinguish pools

A token pair, transition price and maturity together identify a pool. The same pair can therefore support separate markets with different collateral terms or expiry times. Comparing only the token names misses those differences. A pool's remaining duration also matters because its maturity fixes the endpoint for positions opened within it.

The transition price defines the ratio between the two assets for collateral and borrowing. Its relationship with the external spot price influences which asset serves as collateral and which serves as the borrowable asset. The design uses these market states and arbitrage to support overcollateralised lending. The transition price also helps explain when repayment becomes economically attractive to borrowers; it doesn't compel every borrower to repay.

A changing pool quote leaves an existing fixed rate intact

In this hypothetical example, a lender has supplied 1,000 USDC at a net annual percentage rate (APR) of 10%. Additional lending lowers the net quote for a new 1,000 USDC position to a hypothetical 5%, while the original position remains open.

The extra lending changes the AMM's reserves. A later entrant therefore faces different entry terms, while the original lender retains the rate fixed when their position opened. Both positions share the pool's maturity, yet their locked-in rates differ. The annual equivalents are 1,000 × 0.10 = 100 USDC of net interest for the original position and 1,000 × 0.05 = 50 USDC for the new one. Each position's actual maturity interest depends on its term from entry, and full settlement in USDC assumes borrowers repay.

This comparison assumes the original position remains open. An early exit introduces its own pricing conditions, and the fixed rate doesn't determine the eventual market value of settlement assets.

Early exits depend on liquidity and exit pricing

Fixed-term positions can support an exit before maturity, but the amount recovered or repaid depends on that exit's terms. Early withdrawal may involve slippage. A lender closing early therefore can't treat the full maturity interest as an immediately withdrawable balance.

Borrowing costs on an early close aren't simply a prorated share of the original interest. Time spent borrowing, the relationship between entry and exit rates and available liquidity all affect the closing amount. Repayment before maturity unlocks the collateral under those terms. LP withdrawals also require available pool liquidity; an LP may have to wait until maturity to recover principal that isn't available for early withdrawal.

Collateral risk differs across the pool's participants

Non-liquidatable loans remove price-triggered liquidation during the term, while collateral forfeiture and settlement-asset risk remain. These consequences affect borrowers, lenders and LPs differently.

Borrower collateral

Borrowers forfeit locked collateral if they fail to repay before pool maturity. A falling collateral price doesn't trigger the usual liquidation process, and it doesn't extend the repayment window.

Lender settlement

Lenders receive the supplied asset when borrowers repay and collateral when borrowers default. Settlement reflects borrowers' aggregate decisions, so repayment and default can produce a mixture of assets. The collateral's market value can fall even though the lending rate remains fixed. A fixed contractual return therefore doesn't establish a fixed value in another currency.

LP interest exposure

LPs also face settlement in collateral when borrowers default. Separately, changes in interest rates can create divergence loss on the interest component of their liquidity position. That interest-spread exposure is distinct from default exposure, and transaction-fee income doesn't remove it.

Permissionless markets still need liquidity and specific terms

Permissionless creation lets users establish markets for ERC-20 token pairs. The first liquidity provider sets the pool's initial parameters and supplies its starting liquidity.

That capability doesn't mean every token already has a usable market. A particular borrowing or lending opportunity requires a pool with the relevant assets, remaining term and available liquidity.

Each pool isolates its lending and borrowing exposure from other pools. That separation contains pool-specific outcomes without eliminating exposure to the tokens within the selected market. Shared asset price movements can still affect positions held across separate pools.

Deployed pool contracts are immutable. Their immutability is separate from protocol-level controls over matters such as fee switches and token distribution. For a position, the relevant terms remain those of its selected pool, rather than a rate or maturity drawn from another market.

Timeswap: what people ask

What does a lending APR measure?

A lending APR expresses interest on an annualised basis, rather than the total return for every pool term. A position with less than a year remaining doesn't earn a full year's interest simply because its quote uses APR. The pool's remaining duration determines the relevant term, while an early exit has separate pricing conditions.

Can a lending receipt serve as collateral for another Timeswap loan?

The protocol doesn't accept its ERC-1155 lending receipt as collateral for another loan. The receipt, called a Bond Token, represents a lending claim rather than an ERC-20 collateral asset. Holding that claim doesn't turn it into an eligible underlying token for the protocol's borrowing pools.

Why can closing a lending position require an NFT approval?

Closing a lending position requires the contract to access the ERC-1155 receipt that represents the claim. The contract burns that Bond Token when it closes the position. An approval for the protocol's position collection concerns that collection; it doesn't grant access to unrelated NFT collections. The requested collection and operator determine the scope of the permission.

Are both assets in a pool borrowable at the same time?

Only one of the paired assets serves as the borrowable asset in a given pool state. Which asset fills that role depends on the relationship between the spot price and the transition price. The roles can change as that relationship changes, so a pair's name alone doesn't establish which asset the pool makes available to borrow.

Has the TIME premine ended?

The TIME premine ended in January 2025, after running from October 2023. It was an incentive program for lenders, borrowers and liquidity providers. Historical premine rewards are separate from the interest generated by lending and borrowing, so an old premine rewards APR doesn't describe a pool's lending rate.

Which networks have documented Timeswap deployments?

Documented deployments include Arbitrum, Mantle, Polygon PoS, Polygon zkEVM and Base. This list doesn't establish that every asset pair has a funded pool on each network, or that a particular maturity remains open. Network support and an available borrowing or lending market are separate conditions.

Updated ·