@aztec/aztec.js 0.0.1-commit.24de95ac → 0.0.1-commit.3469e52

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 (238) 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 +2 -2
  24. package/dest/api/block.d.ts.map +1 -1
  25. package/dest/api/block.js +1 -1
  26. package/dest/api/contract.d.ts +3 -3
  27. package/dest/api/contract.d.ts.map +1 -1
  28. package/dest/api/contract.js +1 -1
  29. package/dest/api/crypto.d.ts +1 -1
  30. package/dest/api/deployment.d.ts +1 -1
  31. package/dest/api/eth_address.d.ts +1 -1
  32. package/dest/api/ethereum.d.ts +1 -1
  33. package/dest/api/events.d.ts +1 -1
  34. package/dest/api/fee.d.ts +1 -1
  35. package/dest/api/fee_testing.d.ts +1 -1
  36. package/dest/api/fields.d.ts +3 -2
  37. package/dest/api/fields.d.ts.map +1 -1
  38. package/dest/api/fields.js +2 -1
  39. package/dest/api/keys.d.ts +1 -1
  40. package/dest/api/log.d.ts +1 -1
  41. package/dest/api/messaging.d.ts +1 -1
  42. package/dest/api/node.d.ts +1 -1
  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 +2 -3
  60. package/dest/contract/base_contract_interaction.d.ts.map +1 -1
  61. package/dest/contract/base_contract_interaction.js +1 -1
  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 +9 -8
  76. package/dest/contract/deploy_method.d.ts.map +1 -1
  77. package/dest/contract/deploy_method.js +14 -11
  78. package/dest/contract/deploy_sent_tx.d.ts +12 -7
  79. package/dest/contract/deploy_sent_tx.d.ts.map +1 -1
  80. package/dest/contract/deploy_sent_tx.js +10 -4
  81. package/dest/contract/get_gas_limits.d.ts +1 -1
  82. package/dest/contract/interaction_options.d.ts +4 -4
  83. package/dest/contract/interaction_options.d.ts.map +1 -1
  84. package/dest/contract/interaction_options.js +4 -10
  85. package/dest/contract/protocol_contracts/auth-registry.d.ts +36 -0
  86. package/dest/contract/protocol_contracts/auth-registry.d.ts.map +1 -0
  87. package/dest/contract/protocol_contracts/auth-registry.js +976 -0
  88. package/dest/contract/protocol_contracts/contract-class-registry.d.ts +35 -0
  89. package/dest/contract/protocol_contracts/contract-class-registry.d.ts.map +1 -0
  90. package/dest/contract/protocol_contracts/contract-class-registry.js +797 -0
  91. package/dest/contract/protocol_contracts/contract-instance-registry.d.ts +31 -0
  92. package/dest/contract/protocol_contracts/contract-instance-registry.d.ts.map +1 -0
  93. package/dest/contract/protocol_contracts/contract-instance-registry.js +871 -0
  94. package/dest/contract/protocol_contracts/fee-juice.d.ts +30 -0
  95. package/dest/contract/protocol_contracts/fee-juice.d.ts.map +1 -0
  96. package/dest/contract/protocol_contracts/fee-juice.js +840 -0
  97. package/dest/contract/protocol_contracts/multi-call-entrypoint.d.ts +34 -0
  98. package/dest/contract/protocol_contracts/multi-call-entrypoint.d.ts.map +1 -0
  99. package/dest/contract/protocol_contracts/multi-call-entrypoint.js +576 -0
  100. package/dest/contract/protocol_contracts/public-checks.d.ts +26 -0
  101. package/dest/contract/protocol_contracts/public-checks.d.ts.map +1 -0
  102. package/dest/contract/protocol_contracts/public-checks.js +592 -0
  103. package/dest/contract/sent_tx.d.ts +2 -3
  104. package/dest/contract/sent_tx.d.ts.map +1 -1
  105. package/dest/contract/sent_tx.js +1 -1
  106. package/dest/contract/wait_for_proven.d.ts +2 -2
  107. package/dest/contract/wait_for_proven.d.ts.map +1 -1
  108. package/dest/deployment/broadcast_function.d.ts +1 -1
  109. package/dest/deployment/broadcast_function.js +4 -4
  110. package/dest/deployment/contract_deployer.d.ts +1 -1
  111. package/dest/deployment/contract_deployer.d.ts.map +1 -1
  112. package/dest/deployment/contract_deployer.js +1 -1
  113. package/dest/deployment/publish_class.d.ts +1 -1
  114. package/dest/deployment/publish_class.js +3 -3
  115. package/dest/deployment/publish_instance.d.ts +2 -2
  116. package/dest/deployment/publish_instance.d.ts.map +1 -1
  117. package/dest/deployment/publish_instance.js +3 -3
  118. package/dest/ethereum/portal_manager.d.ts +7 -6
  119. package/dest/ethereum/portal_manager.d.ts.map +1 -1
  120. package/dest/ethereum/portal_manager.js +48 -22
  121. package/dest/fee/fee_juice_payment_method_with_claim.d.ts +2 -2
  122. package/dest/fee/fee_juice_payment_method_with_claim.d.ts.map +1 -1
  123. package/dest/fee/fee_juice_payment_method_with_claim.js +3 -3
  124. package/dest/fee/fee_payment_method.d.ts +2 -2
  125. package/dest/fee/fee_payment_method.d.ts.map +1 -1
  126. package/dest/fee/private_fee_payment_method.d.ts +2 -2
  127. package/dest/fee/private_fee_payment_method.d.ts.map +1 -1
  128. package/dest/fee/private_fee_payment_method.js +4 -4
  129. package/dest/fee/public_fee_payment_method.d.ts +2 -2
  130. package/dest/fee/public_fee_payment_method.d.ts.map +1 -1
  131. package/dest/fee/public_fee_payment_method.js +4 -4
  132. package/dest/fee/sponsored_fee_payment.d.ts +2 -2
  133. package/dest/fee/sponsored_fee_payment.d.ts.map +1 -1
  134. package/dest/fee/sponsored_fee_payment.js +2 -2
  135. package/dest/scripts/generate_protocol_contract_types.d.ts +2 -0
  136. package/dest/scripts/generate_protocol_contract_types.d.ts.map +1 -0
  137. package/dest/scripts/generate_protocol_contract_types.js +120 -0
  138. package/dest/utils/abi_types.d.ts +2 -2
  139. package/dest/utils/abi_types.d.ts.map +1 -1
  140. package/dest/utils/authwit.d.ts +9 -7
  141. package/dest/utils/authwit.d.ts.map +1 -1
  142. package/dest/utils/authwit.js +25 -14
  143. package/dest/utils/cross_chain.d.ts +2 -2
  144. package/dest/utils/cross_chain.d.ts.map +1 -1
  145. package/dest/utils/fee_juice.d.ts +2 -2
  146. package/dest/utils/fee_juice.js +2 -2
  147. package/dest/utils/field_compressed_string.d.ts +1 -1
  148. package/dest/utils/field_compressed_string.d.ts.map +1 -1
  149. package/dest/utils/field_compressed_string.js +1 -1
  150. package/dest/utils/node.d.ts +2 -2
  151. package/dest/utils/node.d.ts.map +1 -1
  152. package/dest/utils/pub_key.d.ts +2 -2
  153. package/dest/utils/pub_key.d.ts.map +1 -1
  154. package/dest/utils/pub_key.js +1 -1
  155. package/dest/wallet/account_entrypoint_meta_payment_method.d.ts +6 -9
  156. package/dest/wallet/account_entrypoint_meta_payment_method.d.ts.map +1 -1
  157. package/dest/wallet/account_entrypoint_meta_payment_method.js +29 -44
  158. package/dest/wallet/account_manager.d.ts +3 -9
  159. package/dest/wallet/account_manager.d.ts.map +1 -1
  160. package/dest/wallet/account_manager.js +6 -12
  161. package/dest/wallet/deploy_account_method.d.ts +20 -6
  162. package/dest/wallet/deploy_account_method.d.ts.map +1 -1
  163. package/dest/wallet/deploy_account_method.js +9 -7
  164. package/dest/wallet/index.d.ts +1 -2
  165. package/dest/wallet/index.d.ts.map +1 -1
  166. package/dest/wallet/index.js +0 -1
  167. package/dest/wallet/wallet.d.ts +273 -1499
  168. package/dest/wallet/wallet.d.ts.map +1 -1
  169. package/dest/wallet/wallet.js +71 -114
  170. package/package.json +16 -13
  171. package/src/account/account.ts +35 -60
  172. package/src/account/account_contract.ts +7 -8
  173. package/src/account/account_with_secret_key.ts +34 -9
  174. package/src/account/index.ts +3 -2
  175. package/src/account/signerless_account.ts +15 -15
  176. package/src/api/account.ts +10 -3
  177. package/src/api/authorization.ts +1 -0
  178. package/src/api/block.ts +1 -1
  179. package/src/api/contract.ts +2 -1
  180. package/src/api/fields.ts +2 -1
  181. package/src/api/note.ts +1 -1
  182. package/src/api/protocol.ts +7 -0
  183. package/src/api/tx.ts +2 -0
  184. package/src/api/wallet.ts +5 -9
  185. package/src/authorization/call_authorization_request.ts +1 -1
  186. package/src/contract/base_contract_interaction.ts +2 -3
  187. package/src/contract/batch_call.ts +67 -48
  188. package/src/contract/contract.ts +7 -5
  189. package/src/contract/contract_base.ts +5 -15
  190. package/src/contract/contract_function_interaction.ts +10 -11
  191. package/src/contract/deploy_method.ts +20 -18
  192. package/src/contract/deploy_sent_tx.ts +17 -10
  193. package/src/contract/interaction_options.ts +4 -10
  194. package/src/contract/protocol_contracts/auth-registry.ts +554 -0
  195. package/src/contract/protocol_contracts/contract-class-registry.ts +442 -0
  196. package/src/contract/protocol_contracts/contract-instance-registry.ts +502 -0
  197. package/src/contract/protocol_contracts/fee-juice.ts +466 -0
  198. package/src/contract/protocol_contracts/multi-call-entrypoint.ts +338 -0
  199. package/src/contract/protocol_contracts/public-checks.ts +324 -0
  200. package/src/contract/sent_tx.ts +2 -3
  201. package/src/deployment/broadcast_function.ts +4 -4
  202. package/src/deployment/contract_deployer.ts +3 -2
  203. package/src/deployment/publish_class.ts +3 -3
  204. package/src/deployment/publish_instance.ts +3 -6
  205. package/src/ethereum/portal_manager.ts +65 -34
  206. package/src/fee/fee_juice_payment_method_with_claim.ts +4 -2
  207. package/src/fee/fee_payment_method.ts +1 -1
  208. package/src/fee/private_fee_payment_method.ts +5 -3
  209. package/src/fee/public_fee_payment_method.ts +5 -3
  210. package/src/fee/sponsored_fee_payment.ts +3 -1
  211. package/src/scripts/generate_protocol_contract_types.ts +150 -0
  212. package/src/utils/abi_types.ts +1 -1
  213. package/src/utils/authwit.ts +24 -18
  214. package/src/utils/cross_chain.ts +1 -1
  215. package/src/utils/fee_juice.ts +2 -2
  216. package/src/utils/field_compressed_string.ts +1 -1
  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 +23 -13
  221. package/src/wallet/index.ts +0 -1
  222. package/src/wallet/wallet.ts +177 -142
  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/protocol_contracts.d.ts +0 -9
  227. package/dest/contract/protocol_contracts.d.ts.map +0 -1
  228. package/dest/contract/protocol_contracts.js +0 -26
  229. package/dest/contract/unsafe_contract.d.ts +0 -15
  230. package/dest/contract/unsafe_contract.d.ts.map +0 -1
  231. package/dest/contract/unsafe_contract.js +0 -6
  232. package/dest/wallet/base_wallet.d.ts +0 -91
  233. package/dest/wallet/base_wallet.d.ts.map +0 -1
  234. package/dest/wallet/base_wallet.js +0 -238
  235. package/src/account/interface.ts +0 -25
  236. package/src/contract/protocol_contracts.ts +0 -35
  237. package/src/contract/unsafe_contract.ts +0 -19
  238. package/src/wallet/base_wallet.ts +0 -350
@@ -1,16 +1,15 @@
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';
9
+ import { type ApiSchemaFor } from '@aztec/stdlib/schemas';
11
10
  import { Capsule, HashedValues, TxHash, TxProfileResult, TxReceipt, 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
13
  import type { FeeEstimationOptions, GasSettingsOption, ProfileInteractionOptions, SendInteractionOptions, SimulateInteractionOptions } from '../contract/interaction_options.js';
15
14
  import type { CallIntent, IntentInnerHash } from '../utils/authwit.js';
16
15
  /**
@@ -26,71 +25,63 @@ 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
51
  export type SendOptions = Omit<SendInteractionOptions, 'fee'> & {
67
52
  /** The fee options */
68
- fee?: UserFeeOptions;
53
+ fee?: GasSettingsOption;
69
54
  };
70
55
  /**
71
- * Helper type that represents all methods that can be batched.
56
+ * Helper type that represents all methods that can be batched (all methods except batch itself).
72
57
  */
73
- export type BatchableMethods = Pick<Wallet, 'registerContract' | 'sendTx' | 'registerSender' | 'simulateUtility'>;
58
+ export type BatchableMethods = Omit<Wallet, 'batch'>;
74
59
  /**
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.
60
+ * A method call with its name and arguments.
77
61
  */
78
- export type BatchedMethod<T extends keyof BatchableMethods> = {
62
+ type BatchedMethodInternal<T extends keyof BatchableMethods> = {
79
63
  /** The method name */
80
64
  name: T;
81
65
  /** The method arguments */
82
66
  args: Parameters<BatchableMethods[T]>;
83
67
  };
68
+ /**
69
+ * Union of all possible batched method calls.
70
+ * This ensures type safety: the `args` must match the specific `name`.
71
+ */
72
+ export type BatchedMethod = {
73
+ [K in keyof BatchableMethods]: BatchedMethodInternal<K>;
74
+ }[keyof BatchableMethods];
84
75
  /**
85
76
  * Helper type to extract the return type of a batched method
86
77
  */
87
- export type BatchedMethodResult<T> = T extends BatchedMethod<infer K> ? Awaited<ReturnType<BatchableMethods[K]>> : never;
78
+ export type BatchedMethodResult<T> = T extends BatchedMethodInternal<infer K> ? Awaited<ReturnType<BatchableMethods[K]>> : never;
88
79
  /**
89
80
  * Wrapper type for batch results that includes the method name for discriminated union deserialization.
90
81
  * Each result is wrapped as \{ name: 'methodName', result: ActualResult \} to allow proper deserialization
91
82
  * when AztecAddress and TxHash would otherwise be ambiguous (both are hex strings).
92
83
  */
93
- export type BatchedMethodResultWrapper<T extends BatchedMethod<keyof BatchableMethods>> = {
84
+ export type BatchedMethodResultWrapper<T extends BatchedMethod> = {
94
85
  /** The method name */
95
86
  name: T['name'];
96
87
  /** The method result */
@@ -99,304 +90,176 @@ export type BatchedMethodResultWrapper<T extends BatchedMethod<keyof BatchableMe
99
90
  /**
100
91
  * Maps a tuple of BatchedMethod to a tuple of their wrapped return types
101
92
  */
102
- export type BatchResults<T extends readonly BatchedMethod<keyof BatchableMethods>[]> = {
93
+ export type BatchResults<T extends readonly BatchedMethod[]> = {
103
94
  [K in keyof T]: BatchedMethodResultWrapper<T[K]>;
104
95
  };
96
+ /**
97
+ * Filter options when querying private events.
98
+ */
99
+ export type PrivateEventFilter = {
100
+ /** The address of the contract that emitted the events. */
101
+ contractAddress: AztecAddress;
102
+ /** Addresses of accounts that are in scope for this filter. */
103
+ scopes: AztecAddress[];
104
+ /** Transaction in which the events were emitted. */
105
+ txHash?: TxHash;
106
+ /** The block number from which to start fetching events (inclusive).
107
+ * Optional. If provided, it must be greater or equal than 1.
108
+ * Defaults to the initial L2 block number (INITIAL_L2_BLOCK_NUM).
109
+ * */
110
+ fromBlock?: BlockNumber;
111
+ /** The block number until which to fetch logs (not inclusive).
112
+ * Optional. If provided, it must be greater than fromBlock.
113
+ * Defaults to the latest known block to PXE + 1.
114
+ */
115
+ toBlock?: BlockNumber;
116
+ };
117
+ /**
118
+ * An ABI decoded private event with associated metadata.
119
+ */
120
+ export type PrivateEvent<T> = {
121
+ /** The ABI decoded event */
122
+ event: T;
123
+ /** Metadata describing event context information such as tx and block */
124
+ metadata: InTx;
125
+ };
126
+ /**
127
+ * Contract metadata including deployment and registration status.
128
+ */
129
+ export type ContractMetadata = {
130
+ /** The contract instance */
131
+ instance?: ContractInstanceWithAddress;
132
+ /** Whether the contract has been initialized (init nullifier exists) */
133
+ isContractInitialized: boolean;
134
+ /** Whether the contract instance is publicly deployed on-chain */
135
+ isContractPublished: boolean;
136
+ /** Whether the contract has been updated to a different class */
137
+ isContractUpdated: boolean;
138
+ /** The updated contract class ID if the contract has been updated */
139
+ updatedContractClassId?: Fr | undefined;
140
+ };
141
+ /**
142
+ * Contract class metadata.
143
+ */
144
+ export type ContractClassMetadata = {
145
+ /** Whether the artifact is registered in the wallet */
146
+ isArtifactRegistered: boolean;
147
+ /** Whether the contract class is publicly registered on-chain */
148
+ isContractClassPubliclyRegistered: boolean;
149
+ };
105
150
  /**
106
151
  * The wallet interface.
107
152
  */
108
153
  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[]>;
154
+ getPrivateEvents<T>(eventMetadata: EventMetadataDefinition, eventFilter: PrivateEventFilter): Promise<PrivateEvent<T>[]>;
112
155
  getChainInfo(): Promise<ChainInfo>;
113
156
  getTxReceipt(txHash: TxHash): Promise<TxReceipt>;
157
+ getContractMetadata(address: AztecAddress): Promise<ContractMetadata>;
158
+ getContractClassMetadata(id: Fr): Promise<ContractClassMetadata>;
114
159
  registerSender(address: AztecAddress, alias?: string): Promise<AztecAddress>;
115
160
  getAddressBook(): Promise<Aliased<AztecAddress>[]>;
116
161
  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>;
162
+ registerContract(instance: ContractInstanceWithAddress, artifact?: ContractArtifact, secretKey?: Fr): Promise<ContractInstanceWithAddress>;
120
163
  simulateTx(exec: ExecutionPayload, opts: SimulateOptions): Promise<TxSimulationResult>;
121
- simulateUtility(functionName: string, args: any[], to: AztecAddress, authwits?: AuthWitness[]): Promise<UtilitySimulationResult>;
164
+ simulateUtility(call: FunctionCall, authwits?: AuthWitness[]): Promise<UtilitySimulationResult>;
122
165
  profileTx(exec: ExecutionPayload, opts: ProfileOptions): Promise<TxProfileResult>;
123
166
  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
+ createAuthWit(from: AztecAddress, messageHashOrIntent: IntentInnerHash | CallIntent): Promise<AuthWitness>;
168
+ batch<const T extends readonly BatchedMethod[]>(methods: T): Promise<BatchResults<T>>;
126
169
  };
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
170
  export declare const FunctionCallSchema: z.ZodObject<{
311
171
  name: z.ZodString;
312
- to: ZodFor<AztecAddress>;
313
- selector: ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
172
+ to: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
173
+ selector: import("@aztec/stdlib/schemas").ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
314
174
  type: z.ZodNativeEnum<typeof FunctionType>;
315
175
  isStatic: z.ZodBoolean;
316
176
  hideMsgSender: z.ZodBoolean;
317
- args: z.ZodArray<ZodFor<Fr>, "many">;
177
+ args: z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<Fr>, "many">;
318
178
  returnTypes: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
319
179
  }, "strip", z.ZodTypeAny, {
320
180
  name: string;
321
- args: Fr[];
322
- type: FunctionType;
323
181
  to: AztecAddress;
324
182
  selector: import("@aztec/stdlib/abi").FunctionSelector;
183
+ type: FunctionType;
325
184
  isStatic: boolean;
326
185
  hideMsgSender: boolean;
186
+ args: Fr[];
327
187
  returnTypes: import("@aztec/stdlib/abi").AbiType[];
328
188
  }, {
329
189
  name: string;
330
- args: any[];
190
+ to?: any;
191
+ selector?: any;
331
192
  type: FunctionType;
332
193
  isStatic: boolean;
333
194
  hideMsgSender: boolean;
195
+ args: any[];
334
196
  returnTypes: import("@aztec/stdlib/abi").AbiType[];
335
- to?: any;
336
- selector?: any;
337
197
  }>;
338
198
  export declare const ExecutionPayloadSchema: z.ZodObject<{
339
199
  calls: z.ZodArray<z.ZodObject<{
340
200
  name: z.ZodString;
341
- to: ZodFor<AztecAddress>;
342
- selector: ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
201
+ to: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
202
+ selector: import("@aztec/stdlib/schemas").ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
343
203
  type: z.ZodNativeEnum<typeof FunctionType>;
344
204
  isStatic: z.ZodBoolean;
345
205
  hideMsgSender: z.ZodBoolean;
346
- args: z.ZodArray<ZodFor<Fr>, "many">;
206
+ args: z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<Fr>, "many">;
347
207
  returnTypes: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
348
208
  }, "strip", z.ZodTypeAny, {
349
209
  name: string;
350
- args: Fr[];
351
- type: FunctionType;
352
210
  to: AztecAddress;
353
211
  selector: import("@aztec/stdlib/abi").FunctionSelector;
212
+ type: FunctionType;
354
213
  isStatic: boolean;
355
214
  hideMsgSender: boolean;
215
+ args: Fr[];
356
216
  returnTypes: import("@aztec/stdlib/abi").AbiType[];
357
217
  }, {
358
218
  name: string;
359
- args: any[];
219
+ to?: any;
220
+ selector?: any;
360
221
  type: FunctionType;
361
222
  isStatic: boolean;
362
223
  hideMsgSender: boolean;
224
+ args: any[];
363
225
  returnTypes: import("@aztec/stdlib/abi").AbiType[];
364
- to?: any;
365
- selector?: any;
366
226
  }>, "many">;
367
227
  authWitnesses: z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">;
368
228
  capsules: z.ZodArray<z.ZodType<Capsule, any, string>, "many">;
369
- extraHashedArgs: z.ZodArray<ZodFor<HashedValues>, "many">;
229
+ extraHashedArgs: z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<HashedValues>, "many">;
230
+ feePayer: import("@aztec/foundation/schemas").ZodNullableOptional<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>>;
370
231
  }, "strip", z.ZodTypeAny, {
371
- authWitnesses: AuthWitness[];
372
- capsules: Capsule[];
373
232
  calls: {
374
233
  name: string;
375
- args: Fr[];
376
- type: FunctionType;
377
234
  to: AztecAddress;
378
235
  selector: import("@aztec/stdlib/abi").FunctionSelector;
236
+ type: FunctionType;
379
237
  isStatic: boolean;
380
238
  hideMsgSender: boolean;
239
+ args: Fr[];
381
240
  returnTypes: import("@aztec/stdlib/abi").AbiType[];
382
241
  }[];
242
+ authWitnesses: AuthWitness[];
243
+ capsules: Capsule[];
383
244
  extraHashedArgs: HashedValues[];
245
+ feePayer?: AztecAddress | undefined;
384
246
  }, {
385
- authWitnesses: string[];
386
- capsules: string[];
387
247
  calls: {
388
248
  name: string;
389
- args: any[];
249
+ to?: any;
250
+ selector?: any;
390
251
  type: FunctionType;
391
252
  isStatic: boolean;
392
253
  hideMsgSender: boolean;
254
+ args: any[];
393
255
  returnTypes: import("@aztec/stdlib/abi").AbiType[];
394
- to?: any;
395
- selector?: any;
396
256
  }[];
257
+ authWitnesses: string[];
258
+ capsules: string[];
397
259
  extraHashedArgs: any[];
260
+ feePayer?: any;
398
261
  }>;
399
- export declare const UserFeeOptionsSchema: z.ZodObject<{
262
+ export declare const GasSettingsOptionSchema: z.ZodObject<{
400
263
  gasSettings: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
401
264
  gasLimits: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
402
265
  daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
@@ -473,9 +336,7 @@ export declare const UserFeeOptionsSchema: z.ZodObject<{
473
336
  feePerL2Gas: string | number | bigint;
474
337
  } | undefined;
475
338
  }>>;
476
- embeddedPaymentMethodFeePayer: import("@aztec/foundation/schemas").ZodNullableOptional<ZodFor<AztecAddress>>;
477
339
  }, "strip", z.ZodTypeAny, {
478
- embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
479
340
  gasSettings?: {
480
341
  gasLimits?: Gas | undefined;
481
342
  teardownGasLimits?: Gas | undefined;
@@ -489,7 +350,6 @@ export declare const UserFeeOptionsSchema: z.ZodObject<{
489
350
  } | undefined;
490
351
  } | undefined;
491
352
  }, {
492
- embeddedPaymentMethodFeePayer?: any;
493
353
  gasSettings?: {
494
354
  gasLimits?: {
495
355
  daGas: string | number | bigint;
@@ -586,12 +446,10 @@ export declare const WalletSimulationFeeOptionSchema: z.ZodObject<{
586
446
  feePerL2Gas: string | number | bigint;
587
447
  } | undefined;
588
448
  }>>;
589
- embeddedPaymentMethodFeePayer: import("@aztec/foundation/schemas").ZodNullableOptional<ZodFor<AztecAddress>>;
590
449
  } & {
591
450
  estimatedGasPadding: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
592
451
  estimateGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
593
452
  }, "strip", z.ZodTypeAny, {
594
- embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
595
453
  gasSettings?: {
596
454
  gasLimits?: Gas | undefined;
597
455
  teardownGasLimits?: Gas | undefined;
@@ -604,10 +462,9 @@ export declare const WalletSimulationFeeOptionSchema: z.ZodObject<{
604
462
  feePerL2Gas: bigint;
605
463
  } | undefined;
606
464
  } | undefined;
607
- estimateGas?: boolean | undefined;
608
465
  estimatedGasPadding?: number | undefined;
466
+ estimateGas?: boolean | undefined;
609
467
  }, {
610
- embeddedPaymentMethodFeePayer?: any;
611
468
  gasSettings?: {
612
469
  gasLimits?: {
613
470
  daGas: string | number | bigint;
@@ -626,11 +483,11 @@ export declare const WalletSimulationFeeOptionSchema: z.ZodObject<{
626
483
  feePerL2Gas: string | number | bigint;
627
484
  } | undefined;
628
485
  } | undefined;
629
- estimateGas?: boolean | undefined;
630
486
  estimatedGasPadding?: number | undefined;
487
+ estimateGas?: boolean | undefined;
631
488
  }>;
632
489
  export declare const SendOptionsSchema: z.ZodObject<{
633
- from: ZodFor<AztecAddress>;
490
+ from: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
634
491
  authWitnesses: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">>;
635
492
  capsules: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodType<Capsule, any, string>, "many">>;
636
493
  fee: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
@@ -710,9 +567,7 @@ export declare const SendOptionsSchema: z.ZodObject<{
710
567
  feePerL2Gas: string | number | bigint;
711
568
  } | undefined;
712
569
  }>>;
713
- embeddedPaymentMethodFeePayer: import("@aztec/foundation/schemas").ZodNullableOptional<ZodFor<AztecAddress>>;
714
570
  }, "strip", z.ZodTypeAny, {
715
- embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
716
571
  gasSettings?: {
717
572
  gasLimits?: Gas | undefined;
718
573
  teardownGasLimits?: Gas | undefined;
@@ -726,7 +581,6 @@ export declare const SendOptionsSchema: z.ZodObject<{
726
581
  } | undefined;
727
582
  } | undefined;
728
583
  }, {
729
- embeddedPaymentMethodFeePayer?: any;
730
584
  gasSettings?: {
731
585
  gasLimits?: {
732
586
  daGas: string | number | bigint;
@@ -748,8 +602,9 @@ export declare const SendOptionsSchema: z.ZodObject<{
748
602
  }>>;
749
603
  }, "strip", z.ZodTypeAny, {
750
604
  from: AztecAddress;
605
+ authWitnesses?: AuthWitness[] | undefined;
606
+ capsules?: Capsule[] | undefined;
751
607
  fee?: {
752
- embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
753
608
  gasSettings?: {
754
609
  gasLimits?: Gas | undefined;
755
610
  teardownGasLimits?: Gas | undefined;
@@ -763,11 +618,11 @@ export declare const SendOptionsSchema: z.ZodObject<{
763
618
  } | undefined;
764
619
  } | undefined;
765
620
  } | undefined;
766
- authWitnesses?: AuthWitness[] | undefined;
767
- capsules?: Capsule[] | undefined;
768
621
  }, {
622
+ from?: any;
623
+ authWitnesses?: string[] | undefined;
624
+ capsules?: string[] | undefined;
769
625
  fee?: {
770
- embeddedPaymentMethodFeePayer?: any;
771
626
  gasSettings?: {
772
627
  gasLimits?: {
773
628
  daGas: string | number | bigint;
@@ -787,12 +642,9 @@ export declare const SendOptionsSchema: z.ZodObject<{
787
642
  } | undefined;
788
643
  } | undefined;
789
644
  } | undefined;
790
- authWitnesses?: string[] | undefined;
791
- capsules?: string[] | undefined;
792
- from?: any;
793
645
  }>;
794
646
  export declare const SimulateOptionsSchema: z.ZodObject<{
795
- from: ZodFor<AztecAddress>;
647
+ from: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
796
648
  authWitnesses: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">>;
797
649
  capsules: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodType<Capsule, any, string>, "many">>;
798
650
  fee: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
@@ -872,12 +724,10 @@ export declare const SimulateOptionsSchema: z.ZodObject<{
872
724
  feePerL2Gas: string | number | bigint;
873
725
  } | undefined;
874
726
  }>>;
875
- embeddedPaymentMethodFeePayer: import("@aztec/foundation/schemas").ZodNullableOptional<ZodFor<AztecAddress>>;
876
727
  } & {
877
728
  estimatedGasPadding: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
878
729
  estimateGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
879
730
  }, "strip", z.ZodTypeAny, {
880
- embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
881
731
  gasSettings?: {
882
732
  gasLimits?: Gas | undefined;
883
733
  teardownGasLimits?: Gas | undefined;
@@ -890,10 +740,9 @@ export declare const SimulateOptionsSchema: z.ZodObject<{
890
740
  feePerL2Gas: bigint;
891
741
  } | undefined;
892
742
  } | undefined;
893
- estimateGas?: boolean | undefined;
894
743
  estimatedGasPadding?: number | undefined;
744
+ estimateGas?: boolean | undefined;
895
745
  }, {
896
- embeddedPaymentMethodFeePayer?: any;
897
746
  gasSettings?: {
898
747
  gasLimits?: {
899
748
  daGas: string | number | bigint;
@@ -912,16 +761,17 @@ export declare const SimulateOptionsSchema: z.ZodObject<{
912
761
  feePerL2Gas: string | number | bigint;
913
762
  } | undefined;
914
763
  } | undefined;
915
- estimateGas?: boolean | undefined;
916
764
  estimatedGasPadding?: number | undefined;
765
+ estimateGas?: boolean | undefined;
917
766
  }>>;
918
767
  skipTxValidation: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
919
768
  skipFeeEnforcement: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
920
769
  includeMetadata: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
921
770
  }, "strip", z.ZodTypeAny, {
922
771
  from: AztecAddress;
772
+ authWitnesses?: AuthWitness[] | undefined;
773
+ capsules?: Capsule[] | undefined;
923
774
  fee?: {
924
- embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
925
775
  gasSettings?: {
926
776
  gasLimits?: Gas | undefined;
927
777
  teardownGasLimits?: Gas | undefined;
@@ -934,17 +784,17 @@ export declare const SimulateOptionsSchema: z.ZodObject<{
934
784
  feePerL2Gas: bigint;
935
785
  } | undefined;
936
786
  } | undefined;
937
- estimateGas?: boolean | undefined;
938
787
  estimatedGasPadding?: number | undefined;
788
+ estimateGas?: boolean | undefined;
939
789
  } | undefined;
940
- authWitnesses?: AuthWitness[] | undefined;
941
- capsules?: Capsule[] | undefined;
942
790
  skipTxValidation?: boolean | undefined;
943
791
  skipFeeEnforcement?: boolean | undefined;
944
792
  includeMetadata?: boolean | undefined;
945
793
  }, {
794
+ from?: any;
795
+ authWitnesses?: string[] | undefined;
796
+ capsules?: string[] | undefined;
946
797
  fee?: {
947
- embeddedPaymentMethodFeePayer?: any;
948
798
  gasSettings?: {
949
799
  gasLimits?: {
950
800
  daGas: string | number | bigint;
@@ -963,18 +813,15 @@ export declare const SimulateOptionsSchema: z.ZodObject<{
963
813
  feePerL2Gas: string | number | bigint;
964
814
  } | undefined;
965
815
  } | undefined;
966
- estimateGas?: boolean | undefined;
967
816
  estimatedGasPadding?: number | undefined;
817
+ estimateGas?: boolean | undefined;
968
818
  } | undefined;
969
- authWitnesses?: string[] | undefined;
970
- capsules?: string[] | undefined;
971
- from?: any;
972
819
  skipTxValidation?: boolean | undefined;
973
820
  skipFeeEnforcement?: boolean | undefined;
974
821
  includeMetadata?: boolean | undefined;
975
822
  }>;
976
823
  export declare const ProfileOptionsSchema: z.ZodObject<{
977
- from: ZodFor<AztecAddress>;
824
+ from: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
978
825
  authWitnesses: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">>;
979
826
  capsules: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodType<Capsule, any, string>, "many">>;
980
827
  fee: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
@@ -1054,12 +901,10 @@ export declare const ProfileOptionsSchema: z.ZodObject<{
1054
901
  feePerL2Gas: string | number | bigint;
1055
902
  } | undefined;
1056
903
  }>>;
1057
- embeddedPaymentMethodFeePayer: import("@aztec/foundation/schemas").ZodNullableOptional<ZodFor<AztecAddress>>;
1058
904
  } & {
1059
905
  estimatedGasPadding: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
1060
906
  estimateGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1061
907
  }, "strip", z.ZodTypeAny, {
1062
- embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
1063
908
  gasSettings?: {
1064
909
  gasLimits?: Gas | undefined;
1065
910
  teardownGasLimits?: Gas | undefined;
@@ -1072,10 +917,9 @@ export declare const ProfileOptionsSchema: z.ZodObject<{
1072
917
  feePerL2Gas: bigint;
1073
918
  } | undefined;
1074
919
  } | undefined;
1075
- estimateGas?: boolean | undefined;
1076
920
  estimatedGasPadding?: number | undefined;
921
+ estimateGas?: boolean | undefined;
1077
922
  }, {
1078
- embeddedPaymentMethodFeePayer?: any;
1079
923
  gasSettings?: {
1080
924
  gasLimits?: {
1081
925
  daGas: string | number | bigint;
@@ -1094,8 +938,8 @@ export declare const ProfileOptionsSchema: z.ZodObject<{
1094
938
  feePerL2Gas: string | number | bigint;
1095
939
  } | undefined;
1096
940
  } | undefined;
1097
- estimateGas?: boolean | undefined;
1098
941
  estimatedGasPadding?: number | undefined;
942
+ estimateGas?: boolean | undefined;
1099
943
  }>>;
1100
944
  skipTxValidation: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1101
945
  skipFeeEnforcement: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
@@ -1105,9 +949,9 @@ export declare const ProfileOptionsSchema: z.ZodObject<{
1105
949
  skipProofGeneration: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1106
950
  }, "strip", z.ZodTypeAny, {
1107
951
  from: AztecAddress;
1108
- profileMode: "gates" | "execution-steps" | "full";
952
+ authWitnesses?: AuthWitness[] | undefined;
953
+ capsules?: Capsule[] | undefined;
1109
954
  fee?: {
1110
- embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
1111
955
  gasSettings?: {
1112
956
  gasLimits?: Gas | undefined;
1113
957
  teardownGasLimits?: Gas | undefined;
@@ -1120,19 +964,19 @@ export declare const ProfileOptionsSchema: z.ZodObject<{
1120
964
  feePerL2Gas: bigint;
1121
965
  } | undefined;
1122
966
  } | undefined;
1123
- estimateGas?: boolean | undefined;
1124
967
  estimatedGasPadding?: number | undefined;
968
+ estimateGas?: boolean | undefined;
1125
969
  } | undefined;
1126
- authWitnesses?: AuthWitness[] | undefined;
1127
- capsules?: Capsule[] | undefined;
1128
970
  skipTxValidation?: boolean | undefined;
1129
971
  skipFeeEnforcement?: boolean | undefined;
1130
972
  includeMetadata?: boolean | undefined;
973
+ profileMode: "execution-steps" | "full" | "gates";
1131
974
  skipProofGeneration?: boolean | undefined;
1132
975
  }, {
1133
- profileMode: "gates" | "execution-steps" | "full";
976
+ from?: any;
977
+ authWitnesses?: string[] | undefined;
978
+ capsules?: string[] | undefined;
1134
979
  fee?: {
1135
- embeddedPaymentMethodFeePayer?: any;
1136
980
  gasSettings?: {
1137
981
  gasLimits?: {
1138
982
  daGas: string | number | bigint;
@@ -1151,466 +995,136 @@ export declare const ProfileOptionsSchema: z.ZodObject<{
1151
995
  feePerL2Gas: string | number | bigint;
1152
996
  } | undefined;
1153
997
  } | undefined;
1154
- estimateGas?: boolean | undefined;
1155
998
  estimatedGasPadding?: number | undefined;
999
+ estimateGas?: boolean | undefined;
1156
1000
  } | undefined;
1157
- authWitnesses?: string[] | undefined;
1158
- capsules?: string[] | undefined;
1159
- from?: any;
1160
1001
  skipTxValidation?: boolean | undefined;
1161
1002
  skipFeeEnforcement?: boolean | undefined;
1162
1003
  includeMetadata?: boolean | undefined;
1004
+ profileMode: "execution-steps" | "full" | "gates";
1163
1005
  skipProofGeneration?: boolean | undefined;
1164
1006
  }>;
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>]>;
1007
+ export declare const MessageHashOrIntentSchema: z.ZodUnion<[z.ZodObject<{
1008
+ consumer: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
1009
+ innerHash: import("@aztec/stdlib/schemas").ZodFor<Fr>;
1519
1010
  }, "strip", z.ZodTypeAny, {
1520
1011
  consumer: AztecAddress;
1521
- innerHash: Fr | Buffer<ArrayBuffer>;
1012
+ innerHash: Fr;
1522
1013
  }, {
1523
1014
  consumer?: any;
1524
1015
  innerHash?: any;
1525
1016
  }>, z.ZodObject<{
1526
- caller: ZodFor<AztecAddress>;
1017
+ caller: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
1527
1018
  call: z.ZodObject<{
1528
1019
  name: z.ZodString;
1529
- to: ZodFor<AztecAddress>;
1530
- selector: ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
1020
+ to: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
1021
+ selector: import("@aztec/stdlib/schemas").ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
1531
1022
  type: z.ZodNativeEnum<typeof FunctionType>;
1532
1023
  isStatic: z.ZodBoolean;
1533
1024
  hideMsgSender: z.ZodBoolean;
1534
- args: z.ZodArray<ZodFor<Fr>, "many">;
1025
+ args: z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<Fr>, "many">;
1535
1026
  returnTypes: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
1536
1027
  }, "strip", z.ZodTypeAny, {
1537
1028
  name: string;
1538
- args: Fr[];
1539
- type: FunctionType;
1540
1029
  to: AztecAddress;
1541
1030
  selector: import("@aztec/stdlib/abi").FunctionSelector;
1031
+ type: FunctionType;
1542
1032
  isStatic: boolean;
1543
1033
  hideMsgSender: boolean;
1034
+ args: Fr[];
1544
1035
  returnTypes: import("@aztec/stdlib/abi").AbiType[];
1545
1036
  }, {
1546
1037
  name: string;
1547
- args: any[];
1038
+ to?: any;
1039
+ selector?: any;
1548
1040
  type: FunctionType;
1549
1041
  isStatic: boolean;
1550
1042
  hideMsgSender: boolean;
1043
+ args: any[];
1551
1044
  returnTypes: import("@aztec/stdlib/abi").AbiType[];
1552
- to?: any;
1553
- selector?: any;
1554
1045
  }>;
1555
1046
  }, "strip", z.ZodTypeAny, {
1556
1047
  caller: AztecAddress;
1557
1048
  call: {
1558
1049
  name: string;
1559
- args: Fr[];
1560
- type: FunctionType;
1561
1050
  to: AztecAddress;
1562
1051
  selector: import("@aztec/stdlib/abi").FunctionSelector;
1052
+ type: FunctionType;
1563
1053
  isStatic: boolean;
1564
1054
  hideMsgSender: boolean;
1055
+ args: Fr[];
1565
1056
  returnTypes: import("@aztec/stdlib/abi").AbiType[];
1566
1057
  };
1567
1058
  }, {
1059
+ caller?: any;
1568
1060
  call: {
1569
1061
  name: string;
1570
- args: any[];
1062
+ to?: any;
1063
+ selector?: any;
1571
1064
  type: FunctionType;
1572
1065
  isStatic: boolean;
1573
1066
  hideMsgSender: boolean;
1067
+ args: any[];
1574
1068
  returnTypes: import("@aztec/stdlib/abi").AbiType[];
1575
- to?: any;
1576
- selector?: any;
1577
1069
  };
1578
- caller?: any;
1579
1070
  }>]>;
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>;
1071
+ export declare const EventMetadataDefinitionSchema: z.ZodObject<{
1072
+ eventSelector: z.ZodType<import("@aztec/stdlib/abi").EventSelector, any, string>;
1073
+ abiType: z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>;
1074
+ fieldNames: z.ZodArray<z.ZodString, "many">;
1583
1075
  }, "strip", z.ZodTypeAny, {
1584
- name: "registerSender";
1585
- args: [AztecAddress, string | undefined];
1076
+ eventSelector: import("@aztec/stdlib/abi").EventSelector;
1077
+ abiType: import("@aztec/stdlib/abi").AbiType;
1078
+ fieldNames: string[];
1586
1079
  }, {
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<{
1080
+ eventSelector: string;
1081
+ abiType: import("@aztec/stdlib/abi").AbiType;
1082
+ fieldNames: string[];
1083
+ }>;
1084
+ export declare const PrivateEventSchema: z.ZodType<any>;
1085
+ export declare const PrivateEventFilterSchema: z.ZodObject<{
1086
+ contractAddress: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
1087
+ scopes: z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">;
1088
+ 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>>;
1089
+ fromBlock: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodPipeline<z.ZodUnion<[z.ZodNumber, z.ZodBigInt, z.ZodString]>, z.ZodNumber>, BlockNumber, string | number | bigint>>;
1090
+ toBlock: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodPipeline<z.ZodUnion<[z.ZodNumber, z.ZodBigInt, z.ZodString]>, z.ZodNumber>, BlockNumber, string | number | bigint>>;
1091
+ }, "strip", z.ZodTypeAny, {
1092
+ contractAddress: AztecAddress;
1093
+ scopes: AztecAddress[];
1094
+ txHash?: TxHash | undefined;
1095
+ fromBlock?: BlockNumber | undefined;
1096
+ toBlock?: BlockNumber | undefined;
1097
+ }, {
1098
+ contractAddress?: any;
1099
+ scopes: any[];
1100
+ txHash?: string | undefined;
1101
+ fromBlock?: string | number | bigint | undefined;
1102
+ toBlock?: string | number | bigint | undefined;
1103
+ }>;
1104
+ export declare const ContractMetadataSchema: z.ZodObject<{
1105
+ instance: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodIntersection<z.ZodObject<{
1592
1106
  version: z.ZodLiteral<1>;
1593
- salt: ZodFor<Fr>;
1594
- deployer: ZodFor<AztecAddress>;
1595
- currentContractClassId: ZodFor<Fr>;
1596
- originalContractClassId: ZodFor<Fr>;
1597
- initializationHash: ZodFor<Fr>;
1107
+ salt: import("@aztec/stdlib/schemas").ZodFor<Fr>;
1108
+ deployer: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
1109
+ currentContractClassId: import("@aztec/stdlib/schemas").ZodFor<Fr>;
1110
+ originalContractClassId: import("@aztec/stdlib/schemas").ZodFor<Fr>;
1111
+ initializationHash: import("@aztec/stdlib/schemas").ZodFor<Fr>;
1598
1112
  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>;
1113
+ masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/schemas").Point, any, string>;
1114
+ masterIncomingViewingPublicKey: z.ZodType<import("@aztec/foundation/schemas").Point, any, string>;
1115
+ masterOutgoingViewingPublicKey: z.ZodType<import("@aztec/foundation/schemas").Point, any, string>;
1116
+ masterTaggingPublicKey: z.ZodType<import("@aztec/foundation/schemas").Point, any, string>;
1603
1117
  }, "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;
1118
+ masterNullifierPublicKey: import("@aztec/foundation/schemas").Point;
1119
+ masterIncomingViewingPublicKey: import("@aztec/foundation/schemas").Point;
1120
+ masterOutgoingViewingPublicKey: import("@aztec/foundation/schemas").Point;
1121
+ masterTaggingPublicKey: import("@aztec/foundation/schemas").Point;
1608
1122
  }, {
1609
1123
  masterNullifierPublicKey: string;
1610
1124
  masterIncomingViewingPublicKey: string;
1611
1125
  masterOutgoingViewingPublicKey: string;
1612
1126
  masterTaggingPublicKey: string;
1613
- }>, PublicKeys, {
1127
+ }>, import("@aztec/stdlib/keys").PublicKeys, {
1614
1128
  masterNullifierPublicKey: string;
1615
1129
  masterIncomingViewingPublicKey: string;
1616
1130
  masterOutgoingViewingPublicKey: string;
@@ -1623,856 +1137,116 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
1623
1137
  currentContractClassId: Fr;
1624
1138
  originalContractClassId: Fr;
1625
1139
  initializationHash: Fr;
1626
- publicKeys: PublicKeys;
1140
+ publicKeys: import("@aztec/stdlib/keys").PublicKeys;
1627
1141
  }, {
1628
1142
  version: 1;
1629
- publicKeys: {
1630
- masterNullifierPublicKey: string;
1631
- masterIncomingViewingPublicKey: string;
1632
- masterOutgoingViewingPublicKey: string;
1633
- masterTaggingPublicKey: string;
1634
- };
1635
1143
  salt?: any;
1636
1144
  deployer?: any;
1637
1145
  currentContractClassId?: any;
1638
1146
  originalContractClassId?: any;
1639
1147
  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
1148
  publicKeys: {
2328
1149
  masterNullifierPublicKey: string;
2329
1150
  masterIncomingViewingPublicKey: string;
2330
1151
  masterOutgoingViewingPublicKey: string;
2331
1152
  masterTaggingPublicKey: string;
2332
1153
  };
2333
- salt?: any;
2334
- deployer?: any;
2335
- currentContractClassId?: any;
2336
- originalContractClassId?: any;
2337
- initializationHash?: any;
2338
1154
  }>, z.ZodObject<{
2339
- address: ZodFor<AztecAddress>;
1155
+ address: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
2340
1156
  }, "strip", z.ZodTypeAny, {
2341
1157
  address: AztecAddress;
2342
1158
  }, {
2343
1159
  address?: any;
2344
- }>>, z.ZodUndefined]>;
1160
+ }>>>;
2345
1161
  isContractInitialized: z.ZodBoolean;
2346
1162
  isContractPublished: z.ZodBoolean;
1163
+ isContractUpdated: z.ZodBoolean;
1164
+ updatedContractClassId: import("@aztec/foundation/schemas").ZodNullableOptional<import("@aztec/stdlib/schemas").ZodFor<Fr>>;
2347
1165
  }, "strip", z.ZodTypeAny, {
2348
- isContractInitialized: boolean;
2349
- isContractPublished: boolean;
2350
- contractInstance?: ({
1166
+ instance?: ({
2351
1167
  version: 1;
2352
1168
  salt: Fr;
2353
1169
  deployer: AztecAddress;
2354
1170
  currentContractClassId: Fr;
2355
1171
  originalContractClassId: Fr;
2356
1172
  initializationHash: Fr;
2357
- publicKeys: PublicKeys;
1173
+ publicKeys: import("@aztec/stdlib/keys").PublicKeys;
2358
1174
  } & {
2359
1175
  address: AztecAddress;
2360
1176
  }) | undefined;
2361
- }, {
2362
1177
  isContractInitialized: boolean;
2363
1178
  isContractPublished: boolean;
2364
- contractInstance?: ({
1179
+ isContractUpdated: boolean;
1180
+ updatedContractClassId?: Fr | undefined;
1181
+ }, {
1182
+ instance?: ({
2365
1183
  version: 1;
1184
+ salt?: any;
1185
+ deployer?: any;
1186
+ currentContractClassId?: any;
1187
+ originalContractClassId?: any;
1188
+ initializationHash?: any;
2366
1189
  publicKeys: {
2367
1190
  masterNullifierPublicKey: string;
2368
1191
  masterIncomingViewingPublicKey: string;
2369
1192
  masterOutgoingViewingPublicKey: string;
2370
1193
  masterTaggingPublicKey: string;
2371
1194
  };
2372
- salt?: any;
2373
- deployer?: any;
2374
- currentContractClassId?: any;
2375
- originalContractClassId?: any;
2376
- initializationHash?: any;
2377
1195
  } & {
2378
1196
  address?: any;
2379
1197
  }) | undefined;
1198
+ isContractInitialized: boolean;
1199
+ isContractPublished: boolean;
1200
+ isContractUpdated: boolean;
1201
+ updatedContractClassId?: any;
2380
1202
  }>;
2381
1203
  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]>;
1204
+ isArtifactRegistered: z.ZodBoolean;
2432
1205
  isContractClassPubliclyRegistered: z.ZodBoolean;
2433
- artifact: z.ZodUnion<[ZodFor<ContractArtifact>, z.ZodUndefined]>;
2434
1206
  }, "strip", z.ZodTypeAny, {
1207
+ isArtifactRegistered: boolean;
2435
1208
  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
1209
  }, {
1210
+ isArtifactRegistered: boolean;
2448
1211
  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
1212
  }>;
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">;
1213
+ declare const BatchedMethodSchema: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
1214
+ name: z.ZodLiteral<"createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "getTxReceipt" | "profileTx" | "registerContract" | "registerSender" | "sendTx" | "simulateTx" | "simulateUtility">;
1215
+ args: z.ZodTuple<any, any>;
2468
1216
  }, "strip", z.ZodTypeAny, {
2469
- eventSelector: import("@aztec/stdlib/abi").EventSelector;
2470
- abiType: import("@aztec/stdlib/abi").AbiType;
2471
- fieldNames: string[];
1217
+ name: "createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "getTxReceipt" | "profileTx" | "registerContract" | "registerSender" | "sendTx" | "simulateTx" | "simulateUtility";
1218
+ args: any[];
2472
1219
  }, {
2473
- eventSelector: string;
2474
- abiType: import("@aztec/stdlib/abi").AbiType;
2475
- fieldNames: string[];
2476
- }>;
1220
+ name: "createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "getTxReceipt" | "profileTx" | "registerContract" | "registerSender" | "sendTx" | "simulateTx" | "simulateUtility";
1221
+ args: any[];
1222
+ }>, ...z.ZodObject<{
1223
+ name: z.ZodLiteral<"createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "getTxReceipt" | "profileTx" | "registerContract" | "registerSender" | "sendTx" | "simulateTx" | "simulateUtility">;
1224
+ args: z.ZodTuple<any, any>;
1225
+ }, "strip", z.ZodTypeAny, {
1226
+ name: "createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "getTxReceipt" | "profileTx" | "registerContract" | "registerSender" | "sendTx" | "simulateTx" | "simulateUtility";
1227
+ args: any[];
1228
+ }, {
1229
+ name: "createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "getTxReceipt" | "profileTx" | "registerContract" | "registerSender" | "sendTx" | "simulateTx" | "simulateUtility";
1230
+ args: any[];
1231
+ }>[]]>, BatchedResultSchema: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
1232
+ name: z.ZodLiteral<"createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "getTxReceipt" | "profileTx" | "registerContract" | "registerSender" | "sendTx" | "simulateTx" | "simulateUtility">;
1233
+ result: z.ZodTypeAny;
1234
+ }, "strip", z.ZodTypeAny, {
1235
+ name: "createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "getTxReceipt" | "profileTx" | "registerContract" | "registerSender" | "sendTx" | "simulateTx" | "simulateUtility";
1236
+ result?: any;
1237
+ }, {
1238
+ name: "createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "getTxReceipt" | "profileTx" | "registerContract" | "registerSender" | "sendTx" | "simulateTx" | "simulateUtility";
1239
+ result?: any;
1240
+ }>, ...z.ZodObject<{
1241
+ name: z.ZodLiteral<"createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "getTxReceipt" | "profileTx" | "registerContract" | "registerSender" | "sendTx" | "simulateTx" | "simulateUtility">;
1242
+ result: z.ZodTypeAny;
1243
+ }, "strip", z.ZodTypeAny, {
1244
+ name: "createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "getTxReceipt" | "profileTx" | "registerContract" | "registerSender" | "sendTx" | "simulateTx" | "simulateUtility";
1245
+ result?: any;
1246
+ }, {
1247
+ name: "createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "getTxReceipt" | "profileTx" | "registerContract" | "registerSender" | "sendTx" | "simulateTx" | "simulateUtility";
1248
+ result?: any;
1249
+ }>[]]>;
1250
+ export { BatchedMethodSchema, BatchedResultSchema };
2477
1251
  export declare const WalletSchema: ApiSchemaFor<Wallet>;
2478
- //# sourceMappingURL=wallet.d.ts.map
1252
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2FsbGV0LmQudHMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvd2FsbGV0L3dhbGxldC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssRUFBRSxTQUFTLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQztBQUMvRCxPQUFPLEVBQUUsV0FBVyxFQUE2QixNQUFNLGlDQUFpQyxDQUFDO0FBQ3pGLE9BQU8sS0FBSyxFQUFFLEVBQUUsRUFBRSxNQUFNLGdDQUFnQyxDQUFDO0FBQ3pELE9BQU8sRUFHTCxLQUFLLGdCQUFnQixFQUVyQixLQUFLLHVCQUF1QixFQUM1QixLQUFLLFlBQVksRUFDakIsWUFBWSxFQUNiLE1BQU0sbUJBQW1CLENBQUM7QUFDM0IsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLDRCQUE0QixDQUFDO0FBQ3pELE9BQU8sS0FBSyxFQUFFLFlBQVksRUFBRSxNQUFNLDZCQUE2QixDQUFDO0FBQ2hFLE9BQU8sRUFBRSxLQUFLLDJCQUEyQixFQUFxQyxNQUFNLHdCQUF3QixDQUFDO0FBQzdHLE9BQU8sRUFBRSxHQUFHLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUN4QyxPQUFPLEVBQW9CLEtBQUssWUFBWSxFQUE2QixNQUFNLHVCQUF1QixDQU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