@aztec/aztec.js 0.0.1-commit.24de95ac → 0.0.1-commit.2e2504e2

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 (252) hide show
  1. package/dest/account/account.d.ts +26 -42
  2. package/dest/account/account.d.ts.map +1 -1
  3. package/dest/account/account.js +19 -47
  4. package/dest/account/account_contract.d.ts +9 -10
  5. package/dest/account/account_contract.d.ts.map +1 -1
  6. package/dest/account/account_with_secret_key.d.ts +20 -9
  7. package/dest/account/account_with_secret_key.d.ts.map +1 -1
  8. package/dest/account/account_with_secret_key.js +21 -4
  9. package/dest/account/index.d.ts +4 -3
  10. package/dest/account/index.d.ts.map +1 -1
  11. package/dest/account/index.js +2 -0
  12. package/dest/account/signerless_account.d.ts +7 -9
  13. package/dest/account/signerless_account.d.ts.map +1 -1
  14. package/dest/account/signerless_account.js +8 -11
  15. package/dest/api/abi.d.ts +1 -1
  16. package/dest/api/account.d.ts +3 -4
  17. package/dest/api/account.d.ts.map +1 -1
  18. package/dest/api/account.js +2 -3
  19. package/dest/api/addresses.d.ts +1 -1
  20. package/dest/api/authorization.d.ts +2 -2
  21. package/dest/api/authorization.d.ts.map +1 -1
  22. package/dest/api/authorization.js +1 -1
  23. package/dest/api/block.d.ts +1 -1
  24. package/dest/api/contract.d.ts +17 -11
  25. package/dest/api/contract.d.ts.map +1 -1
  26. package/dest/api/contract.js +15 -9
  27. package/dest/api/crypto.d.ts +1 -1
  28. package/dest/api/deployment.d.ts +1 -1
  29. package/dest/api/eth_address.d.ts +1 -1
  30. package/dest/api/ethereum.d.ts +1 -1
  31. package/dest/api/events.d.ts +1 -1
  32. package/dest/api/fee.d.ts +1 -1
  33. package/dest/api/fee_testing.d.ts +1 -1
  34. package/dest/api/fields.d.ts +3 -2
  35. package/dest/api/fields.d.ts.map +1 -1
  36. package/dest/api/fields.js +2 -1
  37. package/dest/api/keys.d.ts +2 -2
  38. package/dest/api/keys.js +1 -1
  39. package/dest/api/log.d.ts +1 -1
  40. package/dest/api/messaging.d.ts +1 -1
  41. package/dest/api/node.d.ts +8 -4
  42. package/dest/api/node.d.ts.map +1 -1
  43. package/dest/api/node.js +7 -3
  44. package/dest/api/note.d.ts +2 -2
  45. package/dest/api/note.d.ts.map +1 -1
  46. package/dest/api/note.js +1 -1
  47. package/dest/api/protocol.d.ts +7 -1
  48. package/dest/api/protocol.d.ts.map +1 -1
  49. package/dest/api/protocol.js +6 -0
  50. package/dest/api/trees.d.ts +1 -1
  51. package/dest/api/tx.d.ts +2 -2
  52. package/dest/api/tx.d.ts.map +1 -1
  53. package/dest/api/tx.js +1 -1
  54. package/dest/api/utils.d.ts +1 -1
  55. package/dest/api/wallet.d.ts +3 -3
  56. package/dest/api/wallet.d.ts.map +1 -1
  57. package/dest/api/wallet.js +2 -2
  58. package/dest/authorization/call_authorization_request.d.ts +2 -2
  59. package/dest/authorization/call_authorization_request.d.ts.map +1 -1
  60. package/dest/contract/base_contract_interaction.d.ts +8 -11
  61. package/dest/contract/base_contract_interaction.d.ts.map +1 -1
  62. package/dest/contract/base_contract_interaction.js +5 -17
  63. package/dest/contract/batch_call.d.ts +8 -9
  64. package/dest/contract/batch_call.d.ts.map +1 -1
  65. package/dest/contract/batch_call.js +54 -34
  66. package/dest/contract/checker.d.ts +1 -1
  67. package/dest/contract/contract.d.ts +2 -2
  68. package/dest/contract/contract.d.ts.map +1 -1
  69. package/dest/contract/contract.js +4 -5
  70. package/dest/contract/contract_base.d.ts +6 -10
  71. package/dest/contract/contract_base.d.ts.map +1 -1
  72. package/dest/contract/contract_base.js +5 -12
  73. package/dest/contract/contract_function_interaction.d.ts +3 -3
  74. package/dest/contract/contract_function_interaction.d.ts.map +1 -1
  75. package/dest/contract/contract_function_interaction.js +9 -6
  76. package/dest/contract/deploy_method.d.ts +71 -23
  77. package/dest/contract/deploy_method.d.ts.map +1 -1
  78. package/dest/contract/deploy_method.js +49 -29
  79. package/dest/contract/get_gas_limits.d.ts +1 -1
  80. package/dest/contract/interaction_options.d.ts +44 -7
  81. package/dest/contract/interaction_options.d.ts.map +1 -1
  82. package/dest/contract/interaction_options.js +12 -11
  83. package/dest/contract/protocol_contracts/auth-registry.d.ts +27 -0
  84. package/dest/contract/protocol_contracts/auth-registry.d.ts.map +1 -0
  85. package/dest/contract/protocol_contracts/auth-registry.js +558 -0
  86. package/dest/contract/protocol_contracts/contract-class-registry.d.ts +26 -0
  87. package/dest/contract/protocol_contracts/contract-class-registry.d.ts.map +1 -0
  88. package/dest/contract/protocol_contracts/contract-class-registry.js +385 -0
  89. package/dest/contract/protocol_contracts/contract-instance-registry.d.ts +22 -0
  90. package/dest/contract/protocol_contracts/contract-instance-registry.d.ts.map +1 -0
  91. package/dest/contract/protocol_contracts/contract-instance-registry.js +465 -0
  92. package/dest/contract/protocol_contracts/fee-juice.d.ts +21 -0
  93. package/dest/contract/protocol_contracts/fee-juice.d.ts.map +1 -0
  94. package/dest/contract/protocol_contracts/fee-juice.js +426 -0
  95. package/dest/contract/protocol_contracts/multi-call-entrypoint.d.ts +34 -0
  96. package/dest/contract/protocol_contracts/multi-call-entrypoint.d.ts.map +1 -0
  97. package/dest/contract/protocol_contracts/multi-call-entrypoint.js +585 -0
  98. package/dest/contract/protocol_contracts/public-checks.d.ts +26 -0
  99. package/dest/contract/protocol_contracts/public-checks.d.ts.map +1 -0
  100. package/dest/contract/protocol_contracts/public-checks.js +593 -0
  101. package/dest/contract/wait_for_proven.d.ts +2 -2
  102. package/dest/contract/wait_for_proven.d.ts.map +1 -1
  103. package/dest/contract/wait_for_proven.js +1 -1
  104. package/dest/contract/wait_opts.d.ts +16 -0
  105. package/dest/contract/wait_opts.d.ts.map +1 -0
  106. package/dest/contract/wait_opts.js +5 -0
  107. package/dest/deployment/broadcast_function.d.ts +1 -1
  108. package/dest/deployment/broadcast_function.js +4 -4
  109. package/dest/deployment/contract_deployer.d.ts +1 -1
  110. package/dest/deployment/contract_deployer.d.ts.map +1 -1
  111. package/dest/deployment/contract_deployer.js +1 -1
  112. package/dest/deployment/publish_class.d.ts +1 -1
  113. package/dest/deployment/publish_class.js +3 -3
  114. package/dest/deployment/publish_instance.d.ts +2 -2
  115. package/dest/deployment/publish_instance.d.ts.map +1 -1
  116. package/dest/deployment/publish_instance.js +3 -3
  117. package/dest/ethereum/portal_manager.d.ts +7 -6
  118. package/dest/ethereum/portal_manager.d.ts.map +1 -1
  119. package/dest/ethereum/portal_manager.js +48 -22
  120. package/dest/fee/fee_juice_payment_method_with_claim.d.ts +2 -2
  121. package/dest/fee/fee_juice_payment_method_with_claim.d.ts.map +1 -1
  122. package/dest/fee/fee_juice_payment_method_with_claim.js +3 -3
  123. package/dest/fee/fee_payment_method.d.ts +2 -2
  124. package/dest/fee/fee_payment_method.d.ts.map +1 -1
  125. package/dest/fee/private_fee_payment_method.d.ts +2 -2
  126. package/dest/fee/private_fee_payment_method.d.ts.map +1 -1
  127. package/dest/fee/private_fee_payment_method.js +4 -4
  128. package/dest/fee/public_fee_payment_method.d.ts +2 -2
  129. package/dest/fee/public_fee_payment_method.d.ts.map +1 -1
  130. package/dest/fee/public_fee_payment_method.js +4 -4
  131. package/dest/fee/sponsored_fee_payment.d.ts +2 -2
  132. package/dest/fee/sponsored_fee_payment.d.ts.map +1 -1
  133. package/dest/fee/sponsored_fee_payment.js +2 -2
  134. package/dest/scripts/generate_protocol_contract_types.d.ts +2 -0
  135. package/dest/scripts/generate_protocol_contract_types.d.ts.map +1 -0
  136. package/dest/scripts/generate_protocol_contract_types.js +120 -0
  137. package/dest/utils/abi_types.d.ts +2 -2
  138. package/dest/utils/abi_types.d.ts.map +1 -1
  139. package/dest/utils/authwit.d.ts +14 -12
  140. package/dest/utils/authwit.d.ts.map +1 -1
  141. package/dest/utils/authwit.js +27 -20
  142. package/dest/utils/cross_chain.d.ts +2 -2
  143. package/dest/utils/cross_chain.d.ts.map +1 -1
  144. package/dest/utils/fee_juice.d.ts +2 -2
  145. package/dest/utils/fee_juice.js +2 -2
  146. package/dest/utils/field_compressed_string.d.ts +1 -1
  147. package/dest/utils/field_compressed_string.d.ts.map +1 -1
  148. package/dest/utils/field_compressed_string.js +1 -1
  149. package/dest/utils/node.d.ts +13 -2
  150. package/dest/utils/node.d.ts.map +1 -1
  151. package/dest/utils/node.js +46 -0
  152. package/dest/utils/pub_key.d.ts +2 -2
  153. package/dest/utils/pub_key.d.ts.map +1 -1
  154. package/dest/utils/pub_key.js +1 -1
  155. package/dest/wallet/account_entrypoint_meta_payment_method.d.ts +6 -9
  156. package/dest/wallet/account_entrypoint_meta_payment_method.d.ts.map +1 -1
  157. package/dest/wallet/account_entrypoint_meta_payment_method.js +29 -44
  158. package/dest/wallet/account_manager.d.ts +3 -9
  159. package/dest/wallet/account_manager.d.ts.map +1 -1
  160. package/dest/wallet/account_manager.js +6 -12
  161. package/dest/wallet/capabilities.d.ts +444 -0
  162. package/dest/wallet/capabilities.d.ts.map +1 -0
  163. package/dest/wallet/capabilities.js +3 -0
  164. package/dest/wallet/deploy_account_method.d.ts +37 -9
  165. package/dest/wallet/deploy_account_method.d.ts.map +1 -1
  166. package/dest/wallet/deploy_account_method.js +9 -7
  167. package/dest/wallet/index.d.ts +2 -2
  168. package/dest/wallet/index.d.ts.map +1 -1
  169. package/dest/wallet/index.js +1 -1
  170. package/dest/wallet/wallet.d.ts +1577 -1465
  171. package/dest/wallet/wallet.d.ts.map +1 -1
  172. package/dest/wallet/wallet.js +200 -111
  173. package/package.json +26 -14
  174. package/src/account/account.ts +35 -60
  175. package/src/account/account_contract.ts +7 -8
  176. package/src/account/account_with_secret_key.ts +34 -9
  177. package/src/account/index.ts +3 -2
  178. package/src/account/signerless_account.ts +15 -15
  179. package/src/api/account.ts +10 -3
  180. package/src/api/authorization.ts +1 -0
  181. package/src/api/contract.ts +24 -8
  182. package/src/api/fields.ts +2 -1
  183. package/src/api/keys.ts +2 -2
  184. package/src/api/node.ts +7 -3
  185. package/src/api/note.ts +1 -1
  186. package/src/api/protocol.ts +7 -0
  187. package/src/api/tx.ts +4 -0
  188. package/src/api/wallet.ts +47 -8
  189. package/src/authorization/call_authorization_request.ts +1 -1
  190. package/src/contract/base_contract_interaction.ts +27 -16
  191. package/src/contract/batch_call.ts +67 -48
  192. package/src/contract/contract.ts +7 -5
  193. package/src/contract/contract_base.ts +5 -15
  194. package/src/contract/contract_function_interaction.ts +10 -11
  195. package/src/contract/deploy_method.ts +134 -40
  196. package/src/contract/interaction_options.ts +52 -13
  197. package/src/contract/protocol_contracts/auth-registry.ts +351 -0
  198. package/src/contract/protocol_contracts/contract-class-registry.ts +241 -0
  199. package/src/contract/protocol_contracts/contract-instance-registry.ts +302 -0
  200. package/src/contract/protocol_contracts/fee-juice.ts +264 -0
  201. package/src/contract/protocol_contracts/multi-call-entrypoint.ts +332 -0
  202. package/src/contract/protocol_contracts/public-checks.ts +316 -0
  203. package/src/contract/wait_for_proven.ts +1 -1
  204. package/src/contract/wait_opts.ts +21 -0
  205. package/src/deployment/broadcast_function.ts +4 -4
  206. package/src/deployment/contract_deployer.ts +3 -2
  207. package/src/deployment/publish_class.ts +3 -3
  208. package/src/deployment/publish_instance.ts +3 -6
  209. package/src/ethereum/portal_manager.ts +65 -34
  210. package/src/fee/fee_juice_payment_method_with_claim.ts +4 -2
  211. package/src/fee/fee_payment_method.ts +1 -1
  212. package/src/fee/private_fee_payment_method.ts +5 -3
  213. package/src/fee/public_fee_payment_method.ts +5 -3
  214. package/src/fee/sponsored_fee_payment.ts +3 -1
  215. package/src/scripts/generate_protocol_contract_types.ts +150 -0
  216. package/src/utils/abi_types.ts +1 -1
  217. package/src/utils/authwit.ts +40 -22
  218. package/src/utils/cross_chain.ts +1 -1
  219. package/src/utils/fee_juice.ts +2 -2
  220. package/src/utils/field_compressed_string.ts +1 -1
  221. package/src/utils/node.ts +62 -0
  222. package/src/utils/pub_key.ts +2 -2
  223. package/src/wallet/account_entrypoint_meta_payment_method.ts +29 -60
  224. package/src/wallet/account_manager.ts +7 -15
  225. package/src/wallet/capabilities.ts +491 -0
  226. package/src/wallet/deploy_account_method.ts +41 -16
  227. package/src/wallet/index.ts +1 -1
  228. package/src/wallet/wallet.ts +322 -151
  229. package/dest/account/interface.d.ts +0 -19
  230. package/dest/account/interface.d.ts.map +0 -1
  231. package/dest/account/interface.js +0 -5
  232. package/dest/contract/deploy_sent_tx.d.ts +0 -43
  233. package/dest/contract/deploy_sent_tx.d.ts.map +0 -1
  234. package/dest/contract/deploy_sent_tx.js +0 -40
  235. package/dest/contract/protocol_contracts.d.ts +0 -9
  236. package/dest/contract/protocol_contracts.d.ts.map +0 -1
  237. package/dest/contract/protocol_contracts.js +0 -26
  238. package/dest/contract/sent_tx.d.ts +0 -51
  239. package/dest/contract/sent_tx.d.ts.map +0 -1
  240. package/dest/contract/sent_tx.js +0 -90
  241. package/dest/contract/unsafe_contract.d.ts +0 -15
  242. package/dest/contract/unsafe_contract.d.ts.map +0 -1
  243. package/dest/contract/unsafe_contract.js +0 -6
  244. package/dest/wallet/base_wallet.d.ts +0 -91
  245. package/dest/wallet/base_wallet.d.ts.map +0 -1
  246. package/dest/wallet/base_wallet.js +0 -238
  247. package/src/account/interface.ts +0 -25
  248. package/src/contract/deploy_sent_tx.ts +0 -68
  249. package/src/contract/protocol_contracts.ts +0 -35
  250. package/src/contract/sent_tx.ts +0 -130
  251. package/src/contract/unsafe_contract.ts +0 -19
  252. package/src/wallet/base_wallet.ts +0 -350
@@ -1,18 +1,18 @@
1
1
  import type { ChainInfo } from '@aztec/entrypoints/interfaces';
2
- import type { ExecutionPayload } from '@aztec/entrypoints/payload';
3
- import type { Fr } from '@aztec/foundation/fields';
4
- import { type ContractArtifact, type EventMetadataDefinition, FunctionType } from '@aztec/stdlib/abi';
2
+ import { BlockNumber } from '@aztec/foundation/branded-types';
3
+ import type { Fr } from '@aztec/foundation/curves/bn254';
4
+ import { type ContractArtifact, type EventMetadataDefinition, type FunctionCall, FunctionType } from '@aztec/stdlib/abi';
5
5
  import { AuthWitness } from '@aztec/stdlib/auth-witness';
6
6
  import type { AztecAddress } from '@aztec/stdlib/aztec-address';
7
- import { type ContractClassMetadata, type ContractInstanceWithAddress, type ContractInstantiationData, type ContractMetadata } from '@aztec/stdlib/contract';
7
+ import { type ContractInstanceWithAddress } from '@aztec/stdlib/contract';
8
8
  import { Gas } from '@aztec/stdlib/gas';
9
- import { PublicKeys } from '@aztec/stdlib/keys';
10
- import { type ApiSchemaFor, type ZodFor } from '@aztec/stdlib/schemas';
11
- import { Capsule, HashedValues, TxHash, TxProfileResult, TxReceipt, TxSimulationResult, UtilitySimulationResult } from '@aztec/stdlib/tx';
9
+ import { type ApiSchemaFor } from '@aztec/stdlib/schemas';
10
+ import type { ExecutionPayload, InTx } from '@aztec/stdlib/tx';
11
+ import { Capsule, HashedValues, TxHash, TxProfileResult, TxSimulationResult, UtilitySimulationResult } from '@aztec/stdlib/tx';
12
12
  import { z } from 'zod';
13
- import type { Contract } from '../contract/contract.js';
14
- import type { FeeEstimationOptions, GasSettingsOption, ProfileInteractionOptions, SendInteractionOptions, SimulateInteractionOptions } from '../contract/interaction_options.js';
13
+ import { type FeeEstimationOptions, type GasSettingsOption, type InteractionWaitOptions, type ProfileInteractionOptions, type SendInteractionOptionsWithoutWait, type SendReturn, type SimulateInteractionOptions } from '../contract/interaction_options.js';
15
14
  import type { CallIntent, IntentInnerHash } from '../utils/authwit.js';
15
+ import type { AppCapabilities, WalletCapabilities } from './capabilities.js';
16
16
  /**
17
17
  * A wrapper type that allows any item to be associated with an alias.
18
18
  */
@@ -26,71 +26,65 @@ export type Aliased<T> = {
26
26
  */
27
27
  item: T;
28
28
  };
29
- /**
30
- * A reduced representation of a Contract, only including its instance and artifact
31
- */
32
- export type ContractInstanceAndArtifact = Pick<Contract, 'artifact' | 'instance'>;
33
- /**
34
- * Options that can be provided to the wallet for configuration of the fee payment.
35
- */
36
- export type UserFeeOptions = {
37
- /**
38
- * Informs the wallet that the crafted tx already contains the necessary calls to pay for its fee
39
- * and who is paying
40
- */
41
- embeddedPaymentMethodFeePayer?: AztecAddress;
42
- } & GasSettingsOption;
43
29
  /**
44
30
  * Options for simulating interactions with the wallet. Overrides the fee settings of an interaction with
45
- * a simplified version that only hints at the wallet wether the interaction contains a
31
+ * a simplified version that only hints at the wallet whether the interaction contains a
46
32
  * fee payment method or not
47
33
  */
48
34
  export type SimulateOptions = Omit<SimulateInteractionOptions, 'fee'> & {
49
35
  /** The fee options */
50
- fee?: UserFeeOptions & FeeEstimationOptions;
36
+ fee?: GasSettingsOption & FeeEstimationOptions;
51
37
  };
52
38
  /**
53
39
  * Options for profiling interactions with the wallet. Overrides the fee settings of an interaction with
54
- * a simplified version that only hints at the wallet wether the interaction contains a
40
+ * a simplified version that only hints at the wallet whether the interaction contains a
55
41
  * fee payment method or not
56
42
  */
57
43
  export type ProfileOptions = Omit<ProfileInteractionOptions, 'fee'> & {
58
44
  /** The fee options */
59
- fee?: UserFeeOptions;
45
+ fee?: GasSettingsOption;
60
46
  };
61
47
  /**
62
48
  * Options for sending/proving interactions with the wallet. Overrides the fee settings of an interaction with
63
- * a simplified version that only hints at the wallet wether the interaction contains a
49
+ * a simplified version that only hints at the wallet whether the interaction contains a
64
50
  * fee payment method or not
65
51
  */
66
- export type SendOptions = Omit<SendInteractionOptions, 'fee'> & {
52
+ export type SendOptions<W extends InteractionWaitOptions = undefined> = Omit<SendInteractionOptionsWithoutWait, 'fee'> & {
67
53
  /** The fee options */
68
- fee?: UserFeeOptions;
54
+ fee?: GasSettingsOption;
55
+ /** Whether to wait for the transaction to be mined */
56
+ wait?: W;
69
57
  };
70
58
  /**
71
- * Helper type that represents all methods that can be batched.
59
+ * Helper type that represents all methods that can be batched (all methods except batch itself).
72
60
  */
73
- export type BatchableMethods = Pick<Wallet, 'registerContract' | 'sendTx' | 'registerSender' | 'simulateUtility'>;
61
+ export type BatchableMethods = Omit<Wallet, 'batch'>;
74
62
  /**
75
- * From the batchable methods, we create a type that represents a method call with its name and arguments.
76
- * This is what the wallet will accept as arguments to the `batch` method.
63
+ * A method call with its name and arguments.
77
64
  */
78
- export type BatchedMethod<T extends keyof BatchableMethods> = {
65
+ type BatchedMethodInternal<T extends keyof BatchableMethods> = {
79
66
  /** The method name */
80
67
  name: T;
81
68
  /** The method arguments */
82
69
  args: Parameters<BatchableMethods[T]>;
83
70
  };
71
+ /**
72
+ * Union of all possible batched method calls.
73
+ * This ensures type safety: the `args` must match the specific `name`.
74
+ */
75
+ export type BatchedMethod = {
76
+ [K in keyof BatchableMethods]: BatchedMethodInternal<K>;
77
+ }[keyof BatchableMethods];
84
78
  /**
85
79
  * Helper type to extract the return type of a batched method
86
80
  */
87
- export type BatchedMethodResult<T> = T extends BatchedMethod<infer K> ? Awaited<ReturnType<BatchableMethods[K]>> : never;
81
+ export type BatchedMethodResult<T> = T extends BatchedMethodInternal<infer K> ? Awaited<ReturnType<BatchableMethods[K]>> : never;
88
82
  /**
89
83
  * Wrapper type for batch results that includes the method name for discriminated union deserialization.
90
84
  * Each result is wrapped as \{ name: 'methodName', result: ActualResult \} to allow proper deserialization
91
85
  * when AztecAddress and TxHash would otherwise be ambiguous (both are hex strings).
92
86
  */
93
- export type BatchedMethodResultWrapper<T extends BatchedMethod<keyof BatchableMethods>> = {
87
+ export type BatchedMethodResultWrapper<T extends BatchedMethod> = {
94
88
  /** The method name */
95
89
  name: T['name'];
96
90
  /** The method result */
@@ -99,304 +93,176 @@ export type BatchedMethodResultWrapper<T extends BatchedMethod<keyof BatchableMe
99
93
  /**
100
94
  * Maps a tuple of BatchedMethod to a tuple of their wrapped return types
101
95
  */
102
- export type BatchResults<T extends readonly BatchedMethod<keyof BatchableMethods>[]> = {
96
+ export type BatchResults<T extends readonly BatchedMethod[]> = {
103
97
  [K in keyof T]: BatchedMethodResultWrapper<T[K]>;
104
98
  };
99
+ /**
100
+ * Filter options when querying private events.
101
+ */
102
+ export type PrivateEventFilter = {
103
+ /** The address of the contract that emitted the events. */
104
+ contractAddress: AztecAddress;
105
+ /** Addresses of accounts that are in scope for this filter. */
106
+ scopes: AztecAddress[];
107
+ /** Transaction in which the events were emitted. */
108
+ txHash?: TxHash;
109
+ /** The block number from which to start fetching events (inclusive).
110
+ * Optional. If provided, it must be greater or equal than 1.
111
+ * Defaults to the initial L2 block number (INITIAL_L2_BLOCK_NUM).
112
+ * */
113
+ fromBlock?: BlockNumber;
114
+ /** The block number until which to fetch logs (not inclusive).
115
+ * Optional. If provided, it must be greater than fromBlock.
116
+ * Defaults to the latest known block to PXE + 1.
117
+ */
118
+ toBlock?: BlockNumber;
119
+ };
120
+ /**
121
+ * An ABI decoded private event with associated metadata.
122
+ */
123
+ export type PrivateEvent<T> = {
124
+ /** The ABI decoded event */
125
+ event: T;
126
+ /** Metadata describing event context information such as tx and block */
127
+ metadata: InTx;
128
+ };
129
+ /**
130
+ * Contract metadata including deployment and registration status.
131
+ */
132
+ export type ContractMetadata = {
133
+ /** The contract instance */
134
+ instance?: ContractInstanceWithAddress;
135
+ /** Whether the contract has been initialized (init nullifier exists) */
136
+ isContractInitialized: boolean;
137
+ /** Whether the contract instance is publicly deployed on-chain */
138
+ isContractPublished: boolean;
139
+ /** Whether the contract has been updated to a different class */
140
+ isContractUpdated: boolean;
141
+ /** The updated contract class ID if the contract has been updated */
142
+ updatedContractClassId?: Fr | undefined;
143
+ };
144
+ /**
145
+ * Contract class metadata.
146
+ */
147
+ export type ContractClassMetadata = {
148
+ /** Whether the artifact is registered in the wallet */
149
+ isArtifactRegistered: boolean;
150
+ /** Whether the contract class is publicly registered on-chain */
151
+ isContractClassPubliclyRegistered: boolean;
152
+ };
105
153
  /**
106
154
  * The wallet interface.
107
155
  */
108
156
  export type Wallet = {
109
- getContractClassMetadata(id: Fr, includeArtifact?: boolean): Promise<ContractClassMetadata>;
110
- getContractMetadata(address: AztecAddress): Promise<ContractMetadata>;
111
- getPrivateEvents<T>(contractAddress: AztecAddress, eventMetadata: EventMetadataDefinition, from: number, numBlocks: number, recipients: AztecAddress[]): Promise<T[]>;
157
+ getPrivateEvents<T>(eventMetadata: EventMetadataDefinition, eventFilter: PrivateEventFilter): Promise<PrivateEvent<T>[]>;
112
158
  getChainInfo(): Promise<ChainInfo>;
113
- getTxReceipt(txHash: TxHash): Promise<TxReceipt>;
159
+ getContractMetadata(address: AztecAddress): Promise<ContractMetadata>;
160
+ getContractClassMetadata(id: Fr): Promise<ContractClassMetadata>;
114
161
  registerSender(address: AztecAddress, alias?: string): Promise<AztecAddress>;
115
162
  getAddressBook(): Promise<Aliased<AztecAddress>[]>;
116
163
  getAccounts(): Promise<Aliased<AztecAddress>[]>;
117
- registerContract(instanceData: AztecAddress | ContractInstanceWithAddress | ContractInstantiationData | ContractInstanceAndArtifact): Promise<ContractInstanceWithAddress>;
118
- registerContract(instanceData: AztecAddress | ContractInstanceWithAddress | ContractInstantiationData | ContractInstanceAndArtifact, artifact: ContractArtifact): Promise<ContractInstanceWithAddress>;
119
- registerContract(instanceData: AztecAddress | ContractInstanceWithAddress | ContractInstantiationData | ContractInstanceAndArtifact, artifact: ContractArtifact | undefined, secretKey: Fr | undefined): Promise<ContractInstanceWithAddress>;
164
+ registerContract(instance: ContractInstanceWithAddress, artifact?: ContractArtifact, secretKey?: Fr): Promise<ContractInstanceWithAddress>;
120
165
  simulateTx(exec: ExecutionPayload, opts: SimulateOptions): Promise<TxSimulationResult>;
121
- simulateUtility(functionName: string, args: any[], to: AztecAddress, authwits?: AuthWitness[]): Promise<UtilitySimulationResult>;
166
+ simulateUtility(call: FunctionCall, authwits?: AuthWitness[]): Promise<UtilitySimulationResult>;
122
167
  profileTx(exec: ExecutionPayload, opts: ProfileOptions): Promise<TxProfileResult>;
123
- sendTx(exec: ExecutionPayload, opts: SendOptions): Promise<TxHash>;
124
- createAuthWit(from: AztecAddress, messageHashOrIntent: Fr | Buffer<ArrayBuffer> | IntentInnerHash | CallIntent): Promise<AuthWitness>;
125
- batch<const T extends readonly BatchedMethod<keyof BatchableMethods>[]>(methods: T): Promise<BatchResults<T>>;
168
+ sendTx<W extends InteractionWaitOptions = undefined>(exec: ExecutionPayload, opts: SendOptions<W>): Promise<SendReturn<W>>;
169
+ createAuthWit(from: AztecAddress, messageHashOrIntent: IntentInnerHash | CallIntent): Promise<AuthWitness>;
170
+ requestCapabilities(manifest: AppCapabilities): Promise<WalletCapabilities>;
171
+ batch<const T extends readonly BatchedMethod[]>(methods: T): Promise<BatchResults<T>>;
126
172
  };
127
- export declare const ContractInstantiationDataSchema: z.ZodObject<{
128
- constructorArtifact: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodObject<{
129
- name: z.ZodString;
130
- functionType: z.ZodNativeEnum<typeof FunctionType>;
131
- isInternal: z.ZodBoolean;
132
- isStatic: z.ZodBoolean;
133
- isInitializer: z.ZodBoolean;
134
- parameters: z.ZodArray<z.ZodObject<{
135
- name: z.ZodString;
136
- type: z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>;
137
- visibility: z.ZodEnum<["public", "private", "databus"]>;
138
- }, "strip", z.ZodTypeAny, {
139
- type: import("@aztec/stdlib/abi").AbiType;
140
- name: string;
141
- visibility: "public" | "private" | "databus";
142
- }, {
143
- type: import("@aztec/stdlib/abi").AbiType;
144
- name: string;
145
- visibility: "public" | "private" | "databus";
146
- }>, "many">;
147
- returnTypes: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
148
- errorTypes: z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodUnion<[z.ZodObject<{
149
- error_kind: z.ZodLiteral<"string">;
150
- string: z.ZodString;
151
- }, "strip", z.ZodTypeAny, {
152
- string: string;
153
- error_kind: "string";
154
- }, {
155
- string: string;
156
- error_kind: "string";
157
- }>, z.ZodObject<{
158
- error_kind: z.ZodLiteral<"fmtstring">;
159
- length: z.ZodNumber;
160
- item_types: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
161
- }, "strip", z.ZodTypeAny, {
162
- length: number;
163
- error_kind: "fmtstring";
164
- item_types: import("@aztec/stdlib/abi").AbiType[];
165
- }, {
166
- length: number;
167
- error_kind: "fmtstring";
168
- item_types: import("@aztec/stdlib/abi").AbiType[];
169
- }>, z.ZodIntersection<z.ZodObject<{
170
- error_kind: z.ZodLiteral<"custom">;
171
- }, "strip", z.ZodTypeAny, {
172
- error_kind: "custom";
173
- }, {
174
- error_kind: "custom";
175
- }>, z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>>]>>>;
176
- }, "strip", z.ZodTypeAny, {
177
- name: string;
178
- parameters: {
179
- type: import("@aztec/stdlib/abi").AbiType;
180
- name: string;
181
- visibility: "public" | "private" | "databus";
182
- }[];
183
- functionType: FunctionType;
184
- isInternal: boolean;
185
- isStatic: boolean;
186
- isInitializer: boolean;
187
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
188
- errorTypes: Record<string, {
189
- string: string;
190
- error_kind: "string";
191
- } | {
192
- length: number;
193
- error_kind: "fmtstring";
194
- item_types: import("@aztec/stdlib/abi").AbiType[];
195
- } | ({
196
- error_kind: "custom";
197
- } & import("@aztec/stdlib/abi").AbiType) | undefined>;
198
- }, {
199
- name: string;
200
- parameters: {
201
- type: import("@aztec/stdlib/abi").AbiType;
202
- name: string;
203
- visibility: "public" | "private" | "databus";
204
- }[];
205
- functionType: FunctionType;
206
- isInternal: boolean;
207
- isStatic: boolean;
208
- isInitializer: boolean;
209
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
210
- errorTypes: Record<string, {
211
- string: string;
212
- error_kind: "string";
213
- } | {
214
- length: number;
215
- error_kind: "fmtstring";
216
- item_types: import("@aztec/stdlib/abi").AbiType[];
217
- } | ({
218
- error_kind: "custom";
219
- } & import("@aztec/stdlib/abi").AbiType) | undefined>;
220
- }>, z.ZodString]>>;
221
- constructorArgs: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodAny, "many">>;
222
- skipArgsDecoding: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
223
- salt: ZodFor<Fr>;
224
- publicKeys: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
225
- masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
226
- masterIncomingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
227
- masterOutgoingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
228
- masterTaggingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
229
- }, "strip", z.ZodTypeAny, {
230
- masterNullifierPublicKey: import("@aztec/foundation/fields").Point;
231
- masterIncomingViewingPublicKey: import("@aztec/foundation/fields").Point;
232
- masterOutgoingViewingPublicKey: import("@aztec/foundation/fields").Point;
233
- masterTaggingPublicKey: import("@aztec/foundation/fields").Point;
234
- }, {
235
- masterNullifierPublicKey: string;
236
- masterIncomingViewingPublicKey: string;
237
- masterOutgoingViewingPublicKey: string;
238
- masterTaggingPublicKey: string;
239
- }>, PublicKeys, {
240
- masterNullifierPublicKey: string;
241
- masterIncomingViewingPublicKey: string;
242
- masterOutgoingViewingPublicKey: string;
243
- masterTaggingPublicKey: string;
244
- }>>;
245
- deployer: import("@aztec/foundation/schemas").ZodNullableOptional<ZodFor<AztecAddress>>;
246
- }, "strip", z.ZodTypeAny, {
247
- salt: Fr;
248
- deployer?: AztecAddress | undefined;
249
- publicKeys?: PublicKeys | undefined;
250
- constructorArgs?: any[] | undefined;
251
- constructorArtifact?: string | {
252
- name: string;
253
- parameters: {
254
- type: import("@aztec/stdlib/abi").AbiType;
255
- name: string;
256
- visibility: "public" | "private" | "databus";
257
- }[];
258
- functionType: FunctionType;
259
- isInternal: boolean;
260
- isStatic: boolean;
261
- isInitializer: boolean;
262
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
263
- errorTypes: Record<string, {
264
- string: string;
265
- error_kind: "string";
266
- } | {
267
- length: number;
268
- error_kind: "fmtstring";
269
- item_types: import("@aztec/stdlib/abi").AbiType[];
270
- } | ({
271
- error_kind: "custom";
272
- } & import("@aztec/stdlib/abi").AbiType) | undefined>;
273
- } | undefined;
274
- skipArgsDecoding?: boolean | undefined;
275
- }, {
276
- salt?: any;
277
- deployer?: any;
278
- publicKeys?: {
279
- masterNullifierPublicKey: string;
280
- masterIncomingViewingPublicKey: string;
281
- masterOutgoingViewingPublicKey: string;
282
- masterTaggingPublicKey: string;
283
- } | undefined;
284
- constructorArgs?: any[] | undefined;
285
- constructorArtifact?: string | {
286
- name: string;
287
- parameters: {
288
- type: import("@aztec/stdlib/abi").AbiType;
289
- name: string;
290
- visibility: "public" | "private" | "databus";
291
- }[];
292
- functionType: FunctionType;
293
- isInternal: boolean;
294
- isStatic: boolean;
295
- isInitializer: boolean;
296
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
297
- errorTypes: Record<string, {
298
- string: string;
299
- error_kind: "string";
300
- } | {
301
- length: number;
302
- error_kind: "fmtstring";
303
- item_types: import("@aztec/stdlib/abi").AbiType[];
304
- } | ({
305
- error_kind: "custom";
306
- } & import("@aztec/stdlib/abi").AbiType) | undefined>;
307
- } | undefined;
308
- skipArgsDecoding?: boolean | undefined;
309
- }>;
310
173
  export declare const FunctionCallSchema: z.ZodObject<{
311
174
  name: z.ZodString;
312
- to: ZodFor<AztecAddress>;
313
- selector: ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
175
+ to: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
176
+ selector: import("@aztec/stdlib/schemas").ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
314
177
  type: z.ZodNativeEnum<typeof FunctionType>;
315
178
  isStatic: z.ZodBoolean;
316
179
  hideMsgSender: z.ZodBoolean;
317
- args: z.ZodArray<ZodFor<Fr>, "many">;
180
+ args: z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<Fr>, "many">;
318
181
  returnTypes: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
319
182
  }, "strip", z.ZodTypeAny, {
320
183
  name: string;
321
- args: Fr[];
322
- type: FunctionType;
323
184
  to: AztecAddress;
324
185
  selector: import("@aztec/stdlib/abi").FunctionSelector;
186
+ type: FunctionType;
325
187
  isStatic: boolean;
326
188
  hideMsgSender: boolean;
189
+ args: Fr[];
327
190
  returnTypes: import("@aztec/stdlib/abi").AbiType[];
328
191
  }, {
329
192
  name: string;
330
- args: any[];
193
+ to?: any;
194
+ selector?: any;
331
195
  type: FunctionType;
332
196
  isStatic: boolean;
333
197
  hideMsgSender: boolean;
198
+ args: any[];
334
199
  returnTypes: import("@aztec/stdlib/abi").AbiType[];
335
- to?: any;
336
- selector?: any;
337
200
  }>;
338
201
  export declare const ExecutionPayloadSchema: z.ZodObject<{
339
202
  calls: z.ZodArray<z.ZodObject<{
340
203
  name: z.ZodString;
341
- to: ZodFor<AztecAddress>;
342
- selector: ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
204
+ to: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
205
+ selector: import("@aztec/stdlib/schemas").ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
343
206
  type: z.ZodNativeEnum<typeof FunctionType>;
344
207
  isStatic: z.ZodBoolean;
345
208
  hideMsgSender: z.ZodBoolean;
346
- args: z.ZodArray<ZodFor<Fr>, "many">;
209
+ args: z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<Fr>, "many">;
347
210
  returnTypes: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
348
211
  }, "strip", z.ZodTypeAny, {
349
212
  name: string;
350
- args: Fr[];
351
- type: FunctionType;
352
213
  to: AztecAddress;
353
214
  selector: import("@aztec/stdlib/abi").FunctionSelector;
215
+ type: FunctionType;
354
216
  isStatic: boolean;
355
217
  hideMsgSender: boolean;
218
+ args: Fr[];
356
219
  returnTypes: import("@aztec/stdlib/abi").AbiType[];
357
220
  }, {
358
221
  name: string;
359
- args: any[];
222
+ to?: any;
223
+ selector?: any;
360
224
  type: FunctionType;
361
225
  isStatic: boolean;
362
226
  hideMsgSender: boolean;
227
+ args: any[];
363
228
  returnTypes: import("@aztec/stdlib/abi").AbiType[];
364
- to?: any;
365
- selector?: any;
366
229
  }>, "many">;
367
230
  authWitnesses: z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">;
368
231
  capsules: z.ZodArray<z.ZodType<Capsule, any, string>, "many">;
369
- extraHashedArgs: z.ZodArray<ZodFor<HashedValues>, "many">;
232
+ extraHashedArgs: z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<HashedValues>, "many">;
233
+ feePayer: import("@aztec/foundation/schemas").ZodNullableOptional<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>>;
370
234
  }, "strip", z.ZodTypeAny, {
371
- authWitnesses: AuthWitness[];
372
- capsules: Capsule[];
373
235
  calls: {
374
236
  name: string;
375
- args: Fr[];
376
- type: FunctionType;
377
237
  to: AztecAddress;
378
238
  selector: import("@aztec/stdlib/abi").FunctionSelector;
239
+ type: FunctionType;
379
240
  isStatic: boolean;
380
241
  hideMsgSender: boolean;
242
+ args: Fr[];
381
243
  returnTypes: import("@aztec/stdlib/abi").AbiType[];
382
244
  }[];
245
+ authWitnesses: AuthWitness[];
246
+ capsules: Capsule[];
383
247
  extraHashedArgs: HashedValues[];
248
+ feePayer?: AztecAddress | undefined;
384
249
  }, {
385
- authWitnesses: string[];
386
- capsules: string[];
387
250
  calls: {
388
251
  name: string;
389
- args: any[];
252
+ to?: any;
253
+ selector?: any;
390
254
  type: FunctionType;
391
255
  isStatic: boolean;
392
256
  hideMsgSender: boolean;
257
+ args: any[];
393
258
  returnTypes: import("@aztec/stdlib/abi").AbiType[];
394
- to?: any;
395
- selector?: any;
396
259
  }[];
260
+ authWitnesses: string[];
261
+ capsules: string[];
397
262
  extraHashedArgs: any[];
263
+ feePayer?: any;
398
264
  }>;
399
- export declare const UserFeeOptionsSchema: z.ZodObject<{
265
+ export declare const GasSettingsOptionSchema: z.ZodObject<{
400
266
  gasSettings: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
401
267
  gasLimits: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
402
268
  daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
@@ -473,9 +339,7 @@ export declare const UserFeeOptionsSchema: z.ZodObject<{
473
339
  feePerL2Gas: string | number | bigint;
474
340
  } | undefined;
475
341
  }>>;
476
- embeddedPaymentMethodFeePayer: import("@aztec/foundation/schemas").ZodNullableOptional<ZodFor<AztecAddress>>;
477
342
  }, "strip", z.ZodTypeAny, {
478
- embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
479
343
  gasSettings?: {
480
344
  gasLimits?: Gas | undefined;
481
345
  teardownGasLimits?: Gas | undefined;
@@ -489,7 +353,6 @@ export declare const UserFeeOptionsSchema: z.ZodObject<{
489
353
  } | undefined;
490
354
  } | undefined;
491
355
  }, {
492
- embeddedPaymentMethodFeePayer?: any;
493
356
  gasSettings?: {
494
357
  gasLimits?: {
495
358
  daGas: string | number | bigint;
@@ -586,12 +449,10 @@ export declare const WalletSimulationFeeOptionSchema: z.ZodObject<{
586
449
  feePerL2Gas: string | number | bigint;
587
450
  } | undefined;
588
451
  }>>;
589
- embeddedPaymentMethodFeePayer: import("@aztec/foundation/schemas").ZodNullableOptional<ZodFor<AztecAddress>>;
590
452
  } & {
591
453
  estimatedGasPadding: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
592
454
  estimateGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
593
455
  }, "strip", z.ZodTypeAny, {
594
- embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
595
456
  gasSettings?: {
596
457
  gasLimits?: Gas | undefined;
597
458
  teardownGasLimits?: Gas | undefined;
@@ -604,10 +465,9 @@ export declare const WalletSimulationFeeOptionSchema: z.ZodObject<{
604
465
  feePerL2Gas: bigint;
605
466
  } | undefined;
606
467
  } | undefined;
607
- estimateGas?: boolean | undefined;
608
468
  estimatedGasPadding?: number | undefined;
469
+ estimateGas?: boolean | undefined;
609
470
  }, {
610
- embeddedPaymentMethodFeePayer?: any;
611
471
  gasSettings?: {
612
472
  gasLimits?: {
613
473
  daGas: string | number | bigint;
@@ -626,11 +486,27 @@ export declare const WalletSimulationFeeOptionSchema: z.ZodObject<{
626
486
  feePerL2Gas: string | number | bigint;
627
487
  } | undefined;
628
488
  } | undefined;
629
- estimateGas?: boolean | undefined;
630
489
  estimatedGasPadding?: number | undefined;
490
+ estimateGas?: boolean | undefined;
491
+ }>;
492
+ export declare const WaitOptsSchema: z.ZodObject<{
493
+ ignoreDroppedReceiptsFor: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
494
+ timeout: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
495
+ interval: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
496
+ dontThrowOnRevert: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
497
+ }, "strip", z.ZodTypeAny, {
498
+ ignoreDroppedReceiptsFor?: number | undefined;
499
+ timeout?: number | undefined;
500
+ interval?: number | undefined;
501
+ dontThrowOnRevert?: boolean | undefined;
502
+ }, {
503
+ ignoreDroppedReceiptsFor?: number | undefined;
504
+ timeout?: number | undefined;
505
+ interval?: number | undefined;
506
+ dontThrowOnRevert?: boolean | undefined;
631
507
  }>;
632
508
  export declare const SendOptionsSchema: z.ZodObject<{
633
- from: ZodFor<AztecAddress>;
509
+ from: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
634
510
  authWitnesses: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">>;
635
511
  capsules: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodType<Capsule, any, string>, "many">>;
636
512
  fee: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
@@ -710,9 +586,7 @@ export declare const SendOptionsSchema: z.ZodObject<{
710
586
  feePerL2Gas: string | number | bigint;
711
587
  } | undefined;
712
588
  }>>;
713
- embeddedPaymentMethodFeePayer: import("@aztec/foundation/schemas").ZodNullableOptional<ZodFor<AztecAddress>>;
714
589
  }, "strip", z.ZodTypeAny, {
715
- embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
716
590
  gasSettings?: {
717
591
  gasLimits?: Gas | undefined;
718
592
  teardownGasLimits?: Gas | undefined;
@@ -726,7 +600,6 @@ export declare const SendOptionsSchema: z.ZodObject<{
726
600
  } | undefined;
727
601
  } | undefined;
728
602
  }, {
729
- embeddedPaymentMethodFeePayer?: any;
730
603
  gasSettings?: {
731
604
  gasLimits?: {
732
605
  daGas: string | number | bigint;
@@ -746,10 +619,27 @@ export declare const SendOptionsSchema: z.ZodObject<{
746
619
  } | undefined;
747
620
  } | undefined;
748
621
  }>>;
622
+ wait: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodLiteral<"NO_WAIT">, z.ZodObject<{
623
+ ignoreDroppedReceiptsFor: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
624
+ timeout: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
625
+ interval: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
626
+ dontThrowOnRevert: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
627
+ }, "strip", z.ZodTypeAny, {
628
+ ignoreDroppedReceiptsFor?: number | undefined;
629
+ timeout?: number | undefined;
630
+ interval?: number | undefined;
631
+ dontThrowOnRevert?: boolean | undefined;
632
+ }, {
633
+ ignoreDroppedReceiptsFor?: number | undefined;
634
+ timeout?: number | undefined;
635
+ interval?: number | undefined;
636
+ dontThrowOnRevert?: boolean | undefined;
637
+ }>]>>;
749
638
  }, "strip", z.ZodTypeAny, {
750
639
  from: AztecAddress;
640
+ authWitnesses?: AuthWitness[] | undefined;
641
+ capsules?: Capsule[] | undefined;
751
642
  fee?: {
752
- embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
753
643
  gasSettings?: {
754
644
  gasLimits?: Gas | undefined;
755
645
  teardownGasLimits?: Gas | undefined;
@@ -763,11 +653,17 @@ export declare const SendOptionsSchema: z.ZodObject<{
763
653
  } | undefined;
764
654
  } | undefined;
765
655
  } | undefined;
766
- authWitnesses?: AuthWitness[] | undefined;
767
- capsules?: Capsule[] | undefined;
656
+ wait?: "NO_WAIT" | {
657
+ ignoreDroppedReceiptsFor?: number | undefined;
658
+ timeout?: number | undefined;
659
+ interval?: number | undefined;
660
+ dontThrowOnRevert?: boolean | undefined;
661
+ } | undefined;
768
662
  }, {
663
+ from?: any;
664
+ authWitnesses?: string[] | undefined;
665
+ capsules?: string[] | undefined;
769
666
  fee?: {
770
- embeddedPaymentMethodFeePayer?: any;
771
667
  gasSettings?: {
772
668
  gasLimits?: {
773
669
  daGas: string | number | bigint;
@@ -787,12 +683,15 @@ export declare const SendOptionsSchema: z.ZodObject<{
787
683
  } | undefined;
788
684
  } | undefined;
789
685
  } | undefined;
790
- authWitnesses?: string[] | undefined;
791
- capsules?: string[] | undefined;
792
- from?: any;
686
+ wait?: "NO_WAIT" | {
687
+ ignoreDroppedReceiptsFor?: number | undefined;
688
+ timeout?: number | undefined;
689
+ interval?: number | undefined;
690
+ dontThrowOnRevert?: boolean | undefined;
691
+ } | undefined;
793
692
  }>;
794
693
  export declare const SimulateOptionsSchema: z.ZodObject<{
795
- from: ZodFor<AztecAddress>;
694
+ from: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
796
695
  authWitnesses: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">>;
797
696
  capsules: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodType<Capsule, any, string>, "many">>;
798
697
  fee: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
@@ -872,12 +771,10 @@ export declare const SimulateOptionsSchema: z.ZodObject<{
872
771
  feePerL2Gas: string | number | bigint;
873
772
  } | undefined;
874
773
  }>>;
875
- embeddedPaymentMethodFeePayer: import("@aztec/foundation/schemas").ZodNullableOptional<ZodFor<AztecAddress>>;
876
774
  } & {
877
775
  estimatedGasPadding: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
878
776
  estimateGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
879
777
  }, "strip", z.ZodTypeAny, {
880
- embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
881
778
  gasSettings?: {
882
779
  gasLimits?: Gas | undefined;
883
780
  teardownGasLimits?: Gas | undefined;
@@ -890,10 +787,9 @@ export declare const SimulateOptionsSchema: z.ZodObject<{
890
787
  feePerL2Gas: bigint;
891
788
  } | undefined;
892
789
  } | undefined;
893
- estimateGas?: boolean | undefined;
894
790
  estimatedGasPadding?: number | undefined;
791
+ estimateGas?: boolean | undefined;
895
792
  }, {
896
- embeddedPaymentMethodFeePayer?: any;
897
793
  gasSettings?: {
898
794
  gasLimits?: {
899
795
  daGas: string | number | bigint;
@@ -912,16 +808,17 @@ export declare const SimulateOptionsSchema: z.ZodObject<{
912
808
  feePerL2Gas: string | number | bigint;
913
809
  } | undefined;
914
810
  } | undefined;
915
- estimateGas?: boolean | undefined;
916
811
  estimatedGasPadding?: number | undefined;
812
+ estimateGas?: boolean | undefined;
917
813
  }>>;
918
814
  skipTxValidation: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
919
815
  skipFeeEnforcement: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
920
816
  includeMetadata: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
921
817
  }, "strip", z.ZodTypeAny, {
922
818
  from: AztecAddress;
819
+ authWitnesses?: AuthWitness[] | undefined;
820
+ capsules?: Capsule[] | undefined;
923
821
  fee?: {
924
- embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
925
822
  gasSettings?: {
926
823
  gasLimits?: Gas | undefined;
927
824
  teardownGasLimits?: Gas | undefined;
@@ -934,17 +831,17 @@ export declare const SimulateOptionsSchema: z.ZodObject<{
934
831
  feePerL2Gas: bigint;
935
832
  } | undefined;
936
833
  } | undefined;
937
- estimateGas?: boolean | undefined;
938
834
  estimatedGasPadding?: number | undefined;
835
+ estimateGas?: boolean | undefined;
939
836
  } | undefined;
940
- authWitnesses?: AuthWitness[] | undefined;
941
- capsules?: Capsule[] | undefined;
942
837
  skipTxValidation?: boolean | undefined;
943
838
  skipFeeEnforcement?: boolean | undefined;
944
839
  includeMetadata?: boolean | undefined;
945
840
  }, {
841
+ from?: any;
842
+ authWitnesses?: string[] | undefined;
843
+ capsules?: string[] | undefined;
946
844
  fee?: {
947
- embeddedPaymentMethodFeePayer?: any;
948
845
  gasSettings?: {
949
846
  gasLimits?: {
950
847
  daGas: string | number | bigint;
@@ -963,18 +860,15 @@ export declare const SimulateOptionsSchema: z.ZodObject<{
963
860
  feePerL2Gas: string | number | bigint;
964
861
  } | undefined;
965
862
  } | undefined;
966
- estimateGas?: boolean | undefined;
967
863
  estimatedGasPadding?: number | undefined;
864
+ estimateGas?: boolean | undefined;
968
865
  } | undefined;
969
- authWitnesses?: string[] | undefined;
970
- capsules?: string[] | undefined;
971
- from?: any;
972
866
  skipTxValidation?: boolean | undefined;
973
867
  skipFeeEnforcement?: boolean | undefined;
974
868
  includeMetadata?: boolean | undefined;
975
869
  }>;
976
870
  export declare const ProfileOptionsSchema: z.ZodObject<{
977
- from: ZodFor<AztecAddress>;
871
+ from: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
978
872
  authWitnesses: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">>;
979
873
  capsules: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodType<Capsule, any, string>, "many">>;
980
874
  fee: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
@@ -1054,12 +948,10 @@ export declare const ProfileOptionsSchema: z.ZodObject<{
1054
948
  feePerL2Gas: string | number | bigint;
1055
949
  } | undefined;
1056
950
  }>>;
1057
- embeddedPaymentMethodFeePayer: import("@aztec/foundation/schemas").ZodNullableOptional<ZodFor<AztecAddress>>;
1058
951
  } & {
1059
952
  estimatedGasPadding: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
1060
953
  estimateGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1061
954
  }, "strip", z.ZodTypeAny, {
1062
- embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
1063
955
  gasSettings?: {
1064
956
  gasLimits?: Gas | undefined;
1065
957
  teardownGasLimits?: Gas | undefined;
@@ -1072,10 +964,9 @@ export declare const ProfileOptionsSchema: z.ZodObject<{
1072
964
  feePerL2Gas: bigint;
1073
965
  } | undefined;
1074
966
  } | undefined;
1075
- estimateGas?: boolean | undefined;
1076
967
  estimatedGasPadding?: number | undefined;
968
+ estimateGas?: boolean | undefined;
1077
969
  }, {
1078
- embeddedPaymentMethodFeePayer?: any;
1079
970
  gasSettings?: {
1080
971
  gasLimits?: {
1081
972
  daGas: string | number | bigint;
@@ -1094,8 +985,8 @@ export declare const ProfileOptionsSchema: z.ZodObject<{
1094
985
  feePerL2Gas: string | number | bigint;
1095
986
  } | undefined;
1096
987
  } | undefined;
1097
- estimateGas?: boolean | undefined;
1098
988
  estimatedGasPadding?: number | undefined;
989
+ estimateGas?: boolean | undefined;
1099
990
  }>>;
1100
991
  skipTxValidation: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1101
992
  skipFeeEnforcement: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
@@ -1105,9 +996,9 @@ export declare const ProfileOptionsSchema: z.ZodObject<{
1105
996
  skipProofGeneration: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1106
997
  }, "strip", z.ZodTypeAny, {
1107
998
  from: AztecAddress;
1108
- profileMode: "gates" | "execution-steps" | "full";
999
+ authWitnesses?: AuthWitness[] | undefined;
1000
+ capsules?: Capsule[] | undefined;
1109
1001
  fee?: {
1110
- embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
1111
1002
  gasSettings?: {
1112
1003
  gasLimits?: Gas | undefined;
1113
1004
  teardownGasLimits?: Gas | undefined;
@@ -1120,19 +1011,19 @@ export declare const ProfileOptionsSchema: z.ZodObject<{
1120
1011
  feePerL2Gas: bigint;
1121
1012
  } | undefined;
1122
1013
  } | undefined;
1123
- estimateGas?: boolean | undefined;
1124
1014
  estimatedGasPadding?: number | undefined;
1015
+ estimateGas?: boolean | undefined;
1125
1016
  } | undefined;
1126
- authWitnesses?: AuthWitness[] | undefined;
1127
- capsules?: Capsule[] | undefined;
1128
1017
  skipTxValidation?: boolean | undefined;
1129
1018
  skipFeeEnforcement?: boolean | undefined;
1130
1019
  includeMetadata?: boolean | undefined;
1020
+ profileMode: "execution-steps" | "full" | "gates";
1131
1021
  skipProofGeneration?: boolean | undefined;
1132
1022
  }, {
1133
- profileMode: "gates" | "execution-steps" | "full";
1023
+ from?: any;
1024
+ authWitnesses?: string[] | undefined;
1025
+ capsules?: string[] | undefined;
1134
1026
  fee?: {
1135
- embeddedPaymentMethodFeePayer?: any;
1136
1027
  gasSettings?: {
1137
1028
  gasLimits?: {
1138
1029
  daGas: string | number | bigint;
@@ -1151,278 +1042,136 @@ export declare const ProfileOptionsSchema: z.ZodObject<{
1151
1042
  feePerL2Gas: string | number | bigint;
1152
1043
  } | undefined;
1153
1044
  } | undefined;
1154
- estimateGas?: boolean | undefined;
1155
1045
  estimatedGasPadding?: number | undefined;
1046
+ estimateGas?: boolean | undefined;
1156
1047
  } | undefined;
1157
- authWitnesses?: string[] | undefined;
1158
- capsules?: string[] | undefined;
1159
- from?: any;
1160
1048
  skipTxValidation?: boolean | undefined;
1161
1049
  skipFeeEnforcement?: boolean | undefined;
1162
1050
  includeMetadata?: boolean | undefined;
1051
+ profileMode: "execution-steps" | "full" | "gates";
1163
1052
  skipProofGeneration?: boolean | undefined;
1164
1053
  }>;
1165
- export declare const InstanceDataSchema: z.ZodUnion<[ZodFor<AztecAddress>, z.ZodIntersection<z.ZodObject<{
1166
- version: z.ZodLiteral<1>;
1167
- salt: ZodFor<Fr>;
1168
- deployer: ZodFor<AztecAddress>;
1169
- currentContractClassId: ZodFor<Fr>;
1170
- originalContractClassId: ZodFor<Fr>;
1171
- initializationHash: ZodFor<Fr>;
1172
- publicKeys: z.ZodEffects<z.ZodObject<{
1173
- masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
1174
- masterIncomingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
1175
- masterOutgoingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
1176
- masterTaggingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
1177
- }, "strip", z.ZodTypeAny, {
1178
- masterNullifierPublicKey: import("@aztec/foundation/fields").Point;
1179
- masterIncomingViewingPublicKey: import("@aztec/foundation/fields").Point;
1180
- masterOutgoingViewingPublicKey: import("@aztec/foundation/fields").Point;
1181
- masterTaggingPublicKey: import("@aztec/foundation/fields").Point;
1182
- }, {
1183
- masterNullifierPublicKey: string;
1184
- masterIncomingViewingPublicKey: string;
1185
- masterOutgoingViewingPublicKey: string;
1186
- masterTaggingPublicKey: string;
1187
- }>, PublicKeys, {
1188
- masterNullifierPublicKey: string;
1189
- masterIncomingViewingPublicKey: string;
1190
- masterOutgoingViewingPublicKey: string;
1191
- masterTaggingPublicKey: string;
1192
- }>;
1054
+ export declare const MessageHashOrIntentSchema: z.ZodUnion<[z.ZodObject<{
1055
+ consumer: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
1056
+ innerHash: import("@aztec/stdlib/schemas").ZodFor<Fr>;
1193
1057
  }, "strip", z.ZodTypeAny, {
1194
- version: 1;
1195
- salt: Fr;
1196
- deployer: AztecAddress;
1197
- currentContractClassId: Fr;
1198
- originalContractClassId: Fr;
1199
- initializationHash: Fr;
1200
- publicKeys: PublicKeys;
1058
+ consumer: AztecAddress;
1059
+ innerHash: Fr;
1201
1060
  }, {
1202
- version: 1;
1203
- publicKeys: {
1204
- masterNullifierPublicKey: string;
1205
- masterIncomingViewingPublicKey: string;
1206
- masterOutgoingViewingPublicKey: string;
1207
- masterTaggingPublicKey: string;
1208
- };
1209
- salt?: any;
1210
- deployer?: any;
1211
- currentContractClassId?: any;
1212
- originalContractClassId?: any;
1213
- initializationHash?: any;
1061
+ consumer?: any;
1062
+ innerHash?: any;
1214
1063
  }>, z.ZodObject<{
1215
- address: ZodFor<AztecAddress>;
1216
- }, "strip", z.ZodTypeAny, {
1217
- address: AztecAddress;
1218
- }, {
1219
- address?: any;
1220
- }>>, z.ZodObject<{
1221
- constructorArtifact: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodObject<{
1064
+ caller: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
1065
+ call: z.ZodObject<{
1222
1066
  name: z.ZodString;
1223
- functionType: z.ZodNativeEnum<typeof FunctionType>;
1224
- isInternal: z.ZodBoolean;
1067
+ to: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
1068
+ selector: import("@aztec/stdlib/schemas").ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
1069
+ type: z.ZodNativeEnum<typeof FunctionType>;
1225
1070
  isStatic: z.ZodBoolean;
1226
- isInitializer: z.ZodBoolean;
1227
- parameters: z.ZodArray<z.ZodObject<{
1228
- name: z.ZodString;
1229
- type: z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>;
1230
- visibility: z.ZodEnum<["public", "private", "databus"]>;
1231
- }, "strip", z.ZodTypeAny, {
1232
- type: import("@aztec/stdlib/abi").AbiType;
1233
- name: string;
1234
- visibility: "public" | "private" | "databus";
1235
- }, {
1236
- type: import("@aztec/stdlib/abi").AbiType;
1237
- name: string;
1238
- visibility: "public" | "private" | "databus";
1239
- }>, "many">;
1071
+ hideMsgSender: z.ZodBoolean;
1072
+ args: z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<Fr>, "many">;
1240
1073
  returnTypes: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
1241
- errorTypes: z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1242
- error_kind: z.ZodLiteral<"string">;
1243
- string: z.ZodString;
1244
- }, "strip", z.ZodTypeAny, {
1245
- string: string;
1246
- error_kind: "string";
1247
- }, {
1248
- string: string;
1249
- error_kind: "string";
1250
- }>, z.ZodObject<{
1251
- error_kind: z.ZodLiteral<"fmtstring">;
1252
- length: z.ZodNumber;
1253
- item_types: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
1254
- }, "strip", z.ZodTypeAny, {
1255
- length: number;
1256
- error_kind: "fmtstring";
1257
- item_types: import("@aztec/stdlib/abi").AbiType[];
1258
- }, {
1259
- length: number;
1260
- error_kind: "fmtstring";
1261
- item_types: import("@aztec/stdlib/abi").AbiType[];
1262
- }>, z.ZodIntersection<z.ZodObject<{
1263
- error_kind: z.ZodLiteral<"custom">;
1264
- }, "strip", z.ZodTypeAny, {
1265
- error_kind: "custom";
1266
- }, {
1267
- error_kind: "custom";
1268
- }>, z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>>]>>>;
1269
1074
  }, "strip", z.ZodTypeAny, {
1270
1075
  name: string;
1271
- parameters: {
1272
- type: import("@aztec/stdlib/abi").AbiType;
1273
- name: string;
1274
- visibility: "public" | "private" | "databus";
1275
- }[];
1276
- functionType: FunctionType;
1277
- isInternal: boolean;
1076
+ to: AztecAddress;
1077
+ selector: import("@aztec/stdlib/abi").FunctionSelector;
1078
+ type: FunctionType;
1278
1079
  isStatic: boolean;
1279
- isInitializer: boolean;
1080
+ hideMsgSender: boolean;
1081
+ args: Fr[];
1280
1082
  returnTypes: import("@aztec/stdlib/abi").AbiType[];
1281
- errorTypes: Record<string, {
1282
- string: string;
1283
- error_kind: "string";
1284
- } | {
1285
- length: number;
1286
- error_kind: "fmtstring";
1287
- item_types: import("@aztec/stdlib/abi").AbiType[];
1288
- } | ({
1289
- error_kind: "custom";
1290
- } & import("@aztec/stdlib/abi").AbiType) | undefined>;
1291
1083
  }, {
1292
1084
  name: string;
1293
- parameters: {
1294
- type: import("@aztec/stdlib/abi").AbiType;
1295
- name: string;
1296
- visibility: "public" | "private" | "databus";
1297
- }[];
1298
- functionType: FunctionType;
1299
- isInternal: boolean;
1085
+ to?: any;
1086
+ selector?: any;
1087
+ type: FunctionType;
1300
1088
  isStatic: boolean;
1301
- isInitializer: boolean;
1089
+ hideMsgSender: boolean;
1090
+ args: any[];
1302
1091
  returnTypes: import("@aztec/stdlib/abi").AbiType[];
1303
- errorTypes: Record<string, {
1304
- string: string;
1305
- error_kind: "string";
1306
- } | {
1307
- length: number;
1308
- error_kind: "fmtstring";
1309
- item_types: import("@aztec/stdlib/abi").AbiType[];
1310
- } | ({
1311
- error_kind: "custom";
1312
- } & import("@aztec/stdlib/abi").AbiType) | undefined>;
1313
- }>, z.ZodString]>>;
1314
- constructorArgs: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodAny, "many">>;
1315
- skipArgsDecoding: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1316
- salt: ZodFor<Fr>;
1317
- publicKeys: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
1318
- masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
1319
- masterIncomingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
1320
- masterOutgoingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
1321
- masterTaggingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
1322
- }, "strip", z.ZodTypeAny, {
1323
- masterNullifierPublicKey: import("@aztec/foundation/fields").Point;
1324
- masterIncomingViewingPublicKey: import("@aztec/foundation/fields").Point;
1325
- masterOutgoingViewingPublicKey: import("@aztec/foundation/fields").Point;
1326
- masterTaggingPublicKey: import("@aztec/foundation/fields").Point;
1327
- }, {
1328
- masterNullifierPublicKey: string;
1329
- masterIncomingViewingPublicKey: string;
1330
- masterOutgoingViewingPublicKey: string;
1331
- masterTaggingPublicKey: string;
1332
- }>, PublicKeys, {
1333
- masterNullifierPublicKey: string;
1334
- masterIncomingViewingPublicKey: string;
1335
- masterOutgoingViewingPublicKey: string;
1336
- masterTaggingPublicKey: string;
1337
- }>>;
1338
- deployer: import("@aztec/foundation/schemas").ZodNullableOptional<ZodFor<AztecAddress>>;
1092
+ }>;
1339
1093
  }, "strip", z.ZodTypeAny, {
1340
- salt: Fr;
1341
- deployer?: AztecAddress | undefined;
1342
- publicKeys?: PublicKeys | undefined;
1343
- constructorArgs?: any[] | undefined;
1344
- constructorArtifact?: string | {
1094
+ caller: AztecAddress;
1095
+ call: {
1345
1096
  name: string;
1346
- parameters: {
1347
- type: import("@aztec/stdlib/abi").AbiType;
1348
- name: string;
1349
- visibility: "public" | "private" | "databus";
1350
- }[];
1351
- functionType: FunctionType;
1352
- isInternal: boolean;
1097
+ to: AztecAddress;
1098
+ selector: import("@aztec/stdlib/abi").FunctionSelector;
1099
+ type: FunctionType;
1353
1100
  isStatic: boolean;
1354
- isInitializer: boolean;
1101
+ hideMsgSender: boolean;
1102
+ args: Fr[];
1355
1103
  returnTypes: import("@aztec/stdlib/abi").AbiType[];
1356
- errorTypes: Record<string, {
1357
- string: string;
1358
- error_kind: "string";
1359
- } | {
1360
- length: number;
1361
- error_kind: "fmtstring";
1362
- item_types: import("@aztec/stdlib/abi").AbiType[];
1363
- } | ({
1364
- error_kind: "custom";
1365
- } & import("@aztec/stdlib/abi").AbiType) | undefined>;
1366
- } | undefined;
1367
- skipArgsDecoding?: boolean | undefined;
1104
+ };
1368
1105
  }, {
1369
- salt?: any;
1370
- deployer?: any;
1371
- publicKeys?: {
1372
- masterNullifierPublicKey: string;
1373
- masterIncomingViewingPublicKey: string;
1374
- masterOutgoingViewingPublicKey: string;
1375
- masterTaggingPublicKey: string;
1376
- } | undefined;
1377
- constructorArgs?: any[] | undefined;
1378
- constructorArtifact?: string | {
1106
+ caller?: any;
1107
+ call: {
1379
1108
  name: string;
1380
- parameters: {
1381
- type: import("@aztec/stdlib/abi").AbiType;
1382
- name: string;
1383
- visibility: "public" | "private" | "databus";
1384
- }[];
1385
- functionType: FunctionType;
1386
- isInternal: boolean;
1109
+ to?: any;
1110
+ selector?: any;
1111
+ type: FunctionType;
1387
1112
  isStatic: boolean;
1388
- isInitializer: boolean;
1113
+ hideMsgSender: boolean;
1114
+ args: any[];
1389
1115
  returnTypes: import("@aztec/stdlib/abi").AbiType[];
1390
- errorTypes: Record<string, {
1391
- string: string;
1392
- error_kind: "string";
1393
- } | {
1394
- length: number;
1395
- error_kind: "fmtstring";
1396
- item_types: import("@aztec/stdlib/abi").AbiType[];
1397
- } | ({
1398
- error_kind: "custom";
1399
- } & import("@aztec/stdlib/abi").AbiType) | undefined>;
1400
- } | undefined;
1401
- skipArgsDecoding?: boolean | undefined;
1402
- }>, z.ZodObject<{
1403
- instance: z.ZodIntersection<z.ZodObject<{
1116
+ };
1117
+ }>]>;
1118
+ export declare const EventMetadataDefinitionSchema: z.ZodObject<{
1119
+ eventSelector: z.ZodType<import("@aztec/stdlib/abi").EventSelector, any, string>;
1120
+ abiType: z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>;
1121
+ fieldNames: z.ZodArray<z.ZodString, "many">;
1122
+ }, "strip", z.ZodTypeAny, {
1123
+ eventSelector: import("@aztec/stdlib/abi").EventSelector;
1124
+ abiType: import("@aztec/stdlib/abi").AbiType;
1125
+ fieldNames: string[];
1126
+ }, {
1127
+ eventSelector: string;
1128
+ abiType: import("@aztec/stdlib/abi").AbiType;
1129
+ fieldNames: string[];
1130
+ }>;
1131
+ export declare const PrivateEventSchema: z.ZodType<any>;
1132
+ export declare const PrivateEventFilterSchema: z.ZodObject<{
1133
+ contractAddress: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
1134
+ scopes: z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">;
1135
+ txHash: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, Buffer<ArrayBuffer>, string>, TxHash, string>>;
1136
+ fromBlock: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodPipeline<z.ZodUnion<[z.ZodNumber, z.ZodBigInt, z.ZodString]>, z.ZodNumber>, BlockNumber, string | number | bigint>>;
1137
+ toBlock: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodPipeline<z.ZodUnion<[z.ZodNumber, z.ZodBigInt, z.ZodString]>, z.ZodNumber>, BlockNumber, string | number | bigint>>;
1138
+ }, "strip", z.ZodTypeAny, {
1139
+ contractAddress: AztecAddress;
1140
+ scopes: AztecAddress[];
1141
+ txHash?: TxHash | undefined;
1142
+ fromBlock?: BlockNumber | undefined;
1143
+ toBlock?: BlockNumber | undefined;
1144
+ }, {
1145
+ contractAddress?: any;
1146
+ scopes: any[];
1147
+ txHash?: string | undefined;
1148
+ fromBlock?: string | number | bigint | undefined;
1149
+ toBlock?: string | number | bigint | undefined;
1150
+ }>;
1151
+ export declare const ContractMetadataSchema: z.ZodObject<{
1152
+ instance: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodIntersection<z.ZodObject<{
1404
1153
  version: z.ZodLiteral<1>;
1405
- salt: ZodFor<Fr>;
1406
- deployer: ZodFor<AztecAddress>;
1407
- currentContractClassId: ZodFor<Fr>;
1408
- originalContractClassId: ZodFor<Fr>;
1409
- initializationHash: ZodFor<Fr>;
1154
+ salt: import("@aztec/stdlib/schemas").ZodFor<Fr>;
1155
+ deployer: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
1156
+ currentContractClassId: import("@aztec/stdlib/schemas").ZodFor<Fr>;
1157
+ originalContractClassId: import("@aztec/stdlib/schemas").ZodFor<Fr>;
1158
+ initializationHash: import("@aztec/stdlib/schemas").ZodFor<Fr>;
1410
1159
  publicKeys: z.ZodEffects<z.ZodObject<{
1411
- masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
1412
- masterIncomingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
1413
- masterOutgoingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
1414
- masterTaggingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
1160
+ masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/schemas").Point, any, string>;
1161
+ masterIncomingViewingPublicKey: z.ZodType<import("@aztec/foundation/schemas").Point, any, string>;
1162
+ masterOutgoingViewingPublicKey: z.ZodType<import("@aztec/foundation/schemas").Point, any, string>;
1163
+ masterTaggingPublicKey: z.ZodType<import("@aztec/foundation/schemas").Point, any, string>;
1415
1164
  }, "strip", z.ZodTypeAny, {
1416
- masterNullifierPublicKey: import("@aztec/foundation/fields").Point;
1417
- masterIncomingViewingPublicKey: import("@aztec/foundation/fields").Point;
1418
- masterOutgoingViewingPublicKey: import("@aztec/foundation/fields").Point;
1419
- masterTaggingPublicKey: import("@aztec/foundation/fields").Point;
1165
+ masterNullifierPublicKey: import("@aztec/foundation/schemas").Point;
1166
+ masterIncomingViewingPublicKey: import("@aztec/foundation/schemas").Point;
1167
+ masterOutgoingViewingPublicKey: import("@aztec/foundation/schemas").Point;
1168
+ masterTaggingPublicKey: import("@aztec/foundation/schemas").Point;
1420
1169
  }, {
1421
1170
  masterNullifierPublicKey: string;
1422
1171
  masterIncomingViewingPublicKey: string;
1423
1172
  masterOutgoingViewingPublicKey: string;
1424
1173
  masterTaggingPublicKey: string;
1425
- }>, PublicKeys, {
1174
+ }>, import("@aztec/stdlib/keys").PublicKeys, {
1426
1175
  masterNullifierPublicKey: string;
1427
1176
  masterIncomingViewingPublicKey: string;
1428
1177
  masterOutgoingViewingPublicKey: string;
@@ -1435,1044 +1184,1407 @@ export declare const InstanceDataSchema: z.ZodUnion<[ZodFor<AztecAddress>, z.Zod
1435
1184
  currentContractClassId: Fr;
1436
1185
  originalContractClassId: Fr;
1437
1186
  initializationHash: Fr;
1438
- publicKeys: PublicKeys;
1187
+ publicKeys: import("@aztec/stdlib/keys").PublicKeys;
1439
1188
  }, {
1440
1189
  version: 1;
1190
+ salt?: any;
1191
+ deployer?: any;
1192
+ currentContractClassId?: any;
1193
+ originalContractClassId?: any;
1194
+ initializationHash?: any;
1441
1195
  publicKeys: {
1442
1196
  masterNullifierPublicKey: string;
1443
1197
  masterIncomingViewingPublicKey: string;
1444
1198
  masterOutgoingViewingPublicKey: string;
1445
1199
  masterTaggingPublicKey: string;
1446
1200
  };
1447
- salt?: any;
1448
- deployer?: any;
1449
- currentContractClassId?: any;
1450
- originalContractClassId?: any;
1451
- initializationHash?: any;
1452
1201
  }>, z.ZodObject<{
1453
- address: ZodFor<AztecAddress>;
1202
+ address: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
1454
1203
  }, "strip", z.ZodTypeAny, {
1455
1204
  address: AztecAddress;
1456
1205
  }, {
1457
1206
  address?: any;
1458
- }>>;
1459
- artifact: ZodFor<ContractArtifact>;
1207
+ }>>>;
1208
+ isContractInitialized: z.ZodBoolean;
1209
+ isContractPublished: z.ZodBoolean;
1210
+ isContractUpdated: z.ZodBoolean;
1211
+ updatedContractClassId: import("@aztec/foundation/schemas").ZodNullableOptional<import("@aztec/stdlib/schemas").ZodFor<Fr>>;
1460
1212
  }, "strip", z.ZodTypeAny, {
1461
- artifact: ContractArtifact;
1462
- instance: {
1213
+ instance?: ({
1463
1214
  version: 1;
1464
1215
  salt: Fr;
1465
1216
  deployer: AztecAddress;
1466
1217
  currentContractClassId: Fr;
1467
1218
  originalContractClassId: Fr;
1468
1219
  initializationHash: Fr;
1469
- publicKeys: PublicKeys;
1220
+ publicKeys: import("@aztec/stdlib/keys").PublicKeys;
1470
1221
  } & {
1471
1222
  address: AztecAddress;
1472
- };
1223
+ }) | undefined;
1224
+ isContractInitialized: boolean;
1225
+ isContractPublished: boolean;
1226
+ isContractUpdated: boolean;
1227
+ updatedContractClassId?: Fr | undefined;
1473
1228
  }, {
1474
- instance: {
1229
+ instance?: ({
1475
1230
  version: 1;
1476
- publicKeys: {
1477
- masterNullifierPublicKey: string;
1478
- masterIncomingViewingPublicKey: string;
1479
- masterOutgoingViewingPublicKey: string;
1480
- masterTaggingPublicKey: string;
1481
- };
1482
1231
  salt?: any;
1483
1232
  deployer?: any;
1484
1233
  currentContractClassId?: any;
1485
1234
  originalContractClassId?: any;
1486
1235
  initializationHash?: any;
1236
+ publicKeys: {
1237
+ masterNullifierPublicKey: string;
1238
+ masterIncomingViewingPublicKey: string;
1239
+ masterOutgoingViewingPublicKey: string;
1240
+ masterTaggingPublicKey: string;
1241
+ };
1487
1242
  } & {
1488
1243
  address?: any;
1489
- };
1490
- artifact?: any;
1491
- }>]>;
1492
- export declare const MessageHashOrIntentSchema: z.ZodUnion<[ZodFor<Fr>, z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Buffer<ArrayBuffer>, string>, z.ZodEffects<z.ZodObject<{
1493
- type: z.ZodLiteral<"Buffer">;
1494
- data: z.ZodArray<z.ZodNumber, "many">;
1244
+ }) | undefined;
1245
+ isContractInitialized: boolean;
1246
+ isContractPublished: boolean;
1247
+ isContractUpdated: boolean;
1248
+ updatedContractClassId?: any;
1249
+ }>;
1250
+ export declare const ContractClassMetadataSchema: z.ZodObject<{
1251
+ isArtifactRegistered: z.ZodBoolean;
1252
+ isContractClassPubliclyRegistered: z.ZodBoolean;
1495
1253
  }, "strip", z.ZodTypeAny, {
1496
- type: "Buffer";
1497
- data: number[];
1254
+ isArtifactRegistered: boolean;
1255
+ isContractClassPubliclyRegistered: boolean;
1498
1256
  }, {
1499
- type: "Buffer";
1500
- data: number[];
1501
- }>, Buffer<ArrayBuffer>, {
1502
- type: "Buffer";
1503
- data: number[];
1504
- }>]>, z.ZodObject<{
1505
- consumer: ZodFor<AztecAddress>;
1506
- innerHash: z.ZodUnion<[z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Buffer<ArrayBuffer>, string>, z.ZodEffects<z.ZodObject<{
1507
- type: z.ZodLiteral<"Buffer">;
1508
- data: z.ZodArray<z.ZodNumber, "many">;
1257
+ isArtifactRegistered: boolean;
1258
+ isContractClassPubliclyRegistered: boolean;
1259
+ }>;
1260
+ export declare const ContractFunctionPatternSchema: z.ZodObject<{
1261
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
1262
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
1263
+ }, "strip", z.ZodTypeAny, {
1264
+ contract: "*" | AztecAddress;
1265
+ function: string;
1266
+ }, {
1267
+ contract?: any;
1268
+ function: string;
1269
+ }>;
1270
+ export declare const AccountsCapabilitySchema: z.ZodObject<{
1271
+ type: z.ZodLiteral<"accounts">;
1272
+ canGet: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1273
+ canCreateAuthWit: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1274
+ }, "strip", z.ZodTypeAny, {
1275
+ type: "accounts";
1276
+ canGet?: boolean | undefined;
1277
+ canCreateAuthWit?: boolean | undefined;
1278
+ }, {
1279
+ type: "accounts";
1280
+ canGet?: boolean | undefined;
1281
+ canCreateAuthWit?: boolean | undefined;
1282
+ }>;
1283
+ export declare const GrantedAccountsCapabilitySchema: z.ZodObject<{
1284
+ type: z.ZodLiteral<"accounts">;
1285
+ canGet: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1286
+ canCreateAuthWit: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1287
+ } & {
1288
+ accounts: z.ZodArray<z.ZodObject<{
1289
+ alias: z.ZodString;
1290
+ item: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
1509
1291
  }, "strip", z.ZodTypeAny, {
1510
- type: "Buffer";
1511
- data: number[];
1292
+ alias: string;
1293
+ item: AztecAddress;
1512
1294
  }, {
1513
- type: "Buffer";
1514
- data: number[];
1515
- }>, Buffer<ArrayBuffer>, {
1516
- type: "Buffer";
1517
- data: number[];
1518
- }>]>, ZodFor<Fr>]>;
1295
+ alias: string;
1296
+ item?: any;
1297
+ }>, "many">;
1519
1298
  }, "strip", z.ZodTypeAny, {
1520
- consumer: AztecAddress;
1521
- innerHash: Fr | Buffer<ArrayBuffer>;
1299
+ type: "accounts";
1300
+ canGet?: boolean | undefined;
1301
+ canCreateAuthWit?: boolean | undefined;
1302
+ accounts: {
1303
+ alias: string;
1304
+ item: AztecAddress;
1305
+ }[];
1522
1306
  }, {
1523
- consumer?: any;
1524
- innerHash?: any;
1307
+ type: "accounts";
1308
+ canGet?: boolean | undefined;
1309
+ canCreateAuthWit?: boolean | undefined;
1310
+ accounts: {
1311
+ alias: string;
1312
+ item?: any;
1313
+ }[];
1314
+ }>;
1315
+ export declare const ContractsCapabilitySchema: z.ZodObject<{
1316
+ type: z.ZodLiteral<"contracts">;
1317
+ contracts: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">]>;
1318
+ canRegister: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1319
+ canGetMetadata: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1320
+ }, "strip", z.ZodTypeAny, {
1321
+ type: "contracts";
1322
+ contracts: "*" | AztecAddress[];
1323
+ canRegister?: boolean | undefined;
1324
+ canGetMetadata?: boolean | undefined;
1325
+ }, {
1326
+ type: "contracts";
1327
+ contracts: "*" | any[];
1328
+ canRegister?: boolean | undefined;
1329
+ canGetMetadata?: boolean | undefined;
1330
+ }>;
1331
+ export declare const GrantedContractsCapabilitySchema: z.ZodObject<{
1332
+ type: z.ZodLiteral<"contracts">;
1333
+ contracts: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">]>;
1334
+ canRegister: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1335
+ canGetMetadata: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1336
+ }, "strip", z.ZodTypeAny, {
1337
+ type: "contracts";
1338
+ contracts: "*" | AztecAddress[];
1339
+ canRegister?: boolean | undefined;
1340
+ canGetMetadata?: boolean | undefined;
1341
+ }, {
1342
+ type: "contracts";
1343
+ contracts: "*" | any[];
1344
+ canRegister?: boolean | undefined;
1345
+ canGetMetadata?: boolean | undefined;
1346
+ }>;
1347
+ export declare const ContractClassesCapabilitySchema: z.ZodObject<{
1348
+ type: z.ZodLiteral<"contractClasses">;
1349
+ classes: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<Fr>, "many">]>;
1350
+ canGetMetadata: z.ZodBoolean;
1351
+ }, "strip", z.ZodTypeAny, {
1352
+ type: "contractClasses";
1353
+ classes: "*" | Fr[];
1354
+ canGetMetadata: boolean;
1355
+ }, {
1356
+ type: "contractClasses";
1357
+ classes: "*" | any[];
1358
+ canGetMetadata: boolean;
1359
+ }>;
1360
+ export declare const GrantedContractClassesCapabilitySchema: z.ZodObject<{
1361
+ type: z.ZodLiteral<"contractClasses">;
1362
+ classes: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<Fr>, "many">]>;
1363
+ canGetMetadata: z.ZodBoolean;
1364
+ }, "strip", z.ZodTypeAny, {
1365
+ type: "contractClasses";
1366
+ classes: "*" | Fr[];
1367
+ canGetMetadata: boolean;
1368
+ }, {
1369
+ type: "contractClasses";
1370
+ classes: "*" | any[];
1371
+ canGetMetadata: boolean;
1372
+ }>;
1373
+ export declare const SimulationCapabilitySchema: z.ZodObject<{
1374
+ type: z.ZodLiteral<"simulation">;
1375
+ transactions: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
1376
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
1377
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
1378
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
1379
+ }, "strip", z.ZodTypeAny, {
1380
+ contract: "*" | AztecAddress;
1381
+ function: string;
1382
+ }, {
1383
+ contract?: any;
1384
+ function: string;
1385
+ }>, "many">]>;
1386
+ }, "strip", z.ZodTypeAny, {
1387
+ scope: "*" | {
1388
+ contract: "*" | AztecAddress;
1389
+ function: string;
1390
+ }[];
1391
+ }, {
1392
+ scope: "*" | {
1393
+ contract?: any;
1394
+ function: string;
1395
+ }[];
1396
+ }>>;
1397
+ utilities: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
1398
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
1399
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
1400
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
1401
+ }, "strip", z.ZodTypeAny, {
1402
+ contract: "*" | AztecAddress;
1403
+ function: string;
1404
+ }, {
1405
+ contract?: any;
1406
+ function: string;
1407
+ }>, "many">]>;
1408
+ }, "strip", z.ZodTypeAny, {
1409
+ scope: "*" | {
1410
+ contract: "*" | AztecAddress;
1411
+ function: string;
1412
+ }[];
1413
+ }, {
1414
+ scope: "*" | {
1415
+ contract?: any;
1416
+ function: string;
1417
+ }[];
1418
+ }>>;
1419
+ }, "strip", z.ZodTypeAny, {
1420
+ type: "simulation";
1421
+ transactions?: {
1422
+ scope: "*" | {
1423
+ contract: "*" | AztecAddress;
1424
+ function: string;
1425
+ }[];
1426
+ } | undefined;
1427
+ utilities?: {
1428
+ scope: "*" | {
1429
+ contract: "*" | AztecAddress;
1430
+ function: string;
1431
+ }[];
1432
+ } | undefined;
1433
+ }, {
1434
+ type: "simulation";
1435
+ transactions?: {
1436
+ scope: "*" | {
1437
+ contract?: any;
1438
+ function: string;
1439
+ }[];
1440
+ } | undefined;
1441
+ utilities?: {
1442
+ scope: "*" | {
1443
+ contract?: any;
1444
+ function: string;
1445
+ }[];
1446
+ } | undefined;
1447
+ }>;
1448
+ export declare const GrantedSimulationCapabilitySchema: z.ZodObject<{
1449
+ type: z.ZodLiteral<"simulation">;
1450
+ transactions: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
1451
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
1452
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
1453
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
1454
+ }, "strip", z.ZodTypeAny, {
1455
+ contract: "*" | AztecAddress;
1456
+ function: string;
1457
+ }, {
1458
+ contract?: any;
1459
+ function: string;
1460
+ }>, "many">]>;
1461
+ }, "strip", z.ZodTypeAny, {
1462
+ scope: "*" | {
1463
+ contract: "*" | AztecAddress;
1464
+ function: string;
1465
+ }[];
1466
+ }, {
1467
+ scope: "*" | {
1468
+ contract?: any;
1469
+ function: string;
1470
+ }[];
1471
+ }>>;
1472
+ utilities: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
1473
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
1474
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
1475
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
1476
+ }, "strip", z.ZodTypeAny, {
1477
+ contract: "*" | AztecAddress;
1478
+ function: string;
1479
+ }, {
1480
+ contract?: any;
1481
+ function: string;
1482
+ }>, "many">]>;
1483
+ }, "strip", z.ZodTypeAny, {
1484
+ scope: "*" | {
1485
+ contract: "*" | AztecAddress;
1486
+ function: string;
1487
+ }[];
1488
+ }, {
1489
+ scope: "*" | {
1490
+ contract?: any;
1491
+ function: string;
1492
+ }[];
1493
+ }>>;
1494
+ }, "strip", z.ZodTypeAny, {
1495
+ type: "simulation";
1496
+ transactions?: {
1497
+ scope: "*" | {
1498
+ contract: "*" | AztecAddress;
1499
+ function: string;
1500
+ }[];
1501
+ } | undefined;
1502
+ utilities?: {
1503
+ scope: "*" | {
1504
+ contract: "*" | AztecAddress;
1505
+ function: string;
1506
+ }[];
1507
+ } | undefined;
1508
+ }, {
1509
+ type: "simulation";
1510
+ transactions?: {
1511
+ scope: "*" | {
1512
+ contract?: any;
1513
+ function: string;
1514
+ }[];
1515
+ } | undefined;
1516
+ utilities?: {
1517
+ scope: "*" | {
1518
+ contract?: any;
1519
+ function: string;
1520
+ }[];
1521
+ } | undefined;
1522
+ }>;
1523
+ export declare const TransactionCapabilitySchema: z.ZodObject<{
1524
+ type: z.ZodLiteral<"transaction">;
1525
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
1526
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
1527
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
1528
+ }, "strip", z.ZodTypeAny, {
1529
+ contract: "*" | AztecAddress;
1530
+ function: string;
1531
+ }, {
1532
+ contract?: any;
1533
+ function: string;
1534
+ }>, "many">]>;
1535
+ }, "strip", z.ZodTypeAny, {
1536
+ type: "transaction";
1537
+ scope: "*" | {
1538
+ contract: "*" | AztecAddress;
1539
+ function: string;
1540
+ }[];
1541
+ }, {
1542
+ type: "transaction";
1543
+ scope: "*" | {
1544
+ contract?: any;
1545
+ function: string;
1546
+ }[];
1547
+ }>;
1548
+ export declare const GrantedTransactionCapabilitySchema: z.ZodObject<{
1549
+ type: z.ZodLiteral<"transaction">;
1550
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
1551
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
1552
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
1553
+ }, "strip", z.ZodTypeAny, {
1554
+ contract: "*" | AztecAddress;
1555
+ function: string;
1556
+ }, {
1557
+ contract?: any;
1558
+ function: string;
1559
+ }>, "many">]>;
1560
+ }, "strip", z.ZodTypeAny, {
1561
+ type: "transaction";
1562
+ scope: "*" | {
1563
+ contract: "*" | AztecAddress;
1564
+ function: string;
1565
+ }[];
1566
+ }, {
1567
+ type: "transaction";
1568
+ scope: "*" | {
1569
+ contract?: any;
1570
+ function: string;
1571
+ }[];
1572
+ }>;
1573
+ export declare const DataCapabilitySchema: z.ZodObject<{
1574
+ type: z.ZodLiteral<"data">;
1575
+ addressBook: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1576
+ privateEvents: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
1577
+ contracts: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">]>;
1578
+ }, "strip", z.ZodTypeAny, {
1579
+ contracts: "*" | AztecAddress[];
1580
+ }, {
1581
+ contracts: "*" | any[];
1582
+ }>>;
1583
+ }, "strip", z.ZodTypeAny, {
1584
+ type: "data";
1585
+ addressBook?: boolean | undefined;
1586
+ privateEvents?: {
1587
+ contracts: "*" | AztecAddress[];
1588
+ } | undefined;
1589
+ }, {
1590
+ type: "data";
1591
+ addressBook?: boolean | undefined;
1592
+ privateEvents?: {
1593
+ contracts: "*" | any[];
1594
+ } | undefined;
1595
+ }>;
1596
+ export declare const GrantedDataCapabilitySchema: z.ZodObject<{
1597
+ type: z.ZodLiteral<"data">;
1598
+ addressBook: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1599
+ privateEvents: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
1600
+ contracts: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">]>;
1601
+ }, "strip", z.ZodTypeAny, {
1602
+ contracts: "*" | AztecAddress[];
1603
+ }, {
1604
+ contracts: "*" | any[];
1605
+ }>>;
1606
+ }, "strip", z.ZodTypeAny, {
1607
+ type: "data";
1608
+ addressBook?: boolean | undefined;
1609
+ privateEvents?: {
1610
+ contracts: "*" | AztecAddress[];
1611
+ } | undefined;
1612
+ }, {
1613
+ type: "data";
1614
+ addressBook?: boolean | undefined;
1615
+ privateEvents?: {
1616
+ contracts: "*" | any[];
1617
+ } | undefined;
1618
+ }>;
1619
+ export declare const CapabilitySchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1620
+ type: z.ZodLiteral<"accounts">;
1621
+ canGet: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1622
+ canCreateAuthWit: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1623
+ }, "strip", z.ZodTypeAny, {
1624
+ type: "accounts";
1625
+ canGet?: boolean | undefined;
1626
+ canCreateAuthWit?: boolean | undefined;
1627
+ }, {
1628
+ type: "accounts";
1629
+ canGet?: boolean | undefined;
1630
+ canCreateAuthWit?: boolean | undefined;
1525
1631
  }>, z.ZodObject<{
1526
- caller: ZodFor<AztecAddress>;
1527
- call: z.ZodObject<{
1528
- name: z.ZodString;
1529
- to: ZodFor<AztecAddress>;
1530
- selector: ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
1531
- type: z.ZodNativeEnum<typeof FunctionType>;
1532
- isStatic: z.ZodBoolean;
1533
- hideMsgSender: z.ZodBoolean;
1534
- args: z.ZodArray<ZodFor<Fr>, "many">;
1535
- returnTypes: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
1632
+ type: z.ZodLiteral<"contracts">;
1633
+ contracts: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">]>;
1634
+ canRegister: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1635
+ canGetMetadata: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1636
+ }, "strip", z.ZodTypeAny, {
1637
+ type: "contracts";
1638
+ contracts: "*" | AztecAddress[];
1639
+ canRegister?: boolean | undefined;
1640
+ canGetMetadata?: boolean | undefined;
1641
+ }, {
1642
+ type: "contracts";
1643
+ contracts: "*" | any[];
1644
+ canRegister?: boolean | undefined;
1645
+ canGetMetadata?: boolean | undefined;
1646
+ }>, z.ZodObject<{
1647
+ type: z.ZodLiteral<"contractClasses">;
1648
+ classes: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<Fr>, "many">]>;
1649
+ canGetMetadata: z.ZodBoolean;
1650
+ }, "strip", z.ZodTypeAny, {
1651
+ type: "contractClasses";
1652
+ classes: "*" | Fr[];
1653
+ canGetMetadata: boolean;
1654
+ }, {
1655
+ type: "contractClasses";
1656
+ classes: "*" | any[];
1657
+ canGetMetadata: boolean;
1658
+ }>, z.ZodObject<{
1659
+ type: z.ZodLiteral<"simulation">;
1660
+ transactions: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
1661
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
1662
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
1663
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
1664
+ }, "strip", z.ZodTypeAny, {
1665
+ contract: "*" | AztecAddress;
1666
+ function: string;
1667
+ }, {
1668
+ contract?: any;
1669
+ function: string;
1670
+ }>, "many">]>;
1536
1671
  }, "strip", z.ZodTypeAny, {
1537
- name: string;
1538
- args: Fr[];
1539
- type: FunctionType;
1540
- to: AztecAddress;
1541
- selector: import("@aztec/stdlib/abi").FunctionSelector;
1542
- isStatic: boolean;
1543
- hideMsgSender: boolean;
1544
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
1672
+ scope: "*" | {
1673
+ contract: "*" | AztecAddress;
1674
+ function: string;
1675
+ }[];
1545
1676
  }, {
1546
- name: string;
1547
- args: any[];
1548
- type: FunctionType;
1549
- isStatic: boolean;
1550
- hideMsgSender: boolean;
1551
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
1552
- to?: any;
1553
- selector?: any;
1554
- }>;
1677
+ scope: "*" | {
1678
+ contract?: any;
1679
+ function: string;
1680
+ }[];
1681
+ }>>;
1682
+ utilities: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
1683
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
1684
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
1685
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
1686
+ }, "strip", z.ZodTypeAny, {
1687
+ contract: "*" | AztecAddress;
1688
+ function: string;
1689
+ }, {
1690
+ contract?: any;
1691
+ function: string;
1692
+ }>, "many">]>;
1693
+ }, "strip", z.ZodTypeAny, {
1694
+ scope: "*" | {
1695
+ contract: "*" | AztecAddress;
1696
+ function: string;
1697
+ }[];
1698
+ }, {
1699
+ scope: "*" | {
1700
+ contract?: any;
1701
+ function: string;
1702
+ }[];
1703
+ }>>;
1555
1704
  }, "strip", z.ZodTypeAny, {
1556
- caller: AztecAddress;
1557
- call: {
1558
- name: string;
1559
- args: Fr[];
1560
- type: FunctionType;
1561
- to: AztecAddress;
1562
- selector: import("@aztec/stdlib/abi").FunctionSelector;
1563
- isStatic: boolean;
1564
- hideMsgSender: boolean;
1565
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
1566
- };
1705
+ type: "simulation";
1706
+ transactions?: {
1707
+ scope: "*" | {
1708
+ contract: "*" | AztecAddress;
1709
+ function: string;
1710
+ }[];
1711
+ } | undefined;
1712
+ utilities?: {
1713
+ scope: "*" | {
1714
+ contract: "*" | AztecAddress;
1715
+ function: string;
1716
+ }[];
1717
+ } | undefined;
1567
1718
  }, {
1568
- call: {
1569
- name: string;
1570
- args: any[];
1571
- type: FunctionType;
1572
- isStatic: boolean;
1573
- hideMsgSender: boolean;
1574
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
1575
- to?: any;
1576
- selector?: any;
1577
- };
1578
- caller?: any;
1719
+ type: "simulation";
1720
+ transactions?: {
1721
+ scope: "*" | {
1722
+ contract?: any;
1723
+ function: string;
1724
+ }[];
1725
+ } | undefined;
1726
+ utilities?: {
1727
+ scope: "*" | {
1728
+ contract?: any;
1729
+ function: string;
1730
+ }[];
1731
+ } | undefined;
1732
+ }>, z.ZodObject<{
1733
+ type: z.ZodLiteral<"transaction">;
1734
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
1735
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
1736
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
1737
+ }, "strip", z.ZodTypeAny, {
1738
+ contract: "*" | AztecAddress;
1739
+ function: string;
1740
+ }, {
1741
+ contract?: any;
1742
+ function: string;
1743
+ }>, "many">]>;
1744
+ }, "strip", z.ZodTypeAny, {
1745
+ type: "transaction";
1746
+ scope: "*" | {
1747
+ contract: "*" | AztecAddress;
1748
+ function: string;
1749
+ }[];
1750
+ }, {
1751
+ type: "transaction";
1752
+ scope: "*" | {
1753
+ contract?: any;
1754
+ function: string;
1755
+ }[];
1756
+ }>, z.ZodObject<{
1757
+ type: z.ZodLiteral<"data">;
1758
+ addressBook: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1759
+ privateEvents: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
1760
+ contracts: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">]>;
1761
+ }, "strip", z.ZodTypeAny, {
1762
+ contracts: "*" | AztecAddress[];
1763
+ }, {
1764
+ contracts: "*" | any[];
1765
+ }>>;
1766
+ }, "strip", z.ZodTypeAny, {
1767
+ type: "data";
1768
+ addressBook?: boolean | undefined;
1769
+ privateEvents?: {
1770
+ contracts: "*" | AztecAddress[];
1771
+ } | undefined;
1772
+ }, {
1773
+ type: "data";
1774
+ addressBook?: boolean | undefined;
1775
+ privateEvents?: {
1776
+ contracts: "*" | any[];
1777
+ } | undefined;
1579
1778
  }>]>;
1580
- export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
1581
- name: z.ZodLiteral<"registerSender">;
1582
- args: z.ZodTuple<[ZodFor<AztecAddress>, import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>], null>;
1779
+ export declare const GrantedCapabilitySchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1780
+ type: z.ZodLiteral<"accounts">;
1781
+ canGet: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1782
+ canCreateAuthWit: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1783
+ } & {
1784
+ accounts: z.ZodArray<z.ZodObject<{
1785
+ alias: z.ZodString;
1786
+ item: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
1787
+ }, "strip", z.ZodTypeAny, {
1788
+ alias: string;
1789
+ item: AztecAddress;
1790
+ }, {
1791
+ alias: string;
1792
+ item?: any;
1793
+ }>, "many">;
1794
+ }, "strip", z.ZodTypeAny, {
1795
+ type: "accounts";
1796
+ canGet?: boolean | undefined;
1797
+ canCreateAuthWit?: boolean | undefined;
1798
+ accounts: {
1799
+ alias: string;
1800
+ item: AztecAddress;
1801
+ }[];
1802
+ }, {
1803
+ type: "accounts";
1804
+ canGet?: boolean | undefined;
1805
+ canCreateAuthWit?: boolean | undefined;
1806
+ accounts: {
1807
+ alias: string;
1808
+ item?: any;
1809
+ }[];
1810
+ }>, z.ZodObject<{
1811
+ type: z.ZodLiteral<"contracts">;
1812
+ contracts: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">]>;
1813
+ canRegister: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1814
+ canGetMetadata: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1583
1815
  }, "strip", z.ZodTypeAny, {
1584
- name: "registerSender";
1585
- args: [AztecAddress, string | undefined];
1816
+ type: "contracts";
1817
+ contracts: "*" | AztecAddress[];
1818
+ canRegister?: boolean | undefined;
1819
+ canGetMetadata?: boolean | undefined;
1586
1820
  }, {
1587
- name: "registerSender";
1588
- args: [any, string | undefined];
1821
+ type: "contracts";
1822
+ contracts: "*" | any[];
1823
+ canRegister?: boolean | undefined;
1824
+ canGetMetadata?: boolean | undefined;
1589
1825
  }>, z.ZodObject<{
1590
- name: z.ZodLiteral<"registerContract">;
1591
- args: z.ZodTuple<[z.ZodUnion<[ZodFor<AztecAddress>, z.ZodIntersection<z.ZodObject<{
1592
- version: z.ZodLiteral<1>;
1593
- salt: ZodFor<Fr>;
1594
- deployer: ZodFor<AztecAddress>;
1595
- currentContractClassId: ZodFor<Fr>;
1596
- originalContractClassId: ZodFor<Fr>;
1597
- initializationHash: ZodFor<Fr>;
1598
- publicKeys: z.ZodEffects<z.ZodObject<{
1599
- masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
1600
- masterIncomingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
1601
- masterOutgoingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
1602
- masterTaggingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
1826
+ type: z.ZodLiteral<"contractClasses">;
1827
+ classes: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<Fr>, "many">]>;
1828
+ canGetMetadata: z.ZodBoolean;
1829
+ }, "strip", z.ZodTypeAny, {
1830
+ type: "contractClasses";
1831
+ classes: "*" | Fr[];
1832
+ canGetMetadata: boolean;
1833
+ }, {
1834
+ type: "contractClasses";
1835
+ classes: "*" | any[];
1836
+ canGetMetadata: boolean;
1837
+ }>, z.ZodObject<{
1838
+ type: z.ZodLiteral<"simulation">;
1839
+ transactions: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
1840
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
1841
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
1842
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
1603
1843
  }, "strip", z.ZodTypeAny, {
1604
- masterNullifierPublicKey: import("@aztec/foundation/fields").Point;
1605
- masterIncomingViewingPublicKey: import("@aztec/foundation/fields").Point;
1606
- masterOutgoingViewingPublicKey: import("@aztec/foundation/fields").Point;
1607
- masterTaggingPublicKey: import("@aztec/foundation/fields").Point;
1844
+ contract: "*" | AztecAddress;
1845
+ function: string;
1608
1846
  }, {
1609
- masterNullifierPublicKey: string;
1610
- masterIncomingViewingPublicKey: string;
1611
- masterOutgoingViewingPublicKey: string;
1612
- masterTaggingPublicKey: string;
1613
- }>, PublicKeys, {
1614
- masterNullifierPublicKey: string;
1615
- masterIncomingViewingPublicKey: string;
1616
- masterOutgoingViewingPublicKey: string;
1617
- masterTaggingPublicKey: string;
1618
- }>;
1847
+ contract?: any;
1848
+ function: string;
1849
+ }>, "many">]>;
1619
1850
  }, "strip", z.ZodTypeAny, {
1620
- version: 1;
1621
- salt: Fr;
1622
- deployer: AztecAddress;
1623
- currentContractClassId: Fr;
1624
- originalContractClassId: Fr;
1625
- initializationHash: Fr;
1626
- publicKeys: PublicKeys;
1851
+ scope: "*" | {
1852
+ contract: "*" | AztecAddress;
1853
+ function: string;
1854
+ }[];
1627
1855
  }, {
1628
- version: 1;
1629
- publicKeys: {
1630
- masterNullifierPublicKey: string;
1631
- masterIncomingViewingPublicKey: string;
1632
- masterOutgoingViewingPublicKey: string;
1633
- masterTaggingPublicKey: string;
1634
- };
1635
- salt?: any;
1636
- deployer?: any;
1637
- currentContractClassId?: any;
1638
- originalContractClassId?: any;
1639
- initializationHash?: any;
1856
+ scope: "*" | {
1857
+ contract?: any;
1858
+ function: string;
1859
+ }[];
1860
+ }>>;
1861
+ utilities: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
1862
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
1863
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
1864
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
1865
+ }, "strip", z.ZodTypeAny, {
1866
+ contract: "*" | AztecAddress;
1867
+ function: string;
1868
+ }, {
1869
+ contract?: any;
1870
+ function: string;
1871
+ }>, "many">]>;
1872
+ }, "strip", z.ZodTypeAny, {
1873
+ scope: "*" | {
1874
+ contract: "*" | AztecAddress;
1875
+ function: string;
1876
+ }[];
1877
+ }, {
1878
+ scope: "*" | {
1879
+ contract?: any;
1880
+ function: string;
1881
+ }[];
1882
+ }>>;
1883
+ }, "strip", z.ZodTypeAny, {
1884
+ type: "simulation";
1885
+ transactions?: {
1886
+ scope: "*" | {
1887
+ contract: "*" | AztecAddress;
1888
+ function: string;
1889
+ }[];
1890
+ } | undefined;
1891
+ utilities?: {
1892
+ scope: "*" | {
1893
+ contract: "*" | AztecAddress;
1894
+ function: string;
1895
+ }[];
1896
+ } | undefined;
1897
+ }, {
1898
+ type: "simulation";
1899
+ transactions?: {
1900
+ scope: "*" | {
1901
+ contract?: any;
1902
+ function: string;
1903
+ }[];
1904
+ } | undefined;
1905
+ utilities?: {
1906
+ scope: "*" | {
1907
+ contract?: any;
1908
+ function: string;
1909
+ }[];
1910
+ } | undefined;
1911
+ }>, z.ZodObject<{
1912
+ type: z.ZodLiteral<"transaction">;
1913
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
1914
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
1915
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
1916
+ }, "strip", z.ZodTypeAny, {
1917
+ contract: "*" | AztecAddress;
1918
+ function: string;
1919
+ }, {
1920
+ contract?: any;
1921
+ function: string;
1922
+ }>, "many">]>;
1923
+ }, "strip", z.ZodTypeAny, {
1924
+ type: "transaction";
1925
+ scope: "*" | {
1926
+ contract: "*" | AztecAddress;
1927
+ function: string;
1928
+ }[];
1929
+ }, {
1930
+ type: "transaction";
1931
+ scope: "*" | {
1932
+ contract?: any;
1933
+ function: string;
1934
+ }[];
1935
+ }>, z.ZodObject<{
1936
+ type: z.ZodLiteral<"data">;
1937
+ addressBook: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1938
+ privateEvents: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
1939
+ contracts: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">]>;
1940
+ }, "strip", z.ZodTypeAny, {
1941
+ contracts: "*" | AztecAddress[];
1942
+ }, {
1943
+ contracts: "*" | any[];
1944
+ }>>;
1945
+ }, "strip", z.ZodTypeAny, {
1946
+ type: "data";
1947
+ addressBook?: boolean | undefined;
1948
+ privateEvents?: {
1949
+ contracts: "*" | AztecAddress[];
1950
+ } | undefined;
1951
+ }, {
1952
+ type: "data";
1953
+ addressBook?: boolean | undefined;
1954
+ privateEvents?: {
1955
+ contracts: "*" | any[];
1956
+ } | undefined;
1957
+ }>]>;
1958
+ export declare const AppCapabilitiesSchema: z.ZodObject<{
1959
+ version: z.ZodLiteral<"1.0">;
1960
+ metadata: z.ZodObject<{
1961
+ name: z.ZodString;
1962
+ version: z.ZodString;
1963
+ description: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
1964
+ url: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
1965
+ icon: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
1966
+ }, "strip", z.ZodTypeAny, {
1967
+ name: string;
1968
+ version: string;
1969
+ description?: string | undefined;
1970
+ url?: string | undefined;
1971
+ icon?: string | undefined;
1972
+ }, {
1973
+ name: string;
1974
+ version: string;
1975
+ description?: string | undefined;
1976
+ url?: string | undefined;
1977
+ icon?: string | undefined;
1978
+ }>;
1979
+ capabilities: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1980
+ type: z.ZodLiteral<"accounts">;
1981
+ canGet: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1982
+ canCreateAuthWit: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1983
+ }, "strip", z.ZodTypeAny, {
1984
+ type: "accounts";
1985
+ canGet?: boolean | undefined;
1986
+ canCreateAuthWit?: boolean | undefined;
1987
+ }, {
1988
+ type: "accounts";
1989
+ canGet?: boolean | undefined;
1990
+ canCreateAuthWit?: boolean | undefined;
1640
1991
  }>, z.ZodObject<{
1641
- address: ZodFor<AztecAddress>;
1992
+ type: z.ZodLiteral<"contracts">;
1993
+ contracts: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">]>;
1994
+ canRegister: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1995
+ canGetMetadata: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1642
1996
  }, "strip", z.ZodTypeAny, {
1643
- address: AztecAddress;
1997
+ type: "contracts";
1998
+ contracts: "*" | AztecAddress[];
1999
+ canRegister?: boolean | undefined;
2000
+ canGetMetadata?: boolean | undefined;
1644
2001
  }, {
1645
- address?: any;
1646
- }>>, z.ZodObject<{
1647
- constructorArtifact: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodObject<{
1648
- name: z.ZodString;
1649
- functionType: z.ZodNativeEnum<typeof FunctionType>;
1650
- isInternal: z.ZodBoolean;
1651
- isStatic: z.ZodBoolean;
1652
- isInitializer: z.ZodBoolean;
1653
- parameters: z.ZodArray<z.ZodObject<{
1654
- name: z.ZodString;
1655
- type: z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>;
1656
- visibility: z.ZodEnum<["public", "private", "databus"]>;
1657
- }, "strip", z.ZodTypeAny, {
1658
- type: import("@aztec/stdlib/abi").AbiType;
1659
- name: string;
1660
- visibility: "public" | "private" | "databus";
1661
- }, {
1662
- type: import("@aztec/stdlib/abi").AbiType;
1663
- name: string;
1664
- visibility: "public" | "private" | "databus";
1665
- }>, "many">;
1666
- returnTypes: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
1667
- errorTypes: z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1668
- error_kind: z.ZodLiteral<"string">;
1669
- string: z.ZodString;
1670
- }, "strip", z.ZodTypeAny, {
1671
- string: string;
1672
- error_kind: "string";
1673
- }, {
1674
- string: string;
1675
- error_kind: "string";
1676
- }>, z.ZodObject<{
1677
- error_kind: z.ZodLiteral<"fmtstring">;
1678
- length: z.ZodNumber;
1679
- item_types: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
1680
- }, "strip", z.ZodTypeAny, {
1681
- length: number;
1682
- error_kind: "fmtstring";
1683
- item_types: import("@aztec/stdlib/abi").AbiType[];
1684
- }, {
1685
- length: number;
1686
- error_kind: "fmtstring";
1687
- item_types: import("@aztec/stdlib/abi").AbiType[];
1688
- }>, z.ZodIntersection<z.ZodObject<{
1689
- error_kind: z.ZodLiteral<"custom">;
2002
+ type: "contracts";
2003
+ contracts: "*" | any[];
2004
+ canRegister?: boolean | undefined;
2005
+ canGetMetadata?: boolean | undefined;
2006
+ }>, z.ZodObject<{
2007
+ type: z.ZodLiteral<"contractClasses">;
2008
+ classes: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<Fr>, "many">]>;
2009
+ canGetMetadata: z.ZodBoolean;
2010
+ }, "strip", z.ZodTypeAny, {
2011
+ type: "contractClasses";
2012
+ classes: "*" | Fr[];
2013
+ canGetMetadata: boolean;
2014
+ }, {
2015
+ type: "contractClasses";
2016
+ classes: "*" | any[];
2017
+ canGetMetadata: boolean;
2018
+ }>, z.ZodObject<{
2019
+ type: z.ZodLiteral<"simulation">;
2020
+ transactions: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
2021
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
2022
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
2023
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
1690
2024
  }, "strip", z.ZodTypeAny, {
1691
- error_kind: "custom";
2025
+ contract: "*" | AztecAddress;
2026
+ function: string;
1692
2027
  }, {
1693
- error_kind: "custom";
1694
- }>, z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>>]>>>;
2028
+ contract?: any;
2029
+ function: string;
2030
+ }>, "many">]>;
1695
2031
  }, "strip", z.ZodTypeAny, {
1696
- name: string;
1697
- parameters: {
1698
- type: import("@aztec/stdlib/abi").AbiType;
1699
- name: string;
1700
- visibility: "public" | "private" | "databus";
2032
+ scope: "*" | {
2033
+ contract: "*" | AztecAddress;
2034
+ function: string;
1701
2035
  }[];
1702
- functionType: FunctionType;
1703
- isInternal: boolean;
1704
- isStatic: boolean;
1705
- isInitializer: boolean;
1706
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
1707
- errorTypes: Record<string, {
1708
- string: string;
1709
- error_kind: "string";
1710
- } | {
1711
- length: number;
1712
- error_kind: "fmtstring";
1713
- item_types: import("@aztec/stdlib/abi").AbiType[];
1714
- } | ({
1715
- error_kind: "custom";
1716
- } & import("@aztec/stdlib/abi").AbiType) | undefined>;
1717
2036
  }, {
1718
- name: string;
1719
- parameters: {
1720
- type: import("@aztec/stdlib/abi").AbiType;
1721
- name: string;
1722
- visibility: "public" | "private" | "databus";
2037
+ scope: "*" | {
2038
+ contract?: any;
2039
+ function: string;
1723
2040
  }[];
1724
- functionType: FunctionType;
1725
- isInternal: boolean;
1726
- isStatic: boolean;
1727
- isInitializer: boolean;
1728
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
1729
- errorTypes: Record<string, {
1730
- string: string;
1731
- error_kind: "string";
1732
- } | {
1733
- length: number;
1734
- error_kind: "fmtstring";
1735
- item_types: import("@aztec/stdlib/abi").AbiType[];
1736
- } | ({
1737
- error_kind: "custom";
1738
- } & import("@aztec/stdlib/abi").AbiType) | undefined>;
1739
- }>, z.ZodString]>>;
1740
- constructorArgs: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodAny, "many">>;
1741
- skipArgsDecoding: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1742
- salt: ZodFor<Fr>;
1743
- publicKeys: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
1744
- masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
1745
- masterIncomingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
1746
- masterOutgoingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
1747
- masterTaggingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
2041
+ }>>;
2042
+ utilities: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
2043
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
2044
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
2045
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
2046
+ }, "strip", z.ZodTypeAny, {
2047
+ contract: "*" | AztecAddress;
2048
+ function: string;
2049
+ }, {
2050
+ contract?: any;
2051
+ function: string;
2052
+ }>, "many">]>;
1748
2053
  }, "strip", z.ZodTypeAny, {
1749
- masterNullifierPublicKey: import("@aztec/foundation/fields").Point;
1750
- masterIncomingViewingPublicKey: import("@aztec/foundation/fields").Point;
1751
- masterOutgoingViewingPublicKey: import("@aztec/foundation/fields").Point;
1752
- masterTaggingPublicKey: import("@aztec/foundation/fields").Point;
2054
+ scope: "*" | {
2055
+ contract: "*" | AztecAddress;
2056
+ function: string;
2057
+ }[];
1753
2058
  }, {
1754
- masterNullifierPublicKey: string;
1755
- masterIncomingViewingPublicKey: string;
1756
- masterOutgoingViewingPublicKey: string;
1757
- masterTaggingPublicKey: string;
1758
- }>, PublicKeys, {
1759
- masterNullifierPublicKey: string;
1760
- masterIncomingViewingPublicKey: string;
1761
- masterOutgoingViewingPublicKey: string;
1762
- masterTaggingPublicKey: string;
2059
+ scope: "*" | {
2060
+ contract?: any;
2061
+ function: string;
2062
+ }[];
1763
2063
  }>>;
1764
- deployer: import("@aztec/foundation/schemas").ZodNullableOptional<ZodFor<AztecAddress>>;
1765
2064
  }, "strip", z.ZodTypeAny, {
1766
- salt: Fr;
1767
- deployer?: AztecAddress | undefined;
1768
- publicKeys?: PublicKeys | undefined;
1769
- constructorArgs?: any[] | undefined;
1770
- constructorArtifact?: string | {
1771
- name: string;
1772
- parameters: {
1773
- type: import("@aztec/stdlib/abi").AbiType;
1774
- name: string;
1775
- visibility: "public" | "private" | "databus";
2065
+ type: "simulation";
2066
+ transactions?: {
2067
+ scope: "*" | {
2068
+ contract: "*" | AztecAddress;
2069
+ function: string;
2070
+ }[];
2071
+ } | undefined;
2072
+ utilities?: {
2073
+ scope: "*" | {
2074
+ contract: "*" | AztecAddress;
2075
+ function: string;
1776
2076
  }[];
1777
- functionType: FunctionType;
1778
- isInternal: boolean;
1779
- isStatic: boolean;
1780
- isInitializer: boolean;
1781
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
1782
- errorTypes: Record<string, {
1783
- string: string;
1784
- error_kind: "string";
1785
- } | {
1786
- length: number;
1787
- error_kind: "fmtstring";
1788
- item_types: import("@aztec/stdlib/abi").AbiType[];
1789
- } | ({
1790
- error_kind: "custom";
1791
- } & import("@aztec/stdlib/abi").AbiType) | undefined>;
1792
2077
  } | undefined;
1793
- skipArgsDecoding?: boolean | undefined;
1794
2078
  }, {
1795
- salt?: any;
1796
- deployer?: any;
1797
- publicKeys?: {
1798
- masterNullifierPublicKey: string;
1799
- masterIncomingViewingPublicKey: string;
1800
- masterOutgoingViewingPublicKey: string;
1801
- masterTaggingPublicKey: string;
2079
+ type: "simulation";
2080
+ transactions?: {
2081
+ scope: "*" | {
2082
+ contract?: any;
2083
+ function: string;
2084
+ }[];
1802
2085
  } | undefined;
1803
- constructorArgs?: any[] | undefined;
1804
- constructorArtifact?: string | {
1805
- name: string;
1806
- parameters: {
1807
- type: import("@aztec/stdlib/abi").AbiType;
1808
- name: string;
1809
- visibility: "public" | "private" | "databus";
2086
+ utilities?: {
2087
+ scope: "*" | {
2088
+ contract?: any;
2089
+ function: string;
1810
2090
  }[];
1811
- functionType: FunctionType;
1812
- isInternal: boolean;
1813
- isStatic: boolean;
1814
- isInitializer: boolean;
1815
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
1816
- errorTypes: Record<string, {
1817
- string: string;
1818
- error_kind: "string";
1819
- } | {
1820
- length: number;
1821
- error_kind: "fmtstring";
1822
- item_types: import("@aztec/stdlib/abi").AbiType[];
1823
- } | ({
1824
- error_kind: "custom";
1825
- } & import("@aztec/stdlib/abi").AbiType) | undefined>;
1826
2091
  } | undefined;
1827
- skipArgsDecoding?: boolean | undefined;
1828
2092
  }>, z.ZodObject<{
1829
- instance: z.ZodIntersection<z.ZodObject<{
1830
- version: z.ZodLiteral<1>;
1831
- salt: ZodFor<Fr>;
1832
- deployer: ZodFor<AztecAddress>;
1833
- currentContractClassId: ZodFor<Fr>;
1834
- originalContractClassId: ZodFor<Fr>;
1835
- initializationHash: ZodFor<Fr>;
1836
- publicKeys: z.ZodEffects<z.ZodObject<{
1837
- masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
1838
- masterIncomingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
1839
- masterOutgoingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
1840
- masterTaggingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
1841
- }, "strip", z.ZodTypeAny, {
1842
- masterNullifierPublicKey: import("@aztec/foundation/fields").Point;
1843
- masterIncomingViewingPublicKey: import("@aztec/foundation/fields").Point;
1844
- masterOutgoingViewingPublicKey: import("@aztec/foundation/fields").Point;
1845
- masterTaggingPublicKey: import("@aztec/foundation/fields").Point;
1846
- }, {
1847
- masterNullifierPublicKey: string;
1848
- masterIncomingViewingPublicKey: string;
1849
- masterOutgoingViewingPublicKey: string;
1850
- masterTaggingPublicKey: string;
1851
- }>, PublicKeys, {
1852
- masterNullifierPublicKey: string;
1853
- masterIncomingViewingPublicKey: string;
1854
- masterOutgoingViewingPublicKey: string;
1855
- masterTaggingPublicKey: string;
1856
- }>;
2093
+ type: z.ZodLiteral<"transaction">;
2094
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
2095
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
2096
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
1857
2097
  }, "strip", z.ZodTypeAny, {
1858
- version: 1;
1859
- salt: Fr;
1860
- deployer: AztecAddress;
1861
- currentContractClassId: Fr;
1862
- originalContractClassId: Fr;
1863
- initializationHash: Fr;
1864
- publicKeys: PublicKeys;
2098
+ contract: "*" | AztecAddress;
2099
+ function: string;
1865
2100
  }, {
1866
- version: 1;
1867
- publicKeys: {
1868
- masterNullifierPublicKey: string;
1869
- masterIncomingViewingPublicKey: string;
1870
- masterOutgoingViewingPublicKey: string;
1871
- masterTaggingPublicKey: string;
1872
- };
1873
- salt?: any;
1874
- deployer?: any;
1875
- currentContractClassId?: any;
1876
- originalContractClassId?: any;
1877
- initializationHash?: any;
1878
- }>, z.ZodObject<{
1879
- address: ZodFor<AztecAddress>;
2101
+ contract?: any;
2102
+ function: string;
2103
+ }>, "many">]>;
2104
+ }, "strip", z.ZodTypeAny, {
2105
+ type: "transaction";
2106
+ scope: "*" | {
2107
+ contract: "*" | AztecAddress;
2108
+ function: string;
2109
+ }[];
2110
+ }, {
2111
+ type: "transaction";
2112
+ scope: "*" | {
2113
+ contract?: any;
2114
+ function: string;
2115
+ }[];
2116
+ }>, z.ZodObject<{
2117
+ type: z.ZodLiteral<"data">;
2118
+ addressBook: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
2119
+ privateEvents: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
2120
+ contracts: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">]>;
1880
2121
  }, "strip", z.ZodTypeAny, {
1881
- address: AztecAddress;
2122
+ contracts: "*" | AztecAddress[];
1882
2123
  }, {
1883
- address?: any;
2124
+ contracts: "*" | any[];
1884
2125
  }>>;
1885
- artifact: ZodFor<ContractArtifact>;
1886
2126
  }, "strip", z.ZodTypeAny, {
1887
- artifact: ContractArtifact;
1888
- instance: {
1889
- version: 1;
1890
- salt: Fr;
1891
- deployer: AztecAddress;
1892
- currentContractClassId: Fr;
1893
- originalContractClassId: Fr;
1894
- initializationHash: Fr;
1895
- publicKeys: PublicKeys;
1896
- } & {
1897
- address: AztecAddress;
1898
- };
2127
+ type: "data";
2128
+ addressBook?: boolean | undefined;
2129
+ privateEvents?: {
2130
+ contracts: "*" | AztecAddress[];
2131
+ } | undefined;
1899
2132
  }, {
1900
- instance: {
1901
- version: 1;
1902
- publicKeys: {
1903
- masterNullifierPublicKey: string;
1904
- masterIncomingViewingPublicKey: string;
1905
- masterOutgoingViewingPublicKey: string;
1906
- masterTaggingPublicKey: string;
1907
- };
1908
- salt?: any;
1909
- deployer?: any;
1910
- currentContractClassId?: any;
1911
- originalContractClassId?: any;
1912
- initializationHash?: any;
1913
- } & {
1914
- address?: any;
1915
- };
1916
- artifact?: any;
1917
- }>]>, import("@aztec/foundation/schemas").ZodNullableOptional<ZodFor<ContractArtifact>>, import("@aztec/foundation/schemas").ZodNullableOptional<ZodFor<Fr>>], null>;
2133
+ type: "data";
2134
+ addressBook?: boolean | undefined;
2135
+ privateEvents?: {
2136
+ contracts: "*" | any[];
2137
+ } | undefined;
2138
+ }>]>, "many">;
2139
+ behavior: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
2140
+ mode: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEnum<["strict", "permissive"]>>;
2141
+ expiration: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
2142
+ }, "strip", z.ZodTypeAny, {
2143
+ mode?: "permissive" | "strict" | undefined;
2144
+ expiration?: number | undefined;
2145
+ }, {
2146
+ mode?: "permissive" | "strict" | undefined;
2147
+ expiration?: number | undefined;
2148
+ }>>;
1918
2149
  }, "strip", z.ZodTypeAny, {
1919
- name: "registerContract";
1920
- args: [AztecAddress | {
1921
- salt: Fr;
1922
- deployer?: AztecAddress | undefined;
1923
- publicKeys?: PublicKeys | undefined;
1924
- constructorArgs?: any[] | undefined;
1925
- constructorArtifact?: string | {
1926
- name: string;
1927
- parameters: {
1928
- type: import("@aztec/stdlib/abi").AbiType;
1929
- name: string;
1930
- visibility: "public" | "private" | "databus";
2150
+ version: "1.0";
2151
+ metadata: {
2152
+ name: string;
2153
+ version: string;
2154
+ description?: string | undefined;
2155
+ url?: string | undefined;
2156
+ icon?: string | undefined;
2157
+ };
2158
+ capabilities: ({
2159
+ type: "accounts";
2160
+ canGet?: boolean | undefined;
2161
+ canCreateAuthWit?: boolean | undefined;
2162
+ } | {
2163
+ type: "contracts";
2164
+ contracts: "*" | AztecAddress[];
2165
+ canRegister?: boolean | undefined;
2166
+ canGetMetadata?: boolean | undefined;
2167
+ } | {
2168
+ type: "contractClasses";
2169
+ classes: "*" | Fr[];
2170
+ canGetMetadata: boolean;
2171
+ } | {
2172
+ type: "simulation";
2173
+ transactions?: {
2174
+ scope: "*" | {
2175
+ contract: "*" | AztecAddress;
2176
+ function: string;
1931
2177
  }[];
1932
- functionType: FunctionType;
1933
- isInternal: boolean;
1934
- isStatic: boolean;
1935
- isInitializer: boolean;
1936
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
1937
- errorTypes: Record<string, {
1938
- string: string;
1939
- error_kind: "string";
1940
- } | {
1941
- length: number;
1942
- error_kind: "fmtstring";
1943
- item_types: import("@aztec/stdlib/abi").AbiType[];
1944
- } | ({
1945
- error_kind: "custom";
1946
- } & import("@aztec/stdlib/abi").AbiType) | undefined>;
1947
2178
  } | undefined;
1948
- skipArgsDecoding?: boolean | undefined;
1949
- } | ({
1950
- version: 1;
1951
- salt: Fr;
1952
- deployer: AztecAddress;
1953
- currentContractClassId: Fr;
1954
- originalContractClassId: Fr;
1955
- initializationHash: Fr;
1956
- publicKeys: PublicKeys;
1957
- } & {
1958
- address: AztecAddress;
1959
- }) | {
1960
- artifact: ContractArtifact;
1961
- instance: {
1962
- version: 1;
1963
- salt: Fr;
1964
- deployer: AztecAddress;
1965
- currentContractClassId: Fr;
1966
- originalContractClassId: Fr;
1967
- initializationHash: Fr;
1968
- publicKeys: PublicKeys;
1969
- } & {
1970
- address: AztecAddress;
1971
- };
1972
- }, ContractArtifact | undefined, Fr | undefined];
2179
+ utilities?: {
2180
+ scope: "*" | {
2181
+ contract: "*" | AztecAddress;
2182
+ function: string;
2183
+ }[];
2184
+ } | undefined;
2185
+ } | {
2186
+ type: "transaction";
2187
+ scope: "*" | {
2188
+ contract: "*" | AztecAddress;
2189
+ function: string;
2190
+ }[];
2191
+ } | {
2192
+ type: "data";
2193
+ addressBook?: boolean | undefined;
2194
+ privateEvents?: {
2195
+ contracts: "*" | AztecAddress[];
2196
+ } | undefined;
2197
+ })[];
2198
+ behavior?: {
2199
+ mode?: "permissive" | "strict" | undefined;
2200
+ expiration?: number | undefined;
2201
+ } | undefined;
1973
2202
  }, {
1974
- name: "registerContract";
1975
- args: [any, any, any];
1976
- }>, z.ZodObject<{
1977
- name: z.ZodLiteral<"sendTx">;
1978
- args: z.ZodTuple<[z.ZodObject<{
1979
- calls: z.ZodArray<z.ZodObject<{
1980
- name: z.ZodString;
1981
- to: ZodFor<AztecAddress>;
1982
- selector: ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
1983
- type: z.ZodNativeEnum<typeof FunctionType>;
1984
- isStatic: z.ZodBoolean;
1985
- hideMsgSender: z.ZodBoolean;
1986
- args: z.ZodArray<ZodFor<Fr>, "many">;
1987
- returnTypes: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
2203
+ version: "1.0";
2204
+ metadata: {
2205
+ name: string;
2206
+ version: string;
2207
+ description?: string | undefined;
2208
+ url?: string | undefined;
2209
+ icon?: string | undefined;
2210
+ };
2211
+ capabilities: ({
2212
+ type: "accounts";
2213
+ canGet?: boolean | undefined;
2214
+ canCreateAuthWit?: boolean | undefined;
2215
+ } | {
2216
+ type: "contracts";
2217
+ contracts: "*" | any[];
2218
+ canRegister?: boolean | undefined;
2219
+ canGetMetadata?: boolean | undefined;
2220
+ } | {
2221
+ type: "contractClasses";
2222
+ classes: "*" | any[];
2223
+ canGetMetadata: boolean;
2224
+ } | {
2225
+ type: "simulation";
2226
+ transactions?: {
2227
+ scope: "*" | {
2228
+ contract?: any;
2229
+ function: string;
2230
+ }[];
2231
+ } | undefined;
2232
+ utilities?: {
2233
+ scope: "*" | {
2234
+ contract?: any;
2235
+ function: string;
2236
+ }[];
2237
+ } | undefined;
2238
+ } | {
2239
+ type: "transaction";
2240
+ scope: "*" | {
2241
+ contract?: any;
2242
+ function: string;
2243
+ }[];
2244
+ } | {
2245
+ type: "data";
2246
+ addressBook?: boolean | undefined;
2247
+ privateEvents?: {
2248
+ contracts: "*" | any[];
2249
+ } | undefined;
2250
+ })[];
2251
+ behavior?: {
2252
+ mode?: "permissive" | "strict" | undefined;
2253
+ expiration?: number | undefined;
2254
+ } | undefined;
2255
+ }>;
2256
+ export declare const WalletCapabilitiesSchema: z.ZodObject<{
2257
+ version: z.ZodLiteral<"1.0">;
2258
+ granted: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2259
+ type: z.ZodLiteral<"accounts">;
2260
+ canGet: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
2261
+ canCreateAuthWit: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
2262
+ } & {
2263
+ accounts: z.ZodArray<z.ZodObject<{
2264
+ alias: z.ZodString;
2265
+ item: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
1988
2266
  }, "strip", z.ZodTypeAny, {
1989
- name: string;
1990
- args: Fr[];
1991
- type: FunctionType;
1992
- to: AztecAddress;
1993
- selector: import("@aztec/stdlib/abi").FunctionSelector;
1994
- isStatic: boolean;
1995
- hideMsgSender: boolean;
1996
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
2267
+ alias: string;
2268
+ item: AztecAddress;
1997
2269
  }, {
1998
- name: string;
1999
- args: any[];
2000
- type: FunctionType;
2001
- isStatic: boolean;
2002
- hideMsgSender: boolean;
2003
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
2004
- to?: any;
2005
- selector?: any;
2270
+ alias: string;
2271
+ item?: any;
2006
2272
  }>, "many">;
2007
- authWitnesses: z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">;
2008
- capsules: z.ZodArray<z.ZodType<Capsule, any, string>, "many">;
2009
- extraHashedArgs: z.ZodArray<ZodFor<HashedValues>, "many">;
2010
2273
  }, "strip", z.ZodTypeAny, {
2011
- authWitnesses: AuthWitness[];
2012
- capsules: Capsule[];
2013
- calls: {
2014
- name: string;
2015
- args: Fr[];
2016
- type: FunctionType;
2017
- to: AztecAddress;
2018
- selector: import("@aztec/stdlib/abi").FunctionSelector;
2019
- isStatic: boolean;
2020
- hideMsgSender: boolean;
2021
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
2274
+ type: "accounts";
2275
+ canGet?: boolean | undefined;
2276
+ canCreateAuthWit?: boolean | undefined;
2277
+ accounts: {
2278
+ alias: string;
2279
+ item: AztecAddress;
2022
2280
  }[];
2023
- extraHashedArgs: HashedValues[];
2024
2281
  }, {
2025
- authWitnesses: string[];
2026
- capsules: string[];
2027
- calls: {
2028
- name: string;
2029
- args: any[];
2030
- type: FunctionType;
2031
- isStatic: boolean;
2032
- hideMsgSender: boolean;
2033
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
2034
- to?: any;
2035
- selector?: any;
2282
+ type: "accounts";
2283
+ canGet?: boolean | undefined;
2284
+ canCreateAuthWit?: boolean | undefined;
2285
+ accounts: {
2286
+ alias: string;
2287
+ item?: any;
2036
2288
  }[];
2037
- extraHashedArgs: any[];
2038
2289
  }>, z.ZodObject<{
2039
- from: ZodFor<AztecAddress>;
2040
- authWitnesses: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">>;
2041
- capsules: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodType<Capsule, any, string>, "many">>;
2042
- fee: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
2043
- gasSettings: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
2044
- gasLimits: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
2045
- daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
2046
- l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
2047
- }, "strip", z.ZodTypeAny, {
2048
- daGas: number;
2049
- l2Gas: number;
2050
- }, {
2051
- daGas: string | number | bigint;
2052
- l2Gas: string | number | bigint;
2053
- }>, Gas, {
2054
- daGas: string | number | bigint;
2055
- l2Gas: string | number | bigint;
2056
- }>>;
2057
- teardownGasLimits: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
2058
- daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
2059
- l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
2060
- }, "strip", z.ZodTypeAny, {
2061
- daGas: number;
2062
- l2Gas: number;
2063
- }, {
2064
- daGas: string | number | bigint;
2065
- l2Gas: string | number | bigint;
2066
- }>, Gas, {
2067
- daGas: string | number | bigint;
2068
- l2Gas: string | number | bigint;
2069
- }>>;
2070
- maxFeePerGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
2071
- feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
2072
- feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
2073
- }, "strip", z.ZodTypeAny, {
2074
- feePerDaGas: bigint;
2075
- feePerL2Gas: bigint;
2076
- }, {
2077
- feePerDaGas: string | number | bigint;
2078
- feePerL2Gas: string | number | bigint;
2079
- }>>;
2080
- maxPriorityFeePerGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
2081
- feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
2082
- feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
2083
- }, "strip", z.ZodTypeAny, {
2084
- feePerDaGas: bigint;
2085
- feePerL2Gas: bigint;
2086
- }, {
2087
- feePerDaGas: string | number | bigint;
2088
- feePerL2Gas: string | number | bigint;
2089
- }>>;
2290
+ type: z.ZodLiteral<"contracts">;
2291
+ contracts: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">]>;
2292
+ canRegister: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
2293
+ canGetMetadata: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
2294
+ }, "strip", z.ZodTypeAny, {
2295
+ type: "contracts";
2296
+ contracts: "*" | AztecAddress[];
2297
+ canRegister?: boolean | undefined;
2298
+ canGetMetadata?: boolean | undefined;
2299
+ }, {
2300
+ type: "contracts";
2301
+ contracts: "*" | any[];
2302
+ canRegister?: boolean | undefined;
2303
+ canGetMetadata?: boolean | undefined;
2304
+ }>, z.ZodObject<{
2305
+ type: z.ZodLiteral<"contractClasses">;
2306
+ classes: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<Fr>, "many">]>;
2307
+ canGetMetadata: z.ZodBoolean;
2308
+ }, "strip", z.ZodTypeAny, {
2309
+ type: "contractClasses";
2310
+ classes: "*" | Fr[];
2311
+ canGetMetadata: boolean;
2312
+ }, {
2313
+ type: "contractClasses";
2314
+ classes: "*" | any[];
2315
+ canGetMetadata: boolean;
2316
+ }>, z.ZodObject<{
2317
+ type: z.ZodLiteral<"simulation">;
2318
+ transactions: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
2319
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
2320
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
2321
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
2090
2322
  }, "strip", z.ZodTypeAny, {
2091
- gasLimits?: Gas | undefined;
2092
- teardownGasLimits?: Gas | undefined;
2093
- maxFeePerGas?: {
2094
- feePerDaGas: bigint;
2095
- feePerL2Gas: bigint;
2096
- } | undefined;
2097
- maxPriorityFeePerGas?: {
2098
- feePerDaGas: bigint;
2099
- feePerL2Gas: bigint;
2100
- } | undefined;
2323
+ contract: "*" | AztecAddress;
2324
+ function: string;
2101
2325
  }, {
2102
- gasLimits?: {
2103
- daGas: string | number | bigint;
2104
- l2Gas: string | number | bigint;
2105
- } | undefined;
2106
- teardownGasLimits?: {
2107
- daGas: string | number | bigint;
2108
- l2Gas: string | number | bigint;
2109
- } | undefined;
2110
- maxFeePerGas?: {
2111
- feePerDaGas: string | number | bigint;
2112
- feePerL2Gas: string | number | bigint;
2113
- } | undefined;
2114
- maxPriorityFeePerGas?: {
2115
- feePerDaGas: string | number | bigint;
2116
- feePerL2Gas: string | number | bigint;
2117
- } | undefined;
2118
- }>>;
2119
- embeddedPaymentMethodFeePayer: import("@aztec/foundation/schemas").ZodNullableOptional<ZodFor<AztecAddress>>;
2326
+ contract?: any;
2327
+ function: string;
2328
+ }>, "many">]>;
2120
2329
  }, "strip", z.ZodTypeAny, {
2121
- embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
2122
- gasSettings?: {
2123
- gasLimits?: Gas | undefined;
2124
- teardownGasLimits?: Gas | undefined;
2125
- maxFeePerGas?: {
2126
- feePerDaGas: bigint;
2127
- feePerL2Gas: bigint;
2128
- } | undefined;
2129
- maxPriorityFeePerGas?: {
2130
- feePerDaGas: bigint;
2131
- feePerL2Gas: bigint;
2132
- } | undefined;
2133
- } | undefined;
2330
+ scope: "*" | {
2331
+ contract: "*" | AztecAddress;
2332
+ function: string;
2333
+ }[];
2134
2334
  }, {
2135
- embeddedPaymentMethodFeePayer?: any;
2136
- gasSettings?: {
2137
- gasLimits?: {
2138
- daGas: string | number | bigint;
2139
- l2Gas: string | number | bigint;
2140
- } | undefined;
2141
- teardownGasLimits?: {
2142
- daGas: string | number | bigint;
2143
- l2Gas: string | number | bigint;
2144
- } | undefined;
2145
- maxFeePerGas?: {
2146
- feePerDaGas: string | number | bigint;
2147
- feePerL2Gas: string | number | bigint;
2148
- } | undefined;
2149
- maxPriorityFeePerGas?: {
2150
- feePerDaGas: string | number | bigint;
2151
- feePerL2Gas: string | number | bigint;
2152
- } | undefined;
2153
- } | undefined;
2335
+ scope: "*" | {
2336
+ contract?: any;
2337
+ function: string;
2338
+ }[];
2339
+ }>>;
2340
+ utilities: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
2341
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
2342
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
2343
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
2344
+ }, "strip", z.ZodTypeAny, {
2345
+ contract: "*" | AztecAddress;
2346
+ function: string;
2347
+ }, {
2348
+ contract?: any;
2349
+ function: string;
2350
+ }>, "many">]>;
2351
+ }, "strip", z.ZodTypeAny, {
2352
+ scope: "*" | {
2353
+ contract: "*" | AztecAddress;
2354
+ function: string;
2355
+ }[];
2356
+ }, {
2357
+ scope: "*" | {
2358
+ contract?: any;
2359
+ function: string;
2360
+ }[];
2154
2361
  }>>;
2155
2362
  }, "strip", z.ZodTypeAny, {
2156
- from: AztecAddress;
2157
- fee?: {
2158
- embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
2159
- gasSettings?: {
2160
- gasLimits?: Gas | undefined;
2161
- teardownGasLimits?: Gas | undefined;
2162
- maxFeePerGas?: {
2163
- feePerDaGas: bigint;
2164
- feePerL2Gas: bigint;
2165
- } | undefined;
2166
- maxPriorityFeePerGas?: {
2167
- feePerDaGas: bigint;
2168
- feePerL2Gas: bigint;
2169
- } | undefined;
2170
- } | undefined;
2363
+ type: "simulation";
2364
+ transactions?: {
2365
+ scope: "*" | {
2366
+ contract: "*" | AztecAddress;
2367
+ function: string;
2368
+ }[];
2171
2369
  } | undefined;
2172
- authWitnesses?: AuthWitness[] | undefined;
2173
- capsules?: Capsule[] | undefined;
2174
- }, {
2175
- fee?: {
2176
- embeddedPaymentMethodFeePayer?: any;
2177
- gasSettings?: {
2178
- gasLimits?: {
2179
- daGas: string | number | bigint;
2180
- l2Gas: string | number | bigint;
2181
- } | undefined;
2182
- teardownGasLimits?: {
2183
- daGas: string | number | bigint;
2184
- l2Gas: string | number | bigint;
2185
- } | undefined;
2186
- maxFeePerGas?: {
2187
- feePerDaGas: string | number | bigint;
2188
- feePerL2Gas: string | number | bigint;
2189
- } | undefined;
2190
- maxPriorityFeePerGas?: {
2191
- feePerDaGas: string | number | bigint;
2192
- feePerL2Gas: string | number | bigint;
2193
- } | undefined;
2194
- } | undefined;
2370
+ utilities?: {
2371
+ scope: "*" | {
2372
+ contract: "*" | AztecAddress;
2373
+ function: string;
2374
+ }[];
2195
2375
  } | undefined;
2196
- authWitnesses?: string[] | undefined;
2197
- capsules?: string[] | undefined;
2198
- from?: any;
2199
- }>], null>;
2200
- }, "strip", z.ZodTypeAny, {
2201
- name: "sendTx";
2202
- args: [{
2203
- authWitnesses: AuthWitness[];
2204
- capsules: Capsule[];
2205
- calls: {
2206
- name: string;
2207
- args: Fr[];
2208
- type: FunctionType;
2209
- to: AztecAddress;
2210
- selector: import("@aztec/stdlib/abi").FunctionSelector;
2211
- isStatic: boolean;
2212
- hideMsgSender: boolean;
2213
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
2214
- }[];
2215
- extraHashedArgs: HashedValues[];
2216
2376
  }, {
2217
- from: AztecAddress;
2218
- fee?: {
2219
- embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
2220
- gasSettings?: {
2221
- gasLimits?: Gas | undefined;
2222
- teardownGasLimits?: Gas | undefined;
2223
- maxFeePerGas?: {
2224
- feePerDaGas: bigint;
2225
- feePerL2Gas: bigint;
2226
- } | undefined;
2227
- maxPriorityFeePerGas?: {
2228
- feePerDaGas: bigint;
2229
- feePerL2Gas: bigint;
2230
- } | undefined;
2231
- } | undefined;
2377
+ type: "simulation";
2378
+ transactions?: {
2379
+ scope: "*" | {
2380
+ contract?: any;
2381
+ function: string;
2382
+ }[];
2232
2383
  } | undefined;
2233
- authWitnesses?: AuthWitness[] | undefined;
2234
- capsules?: Capsule[] | undefined;
2235
- }];
2236
- }, {
2237
- name: "sendTx";
2238
- args: [{
2239
- authWitnesses: string[];
2240
- capsules: string[];
2241
- calls: {
2242
- name: string;
2243
- args: any[];
2244
- type: FunctionType;
2245
- isStatic: boolean;
2246
- hideMsgSender: boolean;
2247
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
2248
- to?: any;
2249
- selector?: any;
2250
- }[];
2251
- extraHashedArgs: any[];
2252
- }, {
2253
- fee?: {
2254
- embeddedPaymentMethodFeePayer?: any;
2255
- gasSettings?: {
2256
- gasLimits?: {
2257
- daGas: string | number | bigint;
2258
- l2Gas: string | number | bigint;
2259
- } | undefined;
2260
- teardownGasLimits?: {
2261
- daGas: string | number | bigint;
2262
- l2Gas: string | number | bigint;
2263
- } | undefined;
2264
- maxFeePerGas?: {
2265
- feePerDaGas: string | number | bigint;
2266
- feePerL2Gas: string | number | bigint;
2267
- } | undefined;
2268
- maxPriorityFeePerGas?: {
2269
- feePerDaGas: string | number | bigint;
2270
- feePerL2Gas: string | number | bigint;
2271
- } | undefined;
2272
- } | undefined;
2384
+ utilities?: {
2385
+ scope: "*" | {
2386
+ contract?: any;
2387
+ function: string;
2388
+ }[];
2273
2389
  } | undefined;
2274
- authWitnesses?: string[] | undefined;
2275
- capsules?: string[] | undefined;
2276
- from?: any;
2277
- }];
2278
- }>, z.ZodObject<{
2279
- name: z.ZodLiteral<"simulateUtility">;
2280
- args: z.ZodTuple<[z.ZodString, z.ZodArray<z.ZodAny, "many">, ZodFor<AztecAddress>, import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">>], null>;
2281
- }, "strip", z.ZodTypeAny, {
2282
- name: "simulateUtility";
2283
- args: [string, any[], AztecAddress, AuthWitness[] | undefined];
2284
- }, {
2285
- name: "simulateUtility";
2286
- args: [string, any[], any, string[] | undefined];
2287
- }>]>;
2288
- export declare const ContractMetadataSchema: z.ZodObject<{
2289
- contractInstance: z.ZodUnion<[z.ZodIntersection<z.ZodObject<{
2290
- version: z.ZodLiteral<1>;
2291
- salt: ZodFor<Fr>;
2292
- deployer: ZodFor<AztecAddress>;
2293
- currentContractClassId: ZodFor<Fr>;
2294
- originalContractClassId: ZodFor<Fr>;
2295
- initializationHash: ZodFor<Fr>;
2296
- publicKeys: z.ZodEffects<z.ZodObject<{
2297
- masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
2298
- masterIncomingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
2299
- masterOutgoingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
2300
- masterTaggingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
2390
+ }>, z.ZodObject<{
2391
+ type: z.ZodLiteral<"transaction">;
2392
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
2393
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
2394
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
2301
2395
  }, "strip", z.ZodTypeAny, {
2302
- masterNullifierPublicKey: import("@aztec/foundation/fields").Point;
2303
- masterIncomingViewingPublicKey: import("@aztec/foundation/fields").Point;
2304
- masterOutgoingViewingPublicKey: import("@aztec/foundation/fields").Point;
2305
- masterTaggingPublicKey: import("@aztec/foundation/fields").Point;
2396
+ contract: "*" | AztecAddress;
2397
+ function: string;
2306
2398
  }, {
2307
- masterNullifierPublicKey: string;
2308
- masterIncomingViewingPublicKey: string;
2309
- masterOutgoingViewingPublicKey: string;
2310
- masterTaggingPublicKey: string;
2311
- }>, PublicKeys, {
2312
- masterNullifierPublicKey: string;
2313
- masterIncomingViewingPublicKey: string;
2314
- masterOutgoingViewingPublicKey: string;
2315
- masterTaggingPublicKey: string;
2316
- }>;
2399
+ contract?: any;
2400
+ function: string;
2401
+ }>, "many">]>;
2317
2402
  }, "strip", z.ZodTypeAny, {
2318
- version: 1;
2319
- salt: Fr;
2320
- deployer: AztecAddress;
2321
- currentContractClassId: Fr;
2322
- originalContractClassId: Fr;
2323
- initializationHash: Fr;
2324
- publicKeys: PublicKeys;
2403
+ type: "transaction";
2404
+ scope: "*" | {
2405
+ contract: "*" | AztecAddress;
2406
+ function: string;
2407
+ }[];
2325
2408
  }, {
2326
- version: 1;
2327
- publicKeys: {
2328
- masterNullifierPublicKey: string;
2329
- masterIncomingViewingPublicKey: string;
2330
- masterOutgoingViewingPublicKey: string;
2331
- masterTaggingPublicKey: string;
2332
- };
2333
- salt?: any;
2334
- deployer?: any;
2335
- currentContractClassId?: any;
2336
- originalContractClassId?: any;
2337
- initializationHash?: any;
2409
+ type: "transaction";
2410
+ scope: "*" | {
2411
+ contract?: any;
2412
+ function: string;
2413
+ }[];
2338
2414
  }>, z.ZodObject<{
2339
- address: ZodFor<AztecAddress>;
2340
- }, "strip", z.ZodTypeAny, {
2341
- address: AztecAddress;
2342
- }, {
2343
- address?: any;
2344
- }>>, z.ZodUndefined]>;
2345
- isContractInitialized: z.ZodBoolean;
2346
- isContractPublished: z.ZodBoolean;
2347
- }, "strip", z.ZodTypeAny, {
2348
- isContractInitialized: boolean;
2349
- isContractPublished: boolean;
2350
- contractInstance?: ({
2351
- version: 1;
2352
- salt: Fr;
2353
- deployer: AztecAddress;
2354
- currentContractClassId: Fr;
2355
- originalContractClassId: Fr;
2356
- initializationHash: Fr;
2357
- publicKeys: PublicKeys;
2358
- } & {
2359
- address: AztecAddress;
2360
- }) | undefined;
2361
- }, {
2362
- isContractInitialized: boolean;
2363
- isContractPublished: boolean;
2364
- contractInstance?: ({
2365
- version: 1;
2366
- publicKeys: {
2367
- masterNullifierPublicKey: string;
2368
- masterIncomingViewingPublicKey: string;
2369
- masterOutgoingViewingPublicKey: string;
2370
- masterTaggingPublicKey: string;
2371
- };
2372
- salt?: any;
2373
- deployer?: any;
2374
- currentContractClassId?: any;
2375
- originalContractClassId?: any;
2376
- initializationHash?: any;
2377
- } & {
2378
- address?: any;
2379
- }) | undefined;
2380
- }>;
2381
- export declare const ContractClassMetadataSchema: z.ZodObject<{
2382
- contractClass: z.ZodUnion<[z.ZodObject<{
2383
- version: z.ZodLiteral<1>;
2384
- artifactHash: z.ZodType<Fr, any, string>;
2385
- privateFunctions: z.ZodArray<z.ZodObject<{
2386
- selector: ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
2387
- vkHash: z.ZodType<Fr, any, string>;
2388
- }, "strip", z.ZodTypeAny, {
2389
- selector: import("@aztec/stdlib/abi").FunctionSelector;
2390
- vkHash: Fr;
2391
- }, {
2392
- vkHash: string;
2393
- selector?: any;
2394
- }>, "many">;
2395
- packedBytecode: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Buffer<ArrayBuffer>, string>, z.ZodEffects<z.ZodObject<{
2396
- type: z.ZodLiteral<"Buffer">;
2397
- data: z.ZodArray<z.ZodNumber, "many">;
2415
+ type: z.ZodLiteral<"data">;
2416
+ addressBook: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
2417
+ privateEvents: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
2418
+ contracts: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">]>;
2398
2419
  }, "strip", z.ZodTypeAny, {
2399
- type: "Buffer";
2400
- data: number[];
2420
+ contracts: "*" | AztecAddress[];
2401
2421
  }, {
2402
- type: "Buffer";
2403
- data: number[];
2404
- }>, Buffer<ArrayBuffer>, {
2405
- type: "Buffer";
2406
- data: number[];
2407
- }>]>;
2408
- } & {
2409
- id: z.ZodType<Fr, any, string>;
2422
+ contracts: "*" | any[];
2423
+ }>>;
2410
2424
  }, "strip", z.ZodTypeAny, {
2411
- version: 1;
2412
- id: Fr;
2413
- artifactHash: Fr;
2414
- packedBytecode: Buffer<ArrayBuffer>;
2415
- privateFunctions: {
2416
- selector: import("@aztec/stdlib/abi").FunctionSelector;
2417
- vkHash: Fr;
2418
- }[];
2425
+ type: "data";
2426
+ addressBook?: boolean | undefined;
2427
+ privateEvents?: {
2428
+ contracts: "*" | AztecAddress[];
2429
+ } | undefined;
2419
2430
  }, {
2420
- version: 1;
2421
- id: string;
2422
- artifactHash: string;
2423
- packedBytecode: string | {
2424
- type: "Buffer";
2425
- data: number[];
2426
- };
2427
- privateFunctions: {
2428
- vkHash: string;
2429
- selector?: any;
2430
- }[];
2431
- }>, z.ZodUndefined]>;
2432
- isContractClassPubliclyRegistered: z.ZodBoolean;
2433
- artifact: z.ZodUnion<[ZodFor<ContractArtifact>, z.ZodUndefined]>;
2431
+ type: "data";
2432
+ addressBook?: boolean | undefined;
2433
+ privateEvents?: {
2434
+ contracts: "*" | any[];
2435
+ } | undefined;
2436
+ }>]>, "many">;
2437
+ wallet: z.ZodObject<{
2438
+ name: z.ZodString;
2439
+ version: z.ZodString;
2440
+ }, "strip", z.ZodTypeAny, {
2441
+ name: string;
2442
+ version: string;
2443
+ }, {
2444
+ name: string;
2445
+ version: string;
2446
+ }>;
2447
+ expiresAt: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
2434
2448
  }, "strip", z.ZodTypeAny, {
2435
- isContractClassPubliclyRegistered: boolean;
2436
- artifact?: ContractArtifact | undefined;
2437
- contractClass?: {
2438
- version: 1;
2439
- id: Fr;
2440
- artifactHash: Fr;
2441
- packedBytecode: Buffer<ArrayBuffer>;
2442
- privateFunctions: {
2443
- selector: import("@aztec/stdlib/abi").FunctionSelector;
2444
- vkHash: Fr;
2449
+ version: "1.0";
2450
+ granted: ({
2451
+ type: "accounts";
2452
+ canGet?: boolean | undefined;
2453
+ canCreateAuthWit?: boolean | undefined;
2454
+ accounts: {
2455
+ alias: string;
2456
+ item: AztecAddress;
2445
2457
  }[];
2446
- } | undefined;
2458
+ } | {
2459
+ type: "contracts";
2460
+ contracts: "*" | AztecAddress[];
2461
+ canRegister?: boolean | undefined;
2462
+ canGetMetadata?: boolean | undefined;
2463
+ } | {
2464
+ type: "contractClasses";
2465
+ classes: "*" | Fr[];
2466
+ canGetMetadata: boolean;
2467
+ } | {
2468
+ type: "simulation";
2469
+ transactions?: {
2470
+ scope: "*" | {
2471
+ contract: "*" | AztecAddress;
2472
+ function: string;
2473
+ }[];
2474
+ } | undefined;
2475
+ utilities?: {
2476
+ scope: "*" | {
2477
+ contract: "*" | AztecAddress;
2478
+ function: string;
2479
+ }[];
2480
+ } | undefined;
2481
+ } | {
2482
+ type: "transaction";
2483
+ scope: "*" | {
2484
+ contract: "*" | AztecAddress;
2485
+ function: string;
2486
+ }[];
2487
+ } | {
2488
+ type: "data";
2489
+ addressBook?: boolean | undefined;
2490
+ privateEvents?: {
2491
+ contracts: "*" | AztecAddress[];
2492
+ } | undefined;
2493
+ })[];
2494
+ wallet: {
2495
+ name: string;
2496
+ version: string;
2497
+ };
2498
+ expiresAt?: number | undefined;
2447
2499
  }, {
2448
- isContractClassPubliclyRegistered: boolean;
2449
- artifact?: any;
2450
- contractClass?: {
2451
- version: 1;
2452
- id: string;
2453
- artifactHash: string;
2454
- packedBytecode: string | {
2455
- type: "Buffer";
2456
- data: number[];
2457
- };
2458
- privateFunctions: {
2459
- vkHash: string;
2460
- selector?: any;
2500
+ version: "1.0";
2501
+ granted: ({
2502
+ type: "accounts";
2503
+ canGet?: boolean | undefined;
2504
+ canCreateAuthWit?: boolean | undefined;
2505
+ accounts: {
2506
+ alias: string;
2507
+ item?: any;
2461
2508
  }[];
2462
- } | undefined;
2509
+ } | {
2510
+ type: "contracts";
2511
+ contracts: "*" | any[];
2512
+ canRegister?: boolean | undefined;
2513
+ canGetMetadata?: boolean | undefined;
2514
+ } | {
2515
+ type: "contractClasses";
2516
+ classes: "*" | any[];
2517
+ canGetMetadata: boolean;
2518
+ } | {
2519
+ type: "simulation";
2520
+ transactions?: {
2521
+ scope: "*" | {
2522
+ contract?: any;
2523
+ function: string;
2524
+ }[];
2525
+ } | undefined;
2526
+ utilities?: {
2527
+ scope: "*" | {
2528
+ contract?: any;
2529
+ function: string;
2530
+ }[];
2531
+ } | undefined;
2532
+ } | {
2533
+ type: "transaction";
2534
+ scope: "*" | {
2535
+ contract?: any;
2536
+ function: string;
2537
+ }[];
2538
+ } | {
2539
+ type: "data";
2540
+ addressBook?: boolean | undefined;
2541
+ privateEvents?: {
2542
+ contracts: "*" | any[];
2543
+ } | undefined;
2544
+ })[];
2545
+ wallet: {
2546
+ name: string;
2547
+ version: string;
2548
+ };
2549
+ expiresAt?: number | undefined;
2463
2550
  }>;
2464
- export declare const EventMetadataDefinitionSchema: z.ZodObject<{
2465
- eventSelector: z.ZodType<import("@aztec/stdlib/abi").EventSelector, any, string>;
2466
- abiType: z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>;
2467
- fieldNames: z.ZodArray<z.ZodString, "many">;
2551
+ declare const BatchedMethodSchema: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
2552
+ name: z.ZodLiteral<"createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx" | "simulateUtility">;
2553
+ args: z.ZodTuple<any, any>;
2468
2554
  }, "strip", z.ZodTypeAny, {
2469
- eventSelector: import("@aztec/stdlib/abi").EventSelector;
2470
- abiType: import("@aztec/stdlib/abi").AbiType;
2471
- fieldNames: string[];
2555
+ name: "createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx" | "simulateUtility";
2556
+ args: any[];
2472
2557
  }, {
2473
- eventSelector: string;
2474
- abiType: import("@aztec/stdlib/abi").AbiType;
2475
- fieldNames: string[];
2476
- }>;
2558
+ name: "createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx" | "simulateUtility";
2559
+ args: any[];
2560
+ }>, ...z.ZodObject<{
2561
+ name: z.ZodLiteral<"createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx" | "simulateUtility">;
2562
+ args: z.ZodTuple<any, any>;
2563
+ }, "strip", z.ZodTypeAny, {
2564
+ name: "createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx" | "simulateUtility";
2565
+ args: any[];
2566
+ }, {
2567
+ name: "createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx" | "simulateUtility";
2568
+ args: any[];
2569
+ }>[]]>, BatchedResultSchema: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
2570
+ name: z.ZodLiteral<"createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx" | "simulateUtility">;
2571
+ result: z.ZodTypeAny;
2572
+ }, "strip", z.ZodTypeAny, {
2573
+ name: "createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx" | "simulateUtility";
2574
+ result?: any;
2575
+ }, {
2576
+ name: "createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx" | "simulateUtility";
2577
+ result?: any;
2578
+ }>, ...z.ZodObject<{
2579
+ name: z.ZodLiteral<"createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx" | "simulateUtility">;
2580
+ result: z.ZodTypeAny;
2581
+ }, "strip", z.ZodTypeAny, {
2582
+ name: "createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx" | "simulateUtility";
2583
+ result?: any;
2584
+ }, {
2585
+ name: "createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx" | "simulateUtility";
2586
+ result?: any;
2587
+ }>[]]>;
2588
+ export { BatchedMethodSchema, BatchedResultSchema };
2477
2589
  export declare const WalletSchema: ApiSchemaFor<Wallet>;
2478
- //# sourceMappingURL=wallet.d.ts.map
2590
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2FsbGV0LmQudHMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvd2FsbGV0L3dhbGxldC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssRUFBRSxTQUFTLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQztBQUMvRCxPQUFPLEVBQUUsV0FBVyxFQUE2QixNQUFNLGlDQUFpQyxDQUFDO0FBQ3pGLE9BQU8sS0FBSyxFQUFFLEVBQUUsRUFBRSxNQUFNLGdDQUFnQyxDQUFDO0FBQ3pELE9BQU8sRUFHTCxLQUFLLGdCQUFnQixFQUVyQixLQUFLLHVCQUF1QixFQUM1QixLQUFLLFlBQVksRUFDakIsWUFBWSxFQUNiLE1BQU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