Skip to content

Commit f4859a7

Browse files
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

34 files changed

+1056
-111
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"_format": "hh-sol-dbg-1",
3-
"buildInfo": "..\\..\\..\\build-info\\713a550cb2fb9e77d8044a308356834d.json"
3+
"buildInfo": "..\\..\\..\\build-info\\c883fd92018769a6b11683781b8ba6b9.json"
44
}

artifacts/contracts/bridge/InferenceProviderBridge.sol/InferenceProviderBridge.json

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"_format": "hh-sol-dbg-1",
3-
"buildInfo": "..\\..\\..\\build-info\\713a550cb2fb9e77d8044a308356834d.json"
3+
"buildInfo": "..\\..\\..\\build-info\\c883fd92018769a6b11683781b8ba6b9.json"
44
}

artifacts/contracts/bridge/InferenceProviderFactory.sol/InferenceProviderFactory.json

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"_format": "hh-sol-dbg-1",
3-
"buildInfo": "..\\..\\..\\build-info\\713a550cb2fb9e77d8044a308356834d.json"
3+
"buildInfo": "..\\..\\..\\build-info\\c883fd92018769a6b11683781b8ba6b9.json"
44
}

artifacts/contracts/core/ForcedErrorRegistry.sol/ForcedErrorRegistry.json

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"_format": "hh-sol-dbg-1",
3-
"buildInfo": "..\\..\\..\\build-info\\713a550cb2fb9e77d8044a308356834d.json"
3+
"buildInfo": "..\\..\\..\\build-info\\c883fd92018769a6b11683781b8ba6b9.json"
44
}

artifacts/contracts/core/ModelShardRegistry.sol/ModelShardRegistry.json

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"_format": "hh-sol-dbg-1",
3-
"buildInfo": "..\\..\\..\\build-info\\713a550cb2fb9e77d8044a308356834d.json"
3+
"buildInfo": "..\\..\\..\\build-info\\c883fd92018769a6b11683781b8ba6b9.json"
44
}

artifacts/contracts/core/ParticipantStaking.sol/ParticipantStaking.json

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)