@aztec/protocol-contracts 0.0.1-commit.cbf2c2d5d → 0.0.1-commit.ce4f8c4f2
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 +98 -140
- package/artifacts/ContractClassRegistry.json +12 -12
- package/artifacts/ContractInstanceRegistry.json +22 -22
- package/artifacts/FeeJuice.json +16 -16
- package/artifacts/MultiCallEntrypoint.json +75 -117
- package/artifacts/PublicChecks.json +29 -71
- package/dest/protocol_contract_data.js +18 -18
- package/package.json +4 -4
- package/src/protocol_contract_data.ts +18 -18
|
@@ -28,30 +28,30 @@ export const ProtocolContractAddress = {
|
|
|
28
28
|
PublicChecks: AztecAddress.fromBigInt(6n)
|
|
29
29
|
};
|
|
30
30
|
export const ProtocolContractDerivedAddress = {
|
|
31
|
-
AuthRegistry: AztecAddress.fromString('
|
|
32
|
-
ContractInstanceRegistry: AztecAddress.fromString('
|
|
31
|
+
AuthRegistry: AztecAddress.fromString('0x0a847d95021e6f94f477dbebbcce8464688e84723a75597b0083603b1ae31c34'),
|
|
32
|
+
ContractInstanceRegistry: AztecAddress.fromString('0x2ac557d59f4e780344660c70b7d269b32dcd89133ce44704027a40ea984c140d'),
|
|
33
33
|
ContractClassRegistry: AztecAddress.fromString('0x2c6630df9bc892ccf46898fbc2997aaafbf7f81430746c06d1f9ac3b632c5497'),
|
|
34
|
-
MultiCallEntrypoint: AztecAddress.fromString('
|
|
34
|
+
MultiCallEntrypoint: AztecAddress.fromString('0x0f51d97fdc7993e8a5dfa26f544804ff9c1a5473ae69988756a8d47ad5700f3b'),
|
|
35
35
|
FeeJuice: AztecAddress.fromString('0x27947b30bc7580789b60e4ae40865b438109af56fc191e2469b408541f92e715'),
|
|
36
|
-
PublicChecks: AztecAddress.fromString('
|
|
36
|
+
PublicChecks: AztecAddress.fromString('0x169879de0a57ed33ff2f23ca169c3c49b001d417f896515c894a23984dd88644')
|
|
37
37
|
};
|
|
38
38
|
export const ProtocolContractClassId = {
|
|
39
|
-
AuthRegistry: Fr.fromString('
|
|
40
|
-
ContractInstanceRegistry: Fr.fromString('
|
|
39
|
+
AuthRegistry: Fr.fromString('0x1cde63d00caee5994ee383fc5fd29d588b0df447c769120360d639ff43b5b15a'),
|
|
40
|
+
ContractInstanceRegistry: Fr.fromString('0x043a81621de929f5933af76ff2f57cce9537d26c26c4c136c5203e67cd4aff89'),
|
|
41
41
|
ContractClassRegistry: Fr.fromString('0x296951a1a1afd6b50de27be695bf18658a5e29a240e9940cf3ebfecc330b2d79'),
|
|
42
|
-
MultiCallEntrypoint: Fr.fromString('
|
|
42
|
+
MultiCallEntrypoint: Fr.fromString('0x0024bc7e208259894179becc1fd0cac591463d0fc2f6fb6f52c0e1841aff2d48'),
|
|
43
43
|
FeeJuice: Fr.fromString('0x1d589a24ac67243d7d0bbddaf5713fbede6f82e365880d65599c6eef86ceae35'),
|
|
44
|
-
PublicChecks: Fr.fromString('
|
|
44
|
+
PublicChecks: Fr.fromString('0x27f4b06d10f954d26f2ba815a46436b96133a8bf5f7d972c6c16d38d7f7f6f67')
|
|
45
45
|
};
|
|
46
46
|
export const ProtocolContractClassIdPreimage = {
|
|
47
47
|
AuthRegistry: {
|
|
48
|
-
artifactHash: Fr.fromString('
|
|
48
|
+
artifactHash: Fr.fromString('0x19b8f6aa8fa60edcfebbed20c679361755501b1226aaac4b89856dd7d2e47b94'),
|
|
49
49
|
privateFunctionsRoot: Fr.fromString('0x11900a485e3ffa03da98d89abb0c9419200644aaf17f5caa863953fccf1ed88f'),
|
|
50
50
|
publicBytecodeCommitment: Fr.fromString('0x03fe8d2f7d592ab04300c1957d9e70f14af378235f73b0fc3ac6a59fecd4ee9d')
|
|
51
51
|
},
|
|
52
52
|
ContractInstanceRegistry: {
|
|
53
53
|
artifactHash: Fr.fromString('0x0680a32d61731ede431aea5f42e39865f2bcac4840ef35eb6a384ea1c2333603'),
|
|
54
|
-
privateFunctionsRoot: Fr.fromString('
|
|
54
|
+
privateFunctionsRoot: Fr.fromString('0x003e0fc68df58cceacc107e1909391217ba2f2033821c97748536a9a1d7a07dc'),
|
|
55
55
|
publicBytecodeCommitment: Fr.fromString('0x173e23c6266b480c9222e2bbd3cc28ff158f8c988e80283de852f91b4bd855ea')
|
|
56
56
|
},
|
|
57
57
|
ContractClassRegistry: {
|
|
@@ -60,7 +60,7 @@ export const ProtocolContractClassIdPreimage = {
|
|
|
60
60
|
publicBytecodeCommitment: Fr.fromString('0x0ce4c618c3ed7f3a20410e618c06bb701e150af7fe28a3e92f68e7733809f33e')
|
|
61
61
|
},
|
|
62
62
|
MultiCallEntrypoint: {
|
|
63
|
-
artifactHash: Fr.fromString('
|
|
63
|
+
artifactHash: Fr.fromString('0x2674100736657625e47481e9d4542bb681620f33b84a296bace581c936ce307a'),
|
|
64
64
|
privateFunctionsRoot: Fr.fromString('0x266505ecb7c02ce6e227227c0b6bdb44713c8ecd43164ee7bb00b8fb340e8b03'),
|
|
65
65
|
publicBytecodeCommitment: Fr.fromString('0x0ce4c618c3ed7f3a20410e618c06bb701e150af7fe28a3e92f68e7733809f33e')
|
|
66
66
|
},
|
|
@@ -70,7 +70,7 @@ export const ProtocolContractClassIdPreimage = {
|
|
|
70
70
|
publicBytecodeCommitment: Fr.fromString('0x21e4b6d1450920af1d52a3cee46198ae52536c4a70dd8780c96bbc70911ba3ef')
|
|
71
71
|
},
|
|
72
72
|
PublicChecks: {
|
|
73
|
-
artifactHash: Fr.fromString('
|
|
73
|
+
artifactHash: Fr.fromString('0x1b24eab5ea8e4714f917d25bbb5b2a9fa08405c6dd9b13e1956f0f9d38c75502'),
|
|
74
74
|
privateFunctionsRoot: Fr.fromString('0x067243231eddf4222f3911defbba7705aff06ed45960b27f6f91319196ef97e1'),
|
|
75
75
|
publicBytecodeCommitment: Fr.fromString('0x123f9e2e26c424665a1958af5c04054bb489c8a4d2aa19af0c93ee9abe43a1ec')
|
|
76
76
|
}
|
|
@@ -93,7 +93,7 @@ export const ProtocolContractPrivateFunctions = {
|
|
|
93
93
|
ContractInstanceRegistry: [
|
|
94
94
|
{
|
|
95
95
|
selector: FunctionSelector.fromField(Fr.fromString('0x0000000000000000000000000000000000000000000000000000000016ec12aa')),
|
|
96
|
-
vkHash: Fr.fromString('
|
|
96
|
+
vkHash: Fr.fromString('0x1e2a5280232a51e7132b4897219096079379f4f0a1670055680d4bf2d2fd6c7d')
|
|
97
97
|
}
|
|
98
98
|
],
|
|
99
99
|
ContractClassRegistry: [
|
|
@@ -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('
|
|
124
|
+
AztecAddress.fromString('0x0a847d95021e6f94f477dbebbcce8464688e84723a75597b0083603b1ae31c34'),
|
|
125
|
+
AztecAddress.fromString('0x2ac557d59f4e780344660c70b7d269b32dcd89133ce44704027a40ea984c140d'),
|
|
126
126
|
AztecAddress.fromString('0x2c6630df9bc892ccf46898fbc2997aaafbf7f81430746c06d1f9ac3b632c5497'),
|
|
127
|
-
AztecAddress.fromString('
|
|
127
|
+
AztecAddress.fromString('0x0f51d97fdc7993e8a5dfa26f544804ff9c1a5473ae69988756a8d47ad5700f3b'),
|
|
128
128
|
AztecAddress.fromString('0x27947b30bc7580789b60e4ae40865b438109af56fc191e2469b408541f92e715'),
|
|
129
|
-
AztecAddress.fromString('
|
|
129
|
+
AztecAddress.fromString('0x169879de0a57ed33ff2f23ca169c3c49b001d417f896515c894a23984dd88644'),
|
|
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('0x06aa0dd8d99654eb1af1e82f417a8a54c39cb25aa4207e29444ecb4fba03580f');
|
|
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.ce4f8c4f2",
|
|
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.ce4f8c4f2",
|
|
77
|
+
"@aztec/foundation": "0.0.1-commit.ce4f8c4f2",
|
|
78
|
+
"@aztec/stdlib": "0.0.1-commit.ce4f8c4f2",
|
|
79
79
|
"lodash.chunk": "^4.2.0",
|
|
80
80
|
"lodash.omit": "^4.5.0",
|
|
81
81
|
"tslib": "^2.4.0"
|
|
@@ -42,34 +42,34 @@ PublicChecks: AztecAddress.fromBigInt(6n)
|
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
export const ProtocolContractDerivedAddress = {
|
|
45
|
-
AuthRegistry: AztecAddress.fromString('
|
|
46
|
-
ContractInstanceRegistry: AztecAddress.fromString('
|
|
45
|
+
AuthRegistry: AztecAddress.fromString('0x0a847d95021e6f94f477dbebbcce8464688e84723a75597b0083603b1ae31c34'),
|
|
46
|
+
ContractInstanceRegistry: AztecAddress.fromString('0x2ac557d59f4e780344660c70b7d269b32dcd89133ce44704027a40ea984c140d'),
|
|
47
47
|
ContractClassRegistry: AztecAddress.fromString('0x2c6630df9bc892ccf46898fbc2997aaafbf7f81430746c06d1f9ac3b632c5497'),
|
|
48
|
-
MultiCallEntrypoint: AztecAddress.fromString('
|
|
48
|
+
MultiCallEntrypoint: AztecAddress.fromString('0x0f51d97fdc7993e8a5dfa26f544804ff9c1a5473ae69988756a8d47ad5700f3b'),
|
|
49
49
|
FeeJuice: AztecAddress.fromString('0x27947b30bc7580789b60e4ae40865b438109af56fc191e2469b408541f92e715'),
|
|
50
|
-
PublicChecks: AztecAddress.fromString('
|
|
50
|
+
PublicChecks: AztecAddress.fromString('0x169879de0a57ed33ff2f23ca169c3c49b001d417f896515c894a23984dd88644')
|
|
51
51
|
};
|
|
52
52
|
|
|
53
53
|
|
|
54
54
|
|
|
55
55
|
export const ProtocolContractClassId: Record<ProtocolContractName, Fr> = {
|
|
56
|
-
AuthRegistry: Fr.fromString('
|
|
57
|
-
ContractInstanceRegistry: Fr.fromString('
|
|
56
|
+
AuthRegistry: Fr.fromString('0x1cde63d00caee5994ee383fc5fd29d588b0df447c769120360d639ff43b5b15a'),
|
|
57
|
+
ContractInstanceRegistry: Fr.fromString('0x043a81621de929f5933af76ff2f57cce9537d26c26c4c136c5203e67cd4aff89'),
|
|
58
58
|
ContractClassRegistry: Fr.fromString('0x296951a1a1afd6b50de27be695bf18658a5e29a240e9940cf3ebfecc330b2d79'),
|
|
59
|
-
MultiCallEntrypoint: Fr.fromString('
|
|
59
|
+
MultiCallEntrypoint: Fr.fromString('0x0024bc7e208259894179becc1fd0cac591463d0fc2f6fb6f52c0e1841aff2d48'),
|
|
60
60
|
FeeJuice: Fr.fromString('0x1d589a24ac67243d7d0bbddaf5713fbede6f82e365880d65599c6eef86ceae35'),
|
|
61
|
-
PublicChecks: Fr.fromString('
|
|
61
|
+
PublicChecks: Fr.fromString('0x27f4b06d10f954d26f2ba815a46436b96133a8bf5f7d972c6c16d38d7f7f6f67')
|
|
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('0x19b8f6aa8fa60edcfebbed20c679361755501b1226aaac4b89856dd7d2e47b94'),
|
|
67
67
|
privateFunctionsRoot: Fr.fromString('0x11900a485e3ffa03da98d89abb0c9419200644aaf17f5caa863953fccf1ed88f'),
|
|
68
68
|
publicBytecodeCommitment: Fr.fromString('0x03fe8d2f7d592ab04300c1957d9e70f14af378235f73b0fc3ac6a59fecd4ee9d'),
|
|
69
69
|
},
|
|
70
70
|
ContractInstanceRegistry: {
|
|
71
71
|
artifactHash: Fr.fromString('0x0680a32d61731ede431aea5f42e39865f2bcac4840ef35eb6a384ea1c2333603'),
|
|
72
|
-
privateFunctionsRoot: Fr.fromString('
|
|
72
|
+
privateFunctionsRoot: Fr.fromString('0x003e0fc68df58cceacc107e1909391217ba2f2033821c97748536a9a1d7a07dc'),
|
|
73
73
|
publicBytecodeCommitment: Fr.fromString('0x173e23c6266b480c9222e2bbd3cc28ff158f8c988e80283de852f91b4bd855ea'),
|
|
74
74
|
},
|
|
75
75
|
ContractClassRegistry: {
|
|
@@ -78,7 +78,7 @@ ContractClassRegistry: {
|
|
|
78
78
|
publicBytecodeCommitment: Fr.fromString('0x0ce4c618c3ed7f3a20410e618c06bb701e150af7fe28a3e92f68e7733809f33e'),
|
|
79
79
|
},
|
|
80
80
|
MultiCallEntrypoint: {
|
|
81
|
-
artifactHash: Fr.fromString('
|
|
81
|
+
artifactHash: Fr.fromString('0x2674100736657625e47481e9d4542bb681620f33b84a296bace581c936ce307a'),
|
|
82
82
|
privateFunctionsRoot: Fr.fromString('0x266505ecb7c02ce6e227227c0b6bdb44713c8ecd43164ee7bb00b8fb340e8b03'),
|
|
83
83
|
publicBytecodeCommitment: Fr.fromString('0x0ce4c618c3ed7f3a20410e618c06bb701e150af7fe28a3e92f68e7733809f33e'),
|
|
84
84
|
},
|
|
@@ -88,7 +88,7 @@ FeeJuice: {
|
|
|
88
88
|
publicBytecodeCommitment: Fr.fromString('0x21e4b6d1450920af1d52a3cee46198ae52536c4a70dd8780c96bbc70911ba3ef'),
|
|
89
89
|
},
|
|
90
90
|
PublicChecks: {
|
|
91
|
-
artifactHash: Fr.fromString('
|
|
91
|
+
artifactHash: Fr.fromString('0x1b24eab5ea8e4714f917d25bbb5b2a9fa08405c6dd9b13e1956f0f9d38c75502'),
|
|
92
92
|
privateFunctionsRoot: Fr.fromString('0x067243231eddf4222f3911defbba7705aff06ed45960b27f6f91319196ef97e1'),
|
|
93
93
|
publicBytecodeCommitment: Fr.fromString('0x123f9e2e26c424665a1958af5c04054bb489c8a4d2aa19af0c93ee9abe43a1ec'),
|
|
94
94
|
}
|
|
@@ -105,7 +105,7 @@ PublicChecks: Fr.fromString('0x0000000000000000000000000000000000000000000000000
|
|
|
105
105
|
|
|
106
106
|
export const ProtocolContractPrivateFunctions: Record<ProtocolContractName, { selector: FunctionSelector; vkHash: Fr }[]> = {
|
|
107
107
|
AuthRegistry: [{ selector: FunctionSelector.fromField(Fr.fromString('0x0000000000000000000000000000000000000000000000000000000079a3d418')), vkHash: Fr.fromString('0x185a64e85b31ece67103f33ec67ddef374308c0a5dc2b7f37e016bca0dce63fb') }],
|
|
108
|
-
ContractInstanceRegistry: [{ selector: FunctionSelector.fromField(Fr.fromString('0x0000000000000000000000000000000000000000000000000000000016ec12aa')), vkHash: Fr.fromString('
|
|
108
|
+
ContractInstanceRegistry: [{ selector: FunctionSelector.fromField(Fr.fromString('0x0000000000000000000000000000000000000000000000000000000016ec12aa')), vkHash: Fr.fromString('0x1e2a5280232a51e7132b4897219096079379f4f0a1670055680d4bf2d2fd6c7d') }],
|
|
109
109
|
ContractClassRegistry: [{ selector: FunctionSelector.fromField(Fr.fromString('0x000000000000000000000000000000000000000000000000000000006934ed0d')), vkHash: Fr.fromString('0x1163f31e191528254c877fce0c7f62dd738f5552bbd2dda97512fe4777377f5b') }],
|
|
110
110
|
MultiCallEntrypoint: [{ selector: FunctionSelector.fromField(Fr.fromString('0x00000000000000000000000000000000000000000000000000000000f04908a9')), vkHash: Fr.fromString('0x21732ab3cecf633e4c31a030df62c93e35a005b89941fdab568d2818c1355192') }],
|
|
111
111
|
FeeJuice: [{ selector: FunctionSelector.fromField(Fr.fromString('0x00000000000000000000000000000000000000000000000000000000cbe67243')), vkHash: Fr.fromString('0x2ad6083b4595f8076c014e5152191013167ab1b5a31ad0cbb06490054c7c59ae') }, { selector: FunctionSelector.fromField(Fr.fromString('0x00000000000000000000000000000000000000000000000000000000e8d374b6')), vkHash: Fr.fromString('0x05aaffffdf797625ff24575d939339303775c5db77fb6bdcecbf955f726fd071') }],
|
|
@@ -115,12 +115,12 @@ PublicChecks: []
|
|
|
115
115
|
|
|
116
116
|
|
|
117
117
|
export const ProtocolContractsList = new ProtocolContracts([
|
|
118
|
-
AztecAddress.fromString('
|
|
119
|
-
AztecAddress.fromString('
|
|
118
|
+
AztecAddress.fromString('0x0a847d95021e6f94f477dbebbcce8464688e84723a75597b0083603b1ae31c34'),
|
|
119
|
+
AztecAddress.fromString('0x2ac557d59f4e780344660c70b7d269b32dcd89133ce44704027a40ea984c140d'),
|
|
120
120
|
AztecAddress.fromString('0x2c6630df9bc892ccf46898fbc2997aaafbf7f81430746c06d1f9ac3b632c5497'),
|
|
121
|
-
AztecAddress.fromString('
|
|
121
|
+
AztecAddress.fromString('0x0f51d97fdc7993e8a5dfa26f544804ff9c1a5473ae69988756a8d47ad5700f3b'),
|
|
122
122
|
AztecAddress.fromString('0x27947b30bc7580789b60e4ae40865b438109af56fc191e2469b408541f92e715'),
|
|
123
|
-
AztecAddress.fromString('
|
|
123
|
+
AztecAddress.fromString('0x169879de0a57ed33ff2f23ca169c3c49b001d417f896515c894a23984dd88644'),
|
|
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('0x06aa0dd8d99654eb1af1e82f417a8a54c39cb25aa4207e29444ecb4fba03580f');
|
|
132
132
|
|
|
133
133
|
|
|
134
134
|
|