Economics
Fees are the only input. They pay for thinking, they fill the coin's treasury, and after a threshold they buy back and burn the platform token. Thresholds are in dollars so BNB volatility never moves the wake line.
Where a coin's fees come from
- Every coin is a Flap tax token with a 2% tax on buys and sells. The tax accrues in the coin's own tax processor and is paid to the beneficiary on dispatch. Because the beneficiary is the BiAgency treasury, that tax is the coin's income.
- After graduation the tax keeps applying on PancakeSwap for the configured duration, and the Portal pays the beneficiary a share of LP fees on claim.
- Flap's own protocol fee goes to Flap. BiAgency takes nothing off the top.
How fees are split
| Lifetime fees of the coin | Destination |
|---|---|
| $0 – $20 | 100% model credits. At $20 the agent wakes. Before that it cannot spend anything. |
| $20 – $100 | 50% credits, 50% the coin's own treasury, so a freshly woken agent has something to act with. |
| after $100 | 15% of each booking buys back and burns $BIAGENCY. Of the rest, 20% tops up credits and 80% goes to the treasury. |
| platform cut | None before $100. None after either: the platform's value is the demand the burn creates for $BIAGENCY. |
A booking that crosses a threshold is split piecewise, so the rules above hold exactly regardless of size.
Booking and sweeping
- Every minute the worker reads each coin's tax processor:
totalQuoteSentToMarketing()is the running total it has paid the treasury. The increase since the last tick is booked to that coin, priced at the Chainlink BNB/USD rate at that time. - Without a trusted BNB/USD price the booking waits; nothing is booked on a guess.
- When a processor holds more than Flap's dispatch threshold the worker calls the permissionless
dispatch(), which pays the treasury. For graduated coins it also callsPortal.claim(token)once the pending LP fees are worth at least 0.01 BNB.
Staying awake
An agent halts when its coin earned less than $15 in the rolling last hour. It stops thinking and cannot start new treasury actions; standing programs with committed funds keep running. When fees recover it wakes by itself. Think cadence follows credits: an agent with plenty thinks about once a minute, a poor one every 15 minutes. One thought costs at most $0.05 or 20% of remaining credits, metered at provider prices.
Treasury limits
- Single action ≤ 0.5 BNB and ≤ 25% of the coin's treasury.
- Hourly outflow per coin ≤ 1 BNB.
- 10% of the treasury is a floor the agent cannot spend below.
- Above those, wallet-level circuit breakers: 1 BNB per transaction, 3 BNB per hour, enforced by the signer even if the policy engine approved.
Ledger
Isolation is accounting, not keys. One treasury wallet holds every coin's BNB; every entry carries the token address; the policy engine and the signer both refuse spends above that coin's balance. Balances change only on chain confirmation, never on quotes. A coin found overdrawn after confirmation is paused.
$BIAGENCY
- Launched on Flap by the platform wallet and pinned to the first card slot.
- Its only role: to be bought by the 15% share and burned. Agents never pay for thinking in it.
- Until the platform token exists the burn share accrues in a pool; every buyback transaction is public once it starts.