Skip to content

wiki: DIN-Representative page describes the old CLI (dindao) and pre-P3 contracts #207

Description

@umeradl

Summary

Found while reviewing PR No. 204 (verification comment). The public wiki's DIN-Representative page describes an older CLI and older contracts. PR No. 204 refreshes the repo-side docs (Documentation/public/roles/dinrep.md); the wiki page needs the same pass once that merges.

What's out of date

Wiki text Current state
dincli dindao add-slasher, dincli dindao registry approve-model / reject-model / … The CLI group is dincli dinrep, and the commands are approve-registration-request, reject-registration-request, approve-manifest-update, reject-manifest-update, …
"DIN DAO command reference" → Documentation/public/roles/dindao.md That file doesn't exist. The page is roles/dinrep.md
"Deploys the platform contracts (DinCoordinator → DinValidatorStake → DinModelRegistry)" There are seven proxies (adding DinTreasury, DinToken, DinFeeRouter and DinEmission), deployed by foundry/script/DeployPlatform.s.sol and then dincli system import-deployments
"administers … treasury withdrawals"; "Accumulated fees are withdrawable" DinCoordinator.withdraw() is gone. Faucet and registry ETH go to DinFeeRouter via sweep-fees
"a single transferable admin (set-admin)" There is no set-admin command. Ownership is transferOwnership on each contract
"Cannot mint DIN at will — minting is bound to depositAndMint()" DinCoordinator.mintEmission() also mints, via DinEmission, under mintCap. The owner sets dinPerEth, mintCap and retireFaucet
"by design it evolves into the DIN-DAO" On-chain DIN-DAO governance is deferred to post-mainnet (DD-3)
Kill switch: "downstream contracts check the flag before executing tasks" The task contracts don't read modelDisabled. Disabling only blocks manifest updates

Fix

Rewrite the page against roles/dinrep.md as merged in PR No. 204. Keep the wiki conventions: links to blob/develop/..., no assignee names or week-level dates.

Related

PR No. 204, issue No. 203.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions