@aztec/protocol-contracts 0.85.0-alpha-testnet.3 → 0.85.0-alpha-testnet.4
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/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.85.0-alpha-testnet.
|
|
5
|
+
"version": "0.85.0-alpha-testnet.4",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"exports": {
|
|
8
8
|
".": "./dest/index.js",
|
|
@@ -71,9 +71,9 @@
|
|
|
71
71
|
]
|
|
72
72
|
},
|
|
73
73
|
"dependencies": {
|
|
74
|
-
"@aztec/constants": "0.85.0-alpha-testnet.
|
|
75
|
-
"@aztec/foundation": "0.85.0-alpha-testnet.
|
|
76
|
-
"@aztec/stdlib": "0.85.0-alpha-testnet.
|
|
74
|
+
"@aztec/constants": "0.85.0-alpha-testnet.4",
|
|
75
|
+
"@aztec/foundation": "0.85.0-alpha-testnet.4",
|
|
76
|
+
"@aztec/stdlib": "0.85.0-alpha-testnet.4",
|
|
77
77
|
"lodash.chunk": "^4.2.0",
|
|
78
78
|
"lodash.omit": "^4.5.0",
|
|
79
79
|
"tslib": "^2.4.0"
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Fr } from '@aztec/foundation/fields';
|
|
2
|
-
import { AztecAddress } from '@aztec/stdlib/aztec-address';
|
|
3
|
-
export declare const protocolContractNames: readonly ["AuthRegistry", "ContractInstanceDeployer", "ContractClassRegisterer", "MultiCallEntrypoint", "FeeJuice", "Router"];
|
|
4
|
-
export type ProtocolContractName = (typeof protocolContractNames)[number];
|
|
5
|
-
export declare const ProtocolContractSalt: Record<ProtocolContractName, Fr>;
|
|
6
|
-
export declare const ProtocolContractAddress: Record<ProtocolContractName, AztecAddress>;
|
|
7
|
-
export declare const ProtocolContractLeaves: {
|
|
8
|
-
AuthRegistry: Fr;
|
|
9
|
-
ContractInstanceDeployer: Fr;
|
|
10
|
-
ContractClassRegisterer: Fr;
|
|
11
|
-
MultiCallEntrypoint: Fr;
|
|
12
|
-
FeeJuice: Fr;
|
|
13
|
-
Router: Fr;
|
|
14
|
-
};
|
|
15
|
-
export declare const protocolContractTreeRoot: Fr;
|
|
16
|
-
export declare const REGISTERER_CONTRACT_CLASS_REGISTERED_TAG: Fr;
|
|
17
|
-
export declare const REGISTERER_PRIVATE_FUNCTION_BROADCASTED_TAG: Fr;
|
|
18
|
-
export declare const REGISTERER_UTILITY_FUNCTION_BROADCASTED_TAG: Fr;
|
|
19
|
-
export declare const DEPLOYER_CONTRACT_INSTANCE_DEPLOYED_TAG: Fr;
|
|
20
|
-
export declare const DEPLOYER_CONTRACT_INSTANCE_UPDATED_TAG: Fr;
|
|
21
|
-
//# sourceMappingURL=protocol_contract_data_2.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"protocol_contract_data_2.d.ts","sourceRoot":"","sources":["../src/protocol_contract_data_2.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,0BAA0B,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAE3D,eAAO,MAAM,qBAAqB,+HAOxB,CAAC;AAEX,MAAM,MAAM,oBAAoB,GAAG,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,CAAC,CAAC;AAE1E,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,oBAAoB,EAAE,EAAE,CAOjE,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,oBAAoB,EAAE,YAAY,CAO9E,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;;;;;CAOlC,CAAC;AAEF,eAAO,MAAM,wBAAwB,IAEpC,CAAC;AAEF,eAAO,MAAM,wCAAwC,IAEpD,CAAC;AACF,eAAO,MAAM,2CAA2C,IAEvD,CAAC;AACF,eAAO,MAAM,2CAA2C,IAEvD,CAAC;AACF,eAAO,MAAM,uCAAuC,IAEnD,CAAC;AACF,eAAO,MAAM,sCAAsC,IAElD,CAAC"}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
// GENERATED FILE - DO NOT EDIT. RUN `yarn generate` or `yarn generate:data`
|
|
2
|
-
import { Fr } from '@aztec/foundation/fields';
|
|
3
|
-
import { AztecAddress } from '@aztec/stdlib/aztec-address';
|
|
4
|
-
export const protocolContractNames = [
|
|
5
|
-
'AuthRegistry',
|
|
6
|
-
'ContractInstanceDeployer',
|
|
7
|
-
'ContractClassRegisterer',
|
|
8
|
-
'MultiCallEntrypoint',
|
|
9
|
-
'FeeJuice',
|
|
10
|
-
'Router'
|
|
11
|
-
];
|
|
12
|
-
export const ProtocolContractSalt = {
|
|
13
|
-
AuthRegistry: new Fr(1),
|
|
14
|
-
ContractInstanceDeployer: new Fr(1),
|
|
15
|
-
ContractClassRegisterer: new Fr(1),
|
|
16
|
-
MultiCallEntrypoint: new Fr(1),
|
|
17
|
-
FeeJuice: new Fr(1),
|
|
18
|
-
Router: new Fr(1)
|
|
19
|
-
};
|
|
20
|
-
export const ProtocolContractAddress = {
|
|
21
|
-
AuthRegistry: AztecAddress.fromBigInt(1n),
|
|
22
|
-
ContractInstanceDeployer: AztecAddress.fromBigInt(2n),
|
|
23
|
-
ContractClassRegisterer: AztecAddress.fromBigInt(3n),
|
|
24
|
-
MultiCallEntrypoint: AztecAddress.fromBigInt(4n),
|
|
25
|
-
FeeJuice: AztecAddress.fromBigInt(5n),
|
|
26
|
-
Router: AztecAddress.fromBigInt(6n)
|
|
27
|
-
};
|
|
28
|
-
export const ProtocolContractLeaves = {
|
|
29
|
-
AuthRegistry: Fr.fromHexString('0x0807ac7ed9aae595efff561f39373a321811ed9bb69d9104fe3035b487ade50a'),
|
|
30
|
-
ContractInstanceDeployer: Fr.fromHexString('0x28c3aee0c74e02b17f1ebf7bcd2c2874d4dce88b2ededf487e07d4b1912303ab'),
|
|
31
|
-
ContractClassRegisterer: Fr.fromHexString('0x1f73d3d99860b24a5e8c4e4a6cadbb097370984293495d4c0bbfd809b690c49f'),
|
|
32
|
-
MultiCallEntrypoint: Fr.fromHexString('0x2182bf9eb009655d81599ac098f641ee5095519f5bb4b30658c61807d4a83ae7'),
|
|
33
|
-
FeeJuice: Fr.fromHexString('0x27e36a350de1027f4c9847e9fbe67585aacd2cb4b8d3edde5e33ba73d5d3c686'),
|
|
34
|
-
Router: Fr.fromHexString('0x292db7e4209a217067fa7c1fcd2e8b98bb94a2fe1e564accda7d1b361bbd7c12')
|
|
35
|
-
};
|
|
36
|
-
export const protocolContractTreeRoot = Fr.fromHexString('0x0d728eb2ee21a9484e34312160bec66dd5995c80bb6cfb51e86528a7dae92870');
|
|
37
|
-
export const REGISTERER_CONTRACT_CLASS_REGISTERED_TAG = Fr.fromHexString('0x20cd27645f65c15a38720ca984aef936592f3938a705db706d068ad13fc58ae9');
|
|
38
|
-
export const REGISTERER_PRIVATE_FUNCTION_BROADCASTED_TAG = Fr.fromHexString('0x0abf338154e355442d9916d630da0491036d5a7b23c42b477c1395ba3bf9b42d');
|
|
39
|
-
export const REGISTERER_UTILITY_FUNCTION_BROADCASTED_TAG = Fr.fromHexString('0x27774539896271d6dbe0c1de45ddc44709d1e8d9a9fb686ca3c105d87c417bb8');
|
|
40
|
-
export const DEPLOYER_CONTRACT_INSTANCE_DEPLOYED_TAG = Fr.fromHexString('0x2ec28b91a5f838506d6042915005ff55cf7a0a5f889a83b11faed33a31b486f2');
|
|
41
|
-
export const DEPLOYER_CONTRACT_INSTANCE_UPDATED_TAG = new Fr(1534834688047131268740281708431107902615560100979874281215533519862n);
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
// GENERATED FILE - DO NOT EDIT. RUN `yarn generate` or `yarn generate:data`
|
|
2
|
-
import { Fr } from '@aztec/foundation/fields';
|
|
3
|
-
import { AztecAddress } from '@aztec/stdlib/aztec-address';
|
|
4
|
-
|
|
5
|
-
export const protocolContractNames = [
|
|
6
|
-
'AuthRegistry',
|
|
7
|
-
'ContractInstanceDeployer',
|
|
8
|
-
'ContractClassRegisterer',
|
|
9
|
-
'MultiCallEntrypoint',
|
|
10
|
-
'FeeJuice',
|
|
11
|
-
'Router',
|
|
12
|
-
] as const;
|
|
13
|
-
|
|
14
|
-
export type ProtocolContractName = (typeof protocolContractNames)[number];
|
|
15
|
-
|
|
16
|
-
export const ProtocolContractSalt: Record<ProtocolContractName, Fr> = {
|
|
17
|
-
AuthRegistry: new Fr(1),
|
|
18
|
-
ContractInstanceDeployer: new Fr(1),
|
|
19
|
-
ContractClassRegisterer: new Fr(1),
|
|
20
|
-
MultiCallEntrypoint: new Fr(1),
|
|
21
|
-
FeeJuice: new Fr(1),
|
|
22
|
-
Router: new Fr(1),
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
export const ProtocolContractAddress: Record<ProtocolContractName, AztecAddress> = {
|
|
26
|
-
AuthRegistry: AztecAddress.fromBigInt(1n),
|
|
27
|
-
ContractInstanceDeployer: AztecAddress.fromBigInt(2n),
|
|
28
|
-
ContractClassRegisterer: AztecAddress.fromBigInt(3n),
|
|
29
|
-
MultiCallEntrypoint: AztecAddress.fromBigInt(4n),
|
|
30
|
-
FeeJuice: AztecAddress.fromBigInt(5n),
|
|
31
|
-
Router: AztecAddress.fromBigInt(6n),
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
export const ProtocolContractLeaves = {
|
|
35
|
-
AuthRegistry: Fr.fromHexString('0x0807ac7ed9aae595efff561f39373a321811ed9bb69d9104fe3035b487ade50a'),
|
|
36
|
-
ContractInstanceDeployer: Fr.fromHexString('0x28c3aee0c74e02b17f1ebf7bcd2c2874d4dce88b2ededf487e07d4b1912303ab'),
|
|
37
|
-
ContractClassRegisterer: Fr.fromHexString('0x1f73d3d99860b24a5e8c4e4a6cadbb097370984293495d4c0bbfd809b690c49f'),
|
|
38
|
-
MultiCallEntrypoint: Fr.fromHexString('0x2182bf9eb009655d81599ac098f641ee5095519f5bb4b30658c61807d4a83ae7'),
|
|
39
|
-
FeeJuice: Fr.fromHexString('0x27e36a350de1027f4c9847e9fbe67585aacd2cb4b8d3edde5e33ba73d5d3c686'),
|
|
40
|
-
Router: Fr.fromHexString('0x292db7e4209a217067fa7c1fcd2e8b98bb94a2fe1e564accda7d1b361bbd7c12'),
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
export const protocolContractTreeRoot = Fr.fromHexString(
|
|
44
|
-
'0x0d728eb2ee21a9484e34312160bec66dd5995c80bb6cfb51e86528a7dae92870',
|
|
45
|
-
);
|
|
46
|
-
|
|
47
|
-
export const REGISTERER_CONTRACT_CLASS_REGISTERED_TAG = Fr.fromHexString(
|
|
48
|
-
'0x20cd27645f65c15a38720ca984aef936592f3938a705db706d068ad13fc58ae9',
|
|
49
|
-
);
|
|
50
|
-
export const REGISTERER_PRIVATE_FUNCTION_BROADCASTED_TAG = Fr.fromHexString(
|
|
51
|
-
'0x0abf338154e355442d9916d630da0491036d5a7b23c42b477c1395ba3bf9b42d',
|
|
52
|
-
);
|
|
53
|
-
export const REGISTERER_UTILITY_FUNCTION_BROADCASTED_TAG = Fr.fromHexString(
|
|
54
|
-
'0x27774539896271d6dbe0c1de45ddc44709d1e8d9a9fb686ca3c105d87c417bb8',
|
|
55
|
-
);
|
|
56
|
-
export const DEPLOYER_CONTRACT_INSTANCE_DEPLOYED_TAG = Fr.fromHexString(
|
|
57
|
-
'0x2ec28b91a5f838506d6042915005ff55cf7a0a5f889a83b11faed33a31b486f2',
|
|
58
|
-
);
|
|
59
|
-
export const DEPLOYER_CONTRACT_INSTANCE_UPDATED_TAG = new Fr(
|
|
60
|
-
1534834688047131268740281708431107902615560100979874281215533519862n,
|
|
61
|
-
);
|