@agenticprimitives/contracts 1.0.0-alpha.34 → 1.0.0-alpha.36

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
- "_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."
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 impact-agent, 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
  }
@@ -0,0 +1,57 @@
1
+ {
2
+ "agentAccountFactory": "0x73A7B878168b7DE48677617179A8bE894f0Dfe96",
3
+ "agentAccountImplementation": "0xd39E59385e3380EEa10F06F55BA372d6085A21d4",
4
+ "agentNameRegistry": "0x60c7a6b34217da304b75cf72C73269625900318c",
5
+ "agentNameResolver": "0x0E22171844ba88B4e572B33E60E82e0B762301CF",
6
+ "agentNameUniversalResolver": "0xe3Bf0C39B082C4DE81a919eAaA45A7f3FB19447e",
7
+ "agentProfileResolver": "0x89Ab6eB35e0C7c7B91eAaCbe1A0f42e00B5d2C9d",
8
+ "agentRelationship": "0xeBe1247403fB8e82f0cBb70D158AE38f627174A2",
9
+ "agenticGovernance": "0x783e095F5f020ddd552B453103d74DAf6144C700",
10
+ "agreementRegistry": "0x733Aa1F5D43E561B64b109af2864dD9A80e3c91F",
11
+ "allowedMethodsEnforcer": "0x8759c1a6cEBF1D5069e9434EF46327Bf2ef69975",
12
+ "allowedTargetsEnforcer": "0xdBb2E47793393C499efB0f3fcbf6Ca8669791a41",
13
+ "approvedHashRegistry": "0x464eEe7518c3c97DA570592481329E0627E9a3B8",
14
+ "attestationRegistry": "0x2D5EFeeB87f60244530e0a1ed420755090295cC4",
15
+ "callDataHashEnforcer": "0x9bF556A36F3dF3972E355dE4215476Dc268bD0C7",
16
+ "chainId": 34349,
17
+ "contractsGeneration": 3,
18
+ "custodyPolicy": "0xfb3662Ddc308FAc977A1F663948A447055722d3B",
19
+ "delegationManager": "0x710cb1bF08C234Df397e0910331e0A29710EF4F7",
20
+ "deployer": "0x1fcd93189311bedE20a02592cC83f31199A303bF",
21
+ "digestBindingEnforcer": "0x5FfDd6186C1bBc4628187B1c4C1fDaA39F870d43",
22
+ "entryPoint": "0xf7855250B3363AB7649B10957d8908A9AFcdD4B5",
23
+ "estateProjectionRegistry": "0xF47F9a22fFFab9F5aB9b58131B94990eB2829B78",
24
+ "geoFeatureRegistry": "0x1791316684f08ca7158c639C528980d780B47051",
25
+ "mockUsdc": "0xBd19d53981677357052EF9768B70929217a6F1F0",
26
+ "ontologyTermRegistry": "0xF343054e046A4145ccae499ECB28197394eE0798",
27
+ "payloadClassesEnforcer": "0x07fA0aE59FdE4B7ce8962d6fE7a1d648ec3DD5CE",
28
+ "paymentEnforcer": "0xeDd56f500325D4701B9985A34e5Fa6EED6716137",
29
+ "paymentReceiptRegistry": "0xbd93fEC6910ffD74F14709188b5a9B6C6965b2a7",
30
+ "permissionlessSubregistries": {
31
+ "church": "0x5eA2Bd3986f1924764d145515C3680fAbaaBbE6a",
32
+ "circle": "0x57Db73fA77C19601f5dCdeB79de40aAE9C505892",
33
+ "me": "0xd864CBD9d5c3F3d859e8Ab2d691C3694E73ab23f",
34
+ "org": "0xB720087dA4659bd1039eef838022B68e17EB9be5",
35
+ "registry": "0x7fd5e2A3a49c321a4CEd39bE403eCde2Fc1CB823",
36
+ "svc": "0x833aAD7bBAE7b6C250F837e8CBD2022Cf42ae58e",
37
+ "team": "0x5b580E741DBb4f57F6D885dF2c12F4e0B53B6f50",
38
+ "treasury": "0x1a960E5E2A533F37345a643552584be142A511b5",
39
+ "workspace": "0xfD07A5A28A4e430ee6ca4Cd825451CB4FF81DCF7"
40
+ },
41
+ "permissionlessSubregistry": "0xa91c1ff07b79460d8a763aed3C882ACDB2cB3719",
42
+ "permissionlessSubregistryDemoAgent": "0x0222388C3F9612058fb1bB2A9760c470DbD2121b",
43
+ "quorumEnforcer": "0xdaE09066A2cc32f6203605619137dcF01A9B49Ae",
44
+ "relationshipTypeRegistry": "0xA14afaE192596CE0B1Eb86C583d1EEC62f246999",
45
+ "relaxedT4Floor": false,
46
+ "shapeRegistry": "0xBC6DA292843500cEd8D4DF3ECbD690f8cf25E46b",
47
+ "skillDefinitionRegistry": "0xad31CAE8A5805DD03608f0292bE6F70074f10909",
48
+ "smartAgentPaymaster": "0x60E949D52660A9D4143ecB0fdA56c0457f20aED9",
49
+ "timestampEnforcer": "0x2156311097A936de1916a878bF53Bfd43c7b5715",
50
+ "treasurySpendPolicy": "0xC6a4983bC6649f7C46c9E7d83f1Cd7e9078AFc7b",
51
+ "universalSignatureValidator": "0xa5855906C0De3813E74BEe201973071e0c844115",
52
+ "valueEnforcer": "0x142e97F9012e587330Cfe6222E01338D1A200378",
53
+ "_chainNote": "hopechain (34349) \u2014 THE SECOND TOWN, stood up 2026-10-14 on the operator's existing VM beside faithchain. Same posture: private Besu/QBFT, free gas, deployer-EOA authority, two validators. It exists so the federation twin runs across two CHAINS, which is the half every gate has been unable to prove.",
54
+ "_neutralGroundNote": "estateProjectionRegistry IS deployed here because Deploy.s.sol deploys it unconditionally \u2014 and it MUST NOT BE USED. Neutral ground stays on faithchain (0xb4E116F5C6915a4f1e649E0877e4a0A7a1c1147b): the whole value of the twin is that both estates anchor to the SAME registry on a chain neither of them is moving to, so an estate that anchored here would prove nothing. federation.yaml points at faithchain's and this copy is an artifact of the script, not a choice.",
55
+ "_sameAddressNote": "Several addresses match faithchain's exactly (entryPoint, delegationManager and others): same deployer, same nonces, fresh chain, so CREATE lands them identically. Convenient, and a trap \u2014 an address alone no longer says which chain you are on. CHAIN_ID is required everywhere and chainIdOf throws when unset (ap-home spec 441); the twin's gates must pass chain per estate rather than infer it.",
56
+ "_incompleteNote": "Six keys faithchain has are absent here and are W2 work, not omissions: agentRegistryBase (DeployAgentRegistry), receiptAnchorRegistry (AddReceiptAnchorRegistry \u2014 the harness treats it as optional and runs without an anchor port), and namingCoin / namingFeeTreasury / namingServiceAgent / pricedSubregistries (spec 431 paid names, which need the town's naming service agent chartered first)."
57
+ }
@@ -0,0 +1 @@
1
+ {"agreementRegistry":"0x7463289ba8B8C50dE233Fc4Ea29b6b12d7114473","attestationRegistry":"0x90bD87f008D52f238C438F10BF35F79b165cd234"}
@@ -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 impact-agent, 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;
@@ -0,0 +1,53 @@
1
+ // Generated by scripts/build-deployments.mjs — do not edit by hand.
2
+ // Source: deployments-hopechain.json
3
+ import type { Address } from 'viem';
4
+ export interface Deployments {
5
+ readonly "agentAccountFactory": Address;
6
+ readonly "agentAccountImplementation": Address;
7
+ readonly "agentNameRegistry": Address;
8
+ readonly "agentNameResolver": Address;
9
+ readonly "agentNameUniversalResolver": Address;
10
+ readonly "agentProfileResolver": Address;
11
+ readonly "agentRelationship": Address;
12
+ readonly "agenticGovernance": Address;
13
+ readonly "agreementRegistry": Address;
14
+ readonly "allowedMethodsEnforcer": Address;
15
+ readonly "allowedTargetsEnforcer": Address;
16
+ readonly "approvedHashRegistry": Address;
17
+ readonly "attestationRegistry": Address;
18
+ readonly "callDataHashEnforcer": Address;
19
+ readonly "custodyPolicy": Address;
20
+ readonly "delegationManager": Address;
21
+ readonly "deployer": Address;
22
+ readonly "digestBindingEnforcer": Address;
23
+ readonly "entryPoint": Address;
24
+ readonly "estateProjectionRegistry": Address;
25
+ readonly "geoFeatureRegistry": Address;
26
+ readonly "mockUsdc": Address;
27
+ readonly "ontologyTermRegistry": Address;
28
+ readonly "payloadClassesEnforcer": Address;
29
+ readonly "paymentEnforcer": Address;
30
+ readonly "paymentReceiptRegistry": Address;
31
+ readonly "permissionlessSubregistry": Address;
32
+ readonly "permissionlessSubregistryDemoAgent": Address;
33
+ readonly "quorumEnforcer": Address;
34
+ readonly "relationshipTypeRegistry": Address;
35
+ readonly "shapeRegistry": Address;
36
+ readonly "skillDefinitionRegistry": Address;
37
+ readonly "smartAgentPaymaster": Address;
38
+ readonly "timestampEnforcer": Address;
39
+ readonly "treasurySpendPolicy": Address;
40
+ readonly "universalSignatureValidator": Address;
41
+ readonly "valueEnforcer": Address;
42
+ readonly "chainId": number;
43
+ readonly "contractsGeneration": number;
44
+ readonly "permissionlessSubregistries": string;
45
+ readonly "relaxedT4Floor": string;
46
+ readonly "_chainNote": string;
47
+ readonly "_neutralGroundNote": string;
48
+ readonly "_sameAddressNote": string;
49
+ readonly "_incompleteNote": string;
50
+ readonly "deploymentEpoch": string;
51
+ }
52
+ export declare const CONTRACTS: Deployments;
53
+ export default CONTRACTS;
@@ -0,0 +1,61 @@
1
+ // Generated by scripts/build-deployments.mjs — do not edit by hand.
2
+ // Source: deployments-hopechain.json
3
+ export const CONTRACTS = {
4
+ "agentAccountFactory": "0x73A7B878168b7DE48677617179A8bE894f0Dfe96",
5
+ "agentAccountImplementation": "0xd39E59385e3380EEa10F06F55BA372d6085A21d4",
6
+ "agentNameRegistry": "0x60c7a6b34217da304b75cf72C73269625900318c",
7
+ "agentNameResolver": "0x0E22171844ba88B4e572B33E60E82e0B762301CF",
8
+ "agentNameUniversalResolver": "0xe3Bf0C39B082C4DE81a919eAaA45A7f3FB19447e",
9
+ "agentProfileResolver": "0x89Ab6eB35e0C7c7B91eAaCbe1A0f42e00B5d2C9d",
10
+ "agentRelationship": "0xeBe1247403fB8e82f0cBb70D158AE38f627174A2",
11
+ "agenticGovernance": "0x783e095F5f020ddd552B453103d74DAf6144C700",
12
+ "agreementRegistry": "0x733Aa1F5D43E561B64b109af2864dD9A80e3c91F",
13
+ "allowedMethodsEnforcer": "0x8759c1a6cEBF1D5069e9434EF46327Bf2ef69975",
14
+ "allowedTargetsEnforcer": "0xdBb2E47793393C499efB0f3fcbf6Ca8669791a41",
15
+ "approvedHashRegistry": "0x464eEe7518c3c97DA570592481329E0627E9a3B8",
16
+ "attestationRegistry": "0x2D5EFeeB87f60244530e0a1ed420755090295cC4",
17
+ "callDataHashEnforcer": "0x9bF556A36F3dF3972E355dE4215476Dc268bD0C7",
18
+ "chainId": 34349,
19
+ "contractsGeneration": 3,
20
+ "custodyPolicy": "0xfb3662Ddc308FAc977A1F663948A447055722d3B",
21
+ "delegationManager": "0x710cb1bF08C234Df397e0910331e0A29710EF4F7",
22
+ "deployer": "0x1fcd93189311bedE20a02592cC83f31199A303bF",
23
+ "digestBindingEnforcer": "0x5FfDd6186C1bBc4628187B1c4C1fDaA39F870d43",
24
+ "entryPoint": "0xf7855250B3363AB7649B10957d8908A9AFcdD4B5",
25
+ "estateProjectionRegistry": "0xF47F9a22fFFab9F5aB9b58131B94990eB2829B78",
26
+ "geoFeatureRegistry": "0x1791316684f08ca7158c639C528980d780B47051",
27
+ "mockUsdc": "0xBd19d53981677357052EF9768B70929217a6F1F0",
28
+ "ontologyTermRegistry": "0xF343054e046A4145ccae499ECB28197394eE0798",
29
+ "payloadClassesEnforcer": "0x07fA0aE59FdE4B7ce8962d6fE7a1d648ec3DD5CE",
30
+ "paymentEnforcer": "0xeDd56f500325D4701B9985A34e5Fa6EED6716137",
31
+ "paymentReceiptRegistry": "0xbd93fEC6910ffD74F14709188b5a9B6C6965b2a7",
32
+ "permissionlessSubregistries": {
33
+ "church": "0x5eA2Bd3986f1924764d145515C3680fAbaaBbE6a",
34
+ "circle": "0x57Db73fA77C19601f5dCdeB79de40aAE9C505892",
35
+ "me": "0xd864CBD9d5c3F3d859e8Ab2d691C3694E73ab23f",
36
+ "org": "0xB720087dA4659bd1039eef838022B68e17EB9be5",
37
+ "registry": "0x7fd5e2A3a49c321a4CEd39bE403eCde2Fc1CB823",
38
+ "svc": "0x833aAD7bBAE7b6C250F837e8CBD2022Cf42ae58e",
39
+ "team": "0x5b580E741DBb4f57F6D885dF2c12F4e0B53B6f50",
40
+ "treasury": "0x1a960E5E2A533F37345a643552584be142A511b5",
41
+ "workspace": "0xfD07A5A28A4e430ee6ca4Cd825451CB4FF81DCF7"
42
+ },
43
+ "permissionlessSubregistry": "0xa91c1ff07b79460d8a763aed3C882ACDB2cB3719",
44
+ "permissionlessSubregistryDemoAgent": "0x0222388C3F9612058fb1bB2A9760c470DbD2121b",
45
+ "quorumEnforcer": "0xdaE09066A2cc32f6203605619137dcF01A9B49Ae",
46
+ "relationshipTypeRegistry": "0xA14afaE192596CE0B1Eb86C583d1EEC62f246999",
47
+ "relaxedT4Floor": false,
48
+ "shapeRegistry": "0xBC6DA292843500cEd8D4DF3ECbD690f8cf25E46b",
49
+ "skillDefinitionRegistry": "0xad31CAE8A5805DD03608f0292bE6F70074f10909",
50
+ "smartAgentPaymaster": "0x60E949D52660A9D4143ecB0fdA56c0457f20aED9",
51
+ "timestampEnforcer": "0x2156311097A936de1916a878bF53Bfd43c7b5715",
52
+ "treasurySpendPolicy": "0xC6a4983bC6649f7C46c9E7d83f1Cd7e9078AFc7b",
53
+ "universalSignatureValidator": "0xa5855906C0De3813E74BEe201973071e0c844115",
54
+ "valueEnforcer": "0x142e97F9012e587330Cfe6222E01338D1A200378",
55
+ "_chainNote": "hopechain (34349) — THE SECOND TOWN, stood up 2026-10-14 on the operator's existing VM beside faithchain. Same posture: private Besu/QBFT, free gas, deployer-EOA authority, two validators. It exists so the federation twin runs across two CHAINS, which is the half every gate has been unable to prove.",
56
+ "_neutralGroundNote": "estateProjectionRegistry IS deployed here because Deploy.s.sol deploys it unconditionally — and it MUST NOT BE USED. Neutral ground stays on faithchain (0xb4E116F5C6915a4f1e649E0877e4a0A7a1c1147b): the whole value of the twin is that both estates anchor to the SAME registry on a chain neither of them is moving to, so an estate that anchored here would prove nothing. federation.yaml points at faithchain's and this copy is an artifact of the script, not a choice.",
57
+ "_sameAddressNote": "Several addresses match faithchain's exactly (entryPoint, delegationManager and others): same deployer, same nonces, fresh chain, so CREATE lands them identically. Convenient, and a trap — an address alone no longer says which chain you are on. CHAIN_ID is required everywhere and chainIdOf throws when unset (ap-home spec 441); the twin's gates must pass chain per estate rather than infer it.",
58
+ "_incompleteNote": "Six keys faithchain has are absent here and are W2 work, not omissions: agentRegistryBase (DeployAgentRegistry), receiptAnchorRegistry (AddReceiptAnchorRegistry — the harness treats it as optional and runs without an anchor port), and namingCoin / namingFeeTreasury / namingServiceAgent / pricedSubregistries (spec 431 paid names, which need the town's naming service agent chartered first).",
59
+ "deploymentEpoch": "ep_c5dec9f31b782b8a"
60
+ };
61
+ export default CONTRACTS;
@@ -4,8 +4,10 @@ import type { Deployments } from './base-sepolia.js';
4
4
  export type { Deployments };
5
5
  export declare const BASE_SEPOLIA: Deployments;
6
6
  export declare const FAITHCHAIN: Deployments;
7
+ export declare const HOPECHAIN: Deployments;
7
8
  export declare const PAYMASTER_ANVIL: Deployments;
8
9
  export declare const REGISTRIES_BASE_SEPOLIA: Deployments;
10
+ export declare const REGISTRIES_HOPECHAIN: Deployments;
9
11
 
10
- export type Network = 'base-sepolia' | 'faithchain' | 'paymaster-anvil' | 'registries-base-sepolia';
12
+ export type Network = 'base-sepolia' | 'faithchain' | 'hopechain' | 'paymaster-anvil' | 'registries-base-sepolia' | 'registries-hopechain';
11
13
  export declare function getDeployments(network: Network): Deployments;
@@ -3,16 +3,22 @@ import { CONTRACTS as BASE_SEPOLIA } from './base-sepolia.js';
3
3
  export { BASE_SEPOLIA };
4
4
  import { CONTRACTS as FAITHCHAIN } from './faithchain.js';
5
5
  export { FAITHCHAIN };
6
+ import { CONTRACTS as HOPECHAIN } from './hopechain.js';
7
+ export { HOPECHAIN };
6
8
  import { CONTRACTS as PAYMASTER_ANVIL } from './paymaster-anvil.js';
7
9
  export { PAYMASTER_ANVIL };
8
10
  import { CONTRACTS as REGISTRIES_BASE_SEPOLIA } from './registries-base-sepolia.js';
9
11
  export { REGISTRIES_BASE_SEPOLIA };
12
+ import { CONTRACTS as REGISTRIES_HOPECHAIN } from './registries-hopechain.js';
13
+ export { REGISTRIES_HOPECHAIN };
10
14
 
11
15
  const TABLE = {
12
16
  "base-sepolia": BASE_SEPOLIA,
13
17
  "faithchain": FAITHCHAIN,
18
+ "hopechain": HOPECHAIN,
14
19
  "paymaster-anvil": PAYMASTER_ANVIL,
15
20
  "registries-base-sepolia": REGISTRIES_BASE_SEPOLIA,
21
+ "registries-hopechain": REGISTRIES_HOPECHAIN,
16
22
  };
17
23
 
18
24
  export function getDeployments(network) {
@@ -0,0 +1,10 @@
1
+ // Generated by scripts/build-deployments.mjs — do not edit by hand.
2
+ // Source: deployments-registries-hopechain.json
3
+ import type { Address } from 'viem';
4
+ export interface Deployments {
5
+ readonly "agreementRegistry": Address;
6
+ readonly "attestationRegistry": Address;
7
+ readonly "deploymentEpoch": string;
8
+ }
9
+ export declare const CONTRACTS: Deployments;
10
+ export default CONTRACTS;
@@ -0,0 +1,8 @@
1
+ // Generated by scripts/build-deployments.mjs — do not edit by hand.
2
+ // Source: deployments-registries-hopechain.json
3
+ export const CONTRACTS = {
4
+ "agreementRegistry": "0x7463289ba8B8C50dE233Fc4Ea29b6b12d7114473",
5
+ "attestationRegistry": "0x90bD87f008D52f238C438F10BF35F79b165cd234",
6
+ "deploymentEpoch": "ep_45ca31c3315a5978"
7
+ };
8
+ export default CONTRACTS;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agenticprimitives/contracts",
3
- "version": "1.0.0-alpha.34",
3
+ "version": "1.0.0-alpha.36",
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:payment-escrow:faithchain": "DEPLOY_NETWORK=faithchain forge script script/DeployPaymentEscrow.s.sol --rpc-url $FAITHCHAIN_RPC --broadcast --private-key $PRIVATE_KEY --sig 'run()'"
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");