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

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 (246) hide show
  1. package/dest/account/account.d.ts +26 -42
  2. package/dest/account/account.d.ts.map +1 -1
  3. package/dest/account/account.js +19 -47
  4. package/dest/account/account_contract.d.ts +9 -10
  5. package/dest/account/account_contract.d.ts.map +1 -1
  6. package/dest/account/account_with_secret_key.d.ts +20 -9
  7. package/dest/account/account_with_secret_key.d.ts.map +1 -1
  8. package/dest/account/account_with_secret_key.js +21 -4
  9. package/dest/account/index.d.ts +4 -3
  10. package/dest/account/index.d.ts.map +1 -1
  11. package/dest/account/index.js +2 -0
  12. package/dest/account/signerless_account.d.ts +7 -9
  13. package/dest/account/signerless_account.d.ts.map +1 -1
  14. package/dest/account/signerless_account.js +8 -11
  15. package/dest/api/abi.d.ts +1 -1
  16. package/dest/api/account.d.ts +3 -4
  17. package/dest/api/account.d.ts.map +1 -1
  18. package/dest/api/account.js +2 -3
  19. package/dest/api/addresses.d.ts +1 -1
  20. package/dest/api/authorization.d.ts +2 -2
  21. package/dest/api/authorization.d.ts.map +1 -1
  22. package/dest/api/authorization.js +1 -1
  23. package/dest/api/block.d.ts +1 -1
  24. package/dest/api/contract.d.ts +17 -11
  25. package/dest/api/contract.d.ts.map +1 -1
  26. package/dest/api/contract.js +15 -9
  27. package/dest/api/crypto.d.ts +1 -1
  28. package/dest/api/deployment.d.ts +1 -1
  29. package/dest/api/eth_address.d.ts +1 -1
  30. package/dest/api/ethereum.d.ts +1 -1
  31. package/dest/api/events.d.ts +1 -1
  32. package/dest/api/fee.d.ts +1 -1
  33. package/dest/api/fee_testing.d.ts +1 -1
  34. package/dest/api/fields.d.ts +3 -2
  35. package/dest/api/fields.d.ts.map +1 -1
  36. package/dest/api/fields.js +2 -1
  37. package/dest/api/keys.d.ts +1 -1
  38. package/dest/api/log.d.ts +1 -1
  39. package/dest/api/messaging.d.ts +1 -1
  40. package/dest/api/node.d.ts +8 -4
  41. package/dest/api/node.d.ts.map +1 -1
  42. package/dest/api/node.js +7 -3
  43. package/dest/api/note.d.ts +2 -2
  44. package/dest/api/note.d.ts.map +1 -1
  45. package/dest/api/note.js +1 -1
  46. package/dest/api/protocol.d.ts +7 -1
  47. package/dest/api/protocol.d.ts.map +1 -1
  48. package/dest/api/protocol.js +6 -0
  49. package/dest/api/trees.d.ts +1 -1
  50. package/dest/api/tx.d.ts +2 -2
  51. package/dest/api/tx.d.ts.map +1 -1
  52. package/dest/api/tx.js +1 -1
  53. package/dest/api/utils.d.ts +1 -1
  54. package/dest/api/wallet.d.ts +2 -3
  55. package/dest/api/wallet.d.ts.map +1 -1
  56. package/dest/api/wallet.js +1 -2
  57. package/dest/authorization/call_authorization_request.d.ts +2 -2
  58. package/dest/authorization/call_authorization_request.d.ts.map +1 -1
  59. package/dest/contract/base_contract_interaction.d.ts +8 -11
  60. package/dest/contract/base_contract_interaction.d.ts.map +1 -1
  61. package/dest/contract/base_contract_interaction.js +5 -17
  62. package/dest/contract/batch_call.d.ts +8 -9
  63. package/dest/contract/batch_call.d.ts.map +1 -1
  64. package/dest/contract/batch_call.js +54 -34
  65. package/dest/contract/checker.d.ts +1 -1
  66. package/dest/contract/contract.d.ts +2 -2
  67. package/dest/contract/contract.d.ts.map +1 -1
  68. package/dest/contract/contract.js +4 -5
  69. package/dest/contract/contract_base.d.ts +6 -10
  70. package/dest/contract/contract_base.d.ts.map +1 -1
  71. package/dest/contract/contract_base.js +5 -12
  72. package/dest/contract/contract_function_interaction.d.ts +3 -3
  73. package/dest/contract/contract_function_interaction.d.ts.map +1 -1
  74. package/dest/contract/contract_function_interaction.js +9 -6
  75. package/dest/contract/deploy_method.d.ts +71 -23
  76. package/dest/contract/deploy_method.d.ts.map +1 -1
  77. package/dest/contract/deploy_method.js +49 -29
  78. package/dest/contract/get_gas_limits.d.ts +1 -1
  79. package/dest/contract/interaction_options.d.ts +44 -7
  80. package/dest/contract/interaction_options.d.ts.map +1 -1
  81. package/dest/contract/interaction_options.js +12 -11
  82. package/dest/contract/protocol_contracts/auth-registry.d.ts +36 -0
  83. package/dest/contract/protocol_contracts/auth-registry.d.ts.map +1 -0
  84. package/dest/contract/protocol_contracts/auth-registry.js +963 -0
  85. package/dest/contract/protocol_contracts/contract-class-registry.d.ts +35 -0
  86. package/dest/contract/protocol_contracts/contract-class-registry.d.ts.map +1 -0
  87. package/dest/contract/protocol_contracts/contract-class-registry.js +784 -0
  88. package/dest/contract/protocol_contracts/contract-instance-registry.d.ts +31 -0
  89. package/dest/contract/protocol_contracts/contract-instance-registry.d.ts.map +1 -0
  90. package/dest/contract/protocol_contracts/contract-instance-registry.js +858 -0
  91. package/dest/contract/protocol_contracts/fee-juice.d.ts +30 -0
  92. package/dest/contract/protocol_contracts/fee-juice.d.ts.map +1 -0
  93. package/dest/contract/protocol_contracts/fee-juice.js +827 -0
  94. package/dest/contract/protocol_contracts/multi-call-entrypoint.d.ts +34 -0
  95. package/dest/contract/protocol_contracts/multi-call-entrypoint.d.ts.map +1 -0
  96. package/dest/contract/protocol_contracts/multi-call-entrypoint.js +563 -0
  97. package/dest/contract/protocol_contracts/public-checks.d.ts +26 -0
  98. package/dest/contract/protocol_contracts/public-checks.d.ts.map +1 -0
  99. package/dest/contract/protocol_contracts/public-checks.js +579 -0
  100. package/dest/contract/wait_for_proven.d.ts +2 -2
  101. package/dest/contract/wait_for_proven.d.ts.map +1 -1
  102. package/dest/contract/wait_for_proven.js +1 -1
  103. package/dest/contract/wait_opts.d.ts +16 -0
  104. package/dest/contract/wait_opts.d.ts.map +1 -0
  105. package/dest/contract/wait_opts.js +5 -0
  106. package/dest/deployment/broadcast_function.d.ts +1 -1
  107. package/dest/deployment/broadcast_function.js +4 -4
  108. package/dest/deployment/contract_deployer.d.ts +1 -1
  109. package/dest/deployment/contract_deployer.d.ts.map +1 -1
  110. package/dest/deployment/contract_deployer.js +1 -1
  111. package/dest/deployment/publish_class.d.ts +1 -1
  112. package/dest/deployment/publish_class.js +3 -3
  113. package/dest/deployment/publish_instance.d.ts +2 -2
  114. package/dest/deployment/publish_instance.d.ts.map +1 -1
  115. package/dest/deployment/publish_instance.js +3 -3
  116. package/dest/ethereum/portal_manager.d.ts +7 -6
  117. package/dest/ethereum/portal_manager.d.ts.map +1 -1
  118. package/dest/ethereum/portal_manager.js +48 -22
  119. package/dest/fee/fee_juice_payment_method_with_claim.d.ts +2 -2
  120. package/dest/fee/fee_juice_payment_method_with_claim.d.ts.map +1 -1
  121. package/dest/fee/fee_juice_payment_method_with_claim.js +3 -3
  122. package/dest/fee/fee_payment_method.d.ts +2 -2
  123. package/dest/fee/fee_payment_method.d.ts.map +1 -1
  124. package/dest/fee/private_fee_payment_method.d.ts +2 -2
  125. package/dest/fee/private_fee_payment_method.d.ts.map +1 -1
  126. package/dest/fee/private_fee_payment_method.js +4 -4
  127. package/dest/fee/public_fee_payment_method.d.ts +2 -2
  128. package/dest/fee/public_fee_payment_method.d.ts.map +1 -1
  129. package/dest/fee/public_fee_payment_method.js +4 -4
  130. package/dest/fee/sponsored_fee_payment.d.ts +2 -2
  131. package/dest/fee/sponsored_fee_payment.d.ts.map +1 -1
  132. package/dest/fee/sponsored_fee_payment.js +2 -2
  133. package/dest/scripts/generate_protocol_contract_types.d.ts +2 -0
  134. package/dest/scripts/generate_protocol_contract_types.d.ts.map +1 -0
  135. package/dest/scripts/generate_protocol_contract_types.js +120 -0
  136. package/dest/utils/abi_types.d.ts +2 -2
  137. package/dest/utils/abi_types.d.ts.map +1 -1
  138. package/dest/utils/authwit.d.ts +14 -12
  139. package/dest/utils/authwit.d.ts.map +1 -1
  140. package/dest/utils/authwit.js +27 -20
  141. package/dest/utils/cross_chain.d.ts +2 -2
  142. package/dest/utils/cross_chain.d.ts.map +1 -1
  143. package/dest/utils/fee_juice.d.ts +2 -2
  144. package/dest/utils/fee_juice.js +2 -2
  145. package/dest/utils/field_compressed_string.d.ts +1 -1
  146. package/dest/utils/field_compressed_string.d.ts.map +1 -1
  147. package/dest/utils/field_compressed_string.js +1 -1
  148. package/dest/utils/node.d.ts +13 -2
  149. package/dest/utils/node.d.ts.map +1 -1
  150. package/dest/utils/node.js +46 -0
  151. package/dest/utils/pub_key.d.ts +2 -2
  152. package/dest/utils/pub_key.d.ts.map +1 -1
  153. package/dest/utils/pub_key.js +1 -1
  154. package/dest/wallet/account_entrypoint_meta_payment_method.d.ts +6 -9
  155. package/dest/wallet/account_entrypoint_meta_payment_method.d.ts.map +1 -1
  156. package/dest/wallet/account_entrypoint_meta_payment_method.js +29 -44
  157. package/dest/wallet/account_manager.d.ts +3 -9
  158. package/dest/wallet/account_manager.d.ts.map +1 -1
  159. package/dest/wallet/account_manager.js +6 -12
  160. package/dest/wallet/deploy_account_method.d.ts +37 -9
  161. package/dest/wallet/deploy_account_method.d.ts.map +1 -1
  162. package/dest/wallet/deploy_account_method.js +9 -7
  163. package/dest/wallet/index.d.ts +1 -2
  164. package/dest/wallet/index.d.ts.map +1 -1
  165. package/dest/wallet/index.js +0 -1
  166. package/dest/wallet/wallet.d.ts +323 -1504
  167. package/dest/wallet/wallet.d.ts.map +1 -1
  168. package/dest/wallet/wallet.js +85 -115
  169. package/package.json +16 -13
  170. package/src/account/account.ts +35 -60
  171. package/src/account/account_contract.ts +7 -8
  172. package/src/account/account_with_secret_key.ts +34 -9
  173. package/src/account/index.ts +3 -2
  174. package/src/account/signerless_account.ts +15 -15
  175. package/src/api/account.ts +10 -3
  176. package/src/api/authorization.ts +1 -0
  177. package/src/api/contract.ts +24 -8
  178. package/src/api/fields.ts +2 -1
  179. package/src/api/node.ts +7 -3
  180. package/src/api/note.ts +1 -1
  181. package/src/api/protocol.ts +7 -0
  182. package/src/api/tx.ts +4 -0
  183. package/src/api/wallet.ts +10 -9
  184. package/src/authorization/call_authorization_request.ts +1 -1
  185. package/src/contract/base_contract_interaction.ts +27 -16
  186. package/src/contract/batch_call.ts +67 -48
  187. package/src/contract/contract.ts +7 -5
  188. package/src/contract/contract_base.ts +5 -15
  189. package/src/contract/contract_function_interaction.ts +10 -11
  190. package/src/contract/deploy_method.ts +134 -40
  191. package/src/contract/interaction_options.ts +52 -13
  192. package/src/contract/protocol_contracts/auth-registry.ts +545 -0
  193. package/src/contract/protocol_contracts/contract-class-registry.ts +433 -0
  194. package/src/contract/protocol_contracts/contract-instance-registry.ts +493 -0
  195. package/src/contract/protocol_contracts/fee-juice.ts +457 -0
  196. package/src/contract/protocol_contracts/multi-call-entrypoint.ts +329 -0
  197. package/src/contract/protocol_contracts/public-checks.ts +315 -0
  198. package/src/contract/wait_for_proven.ts +1 -1
  199. package/src/contract/wait_opts.ts +21 -0
  200. package/src/deployment/broadcast_function.ts +4 -4
  201. package/src/deployment/contract_deployer.ts +3 -2
  202. package/src/deployment/publish_class.ts +3 -3
  203. package/src/deployment/publish_instance.ts +3 -6
  204. package/src/ethereum/portal_manager.ts +65 -34
  205. package/src/fee/fee_juice_payment_method_with_claim.ts +4 -2
  206. package/src/fee/fee_payment_method.ts +1 -1
  207. package/src/fee/private_fee_payment_method.ts +5 -3
  208. package/src/fee/public_fee_payment_method.ts +5 -3
  209. package/src/fee/sponsored_fee_payment.ts +3 -1
  210. package/src/scripts/generate_protocol_contract_types.ts +150 -0
  211. package/src/utils/abi_types.ts +1 -1
  212. package/src/utils/authwit.ts +40 -22
  213. package/src/utils/cross_chain.ts +1 -1
  214. package/src/utils/fee_juice.ts +2 -2
  215. package/src/utils/field_compressed_string.ts +1 -1
  216. package/src/utils/node.ts +62 -0
  217. package/src/utils/pub_key.ts +2 -2
  218. package/src/wallet/account_entrypoint_meta_payment_method.ts +29 -60
  219. package/src/wallet/account_manager.ts +7 -15
  220. package/src/wallet/deploy_account_method.ts +41 -16
  221. package/src/wallet/index.ts +0 -1
  222. package/src/wallet/wallet.ts +207 -152
  223. package/dest/account/interface.d.ts +0 -19
  224. package/dest/account/interface.d.ts.map +0 -1
  225. package/dest/account/interface.js +0 -5
  226. package/dest/contract/deploy_sent_tx.d.ts +0 -43
  227. package/dest/contract/deploy_sent_tx.d.ts.map +0 -1
  228. package/dest/contract/deploy_sent_tx.js +0 -40
  229. package/dest/contract/protocol_contracts.d.ts +0 -9
  230. package/dest/contract/protocol_contracts.d.ts.map +0 -1
  231. package/dest/contract/protocol_contracts.js +0 -26
  232. package/dest/contract/sent_tx.d.ts +0 -51
  233. package/dest/contract/sent_tx.d.ts.map +0 -1
  234. package/dest/contract/sent_tx.js +0 -90
  235. package/dest/contract/unsafe_contract.d.ts +0 -15
  236. package/dest/contract/unsafe_contract.d.ts.map +0 -1
  237. package/dest/contract/unsafe_contract.js +0 -6
  238. package/dest/wallet/base_wallet.d.ts +0 -91
  239. package/dest/wallet/base_wallet.d.ts.map +0 -1
  240. package/dest/wallet/base_wallet.js +0 -238
  241. package/src/account/interface.ts +0 -25
  242. package/src/contract/deploy_sent_tx.ts +0 -68
  243. package/src/contract/protocol_contracts.ts +0 -35
  244. package/src/contract/sent_tx.ts +0 -130
  245. package/src/contract/unsafe_contract.ts +0 -19
  246. package/src/wallet/base_wallet.ts +0 -350
@@ -1,17 +1,16 @@
1
1
  import type { ChainInfo } from '@aztec/entrypoints/interfaces';
2
- import type { ExecutionPayload } from '@aztec/entrypoints/payload';
3
- import type { Fr } from '@aztec/foundation/fields';
4
- import { type ContractArtifact, type EventMetadataDefinition, FunctionType } from '@aztec/stdlib/abi';
2
+ import { BlockNumber } from '@aztec/foundation/branded-types';
3
+ import type { Fr } from '@aztec/foundation/curves/bn254';
4
+ import { type ContractArtifact, type EventMetadataDefinition, type FunctionCall, FunctionType } from '@aztec/stdlib/abi';
5
5
  import { AuthWitness } from '@aztec/stdlib/auth-witness';
6
6
  import type { AztecAddress } from '@aztec/stdlib/aztec-address';
7
- import { type ContractClassMetadata, type ContractInstanceWithAddress, type ContractInstantiationData, type ContractMetadata } from '@aztec/stdlib/contract';
7
+ import { type ContractInstanceWithAddress } from '@aztec/stdlib/contract';
8
8
  import { Gas } from '@aztec/stdlib/gas';
9
- import { PublicKeys } from '@aztec/stdlib/keys';
10
- import { type ApiSchemaFor, type ZodFor } from '@aztec/stdlib/schemas';
11
- import { Capsule, HashedValues, TxHash, TxProfileResult, TxReceipt, TxSimulationResult, UtilitySimulationResult } from '@aztec/stdlib/tx';
9
+ import { type ApiSchemaFor } from '@aztec/stdlib/schemas';
10
+ import { Capsule, HashedValues, TxHash, TxProfileResult, TxSimulationResult, UtilitySimulationResult } from '@aztec/stdlib/tx';
11
+ import type { ExecutionPayload, InTx } 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';
16
15
  /**
17
16
  * A wrapper type that allows any item to be associated with an alias.
@@ -26,71 +25,65 @@ export type Aliased<T> = {
26
25
  */
27
26
  item: T;
28
27
  };
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
28
  /**
44
29
  * 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
30
+ * a simplified version that only hints at the wallet whether the interaction contains a
46
31
  * fee payment method or not
47
32
  */
48
33
  export type SimulateOptions = Omit<SimulateInteractionOptions, 'fee'> & {
49
34
  /** The fee options */
50
- fee?: UserFeeOptions & FeeEstimationOptions;
35
+ fee?: GasSettingsOption & FeeEstimationOptions;
51
36
  };
52
37
  /**
53
38
  * 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
39
+ * a simplified version that only hints at the wallet whether the interaction contains a
55
40
  * fee payment method or not
56
41
  */
57
42
  export type ProfileOptions = Omit<ProfileInteractionOptions, 'fee'> & {
58
43
  /** The fee options */
59
- fee?: UserFeeOptions;
44
+ fee?: GasSettingsOption;
60
45
  };
61
46
  /**
62
47
  * 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
48
+ * a simplified version that only hints at the wallet whether the interaction contains a
64
49
  * fee payment method or not
65
50
  */
66
- export type SendOptions = Omit<SendInteractionOptions, 'fee'> & {
51
+ export type SendOptions<W extends InteractionWaitOptions = undefined> = Omit<SendInteractionOptionsWithoutWait, 'fee'> & {
67
52
  /** The fee options */
68
- fee?: UserFeeOptions;
53
+ fee?: GasSettingsOption;
54
+ /** Whether to wait for the transaction to be mined */
55
+ wait?: W;
69
56
  };
70
57
  /**
71
- * Helper type that represents all methods that can be batched.
58
+ * Helper type that represents all methods that can be batched (all methods except batch itself).
72
59
  */
73
- export type BatchableMethods = Pick<Wallet, 'registerContract' | 'sendTx' | 'registerSender' | 'simulateUtility'>;
60
+ export type BatchableMethods = Omit<Wallet, 'batch'>;
74
61
  /**
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.
62
+ * A method call with its name and arguments.
77
63
  */
78
- export type BatchedMethod<T extends keyof BatchableMethods> = {
64
+ type BatchedMethodInternal<T extends keyof BatchableMethods> = {
79
65
  /** The method name */
80
66
  name: T;
81
67
  /** The method arguments */
82
68
  args: Parameters<BatchableMethods[T]>;
83
69
  };
70
+ /**
71
+ * Union of all possible batched method calls.
72
+ * This ensures type safety: the `args` must match the specific `name`.
73
+ */
74
+ export type BatchedMethod = {
75
+ [K in keyof BatchableMethods]: BatchedMethodInternal<K>;
76
+ }[keyof BatchableMethods];
84
77
  /**
85
78
  * Helper type to extract the return type of a batched method
86
79
  */
87
- export type BatchedMethodResult<T> = T extends BatchedMethod<infer K> ? Awaited<ReturnType<BatchableMethods[K]>> : never;
80
+ export type BatchedMethodResult<T> = T extends BatchedMethodInternal<infer K> ? Awaited<ReturnType<BatchableMethods[K]>> : never;
88
81
  /**
89
82
  * Wrapper type for batch results that includes the method name for discriminated union deserialization.
90
83
  * Each result is wrapped as \{ name: 'methodName', result: ActualResult \} to allow proper deserialization
91
84
  * when AztecAddress and TxHash would otherwise be ambiguous (both are hex strings).
92
85
  */
93
- export type BatchedMethodResultWrapper<T extends BatchedMethod<keyof BatchableMethods>> = {
86
+ export type BatchedMethodResultWrapper<T extends BatchedMethod> = {
94
87
  /** The method name */
95
88
  name: T['name'];
96
89
  /** The method result */
@@ -99,304 +92,175 @@ export type BatchedMethodResultWrapper<T extends BatchedMethod<keyof BatchableMe
99
92
  /**
100
93
  * Maps a tuple of BatchedMethod to a tuple of their wrapped return types
101
94
  */
102
- export type BatchResults<T extends readonly BatchedMethod<keyof BatchableMethods>[]> = {
95
+ export type BatchResults<T extends readonly BatchedMethod[]> = {
103
96
  [K in keyof T]: BatchedMethodResultWrapper<T[K]>;
104
97
  };
98
+ /**
99
+ * Filter options when querying private events.
100
+ */
101
+ export type PrivateEventFilter = {
102
+ /** The address of the contract that emitted the events. */
103
+ contractAddress: AztecAddress;
104
+ /** Addresses of accounts that are in scope for this filter. */
105
+ scopes: AztecAddress[];
106
+ /** Transaction in which the events were emitted. */
107
+ txHash?: TxHash;
108
+ /** The block number from which to start fetching events (inclusive).
109
+ * Optional. If provided, it must be greater or equal than 1.
110
+ * Defaults to the initial L2 block number (INITIAL_L2_BLOCK_NUM).
111
+ * */
112
+ fromBlock?: BlockNumber;
113
+ /** The block number until which to fetch logs (not inclusive).
114
+ * Optional. If provided, it must be greater than fromBlock.
115
+ * Defaults to the latest known block to PXE + 1.
116
+ */
117
+ toBlock?: BlockNumber;
118
+ };
119
+ /**
120
+ * An ABI decoded private event with associated metadata.
121
+ */
122
+ export type PrivateEvent<T> = {
123
+ /** The ABI decoded event */
124
+ event: T;
125
+ /** Metadata describing event context information such as tx and block */
126
+ metadata: InTx;
127
+ };
128
+ /**
129
+ * Contract metadata including deployment and registration status.
130
+ */
131
+ export type ContractMetadata = {
132
+ /** The contract instance */
133
+ instance?: ContractInstanceWithAddress;
134
+ /** Whether the contract has been initialized (init nullifier exists) */
135
+ isContractInitialized: boolean;
136
+ /** Whether the contract instance is publicly deployed on-chain */
137
+ isContractPublished: boolean;
138
+ /** Whether the contract has been updated to a different class */
139
+ isContractUpdated: boolean;
140
+ /** The updated contract class ID if the contract has been updated */
141
+ updatedContractClassId?: Fr | undefined;
142
+ };
143
+ /**
144
+ * Contract class metadata.
145
+ */
146
+ export type ContractClassMetadata = {
147
+ /** Whether the artifact is registered in the wallet */
148
+ isArtifactRegistered: boolean;
149
+ /** Whether the contract class is publicly registered on-chain */
150
+ isContractClassPubliclyRegistered: boolean;
151
+ };
105
152
  /**
106
153
  * The wallet interface.
107
154
  */
108
155
  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[]>;
156
+ getPrivateEvents<T>(eventMetadata: EventMetadataDefinition, eventFilter: PrivateEventFilter): Promise<PrivateEvent<T>[]>;
112
157
  getChainInfo(): Promise<ChainInfo>;
113
- getTxReceipt(txHash: TxHash): Promise<TxReceipt>;
158
+ getContractMetadata(address: AztecAddress): Promise<ContractMetadata>;
159
+ getContractClassMetadata(id: Fr): Promise<ContractClassMetadata>;
114
160
  registerSender(address: AztecAddress, alias?: string): Promise<AztecAddress>;
115
161
  getAddressBook(): Promise<Aliased<AztecAddress>[]>;
116
162
  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>;
163
+ registerContract(instance: ContractInstanceWithAddress, artifact?: ContractArtifact, secretKey?: Fr): Promise<ContractInstanceWithAddress>;
120
164
  simulateTx(exec: ExecutionPayload, opts: SimulateOptions): Promise<TxSimulationResult>;
121
- simulateUtility(functionName: string, args: any[], to: AztecAddress, authwits?: AuthWitness[]): Promise<UtilitySimulationResult>;
165
+ simulateUtility(call: FunctionCall, authwits?: AuthWitness[]): Promise<UtilitySimulationResult>;
122
166
  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>>;
167
+ sendTx<W extends InteractionWaitOptions = undefined>(exec: ExecutionPayload, opts: SendOptions<W>): Promise<SendReturn<W>>;
168
+ createAuthWit(from: AztecAddress, messageHashOrIntent: IntentInnerHash | CallIntent): Promise<AuthWitness>;
169
+ batch<const T extends readonly BatchedMethod[]>(methods: T): Promise<BatchResults<T>>;
126
170
  };
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
171
  export declare const FunctionCallSchema: z.ZodObject<{
311
172
  name: z.ZodString;
312
- to: ZodFor<AztecAddress>;
313
- selector: ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
173
+ to: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
174
+ selector: import("@aztec/stdlib/schemas").ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
314
175
  type: z.ZodNativeEnum<typeof FunctionType>;
315
176
  isStatic: z.ZodBoolean;
316
177
  hideMsgSender: z.ZodBoolean;
317
- args: z.ZodArray<ZodFor<Fr>, "many">;
178
+ args: z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<Fr>, "many">;
318
179
  returnTypes: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
319
180
  }, "strip", z.ZodTypeAny, {
320
181
  name: string;
321
- args: Fr[];
322
- type: FunctionType;
323
182
  to: AztecAddress;
324
183
  selector: import("@aztec/stdlib/abi").FunctionSelector;
184
+ type: FunctionType;
325
185
  isStatic: boolean;
326
186
  hideMsgSender: boolean;
187
+ args: Fr[];
327
188
  returnTypes: import("@aztec/stdlib/abi").AbiType[];
328
189
  }, {
329
190
  name: string;
330
- args: any[];
191
+ to?: any;
192
+ selector?: any;
331
193
  type: FunctionType;
332
194
  isStatic: boolean;
333
195
  hideMsgSender: boolean;
196
+ args: any[];
334
197
  returnTypes: import("@aztec/stdlib/abi").AbiType[];
335
- to?: any;
336
- selector?: any;
337
198
  }>;
338
199
  export declare const ExecutionPayloadSchema: z.ZodObject<{
339
200
  calls: z.ZodArray<z.ZodObject<{
340
201
  name: z.ZodString;
341
- to: ZodFor<AztecAddress>;
342
- selector: ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
202
+ to: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
203
+ selector: import("@aztec/stdlib/schemas").ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
343
204
  type: z.ZodNativeEnum<typeof FunctionType>;
344
205
  isStatic: z.ZodBoolean;
345
206
  hideMsgSender: z.ZodBoolean;
346
- args: z.ZodArray<ZodFor<Fr>, "many">;
207
+ args: z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<Fr>, "many">;
347
208
  returnTypes: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
348
209
  }, "strip", z.ZodTypeAny, {
349
210
  name: string;
350
- args: Fr[];
351
- type: FunctionType;
352
211
  to: AztecAddress;
353
212
  selector: import("@aztec/stdlib/abi").FunctionSelector;
213
+ type: FunctionType;
354
214
  isStatic: boolean;
355
215
  hideMsgSender: boolean;
216
+ args: Fr[];
356
217
  returnTypes: import("@aztec/stdlib/abi").AbiType[];
357
218
  }, {
358
219
  name: string;
359
- args: any[];
220
+ to?: any;
221
+ selector?: any;
360
222
  type: FunctionType;
361
223
  isStatic: boolean;
362
224
  hideMsgSender: boolean;
225
+ args: any[];
363
226
  returnTypes: import("@aztec/stdlib/abi").AbiType[];
364
- to?: any;
365
- selector?: any;
366
227
  }>, "many">;
367
228
  authWitnesses: z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">;
368
229
  capsules: z.ZodArray<z.ZodType<Capsule, any, string>, "many">;
369
- extraHashedArgs: z.ZodArray<ZodFor<HashedValues>, "many">;
230
+ extraHashedArgs: z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<HashedValues>, "many">;
231
+ feePayer: import("@aztec/foundation/schemas").ZodNullableOptional<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>>;
370
232
  }, "strip", z.ZodTypeAny, {
371
- authWitnesses: AuthWitness[];
372
- capsules: Capsule[];
373
233
  calls: {
374
234
  name: string;
375
- args: Fr[];
376
- type: FunctionType;
377
235
  to: AztecAddress;
378
236
  selector: import("@aztec/stdlib/abi").FunctionSelector;
237
+ type: FunctionType;
379
238
  isStatic: boolean;
380
239
  hideMsgSender: boolean;
240
+ args: Fr[];
381
241
  returnTypes: import("@aztec/stdlib/abi").AbiType[];
382
242
  }[];
243
+ authWitnesses: AuthWitness[];
244
+ capsules: Capsule[];
383
245
  extraHashedArgs: HashedValues[];
246
+ feePayer?: AztecAddress | undefined;
384
247
  }, {
385
- authWitnesses: string[];
386
- capsules: string[];
387
248
  calls: {
388
249
  name: string;
389
- args: any[];
250
+ to?: any;
251
+ selector?: any;
390
252
  type: FunctionType;
391
253
  isStatic: boolean;
392
254
  hideMsgSender: boolean;
255
+ args: any[];
393
256
  returnTypes: import("@aztec/stdlib/abi").AbiType[];
394
- to?: any;
395
- selector?: any;
396
257
  }[];
258
+ authWitnesses: string[];
259
+ capsules: string[];
397
260
  extraHashedArgs: any[];
261
+ feePayer?: any;
398
262
  }>;
399
- export declare const UserFeeOptionsSchema: z.ZodObject<{
263
+ export declare const GasSettingsOptionSchema: z.ZodObject<{
400
264
  gasSettings: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
401
265
  gasLimits: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
402
266
  daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
@@ -473,9 +337,7 @@ export declare const UserFeeOptionsSchema: z.ZodObject<{
473
337
  feePerL2Gas: string | number | bigint;
474
338
  } | undefined;
475
339
  }>>;
476
- embeddedPaymentMethodFeePayer: import("@aztec/foundation/schemas").ZodNullableOptional<ZodFor<AztecAddress>>;
477
340
  }, "strip", z.ZodTypeAny, {
478
- embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
479
341
  gasSettings?: {
480
342
  gasLimits?: Gas | undefined;
481
343
  teardownGasLimits?: Gas | undefined;
@@ -489,7 +351,6 @@ export declare const UserFeeOptionsSchema: z.ZodObject<{
489
351
  } | undefined;
490
352
  } | undefined;
491
353
  }, {
492
- embeddedPaymentMethodFeePayer?: any;
493
354
  gasSettings?: {
494
355
  gasLimits?: {
495
356
  daGas: string | number | bigint;
@@ -586,12 +447,10 @@ export declare const WalletSimulationFeeOptionSchema: z.ZodObject<{
586
447
  feePerL2Gas: string | number | bigint;
587
448
  } | undefined;
588
449
  }>>;
589
- embeddedPaymentMethodFeePayer: import("@aztec/foundation/schemas").ZodNullableOptional<ZodFor<AztecAddress>>;
590
450
  } & {
591
451
  estimatedGasPadding: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
592
452
  estimateGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
593
453
  }, "strip", z.ZodTypeAny, {
594
- embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
595
454
  gasSettings?: {
596
455
  gasLimits?: Gas | undefined;
597
456
  teardownGasLimits?: Gas | undefined;
@@ -604,10 +463,9 @@ export declare const WalletSimulationFeeOptionSchema: z.ZodObject<{
604
463
  feePerL2Gas: bigint;
605
464
  } | undefined;
606
465
  } | undefined;
607
- estimateGas?: boolean | undefined;
608
466
  estimatedGasPadding?: number | undefined;
467
+ estimateGas?: boolean | undefined;
609
468
  }, {
610
- embeddedPaymentMethodFeePayer?: any;
611
469
  gasSettings?: {
612
470
  gasLimits?: {
613
471
  daGas: string | number | bigint;
@@ -626,11 +484,27 @@ export declare const WalletSimulationFeeOptionSchema: z.ZodObject<{
626
484
  feePerL2Gas: string | number | bigint;
627
485
  } | undefined;
628
486
  } | undefined;
629
- estimateGas?: boolean | undefined;
630
487
  estimatedGasPadding?: number | undefined;
488
+ estimateGas?: boolean | undefined;
489
+ }>;
490
+ export declare const WaitOptsSchema: z.ZodObject<{
491
+ ignoreDroppedReceiptsFor: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
492
+ timeout: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
493
+ interval: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
494
+ dontThrowOnRevert: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
495
+ }, "strip", z.ZodTypeAny, {
496
+ ignoreDroppedReceiptsFor?: number | undefined;
497
+ timeout?: number | undefined;
498
+ interval?: number | undefined;
499
+ dontThrowOnRevert?: boolean | undefined;
500
+ }, {
501
+ ignoreDroppedReceiptsFor?: number | undefined;
502
+ timeout?: number | undefined;
503
+ interval?: number | undefined;
504
+ dontThrowOnRevert?: boolean | undefined;
631
505
  }>;
632
506
  export declare const SendOptionsSchema: z.ZodObject<{
633
- from: ZodFor<AztecAddress>;
507
+ from: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
634
508
  authWitnesses: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">>;
635
509
  capsules: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodType<Capsule, any, string>, "many">>;
636
510
  fee: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
@@ -710,9 +584,7 @@ export declare const SendOptionsSchema: z.ZodObject<{
710
584
  feePerL2Gas: string | number | bigint;
711
585
  } | undefined;
712
586
  }>>;
713
- embeddedPaymentMethodFeePayer: import("@aztec/foundation/schemas").ZodNullableOptional<ZodFor<AztecAddress>>;
714
587
  }, "strip", z.ZodTypeAny, {
715
- embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
716
588
  gasSettings?: {
717
589
  gasLimits?: Gas | undefined;
718
590
  teardownGasLimits?: Gas | undefined;
@@ -726,7 +598,6 @@ export declare const SendOptionsSchema: z.ZodObject<{
726
598
  } | undefined;
727
599
  } | undefined;
728
600
  }, {
729
- embeddedPaymentMethodFeePayer?: any;
730
601
  gasSettings?: {
731
602
  gasLimits?: {
732
603
  daGas: string | number | bigint;
@@ -746,10 +617,27 @@ export declare const SendOptionsSchema: z.ZodObject<{
746
617
  } | undefined;
747
618
  } | undefined;
748
619
  }>>;
620
+ wait: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodLiteral<"NO_WAIT">, z.ZodObject<{
621
+ ignoreDroppedReceiptsFor: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
622
+ timeout: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
623
+ interval: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
624
+ dontThrowOnRevert: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
625
+ }, "strip", z.ZodTypeAny, {
626
+ ignoreDroppedReceiptsFor?: number | undefined;
627
+ timeout?: number | undefined;
628
+ interval?: number | undefined;
629
+ dontThrowOnRevert?: boolean | undefined;
630
+ }, {
631
+ ignoreDroppedReceiptsFor?: number | undefined;
632
+ timeout?: number | undefined;
633
+ interval?: number | undefined;
634
+ dontThrowOnRevert?: boolean | undefined;
635
+ }>]>>;
749
636
  }, "strip", z.ZodTypeAny, {
750
637
  from: AztecAddress;
638
+ authWitnesses?: AuthWitness[] | undefined;
639
+ capsules?: Capsule[] | undefined;
751
640
  fee?: {
752
- embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
753
641
  gasSettings?: {
754
642
  gasLimits?: Gas | undefined;
755
643
  teardownGasLimits?: Gas | undefined;
@@ -763,11 +651,17 @@ export declare const SendOptionsSchema: z.ZodObject<{
763
651
  } | undefined;
764
652
  } | undefined;
765
653
  } | undefined;
766
- authWitnesses?: AuthWitness[] | undefined;
767
- capsules?: Capsule[] | undefined;
654
+ wait?: "NO_WAIT" | {
655
+ ignoreDroppedReceiptsFor?: number | undefined;
656
+ timeout?: number | undefined;
657
+ interval?: number | undefined;
658
+ dontThrowOnRevert?: boolean | undefined;
659
+ } | undefined;
768
660
  }, {
661
+ from?: any;
662
+ authWitnesses?: string[] | undefined;
663
+ capsules?: string[] | undefined;
769
664
  fee?: {
770
- embeddedPaymentMethodFeePayer?: any;
771
665
  gasSettings?: {
772
666
  gasLimits?: {
773
667
  daGas: string | number | bigint;
@@ -787,12 +681,15 @@ export declare const SendOptionsSchema: z.ZodObject<{
787
681
  } | undefined;
788
682
  } | undefined;
789
683
  } | undefined;
790
- authWitnesses?: string[] | undefined;
791
- capsules?: string[] | undefined;
792
- from?: any;
684
+ wait?: "NO_WAIT" | {
685
+ ignoreDroppedReceiptsFor?: number | undefined;
686
+ timeout?: number | undefined;
687
+ interval?: number | undefined;
688
+ dontThrowOnRevert?: boolean | undefined;
689
+ } | undefined;
793
690
  }>;
794
691
  export declare const SimulateOptionsSchema: z.ZodObject<{
795
- from: ZodFor<AztecAddress>;
692
+ from: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
796
693
  authWitnesses: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">>;
797
694
  capsules: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodType<Capsule, any, string>, "many">>;
798
695
  fee: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
@@ -872,12 +769,10 @@ export declare const SimulateOptionsSchema: z.ZodObject<{
872
769
  feePerL2Gas: string | number | bigint;
873
770
  } | undefined;
874
771
  }>>;
875
- embeddedPaymentMethodFeePayer: import("@aztec/foundation/schemas").ZodNullableOptional<ZodFor<AztecAddress>>;
876
772
  } & {
877
773
  estimatedGasPadding: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
878
774
  estimateGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
879
775
  }, "strip", z.ZodTypeAny, {
880
- embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
881
776
  gasSettings?: {
882
777
  gasLimits?: Gas | undefined;
883
778
  teardownGasLimits?: Gas | undefined;
@@ -890,10 +785,9 @@ export declare const SimulateOptionsSchema: z.ZodObject<{
890
785
  feePerL2Gas: bigint;
891
786
  } | undefined;
892
787
  } | undefined;
893
- estimateGas?: boolean | undefined;
894
788
  estimatedGasPadding?: number | undefined;
789
+ estimateGas?: boolean | undefined;
895
790
  }, {
896
- embeddedPaymentMethodFeePayer?: any;
897
791
  gasSettings?: {
898
792
  gasLimits?: {
899
793
  daGas: string | number | bigint;
@@ -912,16 +806,17 @@ export declare const SimulateOptionsSchema: z.ZodObject<{
912
806
  feePerL2Gas: string | number | bigint;
913
807
  } | undefined;
914
808
  } | undefined;
915
- estimateGas?: boolean | undefined;
916
809
  estimatedGasPadding?: number | undefined;
810
+ estimateGas?: boolean | undefined;
917
811
  }>>;
918
812
  skipTxValidation: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
919
813
  skipFeeEnforcement: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
920
814
  includeMetadata: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
921
815
  }, "strip", z.ZodTypeAny, {
922
816
  from: AztecAddress;
817
+ authWitnesses?: AuthWitness[] | undefined;
818
+ capsules?: Capsule[] | undefined;
923
819
  fee?: {
924
- embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
925
820
  gasSettings?: {
926
821
  gasLimits?: Gas | undefined;
927
822
  teardownGasLimits?: Gas | undefined;
@@ -934,17 +829,17 @@ export declare const SimulateOptionsSchema: z.ZodObject<{
934
829
  feePerL2Gas: bigint;
935
830
  } | undefined;
936
831
  } | undefined;
937
- estimateGas?: boolean | undefined;
938
832
  estimatedGasPadding?: number | undefined;
833
+ estimateGas?: boolean | undefined;
939
834
  } | undefined;
940
- authWitnesses?: AuthWitness[] | undefined;
941
- capsules?: Capsule[] | undefined;
942
835
  skipTxValidation?: boolean | undefined;
943
836
  skipFeeEnforcement?: boolean | undefined;
944
837
  includeMetadata?: boolean | undefined;
945
838
  }, {
839
+ from?: any;
840
+ authWitnesses?: string[] | undefined;
841
+ capsules?: string[] | undefined;
946
842
  fee?: {
947
- embeddedPaymentMethodFeePayer?: any;
948
843
  gasSettings?: {
949
844
  gasLimits?: {
950
845
  daGas: string | number | bigint;
@@ -963,18 +858,15 @@ export declare const SimulateOptionsSchema: z.ZodObject<{
963
858
  feePerL2Gas: string | number | bigint;
964
859
  } | undefined;
965
860
  } | undefined;
966
- estimateGas?: boolean | undefined;
967
861
  estimatedGasPadding?: number | undefined;
862
+ estimateGas?: boolean | undefined;
968
863
  } | undefined;
969
- authWitnesses?: string[] | undefined;
970
- capsules?: string[] | undefined;
971
- from?: any;
972
864
  skipTxValidation?: boolean | undefined;
973
865
  skipFeeEnforcement?: boolean | undefined;
974
866
  includeMetadata?: boolean | undefined;
975
867
  }>;
976
868
  export declare const ProfileOptionsSchema: z.ZodObject<{
977
- from: ZodFor<AztecAddress>;
869
+ from: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
978
870
  authWitnesses: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">>;
979
871
  capsules: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodType<Capsule, any, string>, "many">>;
980
872
  fee: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
@@ -1054,12 +946,10 @@ export declare const ProfileOptionsSchema: z.ZodObject<{
1054
946
  feePerL2Gas: string | number | bigint;
1055
947
  } | undefined;
1056
948
  }>>;
1057
- embeddedPaymentMethodFeePayer: import("@aztec/foundation/schemas").ZodNullableOptional<ZodFor<AztecAddress>>;
1058
949
  } & {
1059
950
  estimatedGasPadding: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
1060
951
  estimateGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1061
952
  }, "strip", z.ZodTypeAny, {
1062
- embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
1063
953
  gasSettings?: {
1064
954
  gasLimits?: Gas | undefined;
1065
955
  teardownGasLimits?: Gas | undefined;
@@ -1072,10 +962,9 @@ export declare const ProfileOptionsSchema: z.ZodObject<{
1072
962
  feePerL2Gas: bigint;
1073
963
  } | undefined;
1074
964
  } | undefined;
1075
- estimateGas?: boolean | undefined;
1076
965
  estimatedGasPadding?: number | undefined;
966
+ estimateGas?: boolean | undefined;
1077
967
  }, {
1078
- embeddedPaymentMethodFeePayer?: any;
1079
968
  gasSettings?: {
1080
969
  gasLimits?: {
1081
970
  daGas: string | number | bigint;
@@ -1094,8 +983,8 @@ export declare const ProfileOptionsSchema: z.ZodObject<{
1094
983
  feePerL2Gas: string | number | bigint;
1095
984
  } | undefined;
1096
985
  } | undefined;
1097
- estimateGas?: boolean | undefined;
1098
986
  estimatedGasPadding?: number | undefined;
987
+ estimateGas?: boolean | undefined;
1099
988
  }>>;
1100
989
  skipTxValidation: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1101
990
  skipFeeEnforcement: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
@@ -1105,9 +994,9 @@ export declare const ProfileOptionsSchema: z.ZodObject<{
1105
994
  skipProofGeneration: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1106
995
  }, "strip", z.ZodTypeAny, {
1107
996
  from: AztecAddress;
1108
- profileMode: "gates" | "execution-steps" | "full";
997
+ authWitnesses?: AuthWitness[] | undefined;
998
+ capsules?: Capsule[] | undefined;
1109
999
  fee?: {
1110
- embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
1111
1000
  gasSettings?: {
1112
1001
  gasLimits?: Gas | undefined;
1113
1002
  teardownGasLimits?: Gas | undefined;
@@ -1120,19 +1009,19 @@ export declare const ProfileOptionsSchema: z.ZodObject<{
1120
1009
  feePerL2Gas: bigint;
1121
1010
  } | undefined;
1122
1011
  } | undefined;
1123
- estimateGas?: boolean | undefined;
1124
1012
  estimatedGasPadding?: number | undefined;
1013
+ estimateGas?: boolean | undefined;
1125
1014
  } | undefined;
1126
- authWitnesses?: AuthWitness[] | undefined;
1127
- capsules?: Capsule[] | undefined;
1128
1015
  skipTxValidation?: boolean | undefined;
1129
1016
  skipFeeEnforcement?: boolean | undefined;
1130
1017
  includeMetadata?: boolean | undefined;
1018
+ profileMode: "execution-steps" | "full" | "gates";
1131
1019
  skipProofGeneration?: boolean | undefined;
1132
1020
  }, {
1133
- profileMode: "gates" | "execution-steps" | "full";
1021
+ from?: any;
1022
+ authWitnesses?: string[] | undefined;
1023
+ capsules?: string[] | undefined;
1134
1024
  fee?: {
1135
- embeddedPaymentMethodFeePayer?: any;
1136
1025
  gasSettings?: {
1137
1026
  gasLimits?: {
1138
1027
  daGas: string | number | bigint;
@@ -1151,466 +1040,136 @@ export declare const ProfileOptionsSchema: z.ZodObject<{
1151
1040
  feePerL2Gas: string | number | bigint;
1152
1041
  } | undefined;
1153
1042
  } | undefined;
1154
- estimateGas?: boolean | undefined;
1155
1043
  estimatedGasPadding?: number | undefined;
1044
+ estimateGas?: boolean | undefined;
1156
1045
  } | undefined;
1157
- authWitnesses?: string[] | undefined;
1158
- capsules?: string[] | undefined;
1159
- from?: any;
1160
1046
  skipTxValidation?: boolean | undefined;
1161
1047
  skipFeeEnforcement?: boolean | undefined;
1162
1048
  includeMetadata?: boolean | undefined;
1049
+ profileMode: "execution-steps" | "full" | "gates";
1163
1050
  skipProofGeneration?: boolean | undefined;
1164
1051
  }>;
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
- }>;
1193
- }, "strip", z.ZodTypeAny, {
1194
- version: 1;
1195
- salt: Fr;
1196
- deployer: AztecAddress;
1197
- currentContractClassId: Fr;
1198
- originalContractClassId: Fr;
1199
- initializationHash: Fr;
1200
- publicKeys: PublicKeys;
1201
- }, {
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;
1214
- }>, 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<{
1222
- name: z.ZodString;
1223
- functionType: z.ZodNativeEnum<typeof FunctionType>;
1224
- isInternal: z.ZodBoolean;
1225
- 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">;
1240
- 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
- }, "strip", z.ZodTypeAny, {
1270
- 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;
1278
- isStatic: boolean;
1279
- isInitializer: boolean;
1280
- 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
- }, {
1292
- 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;
1300
- isStatic: boolean;
1301
- isInitializer: boolean;
1302
- 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 | {
1345
- 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;
1353
- isStatic: boolean;
1354
- isInitializer: boolean;
1355
- 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;
1368
- }, {
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 | {
1379
- 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;
1387
- isStatic: boolean;
1388
- isInitializer: boolean;
1389
- 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
- };
1490
- artifact?: any;
1491
- }>]>;
1492
- export declare const MessageHashOrIntentSchema: z.ZodUnion<[ZodFor<Fr>, z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Buffer<ArrayBuffer>, string>, z.ZodEffects<z.ZodObject<{
1493
- type: z.ZodLiteral<"Buffer">;
1494
- data: z.ZodArray<z.ZodNumber, "many">;
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>]>;
1052
+ export declare const MessageHashOrIntentSchema: z.ZodUnion<[z.ZodObject<{
1053
+ consumer: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
1054
+ innerHash: import("@aztec/stdlib/schemas").ZodFor<Fr>;
1519
1055
  }, "strip", z.ZodTypeAny, {
1520
1056
  consumer: AztecAddress;
1521
- innerHash: Fr | Buffer<ArrayBuffer>;
1057
+ innerHash: Fr;
1522
1058
  }, {
1523
1059
  consumer?: any;
1524
1060
  innerHash?: any;
1525
1061
  }>, z.ZodObject<{
1526
- caller: ZodFor<AztecAddress>;
1062
+ caller: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
1527
1063
  call: z.ZodObject<{
1528
1064
  name: z.ZodString;
1529
- to: ZodFor<AztecAddress>;
1530
- selector: ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
1065
+ to: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
1066
+ selector: import("@aztec/stdlib/schemas").ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
1531
1067
  type: z.ZodNativeEnum<typeof FunctionType>;
1532
1068
  isStatic: z.ZodBoolean;
1533
1069
  hideMsgSender: z.ZodBoolean;
1534
- args: z.ZodArray<ZodFor<Fr>, "many">;
1070
+ args: z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<Fr>, "many">;
1535
1071
  returnTypes: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
1536
1072
  }, "strip", z.ZodTypeAny, {
1537
1073
  name: string;
1538
- args: Fr[];
1539
- type: FunctionType;
1540
1074
  to: AztecAddress;
1541
1075
  selector: import("@aztec/stdlib/abi").FunctionSelector;
1076
+ type: FunctionType;
1542
1077
  isStatic: boolean;
1543
1078
  hideMsgSender: boolean;
1079
+ args: Fr[];
1544
1080
  returnTypes: import("@aztec/stdlib/abi").AbiType[];
1545
1081
  }, {
1546
1082
  name: string;
1547
- args: any[];
1083
+ to?: any;
1084
+ selector?: any;
1548
1085
  type: FunctionType;
1549
1086
  isStatic: boolean;
1550
1087
  hideMsgSender: boolean;
1088
+ args: any[];
1551
1089
  returnTypes: import("@aztec/stdlib/abi").AbiType[];
1552
- to?: any;
1553
- selector?: any;
1554
1090
  }>;
1555
1091
  }, "strip", z.ZodTypeAny, {
1556
1092
  caller: AztecAddress;
1557
1093
  call: {
1558
1094
  name: string;
1559
- args: Fr[];
1560
- type: FunctionType;
1561
1095
  to: AztecAddress;
1562
1096
  selector: import("@aztec/stdlib/abi").FunctionSelector;
1097
+ type: FunctionType;
1563
1098
  isStatic: boolean;
1564
1099
  hideMsgSender: boolean;
1100
+ args: Fr[];
1565
1101
  returnTypes: import("@aztec/stdlib/abi").AbiType[];
1566
1102
  };
1567
1103
  }, {
1104
+ caller?: any;
1568
1105
  call: {
1569
1106
  name: string;
1570
- args: any[];
1107
+ to?: any;
1108
+ selector?: any;
1571
1109
  type: FunctionType;
1572
1110
  isStatic: boolean;
1573
1111
  hideMsgSender: boolean;
1112
+ args: any[];
1574
1113
  returnTypes: import("@aztec/stdlib/abi").AbiType[];
1575
- to?: any;
1576
- selector?: any;
1577
1114
  };
1578
- caller?: any;
1579
1115
  }>]>;
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>;
1116
+ export declare const EventMetadataDefinitionSchema: z.ZodObject<{
1117
+ eventSelector: z.ZodType<import("@aztec/stdlib/abi").EventSelector, any, string>;
1118
+ abiType: z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>;
1119
+ fieldNames: z.ZodArray<z.ZodString, "many">;
1583
1120
  }, "strip", z.ZodTypeAny, {
1584
- name: "registerSender";
1585
- args: [AztecAddress, string | undefined];
1121
+ eventSelector: import("@aztec/stdlib/abi").EventSelector;
1122
+ abiType: import("@aztec/stdlib/abi").AbiType;
1123
+ fieldNames: string[];
1586
1124
  }, {
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<{
1125
+ eventSelector: string;
1126
+ abiType: import("@aztec/stdlib/abi").AbiType;
1127
+ fieldNames: string[];
1128
+ }>;
1129
+ export declare const PrivateEventSchema: z.ZodType<any>;
1130
+ export declare const PrivateEventFilterSchema: z.ZodObject<{
1131
+ contractAddress: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
1132
+ scopes: z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">;
1133
+ 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>>;
1134
+ fromBlock: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodPipeline<z.ZodUnion<[z.ZodNumber, z.ZodBigInt, z.ZodString]>, z.ZodNumber>, BlockNumber, string | number | bigint>>;
1135
+ toBlock: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodPipeline<z.ZodUnion<[z.ZodNumber, z.ZodBigInt, z.ZodString]>, z.ZodNumber>, BlockNumber, string | number | bigint>>;
1136
+ }, "strip", z.ZodTypeAny, {
1137
+ contractAddress: AztecAddress;
1138
+ scopes: AztecAddress[];
1139
+ txHash?: TxHash | undefined;
1140
+ fromBlock?: BlockNumber | undefined;
1141
+ toBlock?: BlockNumber | undefined;
1142
+ }, {
1143
+ contractAddress?: any;
1144
+ scopes: any[];
1145
+ txHash?: string | undefined;
1146
+ fromBlock?: string | number | bigint | undefined;
1147
+ toBlock?: string | number | bigint | undefined;
1148
+ }>;
1149
+ export declare const ContractMetadataSchema: z.ZodObject<{
1150
+ instance: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodIntersection<z.ZodObject<{
1592
1151
  version: z.ZodLiteral<1>;
1593
- salt: ZodFor<Fr>;
1594
- deployer: ZodFor<AztecAddress>;
1595
- currentContractClassId: ZodFor<Fr>;
1596
- originalContractClassId: ZodFor<Fr>;
1597
- initializationHash: ZodFor<Fr>;
1152
+ salt: import("@aztec/stdlib/schemas").ZodFor<Fr>;
1153
+ deployer: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
1154
+ currentContractClassId: import("@aztec/stdlib/schemas").ZodFor<Fr>;
1155
+ originalContractClassId: import("@aztec/stdlib/schemas").ZodFor<Fr>;
1156
+ initializationHash: import("@aztec/stdlib/schemas").ZodFor<Fr>;
1598
1157
  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>;
1158
+ masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/schemas").Point, any, string>;
1159
+ masterIncomingViewingPublicKey: z.ZodType<import("@aztec/foundation/schemas").Point, any, string>;
1160
+ masterOutgoingViewingPublicKey: z.ZodType<import("@aztec/foundation/schemas").Point, any, string>;
1161
+ masterTaggingPublicKey: z.ZodType<import("@aztec/foundation/schemas").Point, any, string>;
1603
1162
  }, "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;
1163
+ masterNullifierPublicKey: import("@aztec/foundation/schemas").Point;
1164
+ masterIncomingViewingPublicKey: import("@aztec/foundation/schemas").Point;
1165
+ masterOutgoingViewingPublicKey: import("@aztec/foundation/schemas").Point;
1166
+ masterTaggingPublicKey: import("@aztec/foundation/schemas").Point;
1608
1167
  }, {
1609
1168
  masterNullifierPublicKey: string;
1610
1169
  masterIncomingViewingPublicKey: string;
1611
1170
  masterOutgoingViewingPublicKey: string;
1612
1171
  masterTaggingPublicKey: string;
1613
- }>, PublicKeys, {
1172
+ }>, import("@aztec/stdlib/keys").PublicKeys, {
1614
1173
  masterNullifierPublicKey: string;
1615
1174
  masterIncomingViewingPublicKey: string;
1616
1175
  masterOutgoingViewingPublicKey: string;
@@ -1623,856 +1182,116 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
1623
1182
  currentContractClassId: Fr;
1624
1183
  originalContractClassId: Fr;
1625
1184
  initializationHash: Fr;
1626
- publicKeys: PublicKeys;
1185
+ publicKeys: import("@aztec/stdlib/keys").PublicKeys;
1627
1186
  }, {
1628
1187
  version: 1;
1629
- publicKeys: {
1630
- masterNullifierPublicKey: string;
1631
- masterIncomingViewingPublicKey: string;
1632
- masterOutgoingViewingPublicKey: string;
1633
- masterTaggingPublicKey: string;
1634
- };
1635
1188
  salt?: any;
1636
1189
  deployer?: any;
1637
1190
  currentContractClassId?: any;
1638
1191
  originalContractClassId?: any;
1639
1192
  initializationHash?: any;
1640
- }>, z.ZodObject<{
1641
- address: ZodFor<AztecAddress>;
1642
- }, "strip", z.ZodTypeAny, {
1643
- address: AztecAddress;
1644
- }, {
1645
- address?: any;
1646
- }>>, z.ZodObject<{
1647
- constructorArtifact: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodObject<{
1648
- name: z.ZodString;
1649
- functionType: z.ZodNativeEnum<typeof FunctionType>;
1650
- isInternal: z.ZodBoolean;
1651
- isStatic: z.ZodBoolean;
1652
- isInitializer: z.ZodBoolean;
1653
- parameters: z.ZodArray<z.ZodObject<{
1654
- name: z.ZodString;
1655
- type: z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>;
1656
- visibility: z.ZodEnum<["public", "private", "databus"]>;
1657
- }, "strip", z.ZodTypeAny, {
1658
- type: import("@aztec/stdlib/abi").AbiType;
1659
- name: string;
1660
- visibility: "public" | "private" | "databus";
1661
- }, {
1662
- type: import("@aztec/stdlib/abi").AbiType;
1663
- name: string;
1664
- visibility: "public" | "private" | "databus";
1665
- }>, "many">;
1666
- returnTypes: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
1667
- errorTypes: z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1668
- error_kind: z.ZodLiteral<"string">;
1669
- string: z.ZodString;
1670
- }, "strip", z.ZodTypeAny, {
1671
- string: string;
1672
- error_kind: "string";
1673
- }, {
1674
- string: string;
1675
- error_kind: "string";
1676
- }>, z.ZodObject<{
1677
- error_kind: z.ZodLiteral<"fmtstring">;
1678
- length: z.ZodNumber;
1679
- item_types: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
1680
- }, "strip", z.ZodTypeAny, {
1681
- length: number;
1682
- error_kind: "fmtstring";
1683
- item_types: import("@aztec/stdlib/abi").AbiType[];
1684
- }, {
1685
- length: number;
1686
- error_kind: "fmtstring";
1687
- item_types: import("@aztec/stdlib/abi").AbiType[];
1688
- }>, z.ZodIntersection<z.ZodObject<{
1689
- error_kind: z.ZodLiteral<"custom">;
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>;
1886
- }, "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
- };
1899
- }, {
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>;
1918
- }, "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;
1971
- };
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];
2284
- }, {
2285
- name: "simulateUtility";
2286
- args: [string, any[], any, string[] | undefined];
2287
- }>]>;
2288
- export declare const ContractMetadataSchema: z.ZodObject<{
2289
- contractInstance: z.ZodUnion<[z.ZodIntersection<z.ZodObject<{
2290
- version: z.ZodLiteral<1>;
2291
- salt: ZodFor<Fr>;
2292
- deployer: ZodFor<AztecAddress>;
2293
- currentContractClassId: ZodFor<Fr>;
2294
- originalContractClassId: ZodFor<Fr>;
2295
- initializationHash: ZodFor<Fr>;
2296
- publicKeys: z.ZodEffects<z.ZodObject<{
2297
- masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
2298
- masterIncomingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
2299
- masterOutgoingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
2300
- masterTaggingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
2301
- }, "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;
2306
- }, {
2307
- masterNullifierPublicKey: string;
2308
- masterIncomingViewingPublicKey: string;
2309
- masterOutgoingViewingPublicKey: string;
2310
- masterTaggingPublicKey: string;
2311
- }>, PublicKeys, {
2312
- masterNullifierPublicKey: string;
2313
- masterIncomingViewingPublicKey: string;
2314
- masterOutgoingViewingPublicKey: string;
2315
- masterTaggingPublicKey: string;
2316
- }>;
2317
- }, "strip", z.ZodTypeAny, {
2318
- version: 1;
2319
- salt: Fr;
2320
- deployer: AztecAddress;
2321
- currentContractClassId: Fr;
2322
- originalContractClassId: Fr;
2323
- initializationHash: Fr;
2324
- publicKeys: PublicKeys;
2325
- }, {
2326
- version: 1;
2327
1193
  publicKeys: {
2328
1194
  masterNullifierPublicKey: string;
2329
1195
  masterIncomingViewingPublicKey: string;
2330
1196
  masterOutgoingViewingPublicKey: string;
2331
1197
  masterTaggingPublicKey: string;
2332
1198
  };
2333
- salt?: any;
2334
- deployer?: any;
2335
- currentContractClassId?: any;
2336
- originalContractClassId?: any;
2337
- initializationHash?: any;
2338
1199
  }>, z.ZodObject<{
2339
- address: ZodFor<AztecAddress>;
1200
+ address: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
2340
1201
  }, "strip", z.ZodTypeAny, {
2341
1202
  address: AztecAddress;
2342
1203
  }, {
2343
1204
  address?: any;
2344
- }>>, z.ZodUndefined]>;
1205
+ }>>>;
2345
1206
  isContractInitialized: z.ZodBoolean;
2346
1207
  isContractPublished: z.ZodBoolean;
1208
+ isContractUpdated: z.ZodBoolean;
1209
+ updatedContractClassId: import("@aztec/foundation/schemas").ZodNullableOptional<import("@aztec/stdlib/schemas").ZodFor<Fr>>;
2347
1210
  }, "strip", z.ZodTypeAny, {
2348
- isContractInitialized: boolean;
2349
- isContractPublished: boolean;
2350
- contractInstance?: ({
1211
+ instance?: ({
2351
1212
  version: 1;
2352
1213
  salt: Fr;
2353
1214
  deployer: AztecAddress;
2354
1215
  currentContractClassId: Fr;
2355
1216
  originalContractClassId: Fr;
2356
1217
  initializationHash: Fr;
2357
- publicKeys: PublicKeys;
1218
+ publicKeys: import("@aztec/stdlib/keys").PublicKeys;
2358
1219
  } & {
2359
1220
  address: AztecAddress;
2360
1221
  }) | undefined;
2361
- }, {
2362
1222
  isContractInitialized: boolean;
2363
1223
  isContractPublished: boolean;
2364
- contractInstance?: ({
1224
+ isContractUpdated: boolean;
1225
+ updatedContractClassId?: Fr | undefined;
1226
+ }, {
1227
+ instance?: ({
2365
1228
  version: 1;
1229
+ salt?: any;
1230
+ deployer?: any;
1231
+ currentContractClassId?: any;
1232
+ originalContractClassId?: any;
1233
+ initializationHash?: any;
2366
1234
  publicKeys: {
2367
1235
  masterNullifierPublicKey: string;
2368
1236
  masterIncomingViewingPublicKey: string;
2369
1237
  masterOutgoingViewingPublicKey: string;
2370
1238
  masterTaggingPublicKey: string;
2371
1239
  };
2372
- salt?: any;
2373
- deployer?: any;
2374
- currentContractClassId?: any;
2375
- originalContractClassId?: any;
2376
- initializationHash?: any;
2377
1240
  } & {
2378
1241
  address?: any;
2379
1242
  }) | undefined;
1243
+ isContractInitialized: boolean;
1244
+ isContractPublished: boolean;
1245
+ isContractUpdated: boolean;
1246
+ updatedContractClassId?: any;
2380
1247
  }>;
2381
1248
  export declare const ContractClassMetadataSchema: z.ZodObject<{
2382
- contractClass: z.ZodUnion<[z.ZodObject<{
2383
- version: z.ZodLiteral<1>;
2384
- artifactHash: z.ZodType<Fr, any, string>;
2385
- privateFunctions: z.ZodArray<z.ZodObject<{
2386
- selector: ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
2387
- vkHash: z.ZodType<Fr, any, string>;
2388
- }, "strip", z.ZodTypeAny, {
2389
- selector: import("@aztec/stdlib/abi").FunctionSelector;
2390
- vkHash: Fr;
2391
- }, {
2392
- vkHash: string;
2393
- selector?: any;
2394
- }>, "many">;
2395
- packedBytecode: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Buffer<ArrayBuffer>, string>, z.ZodEffects<z.ZodObject<{
2396
- type: z.ZodLiteral<"Buffer">;
2397
- data: z.ZodArray<z.ZodNumber, "many">;
2398
- }, "strip", z.ZodTypeAny, {
2399
- type: "Buffer";
2400
- data: number[];
2401
- }, {
2402
- type: "Buffer";
2403
- data: number[];
2404
- }>, Buffer<ArrayBuffer>, {
2405
- type: "Buffer";
2406
- data: number[];
2407
- }>]>;
2408
- } & {
2409
- id: z.ZodType<Fr, any, string>;
2410
- }, "strip", z.ZodTypeAny, {
2411
- version: 1;
2412
- id: Fr;
2413
- artifactHash: Fr;
2414
- packedBytecode: Buffer<ArrayBuffer>;
2415
- privateFunctions: {
2416
- selector: import("@aztec/stdlib/abi").FunctionSelector;
2417
- vkHash: Fr;
2418
- }[];
2419
- }, {
2420
- version: 1;
2421
- id: string;
2422
- artifactHash: string;
2423
- packedBytecode: string | {
2424
- type: "Buffer";
2425
- data: number[];
2426
- };
2427
- privateFunctions: {
2428
- vkHash: string;
2429
- selector?: any;
2430
- }[];
2431
- }>, z.ZodUndefined]>;
1249
+ isArtifactRegistered: z.ZodBoolean;
2432
1250
  isContractClassPubliclyRegistered: z.ZodBoolean;
2433
- artifact: z.ZodUnion<[ZodFor<ContractArtifact>, z.ZodUndefined]>;
2434
1251
  }, "strip", z.ZodTypeAny, {
1252
+ isArtifactRegistered: boolean;
2435
1253
  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;
2445
- }[];
2446
- } | undefined;
2447
1254
  }, {
1255
+ isArtifactRegistered: boolean;
2448
1256
  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;
2461
- }[];
2462
- } | undefined;
2463
1257
  }>;
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">;
1258
+ declare const BatchedMethodSchema: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
1259
+ name: z.ZodLiteral<"createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "sendTx" | "simulateTx" | "simulateUtility">;
1260
+ args: z.ZodTuple<any, any>;
2468
1261
  }, "strip", z.ZodTypeAny, {
2469
- eventSelector: import("@aztec/stdlib/abi").EventSelector;
2470
- abiType: import("@aztec/stdlib/abi").AbiType;
2471
- fieldNames: string[];
1262
+ name: "createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "sendTx" | "simulateTx" | "simulateUtility";
1263
+ args: any[];
2472
1264
  }, {
2473
- eventSelector: string;
2474
- abiType: import("@aztec/stdlib/abi").AbiType;
2475
- fieldNames: string[];
2476
- }>;
1265
+ name: "createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "sendTx" | "simulateTx" | "simulateUtility";
1266
+ args: any[];
1267
+ }>, ...z.ZodObject<{
1268
+ name: z.ZodLiteral<"createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "sendTx" | "simulateTx" | "simulateUtility">;
1269
+ args: z.ZodTuple<any, any>;
1270
+ }, "strip", z.ZodTypeAny, {
1271
+ name: "createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "sendTx" | "simulateTx" | "simulateUtility";
1272
+ args: any[];
1273
+ }, {
1274
+ name: "createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "sendTx" | "simulateTx" | "simulateUtility";
1275
+ args: any[];
1276
+ }>[]]>, BatchedResultSchema: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
1277
+ name: z.ZodLiteral<"createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "sendTx" | "simulateTx" | "simulateUtility">;
1278
+ result: z.ZodTypeAny;
1279
+ }, "strip", z.ZodTypeAny, {
1280
+ name: "createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "sendTx" | "simulateTx" | "simulateUtility";
1281
+ result?: any;
1282
+ }, {
1283
+ name: "createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "sendTx" | "simulateTx" | "simulateUtility";
1284
+ result?: any;
1285
+ }>, ...z.ZodObject<{
1286
+ name: z.ZodLiteral<"createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "sendTx" | "simulateTx" | "simulateUtility">;
1287
+ result: z.ZodTypeAny;
1288
+ }, "strip", z.ZodTypeAny, {
1289
+ name: "createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "sendTx" | "simulateTx" | "simulateUtility";
1290
+ result?: any;
1291
+ }, {
1292
+ name: "createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "sendTx" | "simulateTx" | "simulateUtility";
1293
+ result?: any;
1294
+ }>[]]>;
1295
+ export { BatchedMethodSchema, BatchedResultSchema };
2477
1296
  export declare const WalletSchema: ApiSchemaFor<Wallet>;
2478
- //# sourceMappingURL=wallet.d.ts.map
1297
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2FsbGV0LmQudHMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvd2FsbGV0L3dhbGxldC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFP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