@aztec/aztec.js 0.0.1-commit.d3ec352c → 0.0.1-commit.d6f2b3f94

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