@aztec/protocol-contracts 0.0.1-commit.ec5f612 → 0.0.1-commit.ef17749e1
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 +104 -92
- package/artifacts/ContractClassRegistry.json +13 -13
- package/artifacts/ContractInstanceRegistry.json +20 -20
- package/artifacts/FeeJuice.json +31 -23
- package/artifacts/MultiCallEntrypoint.json +70 -58
- package/artifacts/PublicChecks.json +68 -56
- package/dest/protocol_contract_data.js +29 -29
- package/package.json +4 -4
- package/src/protocol_contract_data.ts +29 -29
|
@@ -28,51 +28,51 @@ export const ProtocolContractAddress = {
|
|
|
28
28
|
PublicChecks: AztecAddress.fromBigInt(6n)
|
|
29
29
|
};
|
|
30
30
|
export const ProtocolContractDerivedAddress = {
|
|
31
|
-
AuthRegistry: AztecAddress.fromString('
|
|
32
|
-
ContractInstanceRegistry: AztecAddress.fromString('
|
|
33
|
-
ContractClassRegistry: AztecAddress.fromString('
|
|
34
|
-
MultiCallEntrypoint: AztecAddress.fromString('
|
|
35
|
-
FeeJuice: AztecAddress.fromString('
|
|
36
|
-
PublicChecks: AztecAddress.fromString('
|
|
31
|
+
AuthRegistry: AztecAddress.fromString('0x06c7f95239f8000261de312d9513021e0cd59ae0f0de86d89375572799adadcf'),
|
|
32
|
+
ContractInstanceRegistry: AztecAddress.fromString('0x2436a1d64e15c142d46711ac9454523d36b6fa6eac494f5582f8b25c031e1489'),
|
|
33
|
+
ContractClassRegistry: AztecAddress.fromString('0x2113f3e0335fe6fb46e6ecec2858b415ca04bae873e2893ae6c45b65ce686af1'),
|
|
34
|
+
MultiCallEntrypoint: AztecAddress.fromString('0x19e23cc3ca3a51cc67ccf3a154e7565ff9fdcd2e06128ad7a8ceebf4aae7e41d'),
|
|
35
|
+
FeeJuice: AztecAddress.fromString('0x14d0ab965abe4770e06a821e36f57affa4bb81ca050f66b9010098818154f04f'),
|
|
36
|
+
PublicChecks: AztecAddress.fromString('0x1e7906ea624d5cc6395848408fc9dafeb89e69cb7a0329d622c9907b6fa5b113')
|
|
37
37
|
};
|
|
38
38
|
export const ProtocolContractClassId = {
|
|
39
|
-
AuthRegistry: Fr.fromString('
|
|
40
|
-
ContractInstanceRegistry: Fr.fromString('
|
|
41
|
-
ContractClassRegistry: Fr.fromString('
|
|
42
|
-
MultiCallEntrypoint: Fr.fromString('
|
|
43
|
-
FeeJuice: Fr.fromString('
|
|
44
|
-
PublicChecks: Fr.fromString('
|
|
39
|
+
AuthRegistry: Fr.fromString('0x2228d1c5f3d032fc81ef464b9d342626aaf47d77920b85bff4577919b4cbd02e'),
|
|
40
|
+
ContractInstanceRegistry: Fr.fromString('0x23a132ac4f0efe1476b2b5f144afdbc2f383ef12cf5982f68185f4d921802912'),
|
|
41
|
+
ContractClassRegistry: Fr.fromString('0x2c053725122e23b1cf21cf781b0de4d2a2de5dd1cad4ccacf287d87c5918a794'),
|
|
42
|
+
MultiCallEntrypoint: Fr.fromString('0x05298623a4d6a1a9cb57e707ac550845da938eb6e2977f50d6442925b2a370d3'),
|
|
43
|
+
FeeJuice: Fr.fromString('0x1957b2b25fecce952a7f8058275778302c2647793d6adedc6969586a0ce73c43'),
|
|
44
|
+
PublicChecks: Fr.fromString('0x27d10a145494aa34c35df4a526edffdb7b0ac10bb8dfe45be7143919d70d21cc')
|
|
45
45
|
};
|
|
46
46
|
export const ProtocolContractClassIdPreimage = {
|
|
47
47
|
AuthRegistry: {
|
|
48
|
-
artifactHash: Fr.fromString('
|
|
48
|
+
artifactHash: Fr.fromString('0x2b9451d83da1a8887f9485e0627d570f6205fc37745914965994277d25ed0040'),
|
|
49
49
|
privateFunctionsRoot: Fr.fromString('0x11900a485e3ffa03da98d89abb0c9419200644aaf17f5caa863953fccf1ed88f'),
|
|
50
|
-
publicBytecodeCommitment: Fr.fromString('
|
|
50
|
+
publicBytecodeCommitment: Fr.fromString('0x1765c0a2af421f31ebfa03f11cd3ae7fb6a8b41c3128375e2b0b0c30cf493975')
|
|
51
51
|
},
|
|
52
52
|
ContractInstanceRegistry: {
|
|
53
|
-
artifactHash: Fr.fromString('
|
|
53
|
+
artifactHash: Fr.fromString('0x252b9830d6ea67290fa5ab0308a67889ba888e75ae30ad2fff311e806c4e624e'),
|
|
54
54
|
privateFunctionsRoot: Fr.fromString('0x136a6705c7ad1d47f65cb881a56909d4c78d3fa8944f5b103734cd91e654ed63'),
|
|
55
|
-
publicBytecodeCommitment: Fr.fromString('
|
|
55
|
+
publicBytecodeCommitment: Fr.fromString('0x1b34b6572f6b7e6d8b4ea5f3bc7a6b67a30e98bbc2e03f686fc7541ffb267b71')
|
|
56
56
|
},
|
|
57
57
|
ContractClassRegistry: {
|
|
58
|
-
artifactHash: Fr.fromString('
|
|
58
|
+
artifactHash: Fr.fromString('0x2a954f0df191b1b7ba692629552e1fe13b1038bc72ccd23d5125dffe58bc58b4'),
|
|
59
59
|
privateFunctionsRoot: Fr.fromString('0x2ac3bf890a7d534a768079aa86889caa1a86373c8e6fc2db48215b11bbb79106'),
|
|
60
60
|
publicBytecodeCommitment: Fr.fromString('0x0ce4c618c3ed7f3a20410e618c06bb701e150af7fe28a3e92f68e7733809f33e')
|
|
61
61
|
},
|
|
62
62
|
MultiCallEntrypoint: {
|
|
63
|
-
artifactHash: Fr.fromString('
|
|
63
|
+
artifactHash: Fr.fromString('0x13dc94c40802b063a4790ca4ba45f7fe6196fca741b243e815692688228ddfb5'),
|
|
64
64
|
privateFunctionsRoot: Fr.fromString('0x266505ecb7c02ce6e227227c0b6bdb44713c8ecd43164ee7bb00b8fb340e8b03'),
|
|
65
65
|
publicBytecodeCommitment: Fr.fromString('0x0ce4c618c3ed7f3a20410e618c06bb701e150af7fe28a3e92f68e7733809f33e')
|
|
66
66
|
},
|
|
67
67
|
FeeJuice: {
|
|
68
|
-
artifactHash: Fr.fromString('
|
|
68
|
+
artifactHash: Fr.fromString('0x16ad3120660333d9b612229be7d62953021fdb3129a5a8092c70844a8fb9a0ff'),
|
|
69
69
|
privateFunctionsRoot: Fr.fromString('0x0abef3cfc6ae314886c841b42dc33d3eed255ad3dee7773daabf05b229573759'),
|
|
70
|
-
publicBytecodeCommitment: Fr.fromString('
|
|
70
|
+
publicBytecodeCommitment: Fr.fromString('0x022c20c2d96794f3254446d85c553e0b768e77e877d100a9fdf2a7778e27e333')
|
|
71
71
|
},
|
|
72
72
|
PublicChecks: {
|
|
73
|
-
artifactHash: Fr.fromString('
|
|
73
|
+
artifactHash: Fr.fromString('0x22525f017e57bd13c28177789a541adc525089b1e9a185ff728221ee6b69108a'),
|
|
74
74
|
privateFunctionsRoot: Fr.fromString('0x067243231eddf4222f3911defbba7705aff06ed45960b27f6f91319196ef97e1'),
|
|
75
|
-
publicBytecodeCommitment: Fr.fromString('
|
|
75
|
+
publicBytecodeCommitment: Fr.fromString('0x2425ba7086fdf347931ff0f487610b980fd0ad716f7631a51cef39190c3a6709')
|
|
76
76
|
}
|
|
77
77
|
};
|
|
78
78
|
export const ProtocolContractInitializationHash = {
|
|
@@ -121,17 +121,17 @@ export const ProtocolContractPrivateFunctions = {
|
|
|
121
121
|
PublicChecks: []
|
|
122
122
|
};
|
|
123
123
|
export const ProtocolContractsList = new ProtocolContracts([
|
|
124
|
-
AztecAddress.fromString('
|
|
125
|
-
AztecAddress.fromString('
|
|
126
|
-
AztecAddress.fromString('
|
|
127
|
-
AztecAddress.fromString('
|
|
128
|
-
AztecAddress.fromString('
|
|
129
|
-
AztecAddress.fromString('
|
|
124
|
+
AztecAddress.fromString('0x06c7f95239f8000261de312d9513021e0cd59ae0f0de86d89375572799adadcf'),
|
|
125
|
+
AztecAddress.fromString('0x2436a1d64e15c142d46711ac9454523d36b6fa6eac494f5582f8b25c031e1489'),
|
|
126
|
+
AztecAddress.fromString('0x2113f3e0335fe6fb46e6ecec2858b415ca04bae873e2893ae6c45b65ce686af1'),
|
|
127
|
+
AztecAddress.fromString('0x19e23cc3ca3a51cc67ccf3a154e7565ff9fdcd2e06128ad7a8ceebf4aae7e41d'),
|
|
128
|
+
AztecAddress.fromString('0x14d0ab965abe4770e06a821e36f57affa4bb81ca050f66b9010098818154f04f'),
|
|
129
|
+
AztecAddress.fromString('0x1e7906ea624d5cc6395848408fc9dafeb89e69cb7a0329d622c9907b6fa5b113'),
|
|
130
130
|
AztecAddress.fromString('0x0000000000000000000000000000000000000000000000000000000000000000'),
|
|
131
131
|
AztecAddress.fromString('0x0000000000000000000000000000000000000000000000000000000000000000'),
|
|
132
132
|
AztecAddress.fromString('0x0000000000000000000000000000000000000000000000000000000000000000'),
|
|
133
133
|
AztecAddress.fromString('0x0000000000000000000000000000000000000000000000000000000000000000'),
|
|
134
134
|
AztecAddress.fromString('0x0000000000000000000000000000000000000000000000000000000000000000')
|
|
135
135
|
]);
|
|
136
|
-
export const protocolContractsHash = Fr.fromString('
|
|
136
|
+
export const protocolContractsHash = Fr.fromString('0x0e0f38d4c5646612ac162168852b5e09091e1749d5ddb0dce645f2453b95237d');
|
|
137
137
|
export const CONTRACT_INSTANCE_PUBLISHED_EVENT_TAG = Fr.fromHexString('0x1a7e1badb79abdd38c684b3c8306ffe7ecb33c69e3380d9855730aaaa83a21a8');
|
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": "0.0.1-commit.
|
|
5
|
+
"version": "0.0.1-commit.ef17749e1",
|
|
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": "0.0.1-commit.
|
|
77
|
-
"@aztec/foundation": "0.0.1-commit.
|
|
78
|
-
"@aztec/stdlib": "0.0.1-commit.
|
|
76
|
+
"@aztec/constants": "0.0.1-commit.ef17749e1",
|
|
77
|
+
"@aztec/foundation": "0.0.1-commit.ef17749e1",
|
|
78
|
+
"@aztec/stdlib": "0.0.1-commit.ef17749e1",
|
|
79
79
|
"lodash.chunk": "^4.2.0",
|
|
80
80
|
"lodash.omit": "^4.5.0",
|
|
81
81
|
"tslib": "^2.4.0"
|
|
@@ -42,55 +42,55 @@ 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('
|
|
50
|
-
PublicChecks: AztecAddress.fromString('
|
|
45
|
+
AuthRegistry: AztecAddress.fromString('0x06c7f95239f8000261de312d9513021e0cd59ae0f0de86d89375572799adadcf'),
|
|
46
|
+
ContractInstanceRegistry: AztecAddress.fromString('0x2436a1d64e15c142d46711ac9454523d36b6fa6eac494f5582f8b25c031e1489'),
|
|
47
|
+
ContractClassRegistry: AztecAddress.fromString('0x2113f3e0335fe6fb46e6ecec2858b415ca04bae873e2893ae6c45b65ce686af1'),
|
|
48
|
+
MultiCallEntrypoint: AztecAddress.fromString('0x19e23cc3ca3a51cc67ccf3a154e7565ff9fdcd2e06128ad7a8ceebf4aae7e41d'),
|
|
49
|
+
FeeJuice: AztecAddress.fromString('0x14d0ab965abe4770e06a821e36f57affa4bb81ca050f66b9010098818154f04f'),
|
|
50
|
+
PublicChecks: AztecAddress.fromString('0x1e7906ea624d5cc6395848408fc9dafeb89e69cb7a0329d622c9907b6fa5b113')
|
|
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('
|
|
61
|
-
PublicChecks: Fr.fromString('
|
|
56
|
+
AuthRegistry: Fr.fromString('0x2228d1c5f3d032fc81ef464b9d342626aaf47d77920b85bff4577919b4cbd02e'),
|
|
57
|
+
ContractInstanceRegistry: Fr.fromString('0x23a132ac4f0efe1476b2b5f144afdbc2f383ef12cf5982f68185f4d921802912'),
|
|
58
|
+
ContractClassRegistry: Fr.fromString('0x2c053725122e23b1cf21cf781b0de4d2a2de5dd1cad4ccacf287d87c5918a794'),
|
|
59
|
+
MultiCallEntrypoint: Fr.fromString('0x05298623a4d6a1a9cb57e707ac550845da938eb6e2977f50d6442925b2a370d3'),
|
|
60
|
+
FeeJuice: Fr.fromString('0x1957b2b25fecce952a7f8058275778302c2647793d6adedc6969586a0ce73c43'),
|
|
61
|
+
PublicChecks: Fr.fromString('0x27d10a145494aa34c35df4a526edffdb7b0ac10bb8dfe45be7143919d70d21cc')
|
|
62
62
|
};
|
|
63
63
|
|
|
64
64
|
export const ProtocolContractClassIdPreimage: Record<ProtocolContractName, { artifactHash: Fr; privateFunctionsRoot: Fr; publicBytecodeCommitment: Fr }> = {
|
|
65
65
|
AuthRegistry: {
|
|
66
|
-
artifactHash: Fr.fromString('
|
|
66
|
+
artifactHash: Fr.fromString('0x2b9451d83da1a8887f9485e0627d570f6205fc37745914965994277d25ed0040'),
|
|
67
67
|
privateFunctionsRoot: Fr.fromString('0x11900a485e3ffa03da98d89abb0c9419200644aaf17f5caa863953fccf1ed88f'),
|
|
68
|
-
publicBytecodeCommitment: Fr.fromString('
|
|
68
|
+
publicBytecodeCommitment: Fr.fromString('0x1765c0a2af421f31ebfa03f11cd3ae7fb6a8b41c3128375e2b0b0c30cf493975'),
|
|
69
69
|
},
|
|
70
70
|
ContractInstanceRegistry: {
|
|
71
|
-
artifactHash: Fr.fromString('
|
|
71
|
+
artifactHash: Fr.fromString('0x252b9830d6ea67290fa5ab0308a67889ba888e75ae30ad2fff311e806c4e624e'),
|
|
72
72
|
privateFunctionsRoot: Fr.fromString('0x136a6705c7ad1d47f65cb881a56909d4c78d3fa8944f5b103734cd91e654ed63'),
|
|
73
|
-
publicBytecodeCommitment: Fr.fromString('
|
|
73
|
+
publicBytecodeCommitment: Fr.fromString('0x1b34b6572f6b7e6d8b4ea5f3bc7a6b67a30e98bbc2e03f686fc7541ffb267b71'),
|
|
74
74
|
},
|
|
75
75
|
ContractClassRegistry: {
|
|
76
|
-
artifactHash: Fr.fromString('
|
|
76
|
+
artifactHash: Fr.fromString('0x2a954f0df191b1b7ba692629552e1fe13b1038bc72ccd23d5125dffe58bc58b4'),
|
|
77
77
|
privateFunctionsRoot: Fr.fromString('0x2ac3bf890a7d534a768079aa86889caa1a86373c8e6fc2db48215b11bbb79106'),
|
|
78
78
|
publicBytecodeCommitment: Fr.fromString('0x0ce4c618c3ed7f3a20410e618c06bb701e150af7fe28a3e92f68e7733809f33e'),
|
|
79
79
|
},
|
|
80
80
|
MultiCallEntrypoint: {
|
|
81
|
-
artifactHash: Fr.fromString('
|
|
81
|
+
artifactHash: Fr.fromString('0x13dc94c40802b063a4790ca4ba45f7fe6196fca741b243e815692688228ddfb5'),
|
|
82
82
|
privateFunctionsRoot: Fr.fromString('0x266505ecb7c02ce6e227227c0b6bdb44713c8ecd43164ee7bb00b8fb340e8b03'),
|
|
83
83
|
publicBytecodeCommitment: Fr.fromString('0x0ce4c618c3ed7f3a20410e618c06bb701e150af7fe28a3e92f68e7733809f33e'),
|
|
84
84
|
},
|
|
85
85
|
FeeJuice: {
|
|
86
|
-
artifactHash: Fr.fromString('
|
|
86
|
+
artifactHash: Fr.fromString('0x16ad3120660333d9b612229be7d62953021fdb3129a5a8092c70844a8fb9a0ff'),
|
|
87
87
|
privateFunctionsRoot: Fr.fromString('0x0abef3cfc6ae314886c841b42dc33d3eed255ad3dee7773daabf05b229573759'),
|
|
88
|
-
publicBytecodeCommitment: Fr.fromString('
|
|
88
|
+
publicBytecodeCommitment: Fr.fromString('0x022c20c2d96794f3254446d85c553e0b768e77e877d100a9fdf2a7778e27e333'),
|
|
89
89
|
},
|
|
90
90
|
PublicChecks: {
|
|
91
|
-
artifactHash: Fr.fromString('
|
|
91
|
+
artifactHash: Fr.fromString('0x22525f017e57bd13c28177789a541adc525089b1e9a185ff728221ee6b69108a'),
|
|
92
92
|
privateFunctionsRoot: Fr.fromString('0x067243231eddf4222f3911defbba7705aff06ed45960b27f6f91319196ef97e1'),
|
|
93
|
-
publicBytecodeCommitment: Fr.fromString('
|
|
93
|
+
publicBytecodeCommitment: Fr.fromString('0x2425ba7086fdf347931ff0f487610b980fd0ad716f7631a51cef39190c3a6709'),
|
|
94
94
|
}
|
|
95
95
|
};
|
|
96
96
|
|
|
@@ -115,12 +115,12 @@ PublicChecks: []
|
|
|
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('
|
|
123
|
-
AztecAddress.fromString('
|
|
118
|
+
AztecAddress.fromString('0x06c7f95239f8000261de312d9513021e0cd59ae0f0de86d89375572799adadcf'),
|
|
119
|
+
AztecAddress.fromString('0x2436a1d64e15c142d46711ac9454523d36b6fa6eac494f5582f8b25c031e1489'),
|
|
120
|
+
AztecAddress.fromString('0x2113f3e0335fe6fb46e6ecec2858b415ca04bae873e2893ae6c45b65ce686af1'),
|
|
121
|
+
AztecAddress.fromString('0x19e23cc3ca3a51cc67ccf3a154e7565ff9fdcd2e06128ad7a8ceebf4aae7e41d'),
|
|
122
|
+
AztecAddress.fromString('0x14d0ab965abe4770e06a821e36f57affa4bb81ca050f66b9010098818154f04f'),
|
|
123
|
+
AztecAddress.fromString('0x1e7906ea624d5cc6395848408fc9dafeb89e69cb7a0329d622c9907b6fa5b113'),
|
|
124
124
|
AztecAddress.fromString('0x0000000000000000000000000000000000000000000000000000000000000000'),
|
|
125
125
|
AztecAddress.fromString('0x0000000000000000000000000000000000000000000000000000000000000000'),
|
|
126
126
|
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('0x0e0f38d4c5646612ac162168852b5e09091e1749d5ddb0dce645f2453b95237d');
|
|
132
132
|
|
|
133
133
|
|
|
134
134
|
|