Scenario calculator
Every term on a FlashBank loan is fixed when it's created — so the outcome is knowable up front. Drag the sliders to model a deal, then move the market rate (the one thing that genuinely floats) to see who comes out ahead. Nothing here touches a wallet or the chain.
The deal (fixed at creation)
= 30 fpUSD · a single fee, not interest
Frozen at creation — never an oracle.
The lender takes just enough to cover the 1030 fpUSD debt at the agreed rate: 1030 ÷ 500 = 2.06 fpETH. The other 0.94 fpETH was pledged on top of what you borrowed, so it goes back.
What if the market moves?
The contract never reads a price — but the real market rate still decides whether the borrower would rather repay or walk away at the deadline. Drag it and watch the decision flip at the break-even point.
Break-even ≈ 500 fpUSD / fpETH (where repaying and walking away cost the same).
A rational borrower repays
At 620 fpUSD/fpETH the pledged collateral is worth 1,860 fpUSD — more than the 1,030 fpUSD owed, so it's cheaper to repay and keep it. The lender simply earns the 30 fpUSD fee.