@aztec/aztec.js 0.0.1-commit.b655e406 → 0.0.1-commit.c0b82b2

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