@aztec/protocol-contracts 0.0.1-commit.684755437 → 0.0.1-commit.6b113946b
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 +411 -243
- package/artifacts/ContractClassRegistry.json +25 -25
- package/artifacts/ContractInstanceRegistry.json +42 -42
- package/artifacts/FeeJuice.json +44 -40
- package/artifacts/MultiCallEntrypoint.json +371 -199
- package/artifacts/PublicChecks.json +381 -209
- 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('0x18bbb10e63777aeceae3678e1b211c4f391e665c2b96fc46757c3a93d69b630f'),
|
|
32
|
+
ContractInstanceRegistry: AztecAddress.fromString('0x0fa0aac38574efb29fc8cbb722fcbd04f69f335d59646d2dbd0e4b9846b709d7'),
|
|
33
|
+
ContractClassRegistry: AztecAddress.fromString('0x1c2a9a049d4ecd508dee2c25bfd59c4d732bb5d208f25f450569daa438e56c90'),
|
|
34
|
+
MultiCallEntrypoint: AztecAddress.fromString('0x28a8d91fe41b002b453523ef9dda9fd9ce5cba46e90d958f125d1e6f8c8ceaf1'),
|
|
35
|
+
FeeJuice: AztecAddress.fromString('0x2525057c83e4887fd553b0dc48f55829f0bd3c12d4e2d73353d85778ee686e8b'),
|
|
36
|
+
PublicChecks: AztecAddress.fromString('0x1e883c67d878372ee99e320400c0bad00d85489e954d3f74a3d8355f3a065f23')
|
|
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('0x2164562d9ba389f80739573662835a2aa39d1d64156e318a145bdb8d4595934f'),
|
|
40
|
+
ContractInstanceRegistry: Fr.fromString('0x0a167b0d1f8d3898187eca39e50f693c82a1882c348c499a786533218ebf1a23'),
|
|
41
|
+
ContractClassRegistry: Fr.fromString('0x0046bf06b27533d80cc4f490ec0b289e6fbb1798e82d4ca6fe326d25c793e0ab'),
|
|
42
|
+
MultiCallEntrypoint: Fr.fromString('0x27d88efa52079f3746f86eff9222d3589709795cd5b8c9c8a2e22f22e05a8981'),
|
|
43
|
+
FeeJuice: Fr.fromString('0x1cbf5fdda9269699ce20736078f86e27db37caebecc9216e671489464251c73a'),
|
|
44
|
+
PublicChecks: Fr.fromString('0x1683ef3d6e8f4561d7a98c71ed9762d421ed49a2ed984f17ef1bed1ae1f5444e')
|
|
45
45
|
};
|
|
46
46
|
export const ProtocolContractClassIdPreimage = {
|
|
47
47
|
AuthRegistry: {
|
|
48
|
-
artifactHash: Fr.fromString('
|
|
48
|
+
artifactHash: Fr.fromString('0x0cd9c3b7ea37f91942fa367b2167339c9cf1d5f666cacdd2104043addebc5baf'),
|
|
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('0x281a07a3053cbe68c9506fa446e6139589b9e0aa3fc7ffc4343ff3a201403798'),
|
|
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('0x0ee67302384229157866e269e4a16b6f2f6239869ca3869ff8711cc1935f6f51'),
|
|
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('0x0d082ee46b5aa422fe7b81b3943e8ca8e3edba67386106d872f6d927dbb16b3e'),
|
|
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('0x16472ea73bef3ae20e5be071090901a2d9807f7c786c9eff8dafb41335dd4f24'),
|
|
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('0x2fcb62be6eccadf10f1e4419936f2e9e456b2d6235d85514d55a09baa624597c'),
|
|
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('0x18bbb10e63777aeceae3678e1b211c4f391e665c2b96fc46757c3a93d69b630f'),
|
|
125
|
+
AztecAddress.fromString('0x0fa0aac38574efb29fc8cbb722fcbd04f69f335d59646d2dbd0e4b9846b709d7'),
|
|
126
|
+
AztecAddress.fromString('0x1c2a9a049d4ecd508dee2c25bfd59c4d732bb5d208f25f450569daa438e56c90'),
|
|
127
|
+
AztecAddress.fromString('0x28a8d91fe41b002b453523ef9dda9fd9ce5cba46e90d958f125d1e6f8c8ceaf1'),
|
|
128
|
+
AztecAddress.fromString('0x2525057c83e4887fd553b0dc48f55829f0bd3c12d4e2d73353d85778ee686e8b'),
|
|
129
|
+
AztecAddress.fromString('0x1e883c67d878372ee99e320400c0bad00d85489e954d3f74a3d8355f3a065f23'),
|
|
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('0x22b81727a0077de8a0b0ce59396d36cb0e793e32fbd9ec5e8c19dba1ff769d89');
|
|
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.6b113946b",
|
|
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.6b113946b",
|
|
77
|
+
"@aztec/foundation": "0.0.1-commit.6b113946b",
|
|
78
|
+
"@aztec/stdlib": "0.0.1-commit.6b113946b",
|
|
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('0x18bbb10e63777aeceae3678e1b211c4f391e665c2b96fc46757c3a93d69b630f'),
|
|
46
|
+
ContractInstanceRegistry: AztecAddress.fromString('0x0fa0aac38574efb29fc8cbb722fcbd04f69f335d59646d2dbd0e4b9846b709d7'),
|
|
47
|
+
ContractClassRegistry: AztecAddress.fromString('0x1c2a9a049d4ecd508dee2c25bfd59c4d732bb5d208f25f450569daa438e56c90'),
|
|
48
|
+
MultiCallEntrypoint: AztecAddress.fromString('0x28a8d91fe41b002b453523ef9dda9fd9ce5cba46e90d958f125d1e6f8c8ceaf1'),
|
|
49
|
+
FeeJuice: AztecAddress.fromString('0x2525057c83e4887fd553b0dc48f55829f0bd3c12d4e2d73353d85778ee686e8b'),
|
|
50
|
+
PublicChecks: AztecAddress.fromString('0x1e883c67d878372ee99e320400c0bad00d85489e954d3f74a3d8355f3a065f23')
|
|
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('0x2164562d9ba389f80739573662835a2aa39d1d64156e318a145bdb8d4595934f'),
|
|
57
|
+
ContractInstanceRegistry: Fr.fromString('0x0a167b0d1f8d3898187eca39e50f693c82a1882c348c499a786533218ebf1a23'),
|
|
58
|
+
ContractClassRegistry: Fr.fromString('0x0046bf06b27533d80cc4f490ec0b289e6fbb1798e82d4ca6fe326d25c793e0ab'),
|
|
59
|
+
MultiCallEntrypoint: Fr.fromString('0x27d88efa52079f3746f86eff9222d3589709795cd5b8c9c8a2e22f22e05a8981'),
|
|
60
|
+
FeeJuice: Fr.fromString('0x1cbf5fdda9269699ce20736078f86e27db37caebecc9216e671489464251c73a'),
|
|
61
|
+
PublicChecks: Fr.fromString('0x1683ef3d6e8f4561d7a98c71ed9762d421ed49a2ed984f17ef1bed1ae1f5444e')
|
|
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('0x0cd9c3b7ea37f91942fa367b2167339c9cf1d5f666cacdd2104043addebc5baf'),
|
|
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('0x281a07a3053cbe68c9506fa446e6139589b9e0aa3fc7ffc4343ff3a201403798'),
|
|
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('0x0ee67302384229157866e269e4a16b6f2f6239869ca3869ff8711cc1935f6f51'),
|
|
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('0x0d082ee46b5aa422fe7b81b3943e8ca8e3edba67386106d872f6d927dbb16b3e'),
|
|
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('0x16472ea73bef3ae20e5be071090901a2d9807f7c786c9eff8dafb41335dd4f24'),
|
|
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('0x2fcb62be6eccadf10f1e4419936f2e9e456b2d6235d85514d55a09baa624597c'),
|
|
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('0x18bbb10e63777aeceae3678e1b211c4f391e665c2b96fc46757c3a93d69b630f'),
|
|
119
|
+
AztecAddress.fromString('0x0fa0aac38574efb29fc8cbb722fcbd04f69f335d59646d2dbd0e4b9846b709d7'),
|
|
120
|
+
AztecAddress.fromString('0x1c2a9a049d4ecd508dee2c25bfd59c4d732bb5d208f25f450569daa438e56c90'),
|
|
121
|
+
AztecAddress.fromString('0x28a8d91fe41b002b453523ef9dda9fd9ce5cba46e90d958f125d1e6f8c8ceaf1'),
|
|
122
|
+
AztecAddress.fromString('0x2525057c83e4887fd553b0dc48f55829f0bd3c12d4e2d73353d85778ee686e8b'),
|
|
123
|
+
AztecAddress.fromString('0x1e883c67d878372ee99e320400c0bad00d85489e954d3f74a3d8355f3a065f23'),
|
|
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('0x22b81727a0077de8a0b0ce59396d36cb0e793e32fbd9ec5e8c19dba1ff769d89');
|
|
132
132
|
|
|
133
133
|
|
|
134
134
|
|