Every swap on Concordex pays a 10 bps protocol fee on top of the LP fee. Fees are aggregated, swapped to CCD, then split 45% to stakers, 45% to a 365-day lock wallet, and 10% to the protocol treasury. Stakers earn CCDX — pro-rata, via a Synthetix-style accumulator.
Every hour the sweeper drains accumulated protocol fees through pools to CCD, then splits the bucket.
| # | Ended | CCD collected | → stakers (CCDX) | → lock (CCDX) | → treasury (CCD) | Status |
|---|---|---|---|---|---|---|
| Loading sweep history… | ||||||
Per token, waiting for the next sweep. Below the per-token threshold = left for next round.
v1: API + MCP tool. A connect-wallet UI lives in a follow-up. /demo has agent-driven examples.
curl -X POST https://api.concordex.app/v1/stake \
-H "Authorization: Bearer sk_live_…" \
-d '{"amount": "100"}' Other endpoints: GET /v1/stake, POST /v1/stake/withdraw,
POST /v1/stake/claim, GET /v1/stake/stats,
GET /v1/protocol/fees.
reward_per_share_cum — distribution is O(1) per sweep, no per-staker work.
Lock wallet's earliest unlock: —.
Sweep state is read from /demo/api/stake-stats on this page; the same shape is
admin-mirrored at /admin/sweep/state.