@aztec/protocol-contracts 5.0.0-nightly.20260428 → 5.0.0-nightly.20260430
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.
- package/artifacts/AuthRegistry.json +2 -2
- package/artifacts/ContractClassRegistry.json +4 -4
- package/artifacts/ContractInstanceRegistry.json +2 -2
- package/artifacts/FeeJuice.json +3 -3
- package/artifacts/MultiCallEntrypoint.json +4 -4
- package/artifacts/PublicChecks.json +1 -1
- package/dest/protocol_contract_data.js +29 -29
- package/package.json +4 -4
- package/src/protocol_contract_data.ts +28 -28
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@aztec/protocol-contracts",
|
|
3
3
|
"homepage": "https://github.com/AztecProtocol/aztec-packages/tree/master/yarn-project/protocol-contracts",
|
|
4
4
|
"description": "Canonical Noir contracts for the Aztec Network",
|
|
5
|
-
"version": "5.0.0-nightly.
|
|
5
|
+
"version": "5.0.0-nightly.20260430",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"exports": {
|
|
8
8
|
".": "./dest/index.js",
|
|
@@ -73,9 +73,9 @@
|
|
|
73
73
|
]
|
|
74
74
|
},
|
|
75
75
|
"dependencies": {
|
|
76
|
-
"@aztec/constants": "5.0.0-nightly.
|
|
77
|
-
"@aztec/foundation": "5.0.0-nightly.
|
|
78
|
-
"@aztec/stdlib": "5.0.0-nightly.
|
|
76
|
+
"@aztec/constants": "5.0.0-nightly.20260430",
|
|
77
|
+
"@aztec/foundation": "5.0.0-nightly.20260430",
|
|
78
|
+
"@aztec/stdlib": "5.0.0-nightly.20260430",
|
|
79
79
|
"lodash.chunk": "^4.2.0",
|
|
80
80
|
"lodash.omit": "^4.5.0",
|
|
81
81
|
"tslib": "^2.4.0"
|
|
@@ -42,49 +42,49 @@ PublicChecks: AztecAddress.fromBigInt(6n)
|
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
export const ProtocolContractDerivedAddress = {
|
|
45
|
-
AuthRegistry: AztecAddress.fromString('
|
|
46
|
-
ContractInstanceRegistry: AztecAddress.fromString('
|
|
47
|
-
ContractClassRegistry: AztecAddress.fromString('
|
|
48
|
-
MultiCallEntrypoint: AztecAddress.fromString('
|
|
49
|
-
FeeJuice: AztecAddress.fromString('
|
|
45
|
+
AuthRegistry: AztecAddress.fromString('0x2827ccc64c53a04bd9b06da6b71534ac44b1f4eddf987bdb15bfbf93aec7fce4'),
|
|
46
|
+
ContractInstanceRegistry: AztecAddress.fromString('0x1433903f62ee9b2be02154ee423a56c6c816a58bd807a0a58dac62d31a6b0764'),
|
|
47
|
+
ContractClassRegistry: AztecAddress.fromString('0x2333bc1f3621566c037c0d7ebc097978b082452e51f847a1845d864e0d29d995'),
|
|
48
|
+
MultiCallEntrypoint: AztecAddress.fromString('0x1959ee23d0973aec55c7832e968c97958a92e4db3e2267f96ae66b01820b1309'),
|
|
49
|
+
FeeJuice: AztecAddress.fromString('0x0e525dba8a2b4d72b53143f0c0c894ff0881580f7c6eb38734f07946ecc2a238'),
|
|
50
50
|
PublicChecks: AztecAddress.fromString('0x2aba58340eee35dc9c690e0f8ede4c6cff0b8e485f75b4645f66da22c2f7a2fd')
|
|
51
51
|
};
|
|
52
52
|
|
|
53
53
|
|
|
54
54
|
|
|
55
55
|
export const ProtocolContractClassId: Record<ProtocolContractName, Fr> = {
|
|
56
|
-
AuthRegistry: Fr.fromString('
|
|
57
|
-
ContractInstanceRegistry: Fr.fromString('
|
|
58
|
-
ContractClassRegistry: Fr.fromString('
|
|
59
|
-
MultiCallEntrypoint: Fr.fromString('
|
|
60
|
-
FeeJuice: Fr.fromString('
|
|
56
|
+
AuthRegistry: Fr.fromString('0x2ad2a6677128735629050d6f4693d47408168c16f4d0ad07cf3272cb76cd2f45'),
|
|
57
|
+
ContractInstanceRegistry: Fr.fromString('0x1e2e1c45948ee4089b2e0df7235438f9a83bfcb45ba5c2b89c8475228c41a2d4'),
|
|
58
|
+
ContractClassRegistry: Fr.fromString('0x06ff5eeb9205a44f3dd695015812f9e2eebc50bafdf27def20d60cf698b09911'),
|
|
59
|
+
MultiCallEntrypoint: Fr.fromString('0x19cc7126e07b100ce576f69df08929b0c038b6fda23fe7b76d9083c0e3ee2986'),
|
|
60
|
+
FeeJuice: Fr.fromString('0x19c94a36e234d06765a43d794395e5664db110eb74a1a7b2be83c207d5180dd6'),
|
|
61
61
|
PublicChecks: Fr.fromString('0x1e26b6d9b248b8b244cc2bf791c89eae42a3a1403b9b784dc0b247d8fb6068b1')
|
|
62
62
|
};
|
|
63
63
|
|
|
64
64
|
export const ProtocolContractClassIdPreimage: Record<ProtocolContractName, { artifactHash: Fr; privateFunctionsRoot: Fr; publicBytecodeCommitment: Fr }> = {
|
|
65
65
|
AuthRegistry: {
|
|
66
66
|
artifactHash: Fr.fromString('0x1c7734a11cbe74f706a27402721972c5c599b1055eac2ceda5f6398dbda4275e'),
|
|
67
|
-
privateFunctionsRoot: Fr.fromString('
|
|
67
|
+
privateFunctionsRoot: Fr.fromString('0x06e0363cea8d971d0c2988a13fc88774092b2858adc5ee0876ed2f9ad05e2f63'),
|
|
68
68
|
publicBytecodeCommitment: Fr.fromString('0x2545f39893766508ce37bb5cea5e4dcab04c6f7f79f3089b1c076876e9d268b2'),
|
|
69
69
|
},
|
|
70
70
|
ContractInstanceRegistry: {
|
|
71
71
|
artifactHash: Fr.fromString('0x0f3b74fc2f0af41e2bf495752b3197e1dbae3f6a44db84cc51511fa24fbe1b1a'),
|
|
72
|
-
privateFunctionsRoot: Fr.fromString('
|
|
72
|
+
privateFunctionsRoot: Fr.fromString('0x03a379a59b8c9c8f4056bae488afc3c3edaf802e0fac77e1ed6f9f28de4006ed'),
|
|
73
73
|
publicBytecodeCommitment: Fr.fromString('0x260735cf6645c6f07d2f0ebe2bfbd3062e95ddc820661329a5422bc239261bba'),
|
|
74
74
|
},
|
|
75
75
|
ContractClassRegistry: {
|
|
76
|
-
artifactHash: Fr.fromString('
|
|
77
|
-
privateFunctionsRoot: Fr.fromString('
|
|
76
|
+
artifactHash: Fr.fromString('0x2b2b0bad33e1e17e4610f0d9cf02b746dd2c25c5ab18be0c54e46217873fe062'),
|
|
77
|
+
privateFunctionsRoot: Fr.fromString('0x21451bad0bb6e0c14afccc5fee977a6f4aeb0b273f26dfd56e2bb80c76825512'),
|
|
78
78
|
publicBytecodeCommitment: Fr.fromString('0x0ce4c618c3ed7f3a20410e618c06bb701e150af7fe28a3e92f68e7733809f33e'),
|
|
79
79
|
},
|
|
80
80
|
MultiCallEntrypoint: {
|
|
81
|
-
artifactHash: Fr.fromString('
|
|
82
|
-
privateFunctionsRoot: Fr.fromString('
|
|
81
|
+
artifactHash: Fr.fromString('0x05ed7c18355611dcb1c9dc6d783a3b859aa40fb6b874031fbdc876a2fffcfca9'),
|
|
82
|
+
privateFunctionsRoot: Fr.fromString('0x0a34d4a35d86f737a9e4b6eebf4970a85eb8770859a70519c5d3552230e4c3db'),
|
|
83
83
|
publicBytecodeCommitment: Fr.fromString('0x0ce4c618c3ed7f3a20410e618c06bb701e150af7fe28a3e92f68e7733809f33e'),
|
|
84
84
|
},
|
|
85
85
|
FeeJuice: {
|
|
86
86
|
artifactHash: Fr.fromString('0x185a000d3026f0dc70dabf6ef369b187921262e4af85e67956153e195cdd8f15'),
|
|
87
|
-
privateFunctionsRoot: Fr.fromString('
|
|
87
|
+
privateFunctionsRoot: Fr.fromString('0x29ed50e40fb17967b7451a6a43c87b5d75dab2bfa555053f45b1dfbb2f16afdc'),
|
|
88
88
|
publicBytecodeCommitment: Fr.fromString('0x1d4b1a8f71b8250d4fb65f8e16a4604e9165648279f47d80e024ce2684c4bdfb'),
|
|
89
89
|
},
|
|
90
90
|
PublicChecks: {
|
|
@@ -104,22 +104,22 @@ PublicChecks: Fr.fromString('0x0000000000000000000000000000000000000000000000000
|
|
|
104
104
|
};
|
|
105
105
|
|
|
106
106
|
export const ProtocolContractPrivateFunctions: Record<ProtocolContractName, { selector: FunctionSelector; vkHash: Fr }[]> = {
|
|
107
|
-
AuthRegistry: [{ selector: FunctionSelector.fromField(Fr.fromString('0x0000000000000000000000000000000000000000000000000000000079a3d418')), vkHash: Fr.fromString('
|
|
108
|
-
ContractInstanceRegistry: [{ selector: FunctionSelector.fromField(Fr.fromString('0x0000000000000000000000000000000000000000000000000000000016ec12aa')), vkHash: Fr.fromString('
|
|
109
|
-
ContractClassRegistry: [{ selector: FunctionSelector.fromField(Fr.fromString('0x000000000000000000000000000000000000000000000000000000006934ed0d')), vkHash: Fr.fromString('
|
|
110
|
-
MultiCallEntrypoint: [{ selector: FunctionSelector.fromField(Fr.fromString('0x00000000000000000000000000000000000000000000000000000000f04908a9')), vkHash: Fr.fromString('
|
|
111
|
-
FeeJuice: [{ selector: FunctionSelector.fromField(Fr.fromString('0x00000000000000000000000000000000000000000000000000000000cbe67243')), vkHash: Fr.fromString('
|
|
107
|
+
AuthRegistry: [{ selector: FunctionSelector.fromField(Fr.fromString('0x0000000000000000000000000000000000000000000000000000000079a3d418')), vkHash: Fr.fromString('0x0e6dcc7becc25a6ee2e1322f2cc0ff6b59abff1bce27ca9906c079103e3d2c36') }],
|
|
108
|
+
ContractInstanceRegistry: [{ selector: FunctionSelector.fromField(Fr.fromString('0x0000000000000000000000000000000000000000000000000000000016ec12aa')), vkHash: Fr.fromString('0x2d00ab6f38f0a2b14eb70721ef7faefd0b69cdfa334c4fe8d72fad43a085eaf9') }],
|
|
109
|
+
ContractClassRegistry: [{ selector: FunctionSelector.fromField(Fr.fromString('0x000000000000000000000000000000000000000000000000000000006934ed0d')), vkHash: Fr.fromString('0x2521f790db512b502b41574699268a0a84efadb26ebeabcb5a47cb797adb9793') }],
|
|
110
|
+
MultiCallEntrypoint: [{ selector: FunctionSelector.fromField(Fr.fromString('0x00000000000000000000000000000000000000000000000000000000f04908a9')), vkHash: Fr.fromString('0x2bc8e2f2cb975faf63e4bd0117ef109b205504fe78af6f688c44be58cffae081') }],
|
|
111
|
+
FeeJuice: [{ selector: FunctionSelector.fromField(Fr.fromString('0x00000000000000000000000000000000000000000000000000000000cbe67243')), vkHash: Fr.fromString('0x0c05c6a60ef729b5d17e84775efedbc2a782bd97dcdb694e9cacdd866ba3da32') }, { selector: FunctionSelector.fromField(Fr.fromString('0x00000000000000000000000000000000000000000000000000000000e8d374b6')), vkHash: Fr.fromString('0x1b561f8eea79f2dca12037581445da32891bbaf02805952c6616dd2ca53746d2') }],
|
|
112
112
|
PublicChecks: []
|
|
113
113
|
};
|
|
114
114
|
|
|
115
115
|
|
|
116
116
|
|
|
117
117
|
export const ProtocolContractsList = new ProtocolContracts([
|
|
118
|
-
AztecAddress.fromString('
|
|
119
|
-
AztecAddress.fromString('
|
|
120
|
-
AztecAddress.fromString('
|
|
121
|
-
AztecAddress.fromString('
|
|
122
|
-
AztecAddress.fromString('
|
|
118
|
+
AztecAddress.fromString('0x2827ccc64c53a04bd9b06da6b71534ac44b1f4eddf987bdb15bfbf93aec7fce4'),
|
|
119
|
+
AztecAddress.fromString('0x1433903f62ee9b2be02154ee423a56c6c816a58bd807a0a58dac62d31a6b0764'),
|
|
120
|
+
AztecAddress.fromString('0x2333bc1f3621566c037c0d7ebc097978b082452e51f847a1845d864e0d29d995'),
|
|
121
|
+
AztecAddress.fromString('0x1959ee23d0973aec55c7832e968c97958a92e4db3e2267f96ae66b01820b1309'),
|
|
122
|
+
AztecAddress.fromString('0x0e525dba8a2b4d72b53143f0c0c894ff0881580f7c6eb38734f07946ecc2a238'),
|
|
123
123
|
AztecAddress.fromString('0x2aba58340eee35dc9c690e0f8ede4c6cff0b8e485f75b4645f66da22c2f7a2fd'),
|
|
124
124
|
AztecAddress.fromString('0x0000000000000000000000000000000000000000000000000000000000000000'),
|
|
125
125
|
AztecAddress.fromString('0x0000000000000000000000000000000000000000000000000000000000000000'),
|
|
@@ -128,7 +128,7 @@ AztecAddress.fromString('0x00000000000000000000000000000000000000000000000000000
|
|
|
128
128
|
AztecAddress.fromString('0x0000000000000000000000000000000000000000000000000000000000000000')
|
|
129
129
|
]);
|
|
130
130
|
|
|
131
|
-
export const protocolContractsHash = Fr.fromString('
|
|
131
|
+
export const protocolContractsHash = Fr.fromString('0x2669c7140a51e2514826431d4d60268aec96ebeaf0e0e4d24572535731f7aebe');
|
|
132
132
|
|
|
133
133
|
|
|
134
134
|
|