Worked Examples
Both examples use the exact converted BNB FDV, its 2% per-address cap, and a 50% raise share. Amounts marked approximately are rounded for readability. All settlement arithmetic uses integer wei.
Converted FDV: 8.9749059457782259 BNB. The 2% cap is 0.179498118915564518 BNB; a 50% raise targets 4.48745297288911295 BNB. Shorter figures elsewhere are display approximations. Use the full integer values in Parameters & Constants for settlement.
Example 1 — Mixed Deposits, Iterative Path
Input: 5 addresses each credit 0.258568307282576374 BNB; 45 addresses each credit 0.103427322913030549 BNB. These are the reference conversions of the previous example deposits, floored to wei.
Total deposits are approximately 5.947071067 BNB. Reachable demand is approximately 5.551720126 BNB, above the target of approximately 4.487452973 BNB, so the round clears.
- A single global scale would place the five larger deposits above the cap, so each is pinned at 0.179498118915564518 BNB.
- The remaining target is 3.58996237831129036 BNB across the 45 smaller addresses.
- Recompute k = (V_target − 5 × A_max) / (45 × z_small) ≈ 0.7713333333. The small addresses are below the cap; the loop has converged.
Fig. 04 · The five large addresses reach the cap. The smaller addresses receive proportional fills; displayed values are rounded.
| Group | Deposit BNB (≈) | Contribution BNB (≈) | Refund BNB (≈) |
|---|---|---|---|
| 5 large addresses | 0.258568307 | 0.179498119 | 0.079070188 |
| 45 small addresses | 0.103427323 | 0.079776942 | 0.023650381 |
The small-address fill before residual distribution is 79776941740250896 wei each. The remaining 40 wei are assigned one each to the first 40 smaller addresses in ascending address order. Refunds use each address’s resulting exact fill; therefore total contributions equal 4487452972889112950 wei exactly.
Example 2 — The Address-Count Boundary
Every address deposits the same 0.258568307282576374 BNB, above the cap. Even 24 such deposits exceed the uncapped funding target, but their capped reachable demand does not.
Fig. 05 · Reachable demand equals the address count times the cap. The 26-address case allocates proportionally across all equal deposits, not to a special marginal wallet.
| Addresses | Reachable BNB, exact | Outcome |
|---|---|---|
| 24 | 4.307954853973548432 | SEATS failure. All credited BNB refunded; no LP. |
| 25 | 4.48745297288911295 | Clears exactly. Every address contributes the cap. |
| 26 | 4.666951091804677468 | Clears. All 26 receive proportional fills below the cap; each receives a refund. |
With 26 equal deposits, floor(V_target / 26) = 172594345111119728 wei per address, then distribute the remaining 22 wei by ascending address order. Fills differ by at most 1 wei. There is no special 26th participant with an ordering advantage.
No extra buffer is required to clear. The cap and target derive from the same exact FDV, so 25 × A_max = V_target for a 50% raise.