0.05% on profits only. Losers pay nothing. This is the closest thing to justice a financial protocol can offer. The tax falls only on those who have something to be taxed. The rest are left alone with their losses, which is kindness of a sort. Five basis points — barely a touch, the smallest tax mathematics permits before disappearing entirely.Documentation Index
Fetch the complete documentation index at: https://docs.generalmarket.io/llms.txt
Use this file to discover all available pages before exploring further.
Fee Summary
| What | Amount |
|---|---|
| Fee rate | 0.05% on profits only |
| Losers pay | Nothing |
| Min stake | 0.1 USDC per tick |
Fee Constants
| Parameter | Value |
|---|---|
| Fee rate | 0.05% (5 basis points) |
| Denominator | 10,000 |
| Applied to | Profits only (winnings above your deposit) |
| Losers pay | Nothing |
Fee Formula
When a player claims rewards and their new balance exceeds their old balance, the protocol takes its share. The arithmetic is clean. Five basis points, applied to profits, never to principal:Worked Example
A player has a current balance of 100 USDC and wins 20 USDC across several ticks. Here is what the protocol keeps and what the player receives — the small toll exacted on fortune:Fees are calculated in USDC with 6 decimal places. The integer division means sub-cent amounts are truncated (rounded down), slightly favoring the player. Even the rounding errors are merciful.
When Fees Apply
Fees appear at two moments: when you claim your winnings, and when you leave. Both are moments of accounting — the protocol tallies what you earned and takes its fraction. Only its fraction. Never more.On Claim
When a player callsclaimRewards, the fee is computed on the difference between the old and new balance:
newBalance <= oldBalance, the player lost money over the claim period. No fee is charged, and no USDC is transferred.
On Withdrawal
When a player callswithdraw to exit a batch, the fee is computed on total profit over the lifetime of the position:
Withdrawal Example
A player deposited 500 USDC total over time. Their final balance is 650 USDC:Losers Pay Nothing
If a player’s balance decreases over a tick (or over their entire position lifetime), no fee is charged. The fee only applies to positive winnings. Loss is its own punishment. The protocol does not add to it.- If you deposit 100 USDC and your balance drops to 80 USDC, you withdraw 80 USDC with no fee.
- If you deposit 100 USDC, it goes to 50 USDC, then recovers to 110 USDC, you only pay fees on the 10 USDC profit when you claim or withdraw.
Minimum Stake
To join a batch, the player’sstakePerTick must be at least MIN_STAKE_PER_TICK. Ten cents. The price of admission to a prediction market. The price of having an opinion and backing it with something other than words:
| Parameter | Value |
|---|---|
| Minimum stake per tick | 100,000 (0.1 USDC) |
| USDC decimals | 6 |
| Minimum deposit | Must be >= stakePerTick |
Fee Collection
Accumulated fees are held in the Vision contract until the designatedfeeCollector address calls collectFees. The fees sit there, accruing, waiting — the protocol’s quiet tax on the perpetual optimism of its participants:
- Only the
feeCollector(set at contract deployment) can withdraw accumulated fees. - Fees are transferred as a lump sum, resetting the
accumulatedFeescounter to zero.