@aztec/protocol-contracts 0.0.1-commit.3895657bc → 0.0.1-commit.3e3d0c9cd
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 +407 -215
- package/artifacts/ContractClassRegistry.json +25 -25
- package/artifacts/ContractInstanceRegistry.json +43 -43
- package/artifacts/FeeJuice.json +44 -40
- package/artifacts/MultiCallEntrypoint.json +376 -176
- package/artifacts/PublicChecks.json +375 -175
- 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('0x09c8a09596c929e5de31974d4dd4860eb2026c55049049dfb6d9d6b3e3746f6a'),
|
|
32
|
+
ContractInstanceRegistry: AztecAddress.fromString('0x22386fb447ebce0f427e15bb437538db7e16c4b8c07a099cbd8d46a7c6e40d0e'),
|
|
33
|
+
ContractClassRegistry: AztecAddress.fromString('0x071ff7f82ab52af87c4c0e59fc9d40a87e037a4ddf0ff91023723a612507db6d'),
|
|
34
|
+
MultiCallEntrypoint: AztecAddress.fromString('0x2412c70062c4008d0443b831c0acace57116a50444e970704f080b885fc77af1'),
|
|
35
|
+
FeeJuice: AztecAddress.fromString('0x304dbe6918292846f019fa304efee2f984ab54d159034173e672a9929e9d47a5'),
|
|
36
|
+
PublicChecks: AztecAddress.fromString('0x0b14ac0c8027668240350e9bb8a72b55214fc0b6d8c6a9c88f10bde7b09e7afc')
|
|
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('0x13a3db24f5f462c3cd89ea23f4acd36051440ac98144d298cd1865cd867f1b5a'),
|
|
40
|
+
ContractInstanceRegistry: Fr.fromString('0x09b7b1114eb9aceeaddeaeb64a28f6aeea476148b59b1132a590108555f59993'),
|
|
41
|
+
ContractClassRegistry: Fr.fromString('0x2205b1885eaa2efe3ddf7e4644db142cd4211070bdf474621e7812b12fa31956'),
|
|
42
|
+
MultiCallEntrypoint: Fr.fromString('0x0dc7fac30e0a20648980dff08ad3078284db64722468b135d3e0544f16aaef7a'),
|
|
43
|
+
FeeJuice: Fr.fromString('0x223e5babff493c0ff3f2b3917754359696220b0cbec275079585ff4ea8e838a6'),
|
|
44
|
+
PublicChecks: Fr.fromString('0x2eea7cd6ae7a666c535570d9bef3e0074eafd9fe2c17c1305f658286bcdcdf80')
|
|
45
45
|
};
|
|
46
46
|
export const ProtocolContractClassIdPreimage = {
|
|
47
47
|
AuthRegistry: {
|
|
48
|
-
artifactHash: Fr.fromString('
|
|
48
|
+
artifactHash: Fr.fromString('0x0df932933123adf0691a460cec66a5b178751b54a636aa9b2e08947b4b14ed54'),
|
|
49
49
|
privateFunctionsRoot: Fr.fromString('0x11900a485e3ffa03da98d89abb0c9419200644aaf17f5caa863953fccf1ed88f'),
|
|
50
|
-
publicBytecodeCommitment: Fr.fromString('
|
|
50
|
+
publicBytecodeCommitment: Fr.fromString('0x273e5247744c970249667a6c7a843323211bdaa8d8b257e763d2ff3b6a9971f0')
|
|
51
51
|
},
|
|
52
52
|
ContractInstanceRegistry: {
|
|
53
|
-
artifactHash: Fr.fromString('
|
|
53
|
+
artifactHash: Fr.fromString('0x109a0eaac50d7676632208084aa69f3b294531e04e76b75d246f7e5315569352'),
|
|
54
54
|
privateFunctionsRoot: Fr.fromString('0x136a6705c7ad1d47f65cb881a56909d4c78d3fa8944f5b103734cd91e654ed63'),
|
|
55
|
-
publicBytecodeCommitment: Fr.fromString('
|
|
55
|
+
publicBytecodeCommitment: Fr.fromString('0x1d40fc843cc358dc36f3646e376b190e36a2a1090acd2d7578918e84aa1d40c3')
|
|
56
56
|
},
|
|
57
57
|
ContractClassRegistry: {
|
|
58
|
-
artifactHash: Fr.fromString('
|
|
58
|
+
artifactHash: Fr.fromString('0x265eec6019f7d778c5d52701009053a6f38aba6813fe4be7b13d7527cf363081'),
|
|
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('0x2056b21e3fd345dc353e05a273fe31dd06ed67e59faaf16e264e4a1fd7e2f596'),
|
|
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('0x13afeaff15ebd30235f8e465a0f45e8c89f6de79980a4e00cf864304b69e163e'),
|
|
69
69
|
privateFunctionsRoot: Fr.fromString('0x0abef3cfc6ae314886c841b42dc33d3eed255ad3dee7773daabf05b229573759'),
|
|
70
|
-
publicBytecodeCommitment: Fr.fromString('
|
|
70
|
+
publicBytecodeCommitment: Fr.fromString('0x24c51926e5946d4ab6bc111b0f6a30690d25817f983948fa10a3ce0434cb0419')
|
|
71
71
|
},
|
|
72
72
|
PublicChecks: {
|
|
73
|
-
artifactHash: Fr.fromString('
|
|
73
|
+
artifactHash: Fr.fromString('0x2a23e0ac8db7583eeab97163992978cd24b8a272e4e5862b3e909be1aa8723ec'),
|
|
74
74
|
privateFunctionsRoot: Fr.fromString('0x067243231eddf4222f3911defbba7705aff06ed45960b27f6f91319196ef97e1'),
|
|
75
|
-
publicBytecodeCommitment: Fr.fromString('
|
|
75
|
+
publicBytecodeCommitment: Fr.fromString('0x1fb8fae63fa9e9f34dda88dc2ed06e32fb225f7e8228a1bfb3411c3eed9364e9')
|
|
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('0x09c8a09596c929e5de31974d4dd4860eb2026c55049049dfb6d9d6b3e3746f6a'),
|
|
125
|
+
AztecAddress.fromString('0x22386fb447ebce0f427e15bb437538db7e16c4b8c07a099cbd8d46a7c6e40d0e'),
|
|
126
|
+
AztecAddress.fromString('0x071ff7f82ab52af87c4c0e59fc9d40a87e037a4ddf0ff91023723a612507db6d'),
|
|
127
|
+
AztecAddress.fromString('0x2412c70062c4008d0443b831c0acace57116a50444e970704f080b885fc77af1'),
|
|
128
|
+
AztecAddress.fromString('0x304dbe6918292846f019fa304efee2f984ab54d159034173e672a9929e9d47a5'),
|
|
129
|
+
AztecAddress.fromString('0x0b14ac0c8027668240350e9bb8a72b55214fc0b6d8c6a9c88f10bde7b09e7afc'),
|
|
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('0x1d24f6da588c88ec4359c598356e13878ab7f45350d4d099b5a87a9f9b7adc87');
|
|
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.3e3d0c9cd",
|
|
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.3e3d0c9cd",
|
|
77
|
+
"@aztec/foundation": "0.0.1-commit.3e3d0c9cd",
|
|
78
|
+
"@aztec/stdlib": "0.0.1-commit.3e3d0c9cd",
|
|
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('0x09c8a09596c929e5de31974d4dd4860eb2026c55049049dfb6d9d6b3e3746f6a'),
|
|
46
|
+
ContractInstanceRegistry: AztecAddress.fromString('0x22386fb447ebce0f427e15bb437538db7e16c4b8c07a099cbd8d46a7c6e40d0e'),
|
|
47
|
+
ContractClassRegistry: AztecAddress.fromString('0x071ff7f82ab52af87c4c0e59fc9d40a87e037a4ddf0ff91023723a612507db6d'),
|
|
48
|
+
MultiCallEntrypoint: AztecAddress.fromString('0x2412c70062c4008d0443b831c0acace57116a50444e970704f080b885fc77af1'),
|
|
49
|
+
FeeJuice: AztecAddress.fromString('0x304dbe6918292846f019fa304efee2f984ab54d159034173e672a9929e9d47a5'),
|
|
50
|
+
PublicChecks: AztecAddress.fromString('0x0b14ac0c8027668240350e9bb8a72b55214fc0b6d8c6a9c88f10bde7b09e7afc')
|
|
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('0x13a3db24f5f462c3cd89ea23f4acd36051440ac98144d298cd1865cd867f1b5a'),
|
|
57
|
+
ContractInstanceRegistry: Fr.fromString('0x09b7b1114eb9aceeaddeaeb64a28f6aeea476148b59b1132a590108555f59993'),
|
|
58
|
+
ContractClassRegistry: Fr.fromString('0x2205b1885eaa2efe3ddf7e4644db142cd4211070bdf474621e7812b12fa31956'),
|
|
59
|
+
MultiCallEntrypoint: Fr.fromString('0x0dc7fac30e0a20648980dff08ad3078284db64722468b135d3e0544f16aaef7a'),
|
|
60
|
+
FeeJuice: Fr.fromString('0x223e5babff493c0ff3f2b3917754359696220b0cbec275079585ff4ea8e838a6'),
|
|
61
|
+
PublicChecks: Fr.fromString('0x2eea7cd6ae7a666c535570d9bef3e0074eafd9fe2c17c1305f658286bcdcdf80')
|
|
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('0x0df932933123adf0691a460cec66a5b178751b54a636aa9b2e08947b4b14ed54'),
|
|
67
67
|
privateFunctionsRoot: Fr.fromString('0x11900a485e3ffa03da98d89abb0c9419200644aaf17f5caa863953fccf1ed88f'),
|
|
68
|
-
publicBytecodeCommitment: Fr.fromString('
|
|
68
|
+
publicBytecodeCommitment: Fr.fromString('0x273e5247744c970249667a6c7a843323211bdaa8d8b257e763d2ff3b6a9971f0'),
|
|
69
69
|
},
|
|
70
70
|
ContractInstanceRegistry: {
|
|
71
|
-
artifactHash: Fr.fromString('
|
|
71
|
+
artifactHash: Fr.fromString('0x109a0eaac50d7676632208084aa69f3b294531e04e76b75d246f7e5315569352'),
|
|
72
72
|
privateFunctionsRoot: Fr.fromString('0x136a6705c7ad1d47f65cb881a56909d4c78d3fa8944f5b103734cd91e654ed63'),
|
|
73
|
-
publicBytecodeCommitment: Fr.fromString('
|
|
73
|
+
publicBytecodeCommitment: Fr.fromString('0x1d40fc843cc358dc36f3646e376b190e36a2a1090acd2d7578918e84aa1d40c3'),
|
|
74
74
|
},
|
|
75
75
|
ContractClassRegistry: {
|
|
76
|
-
artifactHash: Fr.fromString('
|
|
76
|
+
artifactHash: Fr.fromString('0x265eec6019f7d778c5d52701009053a6f38aba6813fe4be7b13d7527cf363081'),
|
|
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('0x2056b21e3fd345dc353e05a273fe31dd06ed67e59faaf16e264e4a1fd7e2f596'),
|
|
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('0x13afeaff15ebd30235f8e465a0f45e8c89f6de79980a4e00cf864304b69e163e'),
|
|
87
87
|
privateFunctionsRoot: Fr.fromString('0x0abef3cfc6ae314886c841b42dc33d3eed255ad3dee7773daabf05b229573759'),
|
|
88
|
-
publicBytecodeCommitment: Fr.fromString('
|
|
88
|
+
publicBytecodeCommitment: Fr.fromString('0x24c51926e5946d4ab6bc111b0f6a30690d25817f983948fa10a3ce0434cb0419'),
|
|
89
89
|
},
|
|
90
90
|
PublicChecks: {
|
|
91
|
-
artifactHash: Fr.fromString('
|
|
91
|
+
artifactHash: Fr.fromString('0x2a23e0ac8db7583eeab97163992978cd24b8a272e4e5862b3e909be1aa8723ec'),
|
|
92
92
|
privateFunctionsRoot: Fr.fromString('0x067243231eddf4222f3911defbba7705aff06ed45960b27f6f91319196ef97e1'),
|
|
93
|
-
publicBytecodeCommitment: Fr.fromString('
|
|
93
|
+
publicBytecodeCommitment: Fr.fromString('0x1fb8fae63fa9e9f34dda88dc2ed06e32fb225f7e8228a1bfb3411c3eed9364e9'),
|
|
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('0x09c8a09596c929e5de31974d4dd4860eb2026c55049049dfb6d9d6b3e3746f6a'),
|
|
119
|
+
AztecAddress.fromString('0x22386fb447ebce0f427e15bb437538db7e16c4b8c07a099cbd8d46a7c6e40d0e'),
|
|
120
|
+
AztecAddress.fromString('0x071ff7f82ab52af87c4c0e59fc9d40a87e037a4ddf0ff91023723a612507db6d'),
|
|
121
|
+
AztecAddress.fromString('0x2412c70062c4008d0443b831c0acace57116a50444e970704f080b885fc77af1'),
|
|
122
|
+
AztecAddress.fromString('0x304dbe6918292846f019fa304efee2f984ab54d159034173e672a9929e9d47a5'),
|
|
123
|
+
AztecAddress.fromString('0x0b14ac0c8027668240350e9bb8a72b55214fc0b6d8c6a9c88f10bde7b09e7afc'),
|
|
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('0x1d24f6da588c88ec4359c598356e13878ab7f45350d4d099b5a87a9f9b7adc87');
|
|
132
132
|
|
|
133
133
|
|
|
134
134
|
|