Commit f4859a7
committed
feat: remove deployer privilege from RPB — DAO is sole authority
RPB.sol no longer inherits Ownable. The deployer has zero privilege after
deployment; all governance flows through the DAO (timelock). No initial
token supply is minted — ATN emerges from training rewards funded by
investor share purchases.
Changes:
- Remove Ownable import/inheritance, INITIAL_SUPPLY, deployer mint
- Add onlyDAO modifier, replace all owner() checks with dao
- Add onlyOperator for high-frequency ops (training, inference, epochs)
- Constitution governed by onlyDAO, not onlyOwner
- RPBFactory no longer calls transferOwnership
- Wire sponsor-side RPB inference (Path A) with no-chaining guard
- Add LLM backbone encoder for JEPA training
- TextJEPA VICReg + alignment-weighted FedAvg merge
- P2P inference handler, training feed constitution injection
- Integration test: 7 tests covering full training loop
301 Hardhat tests passing, 0 failing.1 parent f950025 commit f4859a7
File tree
34 files changed
+1056
-111
lines changed- artifacts/contracts
- bridge
- InferenceProviderBridge.sol
- InferenceProviderFactory.sol
- core
- ForcedErrorRegistry.sol
- ModelShardRegistry.sol
- ParticipantStaking.sol
- ResultsRewards.sol
- TaskContract.sol
- atn
- providers
- runtime
- cache
- contracts/core
- nodes
- aggregator
- common
- tests
34 files changed
+1056
-111
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.
0 commit comments