LossbackFactory
Creates Flap-compatible tokens with standardized fee routing, launch parameters and protocol registration.
Lossback Protocol launches tokens through Flap with a custom factory, captures trading fees, ranks holder losses every hour, and redistributes the pool to the top 10 loss-ranked wallets.
The protocol turns trading activity into a recurring lossback stream: fees enter the vault, an epoch closes, losses are ranked, and the payout goes to the wallets carrying the deepest drawdown.
Buy and sell flow routes a configured fee into the Lossback vault.
The distributor freezes the hourly pool and reads the latest eligible holder set.
Tracked cost basis and current value produce the loss leaderboard.
The hourly fee pool is distributed proportionally across the highest-loss active holders.
Each component has one job. The factory standardizes launches, the token captures fees, the vault holds value, and the distributor executes hourly lossback.
Creates Flap-compatible tokens with standardized fee routing, launch parameters and protocol registration.
BEP-20 token module that routes trading fees to the vault and emits the events used by the loss engine.
Custodies BNB, WBNB or the configured payout asset until the authorized distributor closes an epoch.
Executes ranked payouts, rolls empty epochs forward and exposes public epoch state for verification.
Every epoch calculates eligible wallets, ranks tracked loss and pays the top 10 proportionally. Minimum balance and hold-time filters reduce dust-wallet farming.
// Production epoch logic hourlyPool = feesCollected(epoch) eligible = holders.filter(balance > minBalance && holdTime > minHold) ranked = sortByTrackedLossDesc(eligible) winners = ranked.slice(0, 10) for holder in winners: weight = holder.loss / sum(winners.loss) payout = hourlyPool * weight
| Parameter | Live value |
|---|---|
| Epoch cadence | 1 hour |
| Winner set | Top 10 loss-ranked holders |
| Loss metric | Cost basis vs current value |
| Anti-sybil | Minimum size + minimum hold time |
| Empty epoch | Pool rolls forward |
Use this section as the protocol map: launch path, modules, payout rules and holder-facing behavior.
Lossback Protocol captures token fees and redistributes them hourly to the holders with the largest tracked losses. The system makes downside participation visible and turns holder pain into an on-chain reward loop.
Projects launch through the LossbackFactory, which configures token parameters, fee routing, vault custody and distributor permissions before the token enters the Flap launch path.
The stack is split into LossbackFactory, LossbackToken, FeeVault, HourlyDistributor and the loss indexer/proof engine. This keeps launches standardized while allowing each module to be monitored independently.
No. Holder balances are not rebased. The protocol distributes accumulated fees to eligible wallets.
The top 10 eligible holders by tracked loss receive the hourly pool, weighted by each wallet's loss share.
Minimum balance, minimum hold-time and wallet-behavior filters reduce sybil and dust-wallet abuse.
The epoch closes with no payout and the pool rolls forward to the next distribution window.
Lossback gives every Flap-launched token a fee stream that rewards the holders who stayed through the deepest drawdown.