@aztec/protocol-contracts 3.0.0-nightly.20251208 → 3.0.0-nightly.20251210

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.
Files changed (31) hide show
  1. package/artifacts/AuthRegistry.json +1 -1
  2. package/artifacts/ContractClassRegistry.json +3 -3
  3. package/artifacts/ContractInstanceRegistry.json +1 -1
  4. package/artifacts/FeeJuice.json +2 -2
  5. package/artifacts/MultiCallEntrypoint.json +1 -1
  6. package/dest/class-registry/contract_class_published_event.d.ts +2 -2
  7. package/dest/class-registry/contract_class_published_event.d.ts.map +1 -1
  8. package/dest/class-registry/private_function_broadcasted_event.d.ts +2 -2
  9. package/dest/class-registry/private_function_broadcasted_event.d.ts.map +1 -1
  10. package/dest/class-registry/utility_function_broadcasted_event.d.ts +2 -2
  11. package/dest/class-registry/utility_function_broadcasted_event.d.ts.map +1 -1
  12. package/dest/class-registry/utility_function_broadcasted_event.js +1 -1
  13. package/dest/fee-juice/index.d.ts +2 -2
  14. package/dest/fee-juice/index.d.ts.map +1 -1
  15. package/dest/instance-registry/contract_instance_published_event.d.ts +2 -2
  16. package/dest/instance-registry/contract_instance_published_event.d.ts.map +1 -1
  17. package/dest/instance-registry/contract_instance_published_event.js +1 -1
  18. package/dest/instance-registry/contract_instance_updated_event.d.ts +2 -2
  19. package/dest/instance-registry/contract_instance_updated_event.d.ts.map +1 -1
  20. package/dest/protocol_contract_data.d.ts +2 -2
  21. package/dest/protocol_contract_data.d.ts.map +1 -1
  22. package/dest/protocol_contract_data.js +12 -12
  23. package/dest/scripts/generate_data.js +3 -3
  24. package/package.json +4 -4
  25. package/src/class-registry/contract_class_published_event.ts +1 -1
  26. package/src/class-registry/private_function_broadcasted_event.ts +1 -1
  27. package/src/class-registry/utility_function_broadcasted_event.ts +1 -1
  28. package/src/fee-juice/index.ts +1 -1
  29. package/src/instance-registry/contract_instance_published_event.ts +1 -1
  30. package/src/instance-registry/contract_instance_updated_event.ts +1 -1
  31. package/src/protocol_contract_data.ts +12 -12
@@ -1,7 +1,7 @@
1
1
  import { CANONICAL_AUTH_REGISTRY_ADDRESS, CONTRACT_CLASS_REGISTRY_CONTRACT_ADDRESS, CONTRACT_INSTANCE_PUBLISHED_MAGIC_VALUE, CONTRACT_INSTANCE_REGISTRY_CONTRACT_ADDRESS, FEE_JUICE_ADDRESS, MAX_PROTOCOL_CONTRACTS, MULTI_CALL_ENTRYPOINT_ADDRESS, ROUTER_ADDRESS } from '@aztec/constants';
2
2
  import { makeTuple } from '@aztec/foundation/array';
3
- import { poseidon2Hash } from '@aztec/foundation/crypto';
4
- import { Fr } from '@aztec/foundation/fields';
3
+ import { poseidon2Hash } from '@aztec/foundation/crypto/poseidon';
4
+ import { Fr } from '@aztec/foundation/curves/bn254';
5
5
  import { createConsoleLogger } from '@aztec/foundation/log';
6
6
  import { loadContractArtifact } from '@aztec/stdlib/abi';
7
7
  import { AztecAddress } from '@aztec/stdlib/aztec-address';
@@ -126,7 +126,7 @@ async function generateLogTags() {
126
126
  async function generateOutputFile(names, derivedAddresses) {
127
127
  const content = `
128
128
  // GENERATED FILE - DO NOT EDIT. RUN \`yarn generate\` or \`yarn generate:data\`
129
- import { Fr } from '@aztec/foundation/fields';
129
+ import { Fr } from '@aztec/foundation/curves/bn254';
130
130
  import { AztecAddress } from '@aztec/stdlib/aztec-address';
131
131
  import { ProtocolContracts } from '@aztec/stdlib/tx';
132
132
 
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": "3.0.0-nightly.20251208",
5
+ "version": "3.0.0-nightly.20251210",
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": "3.0.0-nightly.20251208",
77
- "@aztec/foundation": "3.0.0-nightly.20251208",
78
- "@aztec/stdlib": "3.0.0-nightly.20251208",
76
+ "@aztec/constants": "3.0.0-nightly.20251210",
77
+ "@aztec/foundation": "3.0.0-nightly.20251210",
78
+ "@aztec/stdlib": "3.0.0-nightly.20251210",
79
79
  "lodash.chunk": "^4.2.0",
80
80
  "lodash.omit": "^4.5.0",
81
81
  "tslib": "^2.4.0"
@@ -1,5 +1,5 @@
1
1
  import { CONTRACT_CLASS_PUBLISHED_MAGIC_VALUE } from '@aztec/constants';
2
- import { Fr } from '@aztec/foundation/fields';
2
+ import { Fr } from '@aztec/foundation/curves/bn254';
3
3
  import { FieldReader } from '@aztec/foundation/serialize';
4
4
  import { bufferFromFields } from '@aztec/stdlib/abi';
5
5
  import {
@@ -4,7 +4,7 @@ import {
4
4
  FUNCTION_TREE_HEIGHT,
5
5
  MAX_PACKED_BYTECODE_SIZE_PER_PRIVATE_FUNCTION_IN_FIELDS,
6
6
  } from '@aztec/constants';
7
- import { Fr } from '@aztec/foundation/fields';
7
+ import { Fr } from '@aztec/foundation/curves/bn254';
8
8
  import type { Tuple } from '@aztec/foundation/serialize';
9
9
  import { FieldReader } from '@aztec/foundation/serialize';
10
10
  import { FunctionSelector, bufferFromFields } from '@aztec/stdlib/abi';
@@ -4,7 +4,7 @@ import {
4
4
  MAX_PACKED_BYTECODE_SIZE_PER_UTILITY_FUNCTION_IN_FIELDS,
5
5
  } from '@aztec/constants';
6
6
  import { removeArrayPaddingEnd } from '@aztec/foundation/collection';
7
- import { Fr } from '@aztec/foundation/fields';
7
+ import { Fr } from '@aztec/foundation/curves/bn254';
8
8
  import type { Tuple } from '@aztec/foundation/serialize';
9
9
  import { FieldReader } from '@aztec/foundation/serialize';
10
10
  import { FunctionSelector, bufferFromFields } from '@aztec/stdlib/abi';
@@ -1,4 +1,4 @@
1
- import type { Fr } from '@aztec/foundation/fields';
1
+ import type { Fr } from '@aztec/foundation/curves/bn254';
2
2
  import { loadContractArtifact } from '@aztec/stdlib/abi';
3
3
  import type { AztecAddress } from '@aztec/stdlib/aztec-address';
4
4
  import { computePublicDataTreeLeafSlot, deriveStorageSlotInMap } from '@aztec/stdlib/hash';
@@ -1,4 +1,4 @@
1
- import { Fr } from '@aztec/foundation/fields';
1
+ import { Fr } from '@aztec/foundation/curves/bn254';
2
2
  import { BufferReader } from '@aztec/foundation/serialize';
3
3
  import { AztecAddress } from '@aztec/stdlib/aztec-address';
4
4
  import type { ContractInstanceWithAddress } from '@aztec/stdlib/contract';
@@ -1,5 +1,5 @@
1
1
  import { CONTRACT_INSTANCE_UPDATED_MAGIC_VALUE } from '@aztec/constants';
2
- import { Fr } from '@aztec/foundation/fields';
2
+ import { Fr } from '@aztec/foundation/curves/bn254';
3
3
  import { FieldReader } from '@aztec/foundation/serialize';
4
4
  import { AztecAddress } from '@aztec/stdlib/aztec-address';
5
5
  import type { ContractInstanceUpdateWithAddress } from '@aztec/stdlib/contract';
@@ -1,6 +1,6 @@
1
1
 
2
2
  // GENERATED FILE - DO NOT EDIT. RUN `yarn generate` or `yarn generate:data`
3
- import { Fr } from '@aztec/foundation/fields';
3
+ import { Fr } from '@aztec/foundation/curves/bn254';
4
4
  import { AztecAddress } from '@aztec/stdlib/aztec-address';
5
5
  import { ProtocolContracts } from '@aztec/stdlib/tx';
6
6
 
@@ -41,22 +41,22 @@ Router: AztecAddress.fromBigInt(6n)
41
41
 
42
42
 
43
43
  export const ProtocolContractDerivedAddress = {
44
- AuthRegistry: AztecAddress.fromString('0x0de90bcb8b8fd11089184e3ba816901801304621492aea1242661aa89ca9239e'),
45
- ContractInstanceRegistry: AztecAddress.fromString('0x292fe08836107fa1848c8539a8ba8f339e4c3ceb5eeb4c2d0456e5868f0f32a4'),
46
- ContractClassRegistry: AztecAddress.fromString('0x20b6cbd203044e150f34d56dfb888feb9e58c6ef48de94ddd4c0eade4e579fbc'),
47
- MultiCallEntrypoint: AztecAddress.fromString('0x02507f7a9d445a528950637b53e5e5cc9a9f6befe1f6d1fadf93aba3e7e0209a'),
48
- FeeJuice: AztecAddress.fromString('0x2573b9d8515566579c301048c3b382bd7184406e25f00e9b5df36f091e517b68'),
44
+ AuthRegistry: AztecAddress.fromString('0x0599dbd8e10cdd9dcffe646959ae26fe642df6f95df2805d53b0ad53a37fe53e'),
45
+ ContractInstanceRegistry: AztecAddress.fromString('0x1a89fcae6449f00b4ffb5ad51f4147c2f4ddcb37e4cf9bd8276b104a20fe432d'),
46
+ ContractClassRegistry: AztecAddress.fromString('0x19d30459a2783e62ddbfb2c10993ea14a69ce423addfe1594481519e22a3fe30'),
47
+ MultiCallEntrypoint: AztecAddress.fromString('0x1fa4f66bfdb1284fb397adfe75d820603f2eb7afe179ea4868769b5781a4d72c'),
48
+ FeeJuice: AztecAddress.fromString('0x2fd23c63fbf7b8fc127c7b69dc57f8a055bcc18502e04e50ed4854dd66cc2f69'),
49
49
  Router: AztecAddress.fromString('0x2fed59e101da3e1f0f7e959fd154d042ca447729a80925faf4da42bc8ff05865')
50
50
  };
51
51
 
52
52
 
53
53
 
54
54
  export const ProtocolContractsList = new ProtocolContracts([
55
- AztecAddress.fromString('0x0de90bcb8b8fd11089184e3ba816901801304621492aea1242661aa89ca9239e'),
56
- AztecAddress.fromString('0x292fe08836107fa1848c8539a8ba8f339e4c3ceb5eeb4c2d0456e5868f0f32a4'),
57
- AztecAddress.fromString('0x20b6cbd203044e150f34d56dfb888feb9e58c6ef48de94ddd4c0eade4e579fbc'),
58
- AztecAddress.fromString('0x02507f7a9d445a528950637b53e5e5cc9a9f6befe1f6d1fadf93aba3e7e0209a'),
59
- AztecAddress.fromString('0x2573b9d8515566579c301048c3b382bd7184406e25f00e9b5df36f091e517b68'),
55
+ AztecAddress.fromString('0x0599dbd8e10cdd9dcffe646959ae26fe642df6f95df2805d53b0ad53a37fe53e'),
56
+ AztecAddress.fromString('0x1a89fcae6449f00b4ffb5ad51f4147c2f4ddcb37e4cf9bd8276b104a20fe432d'),
57
+ AztecAddress.fromString('0x19d30459a2783e62ddbfb2c10993ea14a69ce423addfe1594481519e22a3fe30'),
58
+ AztecAddress.fromString('0x1fa4f66bfdb1284fb397adfe75d820603f2eb7afe179ea4868769b5781a4d72c'),
59
+ AztecAddress.fromString('0x2fd23c63fbf7b8fc127c7b69dc57f8a055bcc18502e04e50ed4854dd66cc2f69'),
60
60
  AztecAddress.fromString('0x2fed59e101da3e1f0f7e959fd154d042ca447729a80925faf4da42bc8ff05865'),
61
61
  AztecAddress.fromString('0x0000000000000000000000000000000000000000000000000000000000000000'),
62
62
  AztecAddress.fromString('0x0000000000000000000000000000000000000000000000000000000000000000'),
@@ -65,7 +65,7 @@ AztecAddress.fromString('0x00000000000000000000000000000000000000000000000000000
65
65
  AztecAddress.fromString('0x0000000000000000000000000000000000000000000000000000000000000000')
66
66
  ]);
67
67
 
68
- export const protocolContractsHash = Fr.fromString('0x2ed7755f61bcd7cba2f0e35bc4f86c36edb5973b6e1a395ebf17d4acfd364551');
68
+ export const protocolContractsHash = Fr.fromString('0x0364baca452193e2205cc58659d60f66b2ddfad50a1570a6450bba64fd7d76a7');
69
69
 
70
70
 
71
71