@aztec/protocol-contracts 0.0.1-commit.88c5703d4 → 0.0.1-commit.88e6f9396
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 +4480 -204
- package/artifacts/ContractClassRegistry.json +2014 -42
- package/artifacts/ContractInstanceRegistry.json +2868 -108
- package/artifacts/FeeJuice.json +2938 -92
- package/artifacts/MultiCallEntrypoint.json +3417 -123
- package/artifacts/PublicChecks.json +3475 -145
- 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('0x1a517a5a78c0d9fe5e5474433caeb285113928ad6c20bb3acd0603b2b6a24f2e'),
|
|
32
|
+
ContractInstanceRegistry: AztecAddress.fromString('0x07056c65b49578fe41ad7c4ae2e0c990524a7b721868ea5603cef9d7dcb929da'),
|
|
33
|
+
ContractClassRegistry: AztecAddress.fromString('0x06485095e746db828e43faa948caaded64445b1b88959dc4a104dcbee40702ad'),
|
|
34
|
+
MultiCallEntrypoint: AztecAddress.fromString('0x0a7594218227db082dbc16904a748cc9d010329ef2b12de168a89ea26c22816f'),
|
|
35
|
+
FeeJuice: AztecAddress.fromString('0x2db28cefa75141e556a0130e539bac08a4d39cb9439baa827458a611d0d692dd'),
|
|
36
|
+
PublicChecks: AztecAddress.fromString('0x21d766009b566729918367cc563243a4c4019785aa5346a81184880f94e87677')
|
|
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('0x2bfa533876c2520de0d896047d415ce30a2256fd201cc10ad739b226beac07ac'),
|
|
40
|
+
ContractInstanceRegistry: Fr.fromString('0x01d01f03896ab1073e422b3eba3c636d8cf809463f43bae14d5d37e2209bdddb'),
|
|
41
|
+
ContractClassRegistry: Fr.fromString('0x1b0cea1daf2c3cccb7f5eef8238e2c258dfa66896ebf497dd7b3be569b76bba1'),
|
|
42
|
+
MultiCallEntrypoint: Fr.fromString('0x2d73a7ad5cdaba45f852a4a7f6c2c54886ccf5e279a961bc5f08d85f7401432f'),
|
|
43
|
+
FeeJuice: Fr.fromString('0x0a64437a371e7160c9fc2be9d87906f702cc776bd2575dff6de17d43d028e3db'),
|
|
44
|
+
PublicChecks: Fr.fromString('0x2f28bb250c3349c81b4f62e335046f978be90b6ad7183df47630ee9a22a9cce8')
|
|
45
45
|
};
|
|
46
46
|
export const ProtocolContractClassIdPreimage = {
|
|
47
47
|
AuthRegistry: {
|
|
48
|
-
artifactHash: Fr.fromString('
|
|
48
|
+
artifactHash: Fr.fromString('0x1a0d552e3abfcf4fc2694a3d111f9025867f6d92b666b141476df86ac68562fd'),
|
|
49
49
|
privateFunctionsRoot: Fr.fromString('0x11900a485e3ffa03da98d89abb0c9419200644aaf17f5caa863953fccf1ed88f'),
|
|
50
|
-
publicBytecodeCommitment: Fr.fromString('
|
|
50
|
+
publicBytecodeCommitment: Fr.fromString('0x045d0ce8468d15ce0e8d5e534dbf569e197213483516419a6e43f4eb608ec3ed')
|
|
51
51
|
},
|
|
52
52
|
ContractInstanceRegistry: {
|
|
53
|
-
artifactHash: Fr.fromString('
|
|
53
|
+
artifactHash: Fr.fromString('0x0680a32d61731ede431aea5f42e39865f2bcac4840ef35eb6a384ea1c2333603'),
|
|
54
54
|
privateFunctionsRoot: Fr.fromString('0x136a6705c7ad1d47f65cb881a56909d4c78d3fa8944f5b103734cd91e654ed63'),
|
|
55
|
-
publicBytecodeCommitment: Fr.fromString('
|
|
55
|
+
publicBytecodeCommitment: Fr.fromString('0x138b8b5584dbc8979767774e519bd44941ce00bcd9c1e4201a8b23be336e0ac0')
|
|
56
56
|
},
|
|
57
57
|
ContractClassRegistry: {
|
|
58
|
-
artifactHash: Fr.fromString('
|
|
58
|
+
artifactHash: Fr.fromString('0x055924b00ab600bfad7ece64ffa27ec91118b4182e7f9551e4a660ffe84cf59e'),
|
|
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('0x0010d0285cd03aed3c1792dd71508aa5def3e5eecdfb2ee7b30d559e8be70a14'),
|
|
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('0x29cacf050696c4e82080e573f119aa639b6ac24776e6a47703d268b9d9b8737d'),
|
|
69
69
|
privateFunctionsRoot: Fr.fromString('0x0abef3cfc6ae314886c841b42dc33d3eed255ad3dee7773daabf05b229573759'),
|
|
70
|
-
publicBytecodeCommitment: Fr.fromString('
|
|
70
|
+
publicBytecodeCommitment: Fr.fromString('0x27a6d276eb5b1f7fb9d85be8efa6843e196880716171b1d5e4480a7e8d003b6b')
|
|
71
71
|
},
|
|
72
72
|
PublicChecks: {
|
|
73
|
-
artifactHash: Fr.fromString('
|
|
73
|
+
artifactHash: Fr.fromString('0x28182e012dfa847fa6edc4532915fc5dbde007d4ad6a62634545341438763641'),
|
|
74
74
|
privateFunctionsRoot: Fr.fromString('0x067243231eddf4222f3911defbba7705aff06ed45960b27f6f91319196ef97e1'),
|
|
75
|
-
publicBytecodeCommitment: Fr.fromString('
|
|
75
|
+
publicBytecodeCommitment: Fr.fromString('0x123f9e2e26c424665a1958af5c04054bb489c8a4d2aa19af0c93ee9abe43a1ec')
|
|
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('0x1a517a5a78c0d9fe5e5474433caeb285113928ad6c20bb3acd0603b2b6a24f2e'),
|
|
125
|
+
AztecAddress.fromString('0x07056c65b49578fe41ad7c4ae2e0c990524a7b721868ea5603cef9d7dcb929da'),
|
|
126
|
+
AztecAddress.fromString('0x06485095e746db828e43faa948caaded64445b1b88959dc4a104dcbee40702ad'),
|
|
127
|
+
AztecAddress.fromString('0x0a7594218227db082dbc16904a748cc9d010329ef2b12de168a89ea26c22816f'),
|
|
128
|
+
AztecAddress.fromString('0x2db28cefa75141e556a0130e539bac08a4d39cb9439baa827458a611d0d692dd'),
|
|
129
|
+
AztecAddress.fromString('0x21d766009b566729918367cc563243a4c4019785aa5346a81184880f94e87677'),
|
|
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('0x0882e16a1ff43ac78167d1fc67dc78ac6659fa67ab7093a8918b4cfc88cf79e8');
|
|
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.88e6f9396",
|
|
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.88e6f9396",
|
|
77
|
+
"@aztec/foundation": "0.0.1-commit.88e6f9396",
|
|
78
|
+
"@aztec/stdlib": "0.0.1-commit.88e6f9396",
|
|
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('0x1a517a5a78c0d9fe5e5474433caeb285113928ad6c20bb3acd0603b2b6a24f2e'),
|
|
46
|
+
ContractInstanceRegistry: AztecAddress.fromString('0x07056c65b49578fe41ad7c4ae2e0c990524a7b721868ea5603cef9d7dcb929da'),
|
|
47
|
+
ContractClassRegistry: AztecAddress.fromString('0x06485095e746db828e43faa948caaded64445b1b88959dc4a104dcbee40702ad'),
|
|
48
|
+
MultiCallEntrypoint: AztecAddress.fromString('0x0a7594218227db082dbc16904a748cc9d010329ef2b12de168a89ea26c22816f'),
|
|
49
|
+
FeeJuice: AztecAddress.fromString('0x2db28cefa75141e556a0130e539bac08a4d39cb9439baa827458a611d0d692dd'),
|
|
50
|
+
PublicChecks: AztecAddress.fromString('0x21d766009b566729918367cc563243a4c4019785aa5346a81184880f94e87677')
|
|
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('0x2bfa533876c2520de0d896047d415ce30a2256fd201cc10ad739b226beac07ac'),
|
|
57
|
+
ContractInstanceRegistry: Fr.fromString('0x01d01f03896ab1073e422b3eba3c636d8cf809463f43bae14d5d37e2209bdddb'),
|
|
58
|
+
ContractClassRegistry: Fr.fromString('0x1b0cea1daf2c3cccb7f5eef8238e2c258dfa66896ebf497dd7b3be569b76bba1'),
|
|
59
|
+
MultiCallEntrypoint: Fr.fromString('0x2d73a7ad5cdaba45f852a4a7f6c2c54886ccf5e279a961bc5f08d85f7401432f'),
|
|
60
|
+
FeeJuice: Fr.fromString('0x0a64437a371e7160c9fc2be9d87906f702cc776bd2575dff6de17d43d028e3db'),
|
|
61
|
+
PublicChecks: Fr.fromString('0x2f28bb250c3349c81b4f62e335046f978be90b6ad7183df47630ee9a22a9cce8')
|
|
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('0x1a0d552e3abfcf4fc2694a3d111f9025867f6d92b666b141476df86ac68562fd'),
|
|
67
67
|
privateFunctionsRoot: Fr.fromString('0x11900a485e3ffa03da98d89abb0c9419200644aaf17f5caa863953fccf1ed88f'),
|
|
68
|
-
publicBytecodeCommitment: Fr.fromString('
|
|
68
|
+
publicBytecodeCommitment: Fr.fromString('0x045d0ce8468d15ce0e8d5e534dbf569e197213483516419a6e43f4eb608ec3ed'),
|
|
69
69
|
},
|
|
70
70
|
ContractInstanceRegistry: {
|
|
71
|
-
artifactHash: Fr.fromString('
|
|
71
|
+
artifactHash: Fr.fromString('0x0680a32d61731ede431aea5f42e39865f2bcac4840ef35eb6a384ea1c2333603'),
|
|
72
72
|
privateFunctionsRoot: Fr.fromString('0x136a6705c7ad1d47f65cb881a56909d4c78d3fa8944f5b103734cd91e654ed63'),
|
|
73
|
-
publicBytecodeCommitment: Fr.fromString('
|
|
73
|
+
publicBytecodeCommitment: Fr.fromString('0x138b8b5584dbc8979767774e519bd44941ce00bcd9c1e4201a8b23be336e0ac0'),
|
|
74
74
|
},
|
|
75
75
|
ContractClassRegistry: {
|
|
76
|
-
artifactHash: Fr.fromString('
|
|
76
|
+
artifactHash: Fr.fromString('0x055924b00ab600bfad7ece64ffa27ec91118b4182e7f9551e4a660ffe84cf59e'),
|
|
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('0x0010d0285cd03aed3c1792dd71508aa5def3e5eecdfb2ee7b30d559e8be70a14'),
|
|
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('0x29cacf050696c4e82080e573f119aa639b6ac24776e6a47703d268b9d9b8737d'),
|
|
87
87
|
privateFunctionsRoot: Fr.fromString('0x0abef3cfc6ae314886c841b42dc33d3eed255ad3dee7773daabf05b229573759'),
|
|
88
|
-
publicBytecodeCommitment: Fr.fromString('
|
|
88
|
+
publicBytecodeCommitment: Fr.fromString('0x27a6d276eb5b1f7fb9d85be8efa6843e196880716171b1d5e4480a7e8d003b6b'),
|
|
89
89
|
},
|
|
90
90
|
PublicChecks: {
|
|
91
|
-
artifactHash: Fr.fromString('
|
|
91
|
+
artifactHash: Fr.fromString('0x28182e012dfa847fa6edc4532915fc5dbde007d4ad6a62634545341438763641'),
|
|
92
92
|
privateFunctionsRoot: Fr.fromString('0x067243231eddf4222f3911defbba7705aff06ed45960b27f6f91319196ef97e1'),
|
|
93
|
-
publicBytecodeCommitment: Fr.fromString('
|
|
93
|
+
publicBytecodeCommitment: Fr.fromString('0x123f9e2e26c424665a1958af5c04054bb489c8a4d2aa19af0c93ee9abe43a1ec'),
|
|
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('0x1a517a5a78c0d9fe5e5474433caeb285113928ad6c20bb3acd0603b2b6a24f2e'),
|
|
119
|
+
AztecAddress.fromString('0x07056c65b49578fe41ad7c4ae2e0c990524a7b721868ea5603cef9d7dcb929da'),
|
|
120
|
+
AztecAddress.fromString('0x06485095e746db828e43faa948caaded64445b1b88959dc4a104dcbee40702ad'),
|
|
121
|
+
AztecAddress.fromString('0x0a7594218227db082dbc16904a748cc9d010329ef2b12de168a89ea26c22816f'),
|
|
122
|
+
AztecAddress.fromString('0x2db28cefa75141e556a0130e539bac08a4d39cb9439baa827458a611d0d692dd'),
|
|
123
|
+
AztecAddress.fromString('0x21d766009b566729918367cc563243a4c4019785aa5346a81184880f94e87677'),
|
|
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('0x0882e16a1ff43ac78167d1fc67dc78ac6659fa67ab7093a8918b4cfc88cf79e8');
|
|
132
132
|
|
|
133
133
|
|
|
134
134
|
|