@agenticprimitives/contracts 1.0.0-alpha.34 → 1.0.0-alpha.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -66,5 +66,9 @@
|
|
|
66
66
|
"symbol": "SHQ",
|
|
67
67
|
"decimals": 6
|
|
68
68
|
},
|
|
69
|
-
"
|
|
69
|
+
"estateProjectionRegistry": "0xb4E116F5C6915a4f1e649E0877e4a0A7a1c1147b",
|
|
70
|
+
"_estateProjectionNote": "spec 410 §4 / spec 439 F1 (2026-10-13): NEUTRAL GROUND for cross-estate authority projections — no admin, no pause, no upgrade, so whoever deployed it holds nothing over it. Deployed here, beside faithnet and imbnet, because this is the one chain we run; the estate id is keccak256(\"eip155:<chainId>:<governance>\") and is chain-scoped, so the same instance serves estates on other chains unchanged. Registration is first-come-wins: an estate registers itself early and declares its signer where a verifier can cross-check it (ap-federation apps/projector).",
|
|
71
|
+
"_namingNote": "spec 431 (2026-10-06): every typed root is owned by namingServiceAgent (naming.svc, custodied by the town clerk persona) and fronted by its priced subregistry; .impact/.agent are closed. permissionlessSubregistries stay for the names claimed while the roots were open.",
|
|
72
|
+
"_accountsNote": "spec 440 §C / spec 346 §3.8 (2026-10-14): `atl:accounts` (string[] of CAIP-10 ids, one per chain — the ENSIP-9 record ported) registered on ontologyTermRegistry (tx 0x7df4a8823558131a5d19469980f2964dc9d46d9e8b2fd9db79fb3e9c417aec49) and the descriptive atl:AgentName shape moved to v3, 15 props (tx 0x33a2bf5ad850f2bcaa775f5db006a981b5a1cb2a013baecc4260ef433de456e6). No contract redeployed: the resolver already stores string[]. atl:addr stays the root-chain forward record; an owner writes atl:accounts from their Home when they stand on a second chain.",
|
|
73
|
+
"_projectionSignerNote": "spec 439 F2.5 (2026-10-14): `atl:projectionSigner` (address, SA-keyed on agentProfileResolver) registered on ontologyTermRegistry, tx 0x602a45c49bb2803bc8458f89fac5e705a613f75626c75cb1eecc09fac6a8e2be. An estate agent writes the key that anchors its roots on estateProjectionRegistry; a verifier cross-checks signerOf against it (ap-federation apps/door and apps/projector), which closes the registry's first-come-wins gap. Written by the estate agent itself (ap-home scripts/set-projection-signer.mts)."
|
|
70
74
|
}
|
|
@@ -39,11 +39,15 @@ export interface Deployments {
|
|
|
39
39
|
readonly "receiptAnchorRegistry": Address;
|
|
40
40
|
readonly "namingServiceAgent": Address;
|
|
41
41
|
readonly "namingFeeTreasury": Address;
|
|
42
|
+
readonly "estateProjectionRegistry": Address;
|
|
42
43
|
readonly "chainId": number;
|
|
43
44
|
readonly "permissionlessSubregistries": string;
|
|
44
45
|
readonly "pricedSubregistries": string;
|
|
45
46
|
readonly "namingCoin": string;
|
|
47
|
+
readonly "_estateProjectionNote": string;
|
|
46
48
|
readonly "_namingNote": string;
|
|
49
|
+
readonly "_accountsNote": string;
|
|
50
|
+
readonly "_projectionSignerNote": string;
|
|
47
51
|
readonly "deploymentEpoch": string;
|
|
48
52
|
}
|
|
49
53
|
export declare const CONTRACTS: Deployments;
|
|
@@ -68,7 +68,11 @@ export const CONTRACTS = {
|
|
|
68
68
|
"symbol": "SHQ",
|
|
69
69
|
"decimals": 6
|
|
70
70
|
},
|
|
71
|
+
"estateProjectionRegistry": "0xb4E116F5C6915a4f1e649E0877e4a0A7a1c1147b",
|
|
72
|
+
"_estateProjectionNote": "spec 410 §4 / spec 439 F1 (2026-10-13): NEUTRAL GROUND for cross-estate authority projections — no admin, no pause, no upgrade, so whoever deployed it holds nothing over it. Deployed here, beside faithnet and imbnet, because this is the one chain we run; the estate id is keccak256(\"eip155:<chainId>:<governance>\") and is chain-scoped, so the same instance serves estates on other chains unchanged. Registration is first-come-wins: an estate registers itself early and declares its signer where a verifier can cross-check it (ap-federation apps/projector).",
|
|
71
73
|
"_namingNote": "spec 431 (2026-10-06): every typed root is owned by namingServiceAgent (naming.svc, custodied by the town clerk persona) and fronted by its priced subregistry; .impact/.agent are closed. permissionlessSubregistries stay for the names claimed while the roots were open.",
|
|
74
|
+
"_accountsNote": "spec 440 §C / spec 346 §3.8 (2026-10-14): `atl:accounts` (string[] of CAIP-10 ids, one per chain — the ENSIP-9 record ported) registered on ontologyTermRegistry (tx 0x7df4a8823558131a5d19469980f2964dc9d46d9e8b2fd9db79fb3e9c417aec49) and the descriptive atl:AgentName shape moved to v3, 15 props (tx 0x33a2bf5ad850f2bcaa775f5db006a981b5a1cb2a013baecc4260ef433de456e6). No contract redeployed: the resolver already stores string[]. atl:addr stays the root-chain forward record; an owner writes atl:accounts from their Home when they stand on a second chain.",
|
|
75
|
+
"_projectionSignerNote": "spec 439 F2.5 (2026-10-14): `atl:projectionSigner` (address, SA-keyed on agentProfileResolver) registered on ontologyTermRegistry, tx 0x602a45c49bb2803bc8458f89fac5e705a613f75626c75cb1eecc09fac6a8e2be. An estate agent writes the key that anchors its roots on estateProjectionRegistry; a verifier cross-checks signerOf against it (ap-federation apps/door and apps/projector), which closes the registry's first-come-wins gap. Written by the estate agent itself (ap-home scripts/set-projection-signer.mts).",
|
|
72
76
|
"deploymentEpoch": "ep_80afd31afaeacbf9"
|
|
73
77
|
};
|
|
74
78
|
export default CONTRACTS;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agenticprimitives/contracts",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.35",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Solidity contracts + ABIs + flattened sources + per-network deployment addresses for the agenticprimitives stack.",
|
|
6
6
|
"homepage": "https://agenticprimitives.dev",
|
|
@@ -82,9 +82,14 @@
|
|
|
82
82
|
"verify:base-sepolia": "bash scripts/verify-base-sepolia.sh",
|
|
83
83
|
"clean": "rm -rf out cache broadcast dist",
|
|
84
84
|
"deploy:faithchain": "DEPLOY_NETWORK=faithchain forge script script/Deploy.s.sol --rpc-url $FAITHCHAIN_RPC --broadcast --private-key $PRIVATE_KEY",
|
|
85
|
+
"deploy:hopechain": "DEPLOY_NETWORK=hopechain forge script script/Deploy.s.sol --rpc-url $HOPECHAIN_RPC --broadcast --private-key $PRIVATE_KEY",
|
|
85
86
|
"deploy:paymaster:faithchain": "DEPLOY_NETWORK=faithchain forge script script/DeployPaymaster.s.sol --rpc-url $FAITHCHAIN_RPC --broadcast --private-key $PRIVATE_KEY --sig 'run()'",
|
|
87
|
+
"deploy:paymaster:hopechain": "DEPLOY_NETWORK=hopechain forge script script/DeployPaymaster.s.sol --rpc-url $HOPECHAIN_RPC --broadcast --private-key $PRIVATE_KEY --sig 'run()'",
|
|
86
88
|
"deploy:registries:faithchain": "DEPLOY_NETWORK=faithchain forge script script/DeployRegistries.s.sol --rpc-url $FAITHCHAIN_RPC --broadcast --private-key $PRIVATE_KEY --sig 'run()'",
|
|
89
|
+
"deploy:registries:hopechain": "DEPLOY_NETWORK=hopechain forge script script/DeployRegistries.s.sol --rpc-url $HOPECHAIN_RPC --broadcast --private-key $PRIVATE_KEY --sig 'run()'",
|
|
87
90
|
"deploy:payments:faithchain": "DEPLOY_NETWORK=faithchain forge script script/DeployPayments.s.sol --rpc-url $FAITHCHAIN_RPC --broadcast --private-key $PRIVATE_KEY --sig 'run()'",
|
|
88
|
-
"deploy:
|
|
91
|
+
"deploy:payments:hopechain": "DEPLOY_NETWORK=hopechain forge script script/DeployPayments.s.sol --rpc-url $HOPECHAIN_RPC --broadcast --private-key $PRIVATE_KEY --sig 'run()'",
|
|
92
|
+
"deploy:payment-escrow:faithchain": "DEPLOY_NETWORK=faithchain forge script script/DeployPaymentEscrow.s.sol --rpc-url $FAITHCHAIN_RPC --broadcast --private-key $PRIVATE_KEY --sig 'run()'",
|
|
93
|
+
"deploy:payment-escrow:hopechain": "DEPLOY_NETWORK=hopechain forge script script/DeployPaymentEscrow.s.sol --rpc-url $HOPECHAIN_RPC --broadcast --private-key $PRIVATE_KEY --sig 'run()'"
|
|
89
94
|
}
|
|
90
95
|
}
|
|
@@ -45,6 +45,13 @@ library AgentProfilePredicates {
|
|
|
45
45
|
/// projects it to approf:distribution and registry files (ACP registry.json / ARD) are projections.
|
|
46
46
|
bytes32 internal constant ATL_DISTRIBUTION = keccak256("atl:distribution");
|
|
47
47
|
bytes32 internal constant ATL_HOMEPAGE = keccak256("atl:homepage");
|
|
48
|
+
/// `atl:projectionSigner` — spec 439 F2.5: the key an ESTATE AGENT declares as the one that anchors its
|
|
49
|
+
/// estate's roots on neutral ground (`EstateProjectionRegistry.signerOf(estateId)`). Public ground cannot
|
|
50
|
+
/// verify who governs an estate on another chain, so `register` is first-come-wins; this record, written by
|
|
51
|
+
/// the estate agent on ITS OWN chain, is what a verifier cross-checks `signerOf` against. SA-keyed, `address`.
|
|
52
|
+
/// Zero = undeclared (a verifier says so); a mismatch is a refusal. Evidence, never authority.
|
|
53
|
+
bytes32 internal constant ATL_PROJECTION_SIGNER = keccak256("atl:projectionSigner");
|
|
54
|
+
|
|
48
55
|
bytes32 internal constant ATL_AVATAR = keccak256("atl:avatar");
|
|
49
56
|
bytes32 internal constant ATL_PROFILE_SCHEMA_URI = keccak256("atl:profileSchemaURI");
|
|
50
57
|
bytes32 internal constant ATL_PROFILE_ACTIVE = keccak256("atl:profileActive");
|
|
@@ -51,6 +51,14 @@ library AgentNamePredicates {
|
|
|
51
51
|
/// CustodyPolicy module. `address`.
|
|
52
52
|
bytes32 internal constant ATL_CUSTODY_POLICY = keccak256("atl:custodyPolicy");
|
|
53
53
|
|
|
54
|
+
/// `atl:accounts` — the name's accounts BY CHAIN (ap-federation spec 440 §C / spec 346 §3.8; the ENSIP-9
|
|
55
|
+
/// multi-coin `addr(node, coinType)` ported): a `string[]` of CAIP-10 ids, at most one per CAIP-2 chain,
|
|
56
|
+
/// written by the name owner. `atl:addr` stays the root-chain forward record and `atl:nativeId` the home
|
|
57
|
+
/// account; this lists every account the name resolves to, home and satellites, so a reader on another
|
|
58
|
+
/// chain finds the account that stands there. A reverse claim on that chain is honoured only when the
|
|
59
|
+
/// entry here agrees (ENSIP-19's rule). Evidence a reader checks, never authority.
|
|
60
|
+
bytes32 internal constant ATL_ACCOUNTS = keccak256("atl:accounts");
|
|
61
|
+
|
|
54
62
|
/// `atl:nativeId` — CAIP-10 chain-agnostic account identifier
|
|
55
63
|
/// (per ADR-0008). `string`.
|
|
56
64
|
bytes32 internal constant ATL_NATIVE_ID = keccak256("atl:nativeId");
|