P3 fees & treasury: fee lines, fee-router contract, DIN denomination (P3-5.3)
I maintainer di solito rispondono entro 1 giorno
@robertocarlous ci sta già lavorando.
Dal 21/7/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Part of the P3 mechanism-design push (#36).
Summary
Model owners should pay for the network services they consume, with a slice of every flow sustaining a real treasury. Today only ETH registration/manifest fees exist in DINModelRegistry, withdrawable by owner() — no per-GI service fees, no treasury, no routing.
Scope (from MECHANISM_DESIGN §8)
- Fee lines: model registration fee (open-source vs proprietary tiers, reroute to treasury), manifest update fee, per-GI service fee (one flow with the reward-pool deposit: 95% validator pool / 5% treasury), storage-cost line item (design the routing slot now, hold at 0 until Filecoin migration — RES-1), dispute bond (returned + bounty if upheld, treasury if frivolous)
- Fee-router contract: single router with DAO-settable basis-point split fractions
modelOwner → {validatorPool, treasury, burn, storage}summing to 100%; sane hard bounds only (e.g., treasury cut ≤ 20%). ✅ Resolved (Abraham, 2026-07-21): add apublicGoodsslot to the split ({validatorPool, treasury, burn, storage, publicGoods}) now — it doesn't need to be funded immediately, but the slot needs to exist or it never gets built later. - Denomination: registration fees are ETH today, staking/rewards are DIN. ✅ Resolved as a split, not "DIN for all protocol fees" as previously recommended here (Abraham, 2026-07-21): on-chain protocol fees (registration, manifest updates, staking, rewards) → DIN; validator network fees (model owner → validator, i.e. the per-GI service fee, storage line item, dispute bond) → stay in ETH — model owners already pay gas in ETH, and requiring DIN just to pay validators adds friction the
depositAndMinton-ramp doesn't fully remove. Migration path: DIN params for the protocol-fee lines only, deprecate their ETH variants after one release; the network-fee lines have no ETH-to-DIN migration. The fee router must handle both assets going forward — accepted complexity, not deferred. - Burn policy: ✅ Resolved: burn a fraction of both on-chain protocol fees and validator network fees (dual sources), start at 0%, keep the hook — in addition to the slashed-stake burn share (see #38, #42).
- Dynamic fees: admin/DAO-settable base rate + per-role multipliers; no algorithmic fee logic in 2.0 — parameterize now, automate later
Design sources
MECHANISM_DESIGN §8 · issues/tokenomics.md (fee routing scope) · whitepaper-summary §5 (network fees as validator revenue; quadratic public-goods funding stance)
Roadmap anchors: P3-5.3 (fee mechanism), P3-5.1 (governance hooks), RES-1 (Filecoin storage cost slot)
- Lingua principale
- Python
- Stelle
- 4
- Fork
- 7
- Merge medio
- 3g 58m
- PR unite (30g)
- 39
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di InfiniteZeroFoundation/DevNet
-
dincli: `task model-owner register-request --manifestCID` fails because the registry contract isn't initialisedForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertabug good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
InfiniteZeroFoundation/DevNet#295 ·
I maintainer di solito rispondono entro 1 giorno
-
ROADMAP.md: refresh "What is still open for P3" (several items were fixed in October)Forse già presa @umermjd11 l’ha presa 1 giorno fa. Apertadocumentation good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
InfiniteZeroFoundation/DevNet#285 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
InfiniteZeroFoundation/DevNet#277 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
InfiniteZeroFoundation/DevNet#266 ·
I maintainer di solito rispondono entro 1 giorno
-
Approved documentation
Difficoltà 1/5 1-3 ore Idoneità per principianti 82/100
InfiniteZeroFoundation/DevNet#248 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di InfiniteZeroFoundation/DevNet
Issue simili
-
area/profiles comp/cli P3 type/feature
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
NousResearch/hermes-agent#146372 ·
I maintainer di solito rispondono entro 1 giorno
-
[BUG] OpenAI-compatible embedding model alias breaks embedder constructionForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
-
[oblt-aw][autodoc] Document obs-aw-automerge contract and fix automerge doc inconsistenciesForse già presa @github-actions l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
GeoSeries scale and skew tests fail with pytest 9.2.0Forse già presa @jiayuasu l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
admission-deferred priority: medium status: ready work-class: scoped
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
melodic-software/claude-code-plugins#10887 · 4 commenti ·
I maintainer di solito rispondono entro 1 giorno