- Lenders earn more than they would in the underlying pool.
- Borrowers pay less than they would in the pool.
- No value is lost to intermediaries.
P2P Rate Calculation
When a borrower is matched with a lender, the interest rate they pay is determined by the P2P rate, which is derived from the current APYs of the selected optimiser’s underlying protocol. The P2P rate is calculated as a weighted average of the supply and borrow APYs from the underlying pool:- APYborrow is the borrow rate in the underlying protocol.
- APYsupply is the supply rate in the underlying protocol.
- α (alpha) is the weight parameter, typically set to 0.5, making it an even average.
- The borrower pays less than they would if borrowing directly from the pool.
- The lender earns more than they would by lending directly into the pool.
Example
Suppose in the underlying protocol:- Borrow APY = 15%
- Supply APY = 8%
- The borrower pays 11.5%, which is 3.5% lower than the original 15%.
- The lender earns 11.5%, which is 3.5% higher than the original 8%.
Per-Block Interest Accrual
Interest in Paystream is calculated per block, rather than per second or per epoch. This allows for more accurate and real-time tracking of both borrower debt and lender yield. It also enables granular control over positions, especially useful in dynamic Solana environments where block times are fast and continuous. The per-block model ensures that:- Lenders are fairly compensated for the exact amount of time their capital is deployed.
- Borrowers only pay interest for the actual time they’ve held the funds.
Average APY for Lenders
Lenders may not always have 100% of their capital matched P2P at all times. A portion of their funds may remain in the underlying protocol while waiting for a match. As such, the yield a lender earns is the weighted average of:- The P2P APY (for matched funds), and
- The fallback supply APY from the underlying protocol (for unmatched funds), i.e, either LLP pool or fallback pools
- 60% of a lender’s capital is matched P2P at 11.5% APY
- 40% is earning a fallback yield in the pool at 8% APY
Full Capital Utilisation
Paystream’s P2P matching model allows for 100% capital utilisation when a lender is matched. Unlike pool-based systems, where idle capital often sits unused, Paystream ensures that every dollar matched P2P is actively generating yield. In Paystream:- Matched funds are immediately deployed to borrowers.
- Unmatched funds earn base yield in the fallback protocol until needed.
- As soon as borrower demand appears, those funds are redirected for higher-yield P2P use.