@aztec/protocol-contracts 0.0.1-commit.993d52e → 0.0.1-commit.9a89641

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 (87) hide show
  1. package/artifacts/ContractClassRegistry.json +2640 -460
  2. package/artifacts/ContractInstanceRegistry.json +3507 -920
  3. package/artifacts/FeeJuice.json +3990 -960
  4. package/dest/class-registry/contract_class_published_event.d.ts +6 -3
  5. package/dest/class-registry/contract_class_published_event.d.ts.map +1 -1
  6. package/dest/class-registry/contract_class_published_event.js +18 -18
  7. package/dest/class-registry/index.d.ts +1 -3
  8. package/dest/class-registry/index.d.ts.map +1 -1
  9. package/dest/class-registry/index.js +0 -2
  10. package/dest/class-registry/lazy.d.ts +1 -3
  11. package/dest/class-registry/lazy.d.ts.map +1 -1
  12. package/dest/class-registry/lazy.js +1 -3
  13. package/dest/fee-juice/lazy.js +1 -1
  14. package/dest/instance-registry/contract_instance_published_event.d.ts +3 -2
  15. package/dest/instance-registry/contract_instance_published_event.d.ts.map +1 -1
  16. package/dest/instance-registry/contract_instance_published_event.js +7 -3
  17. package/dest/instance-registry/lazy.js +1 -1
  18. package/dest/make_protocol_contract.d.ts +1 -1
  19. package/dest/make_protocol_contract.d.ts.map +1 -1
  20. package/dest/make_protocol_contract.js +3 -1
  21. package/dest/protocol_contract.d.ts +4 -1
  22. package/dest/protocol_contract.d.ts.map +1 -1
  23. package/dest/protocol_contract.js +5 -1
  24. package/dest/protocol_contract_data.d.ts +2 -5
  25. package/dest/protocol_contract_data.d.ts.map +1 -1
  26. package/dest/protocol_contract_data.js +38 -84
  27. package/dest/provider/bundle.d.ts +1 -1
  28. package/dest/provider/bundle.d.ts.map +1 -1
  29. package/dest/provider/bundle.js +1 -7
  30. package/dest/provider/lazy.d.ts +1 -1
  31. package/dest/provider/lazy.d.ts.map +1 -1
  32. package/dest/provider/lazy.js +0 -9
  33. package/dest/scripts/generate_data.js +12 -13
  34. package/dest/tests/fixtures.d.ts +1 -3
  35. package/dest/tests/fixtures.d.ts.map +1 -1
  36. package/dest/tests/fixtures.js +2 -12
  37. package/package.json +5 -4
  38. package/src/class-registry/contract_class_published_event.ts +17 -23
  39. package/src/class-registry/index.ts +0 -2
  40. package/src/class-registry/lazy.ts +1 -3
  41. package/src/fee-juice/lazy.ts +1 -1
  42. package/src/instance-registry/contract_instance_published_event.ts +5 -1
  43. package/src/instance-registry/lazy.ts +1 -1
  44. package/src/make_protocol_contract.ts +3 -1
  45. package/src/protocol_contract.ts +9 -1
  46. package/src/protocol_contract_data.ts +39 -75
  47. package/src/provider/bundle.ts +0 -6
  48. package/src/provider/lazy.ts +0 -9
  49. package/src/tests/fixtures.ts +2 -14
  50. package/artifacts/AuthRegistry.d.json.ts +0 -5
  51. package/artifacts/AuthRegistry.json +0 -2764
  52. package/artifacts/MultiCallEntrypoint.d.json.ts +0 -5
  53. package/artifacts/MultiCallEntrypoint.json +0 -2769
  54. package/artifacts/PublicChecks.d.json.ts +0 -5
  55. package/artifacts/PublicChecks.json +0 -980
  56. package/dest/auth-registry/index.d.ts +0 -6
  57. package/dest/auth-registry/index.d.ts.map +0 -1
  58. package/dest/auth-registry/index.js +0 -13
  59. package/dest/auth-registry/lazy.d.ts +0 -6
  60. package/dest/auth-registry/lazy.d.ts.map +0 -1
  61. package/dest/auth-registry/lazy.js +0 -23
  62. package/dest/class-registry/private_function_broadcasted_event.d.ts +0 -44
  63. package/dest/class-registry/private_function_broadcasted_event.d.ts.map +0 -1
  64. package/dest/class-registry/private_function_broadcasted_event.js +0 -85
  65. package/dest/class-registry/utility_function_broadcasted_event.d.ts +0 -38
  66. package/dest/class-registry/utility_function_broadcasted_event.d.ts.map +0 -1
  67. package/dest/class-registry/utility_function_broadcasted_event.js +0 -81
  68. package/dest/multi-call-entrypoint/index.d.ts +0 -5
  69. package/dest/multi-call-entrypoint/index.d.ts.map +0 -1
  70. package/dest/multi-call-entrypoint/index.js +0 -13
  71. package/dest/multi-call-entrypoint/lazy.d.ts +0 -6
  72. package/dest/multi-call-entrypoint/lazy.d.ts.map +0 -1
  73. package/dest/multi-call-entrypoint/lazy.js +0 -23
  74. package/dest/public-checks/index.d.ts +0 -5
  75. package/dest/public-checks/index.d.ts.map +0 -1
  76. package/dest/public-checks/index.js +0 -13
  77. package/dest/public-checks/lazy.d.ts +0 -6
  78. package/dest/public-checks/lazy.d.ts.map +0 -1
  79. package/dest/public-checks/lazy.js +0 -23
  80. package/src/auth-registry/index.ts +0 -18
  81. package/src/auth-registry/lazy.ts +0 -29
  82. package/src/class-registry/private_function_broadcasted_event.ts +0 -109
  83. package/src/class-registry/utility_function_broadcasted_event.ts +0 -103
  84. package/src/multi-call-entrypoint/index.ts +0 -18
  85. package/src/multi-call-entrypoint/lazy.ts +0 -29
  86. package/src/public-checks/index.ts +0 -18
  87. package/src/public-checks/lazy.ts +0 -29
@@ -2,25 +2,13 @@ import { readFileSync } from 'fs';
2
2
  import { dirname, resolve } from 'path';
3
3
  import { fileURLToPath } from 'url';
4
4
 
5
- // Generated from end-to-end/src/e2e_deploy_contract/contract_class_registration.test.ts with AZTEC_GENERATE_TEST_DATA=1
5
+ // Generated from end-to-end/src/automine/contracts/deploy/contract_class_registration.test.ts with AZTEC_GENERATE_TEST_DATA=1
6
6
  export function getSampleContractClassPublishedEventPayload(): Buffer {
7
7
  const path = getPathToFixture('ContractClassPublishedEventData.hex');
8
8
  return Buffer.from(readFileSync(path).toString(), 'hex');
9
9
  }
10
10
 
11
- // Generated from end-to-end/src/e2e_deploy_contract/contract_class_registration.test.ts with AZTEC_GENERATE_TEST_DATA=1
12
- export function getSamplePrivateFunctionBroadcastedEventPayload(): Buffer {
13
- const path = getPathToFixture('PrivateFunctionBroadcastedEventData.hex');
14
- return Buffer.from(readFileSync(path).toString(), 'hex');
15
- }
16
-
17
- // Generated from end-to-end/src/e2e_deploy_contract/contract_class_registration.test.ts with AZTEC_GENERATE_TEST_DATA=1
18
- export function getSampleUtilityFunctionBroadcastedEventPayload(): Buffer {
19
- const path = getPathToFixture('UtilityFunctionBroadcastedEventData.hex');
20
- return Buffer.from(readFileSync(path).toString(), 'hex');
21
- }
22
-
23
- // Generated from end-to-end/src/e2e_deploy_contract/contract_class_registration.test.ts with AZTEC_GENERATE_TEST_DATA=1
11
+ // Generated from end-to-end/src/automine/contracts/deploy/contract_class_registration.test.ts with AZTEC_GENERATE_TEST_DATA=1
24
12
  export function getSampleContractInstancePublishedEventPayload(): Buffer {
25
13
  const path = getPathToFixture('ContractInstancePublishedEventData.hex');
26
14
  return Buffer.from(readFileSync(path).toString(), 'hex');
@@ -1,5 +0,0 @@
1
-
2
- import type { NoirCompiledContract } from '@aztec/stdlib/noir';
3
- const circuit: NoirCompiledContract;
4
- export = circuit;
5
-