@aztec/aztec.js 0.0.1-commit.c7c42ec → 0.0.1-commit.cd76b27

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 (197) 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 +8 -9
  5. package/dest/account/account_contract.d.ts.map +1 -1
  6. package/dest/account/account_with_secret_key.d.ts +19 -7
  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 +3 -2
  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 +5 -6
  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 +2 -1
  31. package/dest/api/fields.d.ts.map +1 -1
  32. package/dest/api/fields.js +1 -0
  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 +22 -1
  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 +3 -3
  53. package/dest/contract/batch_call.d.ts.map +1 -1
  54. package/dest/contract/batch_call.js +11 -6
  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 +10 -7
  60. package/dest/contract/deploy_method.d.ts +63 -16
  61. package/dest/contract/deploy_method.d.ts.map +1 -1
  62. package/dest/contract/deploy_method.js +41 -23
  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 +36 -0
  67. package/dest/contract/protocol_contracts/auth-registry.d.ts.map +1 -0
  68. package/dest/contract/protocol_contracts/auth-registry.js +989 -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 +139 -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 +2 -2
  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 +6 -3
  95. package/dest/ethereum/portal_manager.d.ts.map +1 -1
  96. package/dest/ethereum/portal_manager.js +10 -10
  97. package/dest/fee/fee_juice_payment_method_with_claim.js +6 -6
  98. package/dest/fee/private_fee_payment_method.js +10 -10
  99. package/dest/fee/public_fee_payment_method.js +10 -10
  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/authwit.d.ts +8 -6
  105. package/dest/utils/authwit.d.ts.map +1 -1
  106. package/dest/utils/authwit.js +5 -9
  107. package/dest/utils/node.d.ts +12 -1
  108. package/dest/utils/node.d.ts.map +1 -1
  109. package/dest/utils/node.js +46 -0
  110. package/dest/wallet/account_entrypoint_meta_payment_method.d.ts +5 -8
  111. package/dest/wallet/account_entrypoint_meta_payment_method.d.ts.map +1 -1
  112. package/dest/wallet/account_entrypoint_meta_payment_method.js +28 -43
  113. package/dest/wallet/account_manager.d.ts +5 -8
  114. package/dest/wallet/account_manager.d.ts.map +1 -1
  115. package/dest/wallet/account_manager.js +5 -11
  116. package/dest/wallet/capabilities.d.ts +444 -0
  117. package/dest/wallet/capabilities.d.ts.map +1 -0
  118. package/dest/wallet/capabilities.js +3 -0
  119. package/dest/wallet/deploy_account_method.d.ts +34 -6
  120. package/dest/wallet/deploy_account_method.d.ts.map +1 -1
  121. package/dest/wallet/deploy_account_method.js +7 -5
  122. package/dest/wallet/index.d.ts +2 -1
  123. package/dest/wallet/index.d.ts.map +1 -1
  124. package/dest/wallet/index.js +1 -0
  125. package/dest/wallet/wallet.d.ts +1602 -2496
  126. package/dest/wallet/wallet.d.ts.map +1 -1
  127. package/dest/wallet/wallet.js +204 -107
  128. package/package.json +24 -13
  129. package/src/account/account.ts +34 -58
  130. package/src/account/account_contract.ts +6 -7
  131. package/src/account/account_with_secret_key.ts +33 -8
  132. package/src/account/index.ts +2 -1
  133. package/src/account/signerless_account.ts +13 -12
  134. package/src/api/account.ts +9 -3
  135. package/src/api/authorization.ts +1 -0
  136. package/src/api/contract.ts +24 -9
  137. package/src/api/deployment.ts +0 -1
  138. package/src/api/events.ts +35 -27
  139. package/src/api/fields.ts +1 -0
  140. package/src/api/keys.ts +2 -2
  141. package/src/api/node.ts +7 -3
  142. package/src/api/protocol.ts +7 -0
  143. package/src/api/tx.ts +2 -0
  144. package/src/api/wallet.ts +48 -3
  145. package/src/contract/base_contract_interaction.ts +27 -15
  146. package/src/contract/batch_call.ts +10 -13
  147. package/src/contract/contract_function_interaction.ts +17 -7
  148. package/src/contract/deploy_method.ts +122 -29
  149. package/src/contract/interaction_options.ts +49 -4
  150. package/src/contract/protocol_contracts/auth-registry.ts +549 -0
  151. package/src/contract/protocol_contracts/contract-class-registry.ts +99 -0
  152. package/src/contract/protocol_contracts/contract-instance-registry.ts +302 -0
  153. package/src/contract/protocol_contracts/fee-juice.ts +264 -0
  154. package/src/contract/protocol_contracts/multi-call-entrypoint.ts +332 -0
  155. package/src/contract/protocol_contracts/public-checks.ts +316 -0
  156. package/src/contract/wait_for_proven.ts +1 -1
  157. package/src/contract/wait_opts.ts +21 -0
  158. package/src/deployment/publish_class.ts +2 -2
  159. package/src/deployment/publish_instance.ts +3 -6
  160. package/src/ethereum/portal_manager.ts +9 -8
  161. package/src/fee/fee_juice_payment_method_with_claim.ts +5 -5
  162. package/src/fee/private_fee_payment_method.ts +7 -7
  163. package/src/fee/public_fee_payment_method.ts +8 -8
  164. package/src/fee/sponsored_fee_payment.ts +3 -3
  165. package/src/scripts/generate_protocol_contract_types.ts +150 -0
  166. package/src/utils/authwit.ts +19 -7
  167. package/src/utils/node.ts +62 -0
  168. package/src/wallet/account_entrypoint_meta_payment_method.ts +28 -60
  169. package/src/wallet/account_manager.ts +5 -13
  170. package/src/wallet/capabilities.ts +491 -0
  171. package/src/wallet/deploy_account_method.ts +37 -13
  172. package/src/wallet/index.ts +1 -0
  173. package/src/wallet/wallet.ts +341 -130
  174. package/dest/account/interface.d.ts +0 -19
  175. package/dest/account/interface.d.ts.map +0 -1
  176. package/dest/account/interface.js +0 -5
  177. package/dest/contract/deploy_sent_tx.d.ts +0 -48
  178. package/dest/contract/deploy_sent_tx.d.ts.map +0 -1
  179. package/dest/contract/deploy_sent_tx.js +0 -46
  180. package/dest/contract/protocol_contracts.d.ts +0 -9
  181. package/dest/contract/protocol_contracts.d.ts.map +0 -1
  182. package/dest/contract/protocol_contracts.js +0 -26
  183. package/dest/contract/sent_tx.d.ts +0 -50
  184. package/dest/contract/sent_tx.d.ts.map +0 -1
  185. package/dest/contract/sent_tx.js +0 -90
  186. package/dest/contract/unsafe_contract.d.ts +0 -15
  187. package/dest/contract/unsafe_contract.d.ts.map +0 -1
  188. package/dest/contract/unsafe_contract.js +0 -6
  189. package/dest/deployment/broadcast_function.d.ts +0 -24
  190. package/dest/deployment/broadcast_function.d.ts.map +0 -1
  191. package/dest/deployment/broadcast_function.js +0 -74
  192. package/src/account/interface.ts +0 -25
  193. package/src/contract/deploy_sent_tx.ts +0 -75
  194. package/src/contract/protocol_contracts.ts +0 -35
  195. package/src/contract/sent_tx.ts +0 -129
  196. package/src/contract/unsafe_contract.ts +0 -19
  197. package/src/deployment/broadcast_function.ts +0 -148
@@ -1,17 +1,18 @@
1
1
  import type { ChainInfo } from '@aztec/entrypoints/interfaces';
2
2
  import { BlockNumber } from '@aztec/foundation/branded-types';
3
3
  import type { Fr } from '@aztec/foundation/curves/bn254';
4
- import { type ContractArtifact, type EventMetadataDefinition, type FunctionCall, FunctionType } from '@aztec/stdlib/abi';
4
+ import { type AbiDecoded, type ContractArtifact, type EventMetadataDefinition, FunctionCall } from '@aztec/stdlib/abi';
5
5
  import { AuthWitness } from '@aztec/stdlib/auth-witness';
6
6
  import type { AztecAddress } from '@aztec/stdlib/aztec-address';
7
- import { type ContractClassMetadata, type ContractInstanceWithAddress, type ContractMetadata } from '@aztec/stdlib/contract';
7
+ import { type ContractInstanceWithAddress } from '@aztec/stdlib/contract';
8
8
  import { Gas } from '@aztec/stdlib/gas';
9
9
  import { type ApiSchemaFor } from '@aztec/stdlib/schemas';
10
- import { Capsule, HashedValues, TxHash, TxProfileResult, TxReceipt, TxSimulationResult, UtilitySimulationResult } from '@aztec/stdlib/tx';
11
10
  import type { ExecutionPayload, InTx } from '@aztec/stdlib/tx';
11
+ import { Capsule, HashedValues, TxHash, TxProfileResult, TxSimulationResult, UtilityExecutionResult } from '@aztec/stdlib/tx';
12
12
  import { z } from 'zod';
13
- import type { 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';
14
14
  import type { CallIntent, IntentInnerHash } from '../utils/authwit.js';
15
+ import type { AppCapabilities, WalletCapabilities } from './capabilities.js';
15
16
  /**
16
17
  * A wrapper type that allows any item to be associated with an alias.
17
18
  */
@@ -27,7 +28,7 @@ export type Aliased<T> = {
27
28
  };
28
29
  /**
29
30
  * Options for simulating interactions with the wallet. Overrides the fee settings of an interaction with
30
- * 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
31
32
  * fee payment method or not
32
33
  */
33
34
  export type SimulateOptions = Omit<SimulateInteractionOptions, 'fee'> & {
@@ -36,7 +37,7 @@ export type SimulateOptions = Omit<SimulateInteractionOptions, 'fee'> & {
36
37
  };
37
38
  /**
38
39
  * Options for profiling interactions with the wallet. Overrides the fee settings of an interaction with
39
- * 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
40
41
  * fee payment method or not
41
42
  */
42
43
  export type ProfileOptions = Omit<ProfileInteractionOptions, 'fee'> & {
@@ -45,37 +46,45 @@ export type ProfileOptions = Omit<ProfileInteractionOptions, 'fee'> & {
45
46
  };
46
47
  /**
47
48
  * Options for sending/proving interactions with the wallet. Overrides the fee settings of an interaction with
48
- * 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
49
50
  * fee payment method or not
50
51
  */
51
- export type SendOptions = Omit<SendInteractionOptions, 'fee'> & {
52
+ export type SendOptions<W extends InteractionWaitOptions = undefined> = Omit<SendInteractionOptionsWithoutWait, 'fee'> & {
52
53
  /** The fee options */
53
54
  fee?: GasSettingsOption;
55
+ /** Whether to wait for the transaction to be mined */
56
+ wait?: W;
54
57
  };
55
58
  /**
56
- * 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).
57
60
  */
58
- export type BatchableMethods = Pick<Wallet, 'registerContract' | 'sendTx' | 'registerSender' | 'simulateUtility' | 'simulateTx'>;
61
+ export type BatchableMethods = Omit<Wallet, 'batch'>;
59
62
  /**
60
- * From the batchable methods, we create a type that represents a method call with its name and arguments.
61
- * This is what the wallet will accept as arguments to the `batch` method.
63
+ * A method call with its name and arguments.
62
64
  */
63
- export type BatchedMethod<T extends keyof BatchableMethods> = {
65
+ type BatchedMethodInternal<T extends keyof BatchableMethods> = {
64
66
  /** The method name */
65
67
  name: T;
66
68
  /** The method arguments */
67
69
  args: Parameters<BatchableMethods[T]>;
68
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];
69
78
  /**
70
79
  * Helper type to extract the return type of a batched method
71
80
  */
72
- 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;
73
82
  /**
74
83
  * Wrapper type for batch results that includes the method name for discriminated union deserialization.
75
84
  * Each result is wrapped as \{ name: 'methodName', result: ActualResult \} to allow proper deserialization
76
85
  * when AztecAddress and TxHash would otherwise be ambiguous (both are hex strings).
77
86
  */
78
- export type BatchedMethodResultWrapper<T extends BatchedMethod<keyof BatchableMethods>> = {
87
+ export type BatchedMethodResultWrapper<T extends BatchedMethod> = {
79
88
  /** The method name */
80
89
  name: T['name'];
81
90
  /** The method result */
@@ -84,93 +93,120 @@ export type BatchedMethodResultWrapper<T extends BatchedMethod<keyof BatchableMe
84
93
  /**
85
94
  * Maps a tuple of BatchedMethod to a tuple of their wrapped return types
86
95
  */
87
- export type BatchResults<T extends readonly BatchedMethod<keyof BatchableMethods>[]> = {
96
+ export type BatchResults<T extends readonly BatchedMethod[]> = {
88
97
  [K in keyof T]: BatchedMethodResultWrapper<T[K]>;
89
98
  };
90
99
  /**
91
- * Filter options when querying private events.
100
+ * Base filter options for event queries.
92
101
  */
93
- export type PrivateEventFilter = {
94
- /** The address of the contract that emitted the events. */
95
- contractAddress: AztecAddress;
96
- /** Addresses of accounts that are in scope for this filter. */
97
- scopes: AztecAddress[];
102
+ export type EventFilterBase = {
98
103
  /** Transaction in which the events were emitted. */
99
104
  txHash?: TxHash;
100
105
  /** The block number from which to start fetching events (inclusive).
101
106
  * Optional. If provided, it must be greater or equal than 1.
102
107
  * Defaults to the initial L2 block number (INITIAL_L2_BLOCK_NUM).
103
- * */
108
+ */
104
109
  fromBlock?: BlockNumber;
105
110
  /** The block number until which to fetch logs (not inclusive).
106
111
  * Optional. If provided, it must be greater than fromBlock.
107
- * Defaults to the latest known block to PXE + 1.
108
112
  */
109
113
  toBlock?: BlockNumber;
110
114
  };
111
115
  /**
112
- * An ABI decoded private event with associated metadata.
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.
113
126
  */
114
- export type PrivateEvent<T> = {
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> = {
115
137
  /** The ABI decoded event */
116
138
  event: T;
117
139
  /** Metadata describing event context information such as tx and block */
118
- metadata: InTx;
140
+ metadata: InTx & M;
141
+ };
142
+ /** An ABI decoded private event with associated metadata. */
143
+ export type PrivateEvent<T> = Event<T>;
144
+ /** An ABI decoded public event with associated metadata (includes contract address). */
145
+ export type PublicEvent<T> = Event<T, {
146
+ /**
147
+ * Address of the contract that emitted this event
148
+ */
149
+ contractAddress: AztecAddress;
150
+ }>;
151
+ /**
152
+ * Contract metadata including deployment and registration status.
153
+ */
154
+ export type ContractMetadata = {
155
+ /** The contract instance */
156
+ instance?: ContractInstanceWithAddress;
157
+ /** Whether the contract has been initialized (init nullifier exists) */
158
+ isContractInitialized: boolean;
159
+ /** Whether the contract instance is publicly deployed on-chain */
160
+ isContractPublished: boolean;
161
+ /** Whether the contract has been updated to a different class */
162
+ isContractUpdated: boolean;
163
+ /** The updated contract class ID if the contract has been updated */
164
+ updatedContractClassId?: Fr | undefined;
165
+ };
166
+ /**
167
+ * Contract class metadata.
168
+ */
169
+ export type ContractClassMetadata = {
170
+ /** Whether the artifact is registered in the wallet */
171
+ isArtifactRegistered: boolean;
172
+ /** Whether the contract class is publicly registered on-chain */
173
+ isContractClassPubliclyRegistered: boolean;
174
+ };
175
+ /**
176
+ * Options for executing a utility function call.
177
+ */
178
+ export type ExecuteUtilityOptions = {
179
+ /** The scope for the utility execution (determines which notes and keys are visible). */
180
+ scope: AztecAddress;
181
+ /** Optional auth witnesses to use during execution. */
182
+ authWitnesses?: AuthWitness[];
119
183
  };
120
184
  /**
121
185
  * The wallet interface.
122
186
  */
123
187
  export type Wallet = {
124
- getContractClassMetadata(id: Fr, includeArtifact?: boolean): Promise<ContractClassMetadata>;
125
- getContractMetadata(address: AztecAddress): Promise<ContractMetadata>;
126
188
  getPrivateEvents<T>(eventMetadata: EventMetadataDefinition, eventFilter: PrivateEventFilter): Promise<PrivateEvent<T>[]>;
127
189
  getChainInfo(): Promise<ChainInfo>;
128
- getTxReceipt(txHash: TxHash): Promise<TxReceipt>;
190
+ getContractMetadata(address: AztecAddress): Promise<ContractMetadata>;
191
+ getContractClassMetadata(id: Fr): Promise<ContractClassMetadata>;
129
192
  registerSender(address: AztecAddress, alias?: string): Promise<AztecAddress>;
130
193
  getAddressBook(): Promise<Aliased<AztecAddress>[]>;
131
194
  getAccounts(): Promise<Aliased<AztecAddress>[]>;
132
195
  registerContract(instance: ContractInstanceWithAddress, artifact?: ContractArtifact, secretKey?: Fr): Promise<ContractInstanceWithAddress>;
133
196
  simulateTx(exec: ExecutionPayload, opts: SimulateOptions): Promise<TxSimulationResult>;
134
- simulateUtility(call: FunctionCall, authwits?: AuthWitness[]): Promise<UtilitySimulationResult>;
197
+ executeUtility(call: FunctionCall, opts: ExecuteUtilityOptions): Promise<UtilityExecutionResult>;
135
198
  profileTx(exec: ExecutionPayload, opts: ProfileOptions): Promise<TxProfileResult>;
136
- sendTx(exec: ExecutionPayload, opts: SendOptions): Promise<TxHash>;
137
- createAuthWit(from: AztecAddress, messageHashOrIntent: Fr | IntentInnerHash | CallIntent): Promise<AuthWitness>;
138
- batch<const T extends readonly BatchedMethod<keyof BatchableMethods>[]>(methods: T): Promise<BatchResults<T>>;
199
+ sendTx<W extends InteractionWaitOptions = undefined>(exec: ExecutionPayload, opts: SendOptions<W>): Promise<SendReturn<W>>;
200
+ createAuthWit(from: AztecAddress, messageHashOrIntent: IntentInnerHash | CallIntent): Promise<AuthWitness>;
201
+ requestCapabilities(manifest: AppCapabilities): Promise<WalletCapabilities>;
202
+ batch<const T extends readonly BatchedMethod[]>(methods: T): Promise<BatchResults<T>>;
139
203
  };
140
- export declare const FunctionCallSchema: z.ZodObject<{
141
- name: z.ZodString;
142
- to: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
143
- selector: import("@aztec/stdlib/schemas").ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
144
- type: z.ZodNativeEnum<typeof FunctionType>;
145
- isStatic: z.ZodBoolean;
146
- hideMsgSender: z.ZodBoolean;
147
- args: z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<Fr>, "many">;
148
- returnTypes: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
149
- }, "strip", z.ZodTypeAny, {
150
- name: string;
151
- to: AztecAddress;
152
- selector: import("@aztec/stdlib/abi").FunctionSelector;
153
- type: FunctionType;
154
- isStatic: boolean;
155
- hideMsgSender: boolean;
156
- args: Fr[];
157
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
158
- }, {
159
- name: string;
160
- to?: any;
161
- selector?: any;
162
- type: FunctionType;
163
- isStatic: boolean;
164
- hideMsgSender: boolean;
165
- args: any[];
166
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
167
- }>;
168
204
  export declare const ExecutionPayloadSchema: z.ZodObject<{
169
- calls: z.ZodArray<z.ZodObject<{
205
+ calls: z.ZodArray<z.ZodEffects<z.ZodObject<{
170
206
  name: z.ZodString;
171
207
  to: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
172
208
  selector: import("@aztec/stdlib/schemas").ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
173
- type: z.ZodNativeEnum<typeof FunctionType>;
209
+ type: z.ZodNativeEnum<typeof import("@aztec/stdlib/abi").FunctionType>;
174
210
  isStatic: z.ZodBoolean;
175
211
  hideMsgSender: z.ZodBoolean;
176
212
  args: z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<Fr>, "many">;
@@ -179,7 +215,7 @@ export declare const ExecutionPayloadSchema: z.ZodObject<{
179
215
  name: string;
180
216
  to: AztecAddress;
181
217
  selector: import("@aztec/stdlib/abi").FunctionSelector;
182
- type: FunctionType;
218
+ type: import("@aztec/stdlib/abi").FunctionType;
183
219
  isStatic: boolean;
184
220
  hideMsgSender: boolean;
185
221
  args: Fr[];
@@ -188,7 +224,16 @@ export declare const ExecutionPayloadSchema: z.ZodObject<{
188
224
  name: string;
189
225
  to?: any;
190
226
  selector?: any;
191
- type: FunctionType;
227
+ type: import("@aztec/stdlib/abi").FunctionType;
228
+ isStatic: boolean;
229
+ hideMsgSender: boolean;
230
+ args: any[];
231
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
232
+ }>, FunctionCall, {
233
+ name: string;
234
+ to?: any;
235
+ selector?: any;
236
+ type: import("@aztec/stdlib/abi").FunctionType;
192
237
  isStatic: boolean;
193
238
  hideMsgSender: boolean;
194
239
  args: any[];
@@ -197,18 +242,9 @@ export declare const ExecutionPayloadSchema: z.ZodObject<{
197
242
  authWitnesses: z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">;
198
243
  capsules: z.ZodArray<z.ZodType<Capsule, any, string>, "many">;
199
244
  extraHashedArgs: z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<HashedValues>, "many">;
200
- feePayer: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>>;
245
+ feePayer: import("@aztec/foundation/schemas").ZodNullableOptional<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>>;
201
246
  }, "strip", z.ZodTypeAny, {
202
- calls: {
203
- name: string;
204
- to: AztecAddress;
205
- selector: import("@aztec/stdlib/abi").FunctionSelector;
206
- type: FunctionType;
207
- isStatic: boolean;
208
- hideMsgSender: boolean;
209
- args: Fr[];
210
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
211
- }[];
247
+ calls: FunctionCall[];
212
248
  authWitnesses: AuthWitness[];
213
249
  capsules: Capsule[];
214
250
  extraHashedArgs: HashedValues[];
@@ -218,7 +254,7 @@ export declare const ExecutionPayloadSchema: z.ZodObject<{
218
254
  name: string;
219
255
  to?: any;
220
256
  selector?: any;
221
- type: FunctionType;
257
+ type: import("@aztec/stdlib/abi").FunctionType;
222
258
  isStatic: boolean;
223
259
  hideMsgSender: boolean;
224
260
  args: any[];
@@ -230,8 +266,8 @@ export declare const ExecutionPayloadSchema: z.ZodObject<{
230
266
  feePayer?: any;
231
267
  }>;
232
268
  export declare const GasSettingsOptionSchema: z.ZodObject<{
233
- gasSettings: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
234
- gasLimits: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
269
+ gasSettings: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
270
+ gasLimits: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
235
271
  daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
236
272
  l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
237
273
  }, "strip", z.ZodTypeAny, {
@@ -244,7 +280,7 @@ export declare const GasSettingsOptionSchema: z.ZodObject<{
244
280
  daGas: string | number | bigint;
245
281
  l2Gas: string | number | bigint;
246
282
  }>>;
247
- teardownGasLimits: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
283
+ teardownGasLimits: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
248
284
  daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
249
285
  l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
250
286
  }, "strip", z.ZodTypeAny, {
@@ -257,7 +293,7 @@ export declare const GasSettingsOptionSchema: z.ZodObject<{
257
293
  daGas: string | number | bigint;
258
294
  l2Gas: string | number | bigint;
259
295
  }>>;
260
- maxFeePerGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
296
+ maxFeePerGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
261
297
  feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
262
298
  feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
263
299
  }, "strip", z.ZodTypeAny, {
@@ -267,7 +303,7 @@ export declare const GasSettingsOptionSchema: z.ZodObject<{
267
303
  feePerDaGas: string | number | bigint;
268
304
  feePerL2Gas: string | number | bigint;
269
305
  }>>;
270
- maxPriorityFeePerGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
306
+ maxPriorityFeePerGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
271
307
  feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
272
308
  feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
273
309
  }, "strip", z.ZodTypeAny, {
@@ -340,8 +376,8 @@ export declare const GasSettingsOptionSchema: z.ZodObject<{
340
376
  } | undefined;
341
377
  }>;
342
378
  export declare const WalletSimulationFeeOptionSchema: z.ZodObject<{
343
- gasSettings: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
344
- gasLimits: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
379
+ gasSettings: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
380
+ gasLimits: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
345
381
  daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
346
382
  l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
347
383
  }, "strip", z.ZodTypeAny, {
@@ -354,7 +390,7 @@ export declare const WalletSimulationFeeOptionSchema: z.ZodObject<{
354
390
  daGas: string | number | bigint;
355
391
  l2Gas: string | number | bigint;
356
392
  }>>;
357
- teardownGasLimits: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
393
+ teardownGasLimits: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
358
394
  daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
359
395
  l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
360
396
  }, "strip", z.ZodTypeAny, {
@@ -367,7 +403,7 @@ export declare const WalletSimulationFeeOptionSchema: z.ZodObject<{
367
403
  daGas: string | number | bigint;
368
404
  l2Gas: string | number | bigint;
369
405
  }>>;
370
- maxFeePerGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
406
+ maxFeePerGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
371
407
  feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
372
408
  feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
373
409
  }, "strip", z.ZodTypeAny, {
@@ -377,7 +413,7 @@ export declare const WalletSimulationFeeOptionSchema: z.ZodObject<{
377
413
  feePerDaGas: string | number | bigint;
378
414
  feePerL2Gas: string | number | bigint;
379
415
  }>>;
380
- maxPriorityFeePerGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
416
+ maxPriorityFeePerGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
381
417
  feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
382
418
  feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
383
419
  }, "strip", z.ZodTypeAny, {
@@ -417,8 +453,8 @@ export declare const WalletSimulationFeeOptionSchema: z.ZodObject<{
417
453
  } | undefined;
418
454
  }>>;
419
455
  } & {
420
- estimatedGasPadding: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodNumber>;
421
- estimateGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodBoolean>;
456
+ estimatedGasPadding: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
457
+ estimateGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
422
458
  }, "strip", z.ZodTypeAny, {
423
459
  gasSettings?: {
424
460
  gasLimits?: Gas | undefined;
@@ -456,13 +492,29 @@ export declare const WalletSimulationFeeOptionSchema: z.ZodObject<{
456
492
  estimatedGasPadding?: number | undefined;
457
493
  estimateGas?: boolean | undefined;
458
494
  }>;
495
+ export declare const WaitOptsSchema: z.ZodObject<{
496
+ ignoreDroppedReceiptsFor: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
497
+ timeout: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
498
+ interval: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
499
+ dontThrowOnRevert: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
500
+ }, "strip", z.ZodTypeAny, {
501
+ ignoreDroppedReceiptsFor?: number | undefined;
502
+ timeout?: number | undefined;
503
+ interval?: number | undefined;
504
+ dontThrowOnRevert?: boolean | undefined;
505
+ }, {
506
+ ignoreDroppedReceiptsFor?: number | undefined;
507
+ timeout?: number | undefined;
508
+ interval?: number | undefined;
509
+ dontThrowOnRevert?: boolean | undefined;
510
+ }>;
459
511
  export declare const SendOptionsSchema: z.ZodObject<{
460
512
  from: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
461
- authWitnesses: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">>;
462
- capsules: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodArray<z.ZodType<Capsule, any, string>, "many">>;
463
- fee: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
464
- gasSettings: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
465
- gasLimits: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
513
+ authWitnesses: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">>;
514
+ capsules: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodType<Capsule, any, string>, "many">>;
515
+ fee: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
516
+ gasSettings: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
517
+ gasLimits: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
466
518
  daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
467
519
  l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
468
520
  }, "strip", z.ZodTypeAny, {
@@ -475,7 +527,7 @@ export declare const SendOptionsSchema: z.ZodObject<{
475
527
  daGas: string | number | bigint;
476
528
  l2Gas: string | number | bigint;
477
529
  }>>;
478
- teardownGasLimits: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
530
+ teardownGasLimits: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
479
531
  daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
480
532
  l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
481
533
  }, "strip", z.ZodTypeAny, {
@@ -488,7 +540,7 @@ export declare const SendOptionsSchema: z.ZodObject<{
488
540
  daGas: string | number | bigint;
489
541
  l2Gas: string | number | bigint;
490
542
  }>>;
491
- maxFeePerGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
543
+ maxFeePerGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
492
544
  feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
493
545
  feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
494
546
  }, "strip", z.ZodTypeAny, {
@@ -498,7 +550,7 @@ export declare const SendOptionsSchema: z.ZodObject<{
498
550
  feePerDaGas: string | number | bigint;
499
551
  feePerL2Gas: string | number | bigint;
500
552
  }>>;
501
- maxPriorityFeePerGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
553
+ maxPriorityFeePerGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
502
554
  feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
503
555
  feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
504
556
  }, "strip", z.ZodTypeAny, {
@@ -570,6 +622,22 @@ export declare const SendOptionsSchema: z.ZodObject<{
570
622
  } | undefined;
571
623
  } | undefined;
572
624
  }>>;
625
+ wait: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodLiteral<"NO_WAIT">, z.ZodObject<{
626
+ ignoreDroppedReceiptsFor: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
627
+ timeout: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
628
+ interval: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
629
+ dontThrowOnRevert: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
630
+ }, "strip", z.ZodTypeAny, {
631
+ ignoreDroppedReceiptsFor?: number | undefined;
632
+ timeout?: number | undefined;
633
+ interval?: number | undefined;
634
+ dontThrowOnRevert?: boolean | undefined;
635
+ }, {
636
+ ignoreDroppedReceiptsFor?: number | undefined;
637
+ timeout?: number | undefined;
638
+ interval?: number | undefined;
639
+ dontThrowOnRevert?: boolean | undefined;
640
+ }>]>>;
573
641
  }, "strip", z.ZodTypeAny, {
574
642
  from: AztecAddress;
575
643
  authWitnesses?: AuthWitness[] | undefined;
@@ -588,6 +656,12 @@ export declare const SendOptionsSchema: z.ZodObject<{
588
656
  } | undefined;
589
657
  } | undefined;
590
658
  } | undefined;
659
+ wait?: "NO_WAIT" | {
660
+ ignoreDroppedReceiptsFor?: number | undefined;
661
+ timeout?: number | undefined;
662
+ interval?: number | undefined;
663
+ dontThrowOnRevert?: boolean | undefined;
664
+ } | undefined;
591
665
  }, {
592
666
  from?: any;
593
667
  authWitnesses?: string[] | undefined;
@@ -612,14 +686,20 @@ export declare const SendOptionsSchema: z.ZodObject<{
612
686
  } | undefined;
613
687
  } | undefined;
614
688
  } | undefined;
689
+ wait?: "NO_WAIT" | {
690
+ ignoreDroppedReceiptsFor?: number | undefined;
691
+ timeout?: number | undefined;
692
+ interval?: number | undefined;
693
+ dontThrowOnRevert?: boolean | undefined;
694
+ } | undefined;
615
695
  }>;
616
696
  export declare const SimulateOptionsSchema: z.ZodObject<{
617
697
  from: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
618
- authWitnesses: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">>;
619
- capsules: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodArray<z.ZodType<Capsule, any, string>, "many">>;
620
- fee: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
621
- gasSettings: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
622
- gasLimits: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
698
+ authWitnesses: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">>;
699
+ capsules: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodType<Capsule, any, string>, "many">>;
700
+ fee: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
701
+ gasSettings: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
702
+ gasLimits: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
623
703
  daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
624
704
  l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
625
705
  }, "strip", z.ZodTypeAny, {
@@ -632,7 +712,7 @@ export declare const SimulateOptionsSchema: z.ZodObject<{
632
712
  daGas: string | number | bigint;
633
713
  l2Gas: string | number | bigint;
634
714
  }>>;
635
- teardownGasLimits: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
715
+ teardownGasLimits: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
636
716
  daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
637
717
  l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
638
718
  }, "strip", z.ZodTypeAny, {
@@ -645,7 +725,7 @@ export declare const SimulateOptionsSchema: z.ZodObject<{
645
725
  daGas: string | number | bigint;
646
726
  l2Gas: string | number | bigint;
647
727
  }>>;
648
- maxFeePerGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
728
+ maxFeePerGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
649
729
  feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
650
730
  feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
651
731
  }, "strip", z.ZodTypeAny, {
@@ -655,7 +735,7 @@ export declare const SimulateOptionsSchema: z.ZodObject<{
655
735
  feePerDaGas: string | number | bigint;
656
736
  feePerL2Gas: string | number | bigint;
657
737
  }>>;
658
- maxPriorityFeePerGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
738
+ maxPriorityFeePerGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
659
739
  feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
660
740
  feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
661
741
  }, "strip", z.ZodTypeAny, {
@@ -695,8 +775,8 @@ export declare const SimulateOptionsSchema: z.ZodObject<{
695
775
  } | undefined;
696
776
  }>>;
697
777
  } & {
698
- estimatedGasPadding: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodNumber>;
699
- estimateGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodBoolean>;
778
+ estimatedGasPadding: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
779
+ estimateGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
700
780
  }, "strip", z.ZodTypeAny, {
701
781
  gasSettings?: {
702
782
  gasLimits?: Gas | undefined;
@@ -734,9 +814,9 @@ export declare const SimulateOptionsSchema: z.ZodObject<{
734
814
  estimatedGasPadding?: number | undefined;
735
815
  estimateGas?: boolean | undefined;
736
816
  }>>;
737
- skipTxValidation: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodBoolean>;
738
- skipFeeEnforcement: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodBoolean>;
739
- includeMetadata: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodBoolean>;
817
+ skipTxValidation: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
818
+ skipFeeEnforcement: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
819
+ includeMetadata: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
740
820
  }, "strip", z.ZodTypeAny, {
741
821
  from: AztecAddress;
742
822
  authWitnesses?: AuthWitness[] | undefined;
@@ -792,11 +872,11 @@ export declare const SimulateOptionsSchema: z.ZodObject<{
792
872
  }>;
793
873
  export declare const ProfileOptionsSchema: z.ZodObject<{
794
874
  from: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
795
- authWitnesses: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">>;
796
- capsules: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodArray<z.ZodType<Capsule, any, string>, "many">>;
797
- fee: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
798
- gasSettings: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
799
- gasLimits: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
875
+ authWitnesses: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">>;
876
+ capsules: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodType<Capsule, any, string>, "many">>;
877
+ fee: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
878
+ gasSettings: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
879
+ gasLimits: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
800
880
  daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
801
881
  l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
802
882
  }, "strip", z.ZodTypeAny, {
@@ -809,7 +889,7 @@ export declare const ProfileOptionsSchema: z.ZodObject<{
809
889
  daGas: string | number | bigint;
810
890
  l2Gas: string | number | bigint;
811
891
  }>>;
812
- teardownGasLimits: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
892
+ teardownGasLimits: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
813
893
  daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
814
894
  l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
815
895
  }, "strip", z.ZodTypeAny, {
@@ -822,7 +902,7 @@ export declare const ProfileOptionsSchema: z.ZodObject<{
822
902
  daGas: string | number | bigint;
823
903
  l2Gas: string | number | bigint;
824
904
  }>>;
825
- maxFeePerGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
905
+ maxFeePerGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
826
906
  feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
827
907
  feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
828
908
  }, "strip", z.ZodTypeAny, {
@@ -832,7 +912,7 @@ export declare const ProfileOptionsSchema: z.ZodObject<{
832
912
  feePerDaGas: string | number | bigint;
833
913
  feePerL2Gas: string | number | bigint;
834
914
  }>>;
835
- maxPriorityFeePerGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
915
+ maxPriorityFeePerGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
836
916
  feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
837
917
  feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
838
918
  }, "strip", z.ZodTypeAny, {
@@ -872,8 +952,8 @@ export declare const ProfileOptionsSchema: z.ZodObject<{
872
952
  } | undefined;
873
953
  }>>;
874
954
  } & {
875
- estimatedGasPadding: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodNumber>;
876
- estimateGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodBoolean>;
955
+ estimatedGasPadding: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
956
+ estimateGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
877
957
  }, "strip", z.ZodTypeAny, {
878
958
  gasSettings?: {
879
959
  gasLimits?: Gas | undefined;
@@ -911,12 +991,12 @@ export declare const ProfileOptionsSchema: z.ZodObject<{
911
991
  estimatedGasPadding?: number | undefined;
912
992
  estimateGas?: boolean | undefined;
913
993
  }>>;
914
- skipTxValidation: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodBoolean>;
915
- skipFeeEnforcement: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodBoolean>;
916
- includeMetadata: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodBoolean>;
994
+ skipTxValidation: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
995
+ skipFeeEnforcement: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
996
+ includeMetadata: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
917
997
  } & {
918
998
  profileMode: z.ZodEnum<["gates", "execution-steps", "full"]>;
919
- skipProofGeneration: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodBoolean>;
999
+ skipProofGeneration: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
920
1000
  }, "strip", z.ZodTypeAny, {
921
1001
  from: AztecAddress;
922
1002
  authWitnesses?: AuthWitness[] | undefined;
@@ -974,7 +1054,7 @@ export declare const ProfileOptionsSchema: z.ZodObject<{
974
1054
  profileMode: "execution-steps" | "full" | "gates";
975
1055
  skipProofGeneration?: boolean | undefined;
976
1056
  }>;
977
- export declare const MessageHashOrIntentSchema: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<Fr>, z.ZodObject<{
1057
+ export declare const MessageHashOrIntentSchema: z.ZodUnion<[z.ZodObject<{
978
1058
  consumer: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
979
1059
  innerHash: import("@aztec/stdlib/schemas").ZodFor<Fr>;
980
1060
  }, "strip", z.ZodTypeAny, {
@@ -985,11 +1065,11 @@ export declare const MessageHashOrIntentSchema: z.ZodUnion<[import("@aztec/stdli
985
1065
  innerHash?: any;
986
1066
  }>, z.ZodObject<{
987
1067
  caller: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
988
- call: z.ZodObject<{
1068
+ call: z.ZodEffects<z.ZodObject<{
989
1069
  name: z.ZodString;
990
1070
  to: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
991
1071
  selector: import("@aztec/stdlib/schemas").ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
992
- type: z.ZodNativeEnum<typeof FunctionType>;
1072
+ type: z.ZodNativeEnum<typeof import("@aztec/stdlib/abi").FunctionType>;
993
1073
  isStatic: z.ZodBoolean;
994
1074
  hideMsgSender: z.ZodBoolean;
995
1075
  args: z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<Fr>, "many">;
@@ -998,7 +1078,7 @@ export declare const MessageHashOrIntentSchema: z.ZodUnion<[import("@aztec/stdli
998
1078
  name: string;
999
1079
  to: AztecAddress;
1000
1080
  selector: import("@aztec/stdlib/abi").FunctionSelector;
1001
- type: FunctionType;
1081
+ type: import("@aztec/stdlib/abi").FunctionType;
1002
1082
  isStatic: boolean;
1003
1083
  hideMsgSender: boolean;
1004
1084
  args: Fr[];
@@ -1007,49 +1087,139 @@ export declare const MessageHashOrIntentSchema: z.ZodUnion<[import("@aztec/stdli
1007
1087
  name: string;
1008
1088
  to?: any;
1009
1089
  selector?: any;
1010
- type: FunctionType;
1090
+ type: import("@aztec/stdlib/abi").FunctionType;
1011
1091
  isStatic: boolean;
1012
1092
  hideMsgSender: boolean;
1013
1093
  args: any[];
1014
1094
  returnTypes: import("@aztec/stdlib/abi").AbiType[];
1015
- }>;
1016
- }, "strip", z.ZodTypeAny, {
1017
- caller: AztecAddress;
1018
- call: {
1095
+ }>, FunctionCall, {
1019
1096
  name: string;
1020
- to: AztecAddress;
1021
- selector: import("@aztec/stdlib/abi").FunctionSelector;
1022
- type: FunctionType;
1097
+ to?: any;
1098
+ selector?: any;
1099
+ type: import("@aztec/stdlib/abi").FunctionType;
1023
1100
  isStatic: boolean;
1024
1101
  hideMsgSender: boolean;
1025
- args: Fr[];
1102
+ args: any[];
1026
1103
  returnTypes: import("@aztec/stdlib/abi").AbiType[];
1027
- };
1104
+ }>;
1105
+ }, "strip", z.ZodTypeAny, {
1106
+ caller: AztecAddress;
1107
+ call: FunctionCall;
1028
1108
  }, {
1029
1109
  caller?: any;
1030
1110
  call: {
1031
1111
  name: string;
1032
1112
  to?: any;
1033
1113
  selector?: any;
1034
- type: FunctionType;
1114
+ type: import("@aztec/stdlib/abi").FunctionType;
1035
1115
  isStatic: boolean;
1036
1116
  hideMsgSender: boolean;
1037
1117
  args: any[];
1038
1118
  returnTypes: import("@aztec/stdlib/abi").AbiType[];
1039
1119
  };
1040
1120
  }>]>;
1041
- export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
1042
- name: z.ZodLiteral<"registerSender">;
1043
- args: z.ZodTuple<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodString>], null>;
1121
+ export declare const EventMetadataDefinitionSchema: z.ZodObject<{
1122
+ eventSelector: z.ZodType<import("@aztec/stdlib/abi").EventSelector, any, string>;
1123
+ abiType: z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>;
1124
+ fieldNames: z.ZodArray<z.ZodString, "many">;
1044
1125
  }, "strip", z.ZodTypeAny, {
1045
- name: "registerSender";
1046
- args: [AztecAddress, string | undefined];
1126
+ eventSelector: import("@aztec/stdlib/abi").EventSelector;
1127
+ abiType: import("@aztec/stdlib/abi").AbiType;
1128
+ fieldNames: string[];
1047
1129
  }, {
1048
- name: "registerSender";
1049
- args: [any, string | undefined];
1050
- }>, z.ZodObject<{
1051
- name: z.ZodLiteral<"registerContract">;
1052
- args: z.ZodTuple<[z.ZodIntersection<z.ZodObject<{
1130
+ eventSelector: string;
1131
+ abiType: import("@aztec/stdlib/abi").AbiType;
1132
+ fieldNames: string[];
1133
+ }>;
1134
+ export declare const PrivateEventFilterSchema: z.ZodObject<{
1135
+ txHash: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, Buffer<ArrayBuffer>, string>, TxHash, string>>;
1136
+ fromBlock: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodPipeline<z.ZodUnion<[z.ZodNumber, z.ZodBigInt, z.ZodString]>, z.ZodNumber>, BlockNumber, string | number | bigint>>;
1137
+ toBlock: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodPipeline<z.ZodUnion<[z.ZodNumber, z.ZodBigInt, z.ZodString]>, z.ZodNumber>, BlockNumber, string | number | bigint>>;
1138
+ } & {
1139
+ contractAddress: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
1140
+ scopes: z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">;
1141
+ }, "strip", z.ZodTypeAny, {
1142
+ txHash?: TxHash | undefined;
1143
+ fromBlock?: BlockNumber | undefined;
1144
+ toBlock?: BlockNumber | undefined;
1145
+ contractAddress: AztecAddress;
1146
+ scopes: AztecAddress[];
1147
+ }, {
1148
+ txHash?: string | undefined;
1149
+ fromBlock?: string | number | bigint | undefined;
1150
+ toBlock?: string | number | bigint | undefined;
1151
+ contractAddress?: any;
1152
+ scopes: any[];
1153
+ }>;
1154
+ export declare const PublicEventFilterSchema: z.ZodObject<{
1155
+ 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>>;
1156
+ fromBlock: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodPipeline<z.ZodUnion<[z.ZodNumber, z.ZodBigInt, z.ZodString]>, z.ZodNumber>, BlockNumber, string | number | bigint>>;
1157
+ toBlock: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodPipeline<z.ZodUnion<[z.ZodNumber, z.ZodBigInt, z.ZodString]>, z.ZodNumber>, BlockNumber, string | number | bigint>>;
1158
+ } & {
1159
+ contractAddress: import("@aztec/foundation/schemas").ZodNullableOptional<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>>;
1160
+ }, "strip", z.ZodTypeAny, {
1161
+ txHash?: TxHash | undefined;
1162
+ fromBlock?: BlockNumber | undefined;
1163
+ toBlock?: BlockNumber | undefined;
1164
+ contractAddress?: AztecAddress | undefined;
1165
+ }, {
1166
+ txHash?: string | undefined;
1167
+ fromBlock?: string | number | bigint | undefined;
1168
+ toBlock?: string | number | bigint | undefined;
1169
+ contractAddress?: any;
1170
+ }>;
1171
+ export declare const PrivateEventSchema: z.ZodType<any>;
1172
+ export declare const PublicEventSchema: z.ZodObject<{
1173
+ event: import("@aztec/stdlib/schemas").ZodFor<AbiDecoded>;
1174
+ metadata: z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
1175
+ l2BlockNumber: z.ZodEffects<z.ZodPipeline<z.ZodUnion<[z.ZodNumber, z.ZodBigInt, z.ZodString]>, z.ZodNumber>, BlockNumber, string | number | bigint>;
1176
+ l2BlockHash: import("@aztec/stdlib/schemas").ZodFor<import("@aztec/stdlib/block").BlockHash>;
1177
+ }, "strip", z.ZodTypeAny, {
1178
+ l2BlockNumber: number & {
1179
+ _branding: "BlockNumber";
1180
+ };
1181
+ l2BlockHash: import("@aztec/stdlib/block").BlockHash;
1182
+ }, {
1183
+ l2BlockNumber: string | number | bigint;
1184
+ l2BlockHash?: any;
1185
+ }>, z.ZodObject<{
1186
+ txHash: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, Buffer<ArrayBuffer>, string>, TxHash, string>;
1187
+ }, "strip", z.ZodTypeAny, {
1188
+ txHash: TxHash;
1189
+ }, {
1190
+ txHash: string;
1191
+ }>>, z.ZodObject<{
1192
+ contractAddress: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
1193
+ }, "strip", z.ZodTypeAny, {
1194
+ contractAddress: AztecAddress;
1195
+ }, {
1196
+ contractAddress?: any;
1197
+ }>>;
1198
+ }, "strip", z.ZodTypeAny, {
1199
+ event: AbiDecoded;
1200
+ metadata: {
1201
+ l2BlockNumber: number & {
1202
+ _branding: "BlockNumber";
1203
+ };
1204
+ l2BlockHash: import("@aztec/stdlib/block").BlockHash;
1205
+ } & {
1206
+ txHash: TxHash;
1207
+ } & {
1208
+ contractAddress: AztecAddress;
1209
+ };
1210
+ }, {
1211
+ event?: any;
1212
+ metadata: {
1213
+ l2BlockNumber: string | number | bigint;
1214
+ l2BlockHash?: any;
1215
+ } & {
1216
+ txHash: string;
1217
+ } & {
1218
+ contractAddress?: any;
1219
+ };
1220
+ }>;
1221
+ export declare const ContractMetadataSchema: z.ZodObject<{
1222
+ instance: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodIntersection<z.ZodObject<{
1053
1223
  version: z.ZodLiteral<1>;
1054
1224
  salt: import("@aztec/stdlib/schemas").ZodFor<Fr>;
1055
1225
  deployer: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
@@ -1057,21 +1227,21 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
1057
1227
  originalContractClassId: import("@aztec/stdlib/schemas").ZodFor<Fr>;
1058
1228
  initializationHash: import("@aztec/stdlib/schemas").ZodFor<Fr>;
1059
1229
  publicKeys: z.ZodEffects<z.ZodObject<{
1060
- masterNullifierPublicKey: z.ZodType<import("../api/fields.js").Point, any, string>;
1061
- masterIncomingViewingPublicKey: z.ZodType<import("../api/fields.js").Point, any, string>;
1062
- masterOutgoingViewingPublicKey: z.ZodType<import("../api/fields.js").Point, any, string>;
1063
- masterTaggingPublicKey: z.ZodType<import("../api/fields.js").Point, any, string>;
1230
+ masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/schemas").Point, any, string>;
1231
+ masterIncomingViewingPublicKey: z.ZodType<import("@aztec/foundation/schemas").Point, any, string>;
1232
+ masterOutgoingViewingPublicKey: z.ZodType<import("@aztec/foundation/schemas").Point, any, string>;
1233
+ masterTaggingPublicKey: z.ZodType<import("@aztec/foundation/schemas").Point, any, string>;
1064
1234
  }, "strip", z.ZodTypeAny, {
1065
- masterNullifierPublicKey: import("../api/fields.js").Point;
1066
- masterIncomingViewingPublicKey: import("../api/fields.js").Point;
1067
- masterOutgoingViewingPublicKey: import("../api/fields.js").Point;
1068
- masterTaggingPublicKey: import("../api/fields.js").Point;
1235
+ masterNullifierPublicKey: import("@aztec/foundation/schemas").Point;
1236
+ masterIncomingViewingPublicKey: import("@aztec/foundation/schemas").Point;
1237
+ masterOutgoingViewingPublicKey: import("@aztec/foundation/schemas").Point;
1238
+ masterTaggingPublicKey: import("@aztec/foundation/schemas").Point;
1069
1239
  }, {
1070
1240
  masterNullifierPublicKey: string;
1071
1241
  masterIncomingViewingPublicKey: string;
1072
1242
  masterOutgoingViewingPublicKey: string;
1073
1243
  masterTaggingPublicKey: string;
1074
- }>, import("../api/keys.js").PublicKeys, {
1244
+ }>, import("@aztec/stdlib/keys").PublicKeys, {
1075
1245
  masterNullifierPublicKey: string;
1076
1246
  masterIncomingViewingPublicKey: string;
1077
1247
  masterOutgoingViewingPublicKey: string;
@@ -1084,7 +1254,7 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
1084
1254
  currentContractClassId: Fr;
1085
1255
  originalContractClassId: Fr;
1086
1256
  initializationHash: Fr;
1087
- publicKeys: import("../api/keys.js").PublicKeys;
1257
+ publicKeys: import("@aztec/stdlib/keys").PublicKeys;
1088
1258
  }, {
1089
1259
  version: 1;
1090
1260
  salt?: any;
@@ -1104,707 +1274,29 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
1104
1274
  address: AztecAddress;
1105
1275
  }, {
1106
1276
  address?: any;
1107
- }>>, import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
1108
- name: z.ZodString;
1109
- functions: z.ZodArray<z.ZodIntersection<z.ZodObject<{
1110
- name: z.ZodString;
1111
- functionType: z.ZodNativeEnum<typeof FunctionType>;
1112
- isOnlySelf: z.ZodBoolean;
1113
- isStatic: z.ZodBoolean;
1114
- isInitializer: z.ZodBoolean;
1115
- parameters: z.ZodArray<z.ZodObject<{
1116
- name: z.ZodString;
1117
- type: z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>;
1118
- visibility: z.ZodEnum<["public", "private", "databus"]>;
1119
- }, "strip", z.ZodTypeAny, {
1120
- name: string;
1121
- type: import("@aztec/stdlib/abi").AbiType;
1122
- visibility: "databus" | "private" | "public";
1123
- }, {
1124
- name: string;
1125
- type: import("@aztec/stdlib/abi").AbiType;
1126
- visibility: "databus" | "private" | "public";
1127
- }>, "many">;
1128
- returnTypes: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
1129
- errorTypes: z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1130
- error_kind: z.ZodLiteral<"string">;
1131
- string: z.ZodString;
1132
- }, "strip", z.ZodTypeAny, {
1133
- error_kind: "string";
1134
- string: string;
1135
- }, {
1136
- error_kind: "string";
1137
- string: string;
1138
- }>, z.ZodObject<{
1139
- error_kind: z.ZodLiteral<"fmtstring">;
1140
- length: z.ZodNumber;
1141
- item_types: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
1142
- }, "strip", z.ZodTypeAny, {
1143
- error_kind: "fmtstring";
1144
- length: number;
1145
- item_types: import("@aztec/stdlib/abi").AbiType[];
1146
- }, {
1147
- error_kind: "fmtstring";
1148
- length: number;
1149
- item_types: import("@aztec/stdlib/abi").AbiType[];
1150
- }>, z.ZodIntersection<z.ZodObject<{
1151
- error_kind: z.ZodLiteral<"custom">;
1152
- }, "strip", z.ZodTypeAny, {
1153
- error_kind: "custom";
1154
- }, {
1155
- error_kind: "custom";
1156
- }>, z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>>]>>>;
1157
- }, "strip", z.ZodTypeAny, {
1158
- name: string;
1159
- functionType: FunctionType;
1160
- isOnlySelf: boolean;
1161
- isStatic: boolean;
1162
- isInitializer: boolean;
1163
- parameters: {
1164
- name: string;
1165
- type: import("@aztec/stdlib/abi").AbiType;
1166
- visibility: "databus" | "private" | "public";
1167
- }[];
1168
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
1169
- errorTypes: Record<string, {
1170
- error_kind: "string";
1171
- string: string;
1172
- } | {
1173
- error_kind: "fmtstring";
1174
- length: number;
1175
- item_types: import("@aztec/stdlib/abi").AbiType[];
1176
- } | ({
1177
- error_kind: "custom";
1178
- } & import("@aztec/stdlib/abi").AbiType) | undefined>;
1179
- }, {
1180
- name: string;
1181
- functionType: FunctionType;
1182
- isOnlySelf: boolean;
1183
- isStatic: boolean;
1184
- isInitializer: boolean;
1185
- parameters: {
1186
- name: string;
1187
- type: import("@aztec/stdlib/abi").AbiType;
1188
- visibility: "databus" | "private" | "public";
1189
- }[];
1190
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
1191
- errorTypes: Record<string, {
1192
- error_kind: "string";
1193
- string: string;
1194
- } | {
1195
- error_kind: "fmtstring";
1196
- length: number;
1197
- item_types: import("@aztec/stdlib/abi").AbiType[];
1198
- } | ({
1199
- error_kind: "custom";
1200
- } & import("@aztec/stdlib/abi").AbiType) | undefined>;
1201
- }>, z.ZodObject<{
1202
- bytecode: import("@aztec/stdlib/schemas").ZodFor<Buffer<ArrayBufferLike>>;
1203
- verificationKey: z.ZodOptional<z.ZodString>;
1204
- debugSymbols: z.ZodString;
1205
- debug: z.ZodOptional<z.ZodObject<{
1206
- debugSymbols: z.ZodObject<{
1207
- location_tree: z.ZodObject<{
1208
- locations: z.ZodArray<z.ZodObject<{
1209
- parent: z.ZodNullable<z.ZodNumber>;
1210
- value: z.ZodObject<{
1211
- span: z.ZodObject<{
1212
- start: z.ZodNumber;
1213
- end: z.ZodNumber;
1214
- }, "strip", z.ZodTypeAny, {
1215
- start: number;
1216
- end: number;
1217
- }, {
1218
- start: number;
1219
- end: number;
1220
- }>;
1221
- file: z.ZodNumber;
1222
- }, "strip", z.ZodTypeAny, {
1223
- span: {
1224
- start: number;
1225
- end: number;
1226
- };
1227
- file: number;
1228
- }, {
1229
- span: {
1230
- start: number;
1231
- end: number;
1232
- };
1233
- file: number;
1234
- }>;
1235
- }, "strip", z.ZodTypeAny, {
1236
- parent: number | null;
1237
- value: {
1238
- span: {
1239
- start: number;
1240
- end: number;
1241
- };
1242
- file: number;
1243
- };
1244
- }, {
1245
- parent: number | null;
1246
- value: {
1247
- span: {
1248
- start: number;
1249
- end: number;
1250
- };
1251
- file: number;
1252
- };
1253
- }>, "many">;
1254
- }, "strip", z.ZodTypeAny, {
1255
- locations: {
1256
- parent: number | null;
1257
- value: {
1258
- span: {
1259
- start: number;
1260
- end: number;
1261
- };
1262
- file: number;
1263
- };
1264
- }[];
1265
- }, {
1266
- locations: {
1267
- parent: number | null;
1268
- value: {
1269
- span: {
1270
- start: number;
1271
- end: number;
1272
- };
1273
- file: number;
1274
- };
1275
- }[];
1276
- }>;
1277
- acir_locations: z.ZodRecord<z.ZodString, z.ZodNumber>;
1278
- brillig_locations: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodNumber>>;
1279
- }, "strip", z.ZodTypeAny, {
1280
- location_tree: {
1281
- locations: {
1282
- parent: number | null;
1283
- value: {
1284
- span: {
1285
- start: number;
1286
- end: number;
1287
- };
1288
- file: number;
1289
- };
1290
- }[];
1291
- };
1292
- acir_locations: Record<string, number>;
1293
- brillig_locations: Record<string, Record<string, number>>;
1294
- }, {
1295
- location_tree: {
1296
- locations: {
1297
- parent: number | null;
1298
- value: {
1299
- span: {
1300
- start: number;
1301
- end: number;
1302
- };
1303
- file: number;
1304
- };
1305
- }[];
1306
- };
1307
- acir_locations: Record<string, number>;
1308
- brillig_locations: Record<string, Record<string, number>>;
1309
- }>;
1310
- files: z.ZodRecord<z.ZodString, z.ZodObject<{
1311
- source: z.ZodString;
1312
- path: z.ZodString;
1313
- }, "strip", z.ZodTypeAny, {
1314
- source: string;
1315
- path: string;
1316
- }, {
1317
- source: string;
1318
- path: string;
1319
- }>>;
1320
- }, "strip", z.ZodTypeAny, {
1321
- debugSymbols: {
1322
- location_tree: {
1323
- locations: {
1324
- parent: number | null;
1325
- value: {
1326
- span: {
1327
- start: number;
1328
- end: number;
1329
- };
1330
- file: number;
1331
- };
1332
- }[];
1333
- };
1334
- acir_locations: Record<string, number>;
1335
- brillig_locations: Record<string, Record<string, number>>;
1336
- };
1337
- files: Record<string, {
1338
- source: string;
1339
- path: string;
1340
- }>;
1341
- }, {
1342
- debugSymbols: {
1343
- location_tree: {
1344
- locations: {
1345
- parent: number | null;
1346
- value: {
1347
- span: {
1348
- start: number;
1349
- end: number;
1350
- };
1351
- file: number;
1352
- };
1353
- }[];
1354
- };
1355
- acir_locations: Record<string, number>;
1356
- brillig_locations: Record<string, Record<string, number>>;
1357
- };
1358
- files: Record<string, {
1359
- source: string;
1360
- path: string;
1361
- }>;
1362
- }>>;
1363
- }, "strip", z.ZodTypeAny, {
1364
- bytecode: Buffer<ArrayBufferLike>;
1365
- verificationKey?: string | undefined;
1366
- debugSymbols: string;
1367
- debug?: {
1368
- debugSymbols: {
1369
- location_tree: {
1370
- locations: {
1371
- parent: number | null;
1372
- value: {
1373
- span: {
1374
- start: number;
1375
- end: number;
1376
- };
1377
- file: number;
1378
- };
1379
- }[];
1380
- };
1381
- acir_locations: Record<string, number>;
1382
- brillig_locations: Record<string, Record<string, number>>;
1383
- };
1384
- files: Record<string, {
1385
- source: string;
1386
- path: string;
1387
- }>;
1388
- } | undefined;
1389
- }, {
1390
- bytecode?: any;
1391
- verificationKey?: string | undefined;
1392
- debugSymbols: string;
1393
- debug?: {
1394
- debugSymbols: {
1395
- location_tree: {
1396
- locations: {
1397
- parent: number | null;
1398
- value: {
1399
- span: {
1400
- start: number;
1401
- end: number;
1402
- };
1403
- file: number;
1404
- };
1405
- }[];
1406
- };
1407
- acir_locations: Record<string, number>;
1408
- brillig_locations: Record<string, Record<string, number>>;
1409
- };
1410
- files: Record<string, {
1411
- source: string;
1412
- path: string;
1413
- }>;
1414
- } | undefined;
1415
- }>>, "many">;
1416
- nonDispatchPublicFunctions: z.ZodArray<z.ZodObject<{
1417
- name: z.ZodString;
1418
- functionType: z.ZodNativeEnum<typeof FunctionType>;
1419
- isOnlySelf: z.ZodBoolean;
1420
- isStatic: z.ZodBoolean;
1421
- isInitializer: z.ZodBoolean;
1422
- parameters: z.ZodArray<z.ZodObject<{
1423
- name: z.ZodString;
1424
- type: z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>;
1425
- visibility: z.ZodEnum<["public", "private", "databus"]>;
1426
- }, "strip", z.ZodTypeAny, {
1427
- name: string;
1428
- type: import("@aztec/stdlib/abi").AbiType;
1429
- visibility: "databus" | "private" | "public";
1430
- }, {
1431
- name: string;
1432
- type: import("@aztec/stdlib/abi").AbiType;
1433
- visibility: "databus" | "private" | "public";
1434
- }>, "many">;
1435
- returnTypes: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
1436
- errorTypes: z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1437
- error_kind: z.ZodLiteral<"string">;
1438
- string: z.ZodString;
1439
- }, "strip", z.ZodTypeAny, {
1440
- error_kind: "string";
1441
- string: string;
1442
- }, {
1443
- error_kind: "string";
1444
- string: string;
1445
- }>, z.ZodObject<{
1446
- error_kind: z.ZodLiteral<"fmtstring">;
1447
- length: z.ZodNumber;
1448
- item_types: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
1449
- }, "strip", z.ZodTypeAny, {
1450
- error_kind: "fmtstring";
1451
- length: number;
1452
- item_types: import("@aztec/stdlib/abi").AbiType[];
1453
- }, {
1454
- error_kind: "fmtstring";
1455
- length: number;
1456
- item_types: import("@aztec/stdlib/abi").AbiType[];
1457
- }>, z.ZodIntersection<z.ZodObject<{
1458
- error_kind: z.ZodLiteral<"custom">;
1459
- }, "strip", z.ZodTypeAny, {
1460
- error_kind: "custom";
1461
- }, {
1462
- error_kind: "custom";
1463
- }>, z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>>]>>>;
1464
- }, "strip", z.ZodTypeAny, {
1465
- name: string;
1466
- functionType: FunctionType;
1467
- isOnlySelf: boolean;
1468
- isStatic: boolean;
1469
- isInitializer: boolean;
1470
- parameters: {
1471
- name: string;
1472
- type: import("@aztec/stdlib/abi").AbiType;
1473
- visibility: "databus" | "private" | "public";
1474
- }[];
1475
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
1476
- errorTypes: Record<string, {
1477
- error_kind: "string";
1478
- string: string;
1479
- } | {
1480
- error_kind: "fmtstring";
1481
- length: number;
1482
- item_types: import("@aztec/stdlib/abi").AbiType[];
1483
- } | ({
1484
- error_kind: "custom";
1485
- } & import("@aztec/stdlib/abi").AbiType) | undefined>;
1486
- }, {
1487
- name: string;
1488
- functionType: FunctionType;
1489
- isOnlySelf: boolean;
1490
- isStatic: boolean;
1491
- isInitializer: boolean;
1492
- parameters: {
1493
- name: string;
1494
- type: import("@aztec/stdlib/abi").AbiType;
1495
- visibility: "databus" | "private" | "public";
1496
- }[];
1497
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
1498
- errorTypes: Record<string, {
1499
- error_kind: "string";
1500
- string: string;
1501
- } | {
1502
- error_kind: "fmtstring";
1503
- length: number;
1504
- item_types: import("@aztec/stdlib/abi").AbiType[];
1505
- } | ({
1506
- error_kind: "custom";
1507
- } & import("@aztec/stdlib/abi").AbiType) | undefined>;
1508
- }>, "many">;
1509
- outputs: z.ZodObject<{
1510
- structs: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">>, Record<string, import("@aztec/stdlib/abi").AbiType[]>, Record<string, import("@aztec/stdlib/abi").AbiType[]>>;
1511
- globals: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiValue, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiValue>, "many">>;
1512
- }, "strip", z.ZodTypeAny, {
1513
- structs: Record<string, import("@aztec/stdlib/abi").AbiType[]>;
1514
- globals: Record<string, import("@aztec/stdlib/abi").AbiValue[]>;
1515
- }, {
1516
- structs: Record<string, import("@aztec/stdlib/abi").AbiType[]>;
1517
- globals: Record<string, import("@aztec/stdlib/abi").AbiValue[]>;
1518
- }>;
1519
- storageLayout: z.ZodRecord<z.ZodString, z.ZodObject<{
1520
- slot: z.ZodType<Fr, any, string>;
1521
- }, "strip", z.ZodTypeAny, {
1522
- slot: Fr;
1523
- }, {
1524
- slot: string;
1525
- }>>;
1526
- fileMap: z.ZodRecord<z.ZodNumber, z.ZodObject<{
1527
- source: z.ZodString;
1528
- path: z.ZodString;
1529
- }, "strip", z.ZodTypeAny, {
1530
- source: string;
1531
- path: string;
1532
- }, {
1533
- source: string;
1534
- path: string;
1535
- }>>;
1536
- }, "strip", z.ZodTypeAny, {
1537
- name: string;
1538
- functions: ({
1539
- name: string;
1540
- functionType: FunctionType;
1541
- isOnlySelf: boolean;
1542
- isStatic: boolean;
1543
- isInitializer: boolean;
1544
- parameters: {
1545
- name: string;
1546
- type: import("@aztec/stdlib/abi").AbiType;
1547
- visibility: "databus" | "private" | "public";
1548
- }[];
1549
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
1550
- errorTypes: Record<string, {
1551
- error_kind: "string";
1552
- string: string;
1553
- } | {
1554
- error_kind: "fmtstring";
1555
- length: number;
1556
- item_types: import("@aztec/stdlib/abi").AbiType[];
1557
- } | ({
1558
- error_kind: "custom";
1559
- } & import("@aztec/stdlib/abi").AbiType) | undefined>;
1560
- } & {
1561
- bytecode: Buffer<ArrayBufferLike>;
1562
- verificationKey?: string | undefined;
1563
- debugSymbols: string;
1564
- debug?: {
1565
- debugSymbols: {
1566
- location_tree: {
1567
- locations: {
1568
- parent: number | null;
1569
- value: {
1570
- span: {
1571
- start: number;
1572
- end: number;
1573
- };
1574
- file: number;
1575
- };
1576
- }[];
1577
- };
1578
- acir_locations: Record<string, number>;
1579
- brillig_locations: Record<string, Record<string, number>>;
1580
- };
1581
- files: Record<string, {
1582
- source: string;
1583
- path: string;
1584
- }>;
1585
- } | undefined;
1586
- })[];
1587
- nonDispatchPublicFunctions: {
1588
- name: string;
1589
- functionType: FunctionType;
1590
- isOnlySelf: boolean;
1591
- isStatic: boolean;
1592
- isInitializer: boolean;
1593
- parameters: {
1594
- name: string;
1595
- type: import("@aztec/stdlib/abi").AbiType;
1596
- visibility: "databus" | "private" | "public";
1597
- }[];
1598
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
1599
- errorTypes: Record<string, {
1600
- error_kind: "string";
1601
- string: string;
1602
- } | {
1603
- error_kind: "fmtstring";
1604
- length: number;
1605
- item_types: import("@aztec/stdlib/abi").AbiType[];
1606
- } | ({
1607
- error_kind: "custom";
1608
- } & import("@aztec/stdlib/abi").AbiType) | undefined>;
1609
- }[];
1610
- outputs: {
1611
- structs: Record<string, import("@aztec/stdlib/abi").AbiType[]>;
1612
- globals: Record<string, import("@aztec/stdlib/abi").AbiValue[]>;
1613
- };
1614
- storageLayout: Record<string, {
1615
- slot: Fr;
1616
- }>;
1617
- fileMap: Record<number, {
1618
- source: string;
1619
- path: string;
1620
- }>;
1621
- }, {
1622
- name: string;
1623
- functions: ({
1624
- name: string;
1625
- functionType: FunctionType;
1626
- isOnlySelf: boolean;
1627
- isStatic: boolean;
1628
- isInitializer: boolean;
1629
- parameters: {
1630
- name: string;
1631
- type: import("@aztec/stdlib/abi").AbiType;
1632
- visibility: "databus" | "private" | "public";
1633
- }[];
1634
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
1635
- errorTypes: Record<string, {
1636
- error_kind: "string";
1637
- string: string;
1638
- } | {
1639
- error_kind: "fmtstring";
1640
- length: number;
1641
- item_types: import("@aztec/stdlib/abi").AbiType[];
1642
- } | ({
1643
- error_kind: "custom";
1644
- } & import("@aztec/stdlib/abi").AbiType) | undefined>;
1645
- } & {
1646
- bytecode?: any;
1647
- verificationKey?: string | undefined;
1648
- debugSymbols: string;
1649
- debug?: {
1650
- debugSymbols: {
1651
- location_tree: {
1652
- locations: {
1653
- parent: number | null;
1654
- value: {
1655
- span: {
1656
- start: number;
1657
- end: number;
1658
- };
1659
- file: number;
1660
- };
1661
- }[];
1662
- };
1663
- acir_locations: Record<string, number>;
1664
- brillig_locations: Record<string, Record<string, number>>;
1665
- };
1666
- files: Record<string, {
1667
- source: string;
1668
- path: string;
1669
- }>;
1670
- } | undefined;
1671
- })[];
1672
- nonDispatchPublicFunctions: {
1673
- name: string;
1674
- functionType: FunctionType;
1675
- isOnlySelf: boolean;
1676
- isStatic: boolean;
1677
- isInitializer: boolean;
1678
- parameters: {
1679
- name: string;
1680
- type: import("@aztec/stdlib/abi").AbiType;
1681
- visibility: "databus" | "private" | "public";
1682
- }[];
1683
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
1684
- errorTypes: Record<string, {
1685
- error_kind: "string";
1686
- string: string;
1687
- } | {
1688
- error_kind: "fmtstring";
1689
- length: number;
1690
- item_types: import("@aztec/stdlib/abi").AbiType[];
1691
- } | ({
1692
- error_kind: "custom";
1693
- } & import("@aztec/stdlib/abi").AbiType) | undefined>;
1694
- }[];
1695
- outputs: {
1696
- structs: Record<string, import("@aztec/stdlib/abi").AbiType[]>;
1697
- globals: Record<string, import("@aztec/stdlib/abi").AbiValue[]>;
1698
- };
1699
- storageLayout: Record<string, {
1700
- slot: string;
1701
- }>;
1702
- fileMap: Record<number, {
1703
- source: string;
1704
- path: string;
1705
- }>;
1706
- }>>, import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<import("@aztec/stdlib/schemas").ZodFor<Fr>>], null>;
1277
+ }>>>;
1278
+ isContractInitialized: z.ZodBoolean;
1279
+ isContractPublished: z.ZodBoolean;
1280
+ isContractUpdated: z.ZodBoolean;
1281
+ updatedContractClassId: import("@aztec/foundation/schemas").ZodNullableOptional<import("@aztec/stdlib/schemas").ZodFor<Fr>>;
1707
1282
  }, "strip", z.ZodTypeAny, {
1708
- name: "registerContract";
1709
- args: [{
1283
+ instance?: ({
1710
1284
  version: 1;
1711
1285
  salt: Fr;
1712
1286
  deployer: AztecAddress;
1713
1287
  currentContractClassId: Fr;
1714
1288
  originalContractClassId: Fr;
1715
1289
  initializationHash: Fr;
1716
- publicKeys: import("../api/keys.js").PublicKeys;
1290
+ publicKeys: import("@aztec/stdlib/keys").PublicKeys;
1717
1291
  } & {
1718
1292
  address: AztecAddress;
1719
- }, {
1720
- name: string;
1721
- functions: ({
1722
- name: string;
1723
- functionType: FunctionType;
1724
- isOnlySelf: boolean;
1725
- isStatic: boolean;
1726
- isInitializer: boolean;
1727
- parameters: {
1728
- name: string;
1729
- type: import("@aztec/stdlib/abi").AbiType;
1730
- visibility: "databus" | "private" | "public";
1731
- }[];
1732
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
1733
- errorTypes: Record<string, {
1734
- error_kind: "string";
1735
- string: string;
1736
- } | {
1737
- error_kind: "fmtstring";
1738
- length: number;
1739
- item_types: import("@aztec/stdlib/abi").AbiType[];
1740
- } | ({
1741
- error_kind: "custom";
1742
- } & import("@aztec/stdlib/abi").AbiType) | undefined>;
1743
- } & {
1744
- bytecode: Buffer<ArrayBufferLike>;
1745
- verificationKey?: string | undefined;
1746
- debugSymbols: string;
1747
- debug?: {
1748
- debugSymbols: {
1749
- location_tree: {
1750
- locations: {
1751
- parent: number | null;
1752
- value: {
1753
- span: {
1754
- start: number;
1755
- end: number;
1756
- };
1757
- file: number;
1758
- };
1759
- }[];
1760
- };
1761
- acir_locations: Record<string, number>;
1762
- brillig_locations: Record<string, Record<string, number>>;
1763
- };
1764
- files: Record<string, {
1765
- source: string;
1766
- path: string;
1767
- }>;
1768
- } | undefined;
1769
- })[];
1770
- nonDispatchPublicFunctions: {
1771
- name: string;
1772
- functionType: FunctionType;
1773
- isOnlySelf: boolean;
1774
- isStatic: boolean;
1775
- isInitializer: boolean;
1776
- parameters: {
1777
- name: string;
1778
- type: import("@aztec/stdlib/abi").AbiType;
1779
- visibility: "databus" | "private" | "public";
1780
- }[];
1781
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
1782
- errorTypes: Record<string, {
1783
- error_kind: "string";
1784
- string: string;
1785
- } | {
1786
- error_kind: "fmtstring";
1787
- length: number;
1788
- item_types: import("@aztec/stdlib/abi").AbiType[];
1789
- } | ({
1790
- error_kind: "custom";
1791
- } & import("@aztec/stdlib/abi").AbiType) | undefined>;
1792
- }[];
1793
- outputs: {
1794
- structs: Record<string, import("@aztec/stdlib/abi").AbiType[]>;
1795
- globals: Record<string, import("@aztec/stdlib/abi").AbiValue[]>;
1796
- };
1797
- storageLayout: Record<string, {
1798
- slot: Fr;
1799
- }>;
1800
- fileMap: Record<number, {
1801
- source: string;
1802
- path: string;
1803
- }>;
1804
- } | undefined, Fr | undefined];
1293
+ }) | undefined;
1294
+ isContractInitialized: boolean;
1295
+ isContractPublished: boolean;
1296
+ isContractUpdated: boolean;
1297
+ updatedContractClassId?: Fr | undefined;
1805
1298
  }, {
1806
- name: "registerContract";
1807
- args: [{
1299
+ instance?: ({
1808
1300
  version: 1;
1809
1301
  salt?: any;
1810
1302
  deployer?: any;
@@ -1819,1736 +1311,1350 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
1819
1311
  };
1820
1312
  } & {
1821
1313
  address?: any;
1822
- }, {
1823
- name: string;
1824
- functions: ({
1825
- name: string;
1826
- functionType: FunctionType;
1827
- isOnlySelf: boolean;
1828
- isStatic: boolean;
1829
- isInitializer: boolean;
1830
- parameters: {
1831
- name: string;
1832
- type: import("@aztec/stdlib/abi").AbiType;
1833
- visibility: "databus" | "private" | "public";
1834
- }[];
1835
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
1836
- errorTypes: Record<string, {
1837
- error_kind: "string";
1838
- string: string;
1839
- } | {
1840
- error_kind: "fmtstring";
1841
- length: number;
1842
- item_types: import("@aztec/stdlib/abi").AbiType[];
1843
- } | ({
1844
- error_kind: "custom";
1845
- } & import("@aztec/stdlib/abi").AbiType) | undefined>;
1846
- } & {
1847
- bytecode?: any;
1848
- verificationKey?: string | undefined;
1849
- debugSymbols: string;
1850
- debug?: {
1851
- debugSymbols: {
1852
- location_tree: {
1853
- locations: {
1854
- parent: number | null;
1855
- value: {
1856
- span: {
1857
- start: number;
1858
- end: number;
1859
- };
1860
- file: number;
1861
- };
1862
- }[];
1863
- };
1864
- acir_locations: Record<string, number>;
1865
- brillig_locations: Record<string, Record<string, number>>;
1866
- };
1867
- files: Record<string, {
1868
- source: string;
1869
- path: string;
1870
- }>;
1871
- } | undefined;
1872
- })[];
1873
- nonDispatchPublicFunctions: {
1874
- name: string;
1875
- functionType: FunctionType;
1876
- isOnlySelf: boolean;
1877
- isStatic: boolean;
1878
- isInitializer: boolean;
1879
- parameters: {
1880
- name: string;
1881
- type: import("@aztec/stdlib/abi").AbiType;
1882
- visibility: "databus" | "private" | "public";
1883
- }[];
1884
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
1885
- errorTypes: Record<string, {
1886
- error_kind: "string";
1887
- string: string;
1888
- } | {
1889
- error_kind: "fmtstring";
1890
- length: number;
1891
- item_types: import("@aztec/stdlib/abi").AbiType[];
1892
- } | ({
1893
- error_kind: "custom";
1894
- } & import("@aztec/stdlib/abi").AbiType) | undefined>;
1895
- }[];
1896
- outputs: {
1897
- structs: Record<string, import("@aztec/stdlib/abi").AbiType[]>;
1898
- globals: Record<string, import("@aztec/stdlib/abi").AbiValue[]>;
1899
- };
1900
- storageLayout: Record<string, {
1901
- slot: string;
1902
- }>;
1903
- fileMap: Record<number, {
1904
- source: string;
1905
- path: string;
1906
- }>;
1907
- } | undefined, any];
1908
- }>, z.ZodObject<{
1909
- name: z.ZodLiteral<"sendTx">;
1910
- args: z.ZodTuple<[z.ZodObject<{
1911
- calls: z.ZodArray<z.ZodObject<{
1912
- name: z.ZodString;
1913
- to: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
1914
- selector: import("@aztec/stdlib/schemas").ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
1915
- type: z.ZodNativeEnum<typeof FunctionType>;
1916
- isStatic: z.ZodBoolean;
1917
- hideMsgSender: z.ZodBoolean;
1918
- args: z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<Fr>, "many">;
1919
- returnTypes: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
1920
- }, "strip", z.ZodTypeAny, {
1921
- name: string;
1922
- to: AztecAddress;
1923
- selector: import("@aztec/stdlib/abi").FunctionSelector;
1924
- type: FunctionType;
1925
- isStatic: boolean;
1926
- hideMsgSender: boolean;
1927
- args: Fr[];
1928
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
1929
- }, {
1930
- name: string;
1931
- to?: any;
1932
- selector?: any;
1933
- type: FunctionType;
1934
- isStatic: boolean;
1935
- hideMsgSender: boolean;
1936
- args: any[];
1937
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
1938
- }>, "many">;
1939
- authWitnesses: z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">;
1940
- capsules: z.ZodArray<z.ZodType<Capsule, any, string>, "many">;
1941
- extraHashedArgs: z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<HashedValues>, "many">;
1942
- feePayer: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>>;
1314
+ }) | undefined;
1315
+ isContractInitialized: boolean;
1316
+ isContractPublished: boolean;
1317
+ isContractUpdated: boolean;
1318
+ updatedContractClassId?: any;
1319
+ }>;
1320
+ export declare const ContractClassMetadataSchema: z.ZodObject<{
1321
+ isArtifactRegistered: z.ZodBoolean;
1322
+ isContractClassPubliclyRegistered: z.ZodBoolean;
1323
+ }, "strip", z.ZodTypeAny, {
1324
+ isArtifactRegistered: boolean;
1325
+ isContractClassPubliclyRegistered: boolean;
1326
+ }, {
1327
+ isArtifactRegistered: boolean;
1328
+ isContractClassPubliclyRegistered: boolean;
1329
+ }>;
1330
+ export declare const ContractFunctionPatternSchema: z.ZodObject<{
1331
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
1332
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
1333
+ }, "strip", z.ZodTypeAny, {
1334
+ contract: "*" | AztecAddress;
1335
+ function: string;
1336
+ }, {
1337
+ contract?: any;
1338
+ function: string;
1339
+ }>;
1340
+ export declare const AccountsCapabilitySchema: z.ZodObject<{
1341
+ type: z.ZodLiteral<"accounts">;
1342
+ canGet: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1343
+ canCreateAuthWit: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1344
+ }, "strip", z.ZodTypeAny, {
1345
+ type: "accounts";
1346
+ canGet?: boolean | undefined;
1347
+ canCreateAuthWit?: boolean | undefined;
1348
+ }, {
1349
+ type: "accounts";
1350
+ canGet?: boolean | undefined;
1351
+ canCreateAuthWit?: boolean | undefined;
1352
+ }>;
1353
+ export declare const GrantedAccountsCapabilitySchema: z.ZodObject<{
1354
+ type: z.ZodLiteral<"accounts">;
1355
+ canGet: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1356
+ canCreateAuthWit: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1357
+ } & {
1358
+ accounts: z.ZodArray<z.ZodObject<{
1359
+ alias: z.ZodString;
1360
+ item: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
1943
1361
  }, "strip", z.ZodTypeAny, {
1944
- calls: {
1945
- name: string;
1946
- to: AztecAddress;
1947
- selector: import("@aztec/stdlib/abi").FunctionSelector;
1948
- type: FunctionType;
1949
- isStatic: boolean;
1950
- hideMsgSender: boolean;
1951
- args: Fr[];
1952
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
1953
- }[];
1954
- authWitnesses: AuthWitness[];
1955
- capsules: Capsule[];
1956
- extraHashedArgs: HashedValues[];
1957
- feePayer?: AztecAddress | undefined;
1362
+ alias: string;
1363
+ item: AztecAddress;
1958
1364
  }, {
1959
- calls: {
1960
- name: string;
1961
- to?: any;
1962
- selector?: any;
1963
- type: FunctionType;
1964
- isStatic: boolean;
1965
- hideMsgSender: boolean;
1966
- args: any[];
1967
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
1968
- }[];
1969
- authWitnesses: string[];
1970
- capsules: string[];
1971
- extraHashedArgs: any[];
1972
- feePayer?: any;
1973
- }>, z.ZodObject<{
1974
- from: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
1975
- authWitnesses: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">>;
1976
- capsules: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodArray<z.ZodType<Capsule, any, string>, "many">>;
1977
- fee: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
1978
- gasSettings: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
1979
- gasLimits: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
1980
- daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
1981
- l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
1982
- }, "strip", z.ZodTypeAny, {
1983
- daGas: number;
1984
- l2Gas: number;
1985
- }, {
1986
- daGas: string | number | bigint;
1987
- l2Gas: string | number | bigint;
1988
- }>, Gas, {
1989
- daGas: string | number | bigint;
1990
- l2Gas: string | number | bigint;
1991
- }>>;
1992
- teardownGasLimits: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
1993
- daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
1994
- l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
1995
- }, "strip", z.ZodTypeAny, {
1996
- daGas: number;
1997
- l2Gas: number;
1998
- }, {
1999
- daGas: string | number | bigint;
2000
- l2Gas: string | number | bigint;
2001
- }>, Gas, {
2002
- daGas: string | number | bigint;
2003
- l2Gas: string | number | bigint;
2004
- }>>;
2005
- maxFeePerGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
2006
- feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
2007
- feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
2008
- }, "strip", z.ZodTypeAny, {
2009
- feePerDaGas: bigint;
2010
- feePerL2Gas: bigint;
2011
- }, {
2012
- feePerDaGas: string | number | bigint;
2013
- feePerL2Gas: string | number | bigint;
2014
- }>>;
2015
- maxPriorityFeePerGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
2016
- feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
2017
- feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
2018
- }, "strip", z.ZodTypeAny, {
2019
- feePerDaGas: bigint;
2020
- feePerL2Gas: bigint;
2021
- }, {
2022
- feePerDaGas: string | number | bigint;
2023
- feePerL2Gas: string | number | bigint;
2024
- }>>;
2025
- }, "strip", z.ZodTypeAny, {
2026
- gasLimits?: Gas | undefined;
2027
- teardownGasLimits?: Gas | undefined;
2028
- maxFeePerGas?: {
2029
- feePerDaGas: bigint;
2030
- feePerL2Gas: bigint;
2031
- } | undefined;
2032
- maxPriorityFeePerGas?: {
2033
- feePerDaGas: bigint;
2034
- feePerL2Gas: bigint;
2035
- } | undefined;
2036
- }, {
2037
- gasLimits?: {
2038
- daGas: string | number | bigint;
2039
- l2Gas: string | number | bigint;
2040
- } | undefined;
2041
- teardownGasLimits?: {
2042
- daGas: string | number | bigint;
2043
- l2Gas: string | number | bigint;
2044
- } | undefined;
2045
- maxFeePerGas?: {
2046
- feePerDaGas: string | number | bigint;
2047
- feePerL2Gas: string | number | bigint;
2048
- } | undefined;
2049
- maxPriorityFeePerGas?: {
2050
- feePerDaGas: string | number | bigint;
2051
- feePerL2Gas: string | number | bigint;
2052
- } | undefined;
2053
- }>>;
2054
- }, "strip", z.ZodTypeAny, {
2055
- gasSettings?: {
2056
- gasLimits?: Gas | undefined;
2057
- teardownGasLimits?: Gas | undefined;
2058
- maxFeePerGas?: {
2059
- feePerDaGas: bigint;
2060
- feePerL2Gas: bigint;
2061
- } | undefined;
2062
- maxPriorityFeePerGas?: {
2063
- feePerDaGas: bigint;
2064
- feePerL2Gas: bigint;
2065
- } | undefined;
2066
- } | undefined;
2067
- }, {
2068
- gasSettings?: {
2069
- gasLimits?: {
2070
- daGas: string | number | bigint;
2071
- l2Gas: string | number | bigint;
2072
- } | undefined;
2073
- teardownGasLimits?: {
2074
- daGas: string | number | bigint;
2075
- l2Gas: string | number | bigint;
2076
- } | undefined;
2077
- maxFeePerGas?: {
2078
- feePerDaGas: string | number | bigint;
2079
- feePerL2Gas: string | number | bigint;
2080
- } | undefined;
2081
- maxPriorityFeePerGas?: {
2082
- feePerDaGas: string | number | bigint;
2083
- feePerL2Gas: string | number | bigint;
2084
- } | undefined;
2085
- } | undefined;
2086
- }>>;
1365
+ alias: string;
1366
+ item?: any;
1367
+ }>, "many">;
1368
+ }, "strip", z.ZodTypeAny, {
1369
+ type: "accounts";
1370
+ canGet?: boolean | undefined;
1371
+ canCreateAuthWit?: boolean | undefined;
1372
+ accounts: {
1373
+ alias: string;
1374
+ item: AztecAddress;
1375
+ }[];
1376
+ }, {
1377
+ type: "accounts";
1378
+ canGet?: boolean | undefined;
1379
+ canCreateAuthWit?: boolean | undefined;
1380
+ accounts: {
1381
+ alias: string;
1382
+ item?: any;
1383
+ }[];
1384
+ }>;
1385
+ export declare const ContractsCapabilitySchema: z.ZodObject<{
1386
+ type: z.ZodLiteral<"contracts">;
1387
+ contracts: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">]>;
1388
+ canRegister: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1389
+ canGetMetadata: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1390
+ }, "strip", z.ZodTypeAny, {
1391
+ type: "contracts";
1392
+ contracts: "*" | AztecAddress[];
1393
+ canRegister?: boolean | undefined;
1394
+ canGetMetadata?: boolean | undefined;
1395
+ }, {
1396
+ type: "contracts";
1397
+ contracts: "*" | any[];
1398
+ canRegister?: boolean | undefined;
1399
+ canGetMetadata?: boolean | undefined;
1400
+ }>;
1401
+ export declare const GrantedContractsCapabilitySchema: z.ZodObject<{
1402
+ type: z.ZodLiteral<"contracts">;
1403
+ contracts: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">]>;
1404
+ canRegister: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1405
+ canGetMetadata: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1406
+ }, "strip", z.ZodTypeAny, {
1407
+ type: "contracts";
1408
+ contracts: "*" | AztecAddress[];
1409
+ canRegister?: boolean | undefined;
1410
+ canGetMetadata?: boolean | undefined;
1411
+ }, {
1412
+ type: "contracts";
1413
+ contracts: "*" | any[];
1414
+ canRegister?: boolean | undefined;
1415
+ canGetMetadata?: boolean | undefined;
1416
+ }>;
1417
+ export declare const ContractClassesCapabilitySchema: z.ZodObject<{
1418
+ type: z.ZodLiteral<"contractClasses">;
1419
+ classes: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<Fr>, "many">]>;
1420
+ canGetMetadata: z.ZodBoolean;
1421
+ }, "strip", z.ZodTypeAny, {
1422
+ type: "contractClasses";
1423
+ classes: "*" | Fr[];
1424
+ canGetMetadata: boolean;
1425
+ }, {
1426
+ type: "contractClasses";
1427
+ classes: "*" | any[];
1428
+ canGetMetadata: boolean;
1429
+ }>;
1430
+ export declare const GrantedContractClassesCapabilitySchema: z.ZodObject<{
1431
+ type: z.ZodLiteral<"contractClasses">;
1432
+ classes: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<Fr>, "many">]>;
1433
+ canGetMetadata: z.ZodBoolean;
1434
+ }, "strip", z.ZodTypeAny, {
1435
+ type: "contractClasses";
1436
+ classes: "*" | Fr[];
1437
+ canGetMetadata: boolean;
1438
+ }, {
1439
+ type: "contractClasses";
1440
+ classes: "*" | any[];
1441
+ canGetMetadata: boolean;
1442
+ }>;
1443
+ export declare const SimulationCapabilitySchema: z.ZodObject<{
1444
+ type: z.ZodLiteral<"simulation">;
1445
+ transactions: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
1446
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
1447
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
1448
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
1449
+ }, "strip", z.ZodTypeAny, {
1450
+ contract: "*" | AztecAddress;
1451
+ function: string;
1452
+ }, {
1453
+ contract?: any;
1454
+ function: string;
1455
+ }>, "many">]>;
2087
1456
  }, "strip", z.ZodTypeAny, {
2088
- from: AztecAddress;
2089
- authWitnesses?: AuthWitness[] | undefined;
2090
- capsules?: Capsule[] | undefined;
2091
- fee?: {
2092
- gasSettings?: {
2093
- gasLimits?: Gas | undefined;
2094
- teardownGasLimits?: Gas | undefined;
2095
- maxFeePerGas?: {
2096
- feePerDaGas: bigint;
2097
- feePerL2Gas: bigint;
2098
- } | undefined;
2099
- maxPriorityFeePerGas?: {
2100
- feePerDaGas: bigint;
2101
- feePerL2Gas: bigint;
2102
- } | undefined;
2103
- } | undefined;
2104
- } | undefined;
1457
+ scope: "*" | {
1458
+ contract: "*" | AztecAddress;
1459
+ function: string;
1460
+ }[];
2105
1461
  }, {
2106
- from?: any;
2107
- authWitnesses?: string[] | undefined;
2108
- capsules?: string[] | undefined;
2109
- fee?: {
2110
- gasSettings?: {
2111
- gasLimits?: {
2112
- daGas: string | number | bigint;
2113
- l2Gas: string | number | bigint;
2114
- } | undefined;
2115
- teardownGasLimits?: {
2116
- daGas: string | number | bigint;
2117
- l2Gas: string | number | bigint;
2118
- } | undefined;
2119
- maxFeePerGas?: {
2120
- feePerDaGas: string | number | bigint;
2121
- feePerL2Gas: string | number | bigint;
2122
- } | undefined;
2123
- maxPriorityFeePerGas?: {
2124
- feePerDaGas: string | number | bigint;
2125
- feePerL2Gas: string | number | bigint;
2126
- } | undefined;
2127
- } | undefined;
2128
- } | undefined;
2129
- }>], null>;
1462
+ scope: "*" | {
1463
+ contract?: any;
1464
+ function: string;
1465
+ }[];
1466
+ }>>;
1467
+ utilities: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
1468
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
1469
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
1470
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
1471
+ }, "strip", z.ZodTypeAny, {
1472
+ contract: "*" | AztecAddress;
1473
+ function: string;
1474
+ }, {
1475
+ contract?: any;
1476
+ function: string;
1477
+ }>, "many">]>;
1478
+ }, "strip", z.ZodTypeAny, {
1479
+ scope: "*" | {
1480
+ contract: "*" | AztecAddress;
1481
+ function: string;
1482
+ }[];
1483
+ }, {
1484
+ scope: "*" | {
1485
+ contract?: any;
1486
+ function: string;
1487
+ }[];
1488
+ }>>;
2130
1489
  }, "strip", z.ZodTypeAny, {
2131
- name: "sendTx";
2132
- args: [{
2133
- calls: {
2134
- name: string;
2135
- to: AztecAddress;
2136
- selector: import("@aztec/stdlib/abi").FunctionSelector;
2137
- type: FunctionType;
2138
- isStatic: boolean;
2139
- hideMsgSender: boolean;
2140
- args: Fr[];
2141
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
1490
+ type: "simulation";
1491
+ transactions?: {
1492
+ scope: "*" | {
1493
+ contract: "*" | AztecAddress;
1494
+ function: string;
1495
+ }[];
1496
+ } | undefined;
1497
+ utilities?: {
1498
+ scope: "*" | {
1499
+ contract: "*" | AztecAddress;
1500
+ function: string;
1501
+ }[];
1502
+ } | undefined;
1503
+ }, {
1504
+ type: "simulation";
1505
+ transactions?: {
1506
+ scope: "*" | {
1507
+ contract?: any;
1508
+ function: string;
1509
+ }[];
1510
+ } | undefined;
1511
+ utilities?: {
1512
+ scope: "*" | {
1513
+ contract?: any;
1514
+ function: string;
1515
+ }[];
1516
+ } | undefined;
1517
+ }>;
1518
+ export declare const GrantedSimulationCapabilitySchema: z.ZodObject<{
1519
+ type: z.ZodLiteral<"simulation">;
1520
+ transactions: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
1521
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
1522
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
1523
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
1524
+ }, "strip", z.ZodTypeAny, {
1525
+ contract: "*" | AztecAddress;
1526
+ function: string;
1527
+ }, {
1528
+ contract?: any;
1529
+ function: string;
1530
+ }>, "many">]>;
1531
+ }, "strip", z.ZodTypeAny, {
1532
+ scope: "*" | {
1533
+ contract: "*" | AztecAddress;
1534
+ function: string;
2142
1535
  }[];
2143
- authWitnesses: AuthWitness[];
2144
- capsules: Capsule[];
2145
- extraHashedArgs: HashedValues[];
2146
- feePayer?: AztecAddress | undefined;
2147
1536
  }, {
2148
- from: AztecAddress;
2149
- authWitnesses?: AuthWitness[] | undefined;
2150
- capsules?: Capsule[] | undefined;
2151
- fee?: {
2152
- gasSettings?: {
2153
- gasLimits?: Gas | undefined;
2154
- teardownGasLimits?: Gas | undefined;
2155
- maxFeePerGas?: {
2156
- feePerDaGas: bigint;
2157
- feePerL2Gas: bigint;
2158
- } | undefined;
2159
- maxPriorityFeePerGas?: {
2160
- feePerDaGas: bigint;
2161
- feePerL2Gas: bigint;
2162
- } | undefined;
2163
- } | undefined;
2164
- } | undefined;
2165
- }];
1537
+ scope: "*" | {
1538
+ contract?: any;
1539
+ function: string;
1540
+ }[];
1541
+ }>>;
1542
+ utilities: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
1543
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
1544
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
1545
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
1546
+ }, "strip", z.ZodTypeAny, {
1547
+ contract: "*" | AztecAddress;
1548
+ function: string;
1549
+ }, {
1550
+ contract?: any;
1551
+ function: string;
1552
+ }>, "many">]>;
1553
+ }, "strip", z.ZodTypeAny, {
1554
+ scope: "*" | {
1555
+ contract: "*" | AztecAddress;
1556
+ function: string;
1557
+ }[];
1558
+ }, {
1559
+ scope: "*" | {
1560
+ contract?: any;
1561
+ function: string;
1562
+ }[];
1563
+ }>>;
1564
+ }, "strip", z.ZodTypeAny, {
1565
+ type: "simulation";
1566
+ transactions?: {
1567
+ scope: "*" | {
1568
+ contract: "*" | AztecAddress;
1569
+ function: string;
1570
+ }[];
1571
+ } | undefined;
1572
+ utilities?: {
1573
+ scope: "*" | {
1574
+ contract: "*" | AztecAddress;
1575
+ function: string;
1576
+ }[];
1577
+ } | undefined;
2166
1578
  }, {
2167
- name: "sendTx";
2168
- args: [{
2169
- calls: {
2170
- name: string;
2171
- to?: any;
2172
- selector?: any;
2173
- type: FunctionType;
2174
- isStatic: boolean;
2175
- hideMsgSender: boolean;
2176
- args: any[];
2177
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
1579
+ type: "simulation";
1580
+ transactions?: {
1581
+ scope: "*" | {
1582
+ contract?: any;
1583
+ function: string;
2178
1584
  }[];
2179
- authWitnesses: string[];
2180
- capsules: string[];
2181
- extraHashedArgs: any[];
2182
- feePayer?: any;
1585
+ } | undefined;
1586
+ utilities?: {
1587
+ scope: "*" | {
1588
+ contract?: any;
1589
+ function: string;
1590
+ }[];
1591
+ } | undefined;
1592
+ }>;
1593
+ export declare const TransactionCapabilitySchema: z.ZodObject<{
1594
+ type: z.ZodLiteral<"transaction">;
1595
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
1596
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
1597
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
1598
+ }, "strip", z.ZodTypeAny, {
1599
+ contract: "*" | AztecAddress;
1600
+ function: string;
2183
1601
  }, {
2184
- from?: any;
2185
- authWitnesses?: string[] | undefined;
2186
- capsules?: string[] | undefined;
2187
- fee?: {
2188
- gasSettings?: {
2189
- gasLimits?: {
2190
- daGas: string | number | bigint;
2191
- l2Gas: string | number | bigint;
2192
- } | undefined;
2193
- teardownGasLimits?: {
2194
- daGas: string | number | bigint;
2195
- l2Gas: string | number | bigint;
2196
- } | undefined;
2197
- maxFeePerGas?: {
2198
- feePerDaGas: string | number | bigint;
2199
- feePerL2Gas: string | number | bigint;
2200
- } | undefined;
2201
- maxPriorityFeePerGas?: {
2202
- feePerDaGas: string | number | bigint;
2203
- feePerL2Gas: string | number | bigint;
2204
- } | undefined;
2205
- } | undefined;
2206
- } | undefined;
2207
- }];
1602
+ contract?: any;
1603
+ function: string;
1604
+ }>, "many">]>;
1605
+ }, "strip", z.ZodTypeAny, {
1606
+ type: "transaction";
1607
+ scope: "*" | {
1608
+ contract: "*" | AztecAddress;
1609
+ function: string;
1610
+ }[];
1611
+ }, {
1612
+ type: "transaction";
1613
+ scope: "*" | {
1614
+ contract?: any;
1615
+ function: string;
1616
+ }[];
1617
+ }>;
1618
+ export declare const GrantedTransactionCapabilitySchema: z.ZodObject<{
1619
+ type: z.ZodLiteral<"transaction">;
1620
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
1621
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
1622
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
1623
+ }, "strip", z.ZodTypeAny, {
1624
+ contract: "*" | AztecAddress;
1625
+ function: string;
1626
+ }, {
1627
+ contract?: any;
1628
+ function: string;
1629
+ }>, "many">]>;
1630
+ }, "strip", z.ZodTypeAny, {
1631
+ type: "transaction";
1632
+ scope: "*" | {
1633
+ contract: "*" | AztecAddress;
1634
+ function: string;
1635
+ }[];
1636
+ }, {
1637
+ type: "transaction";
1638
+ scope: "*" | {
1639
+ contract?: any;
1640
+ function: string;
1641
+ }[];
1642
+ }>;
1643
+ export declare const DataCapabilitySchema: z.ZodObject<{
1644
+ type: z.ZodLiteral<"data">;
1645
+ addressBook: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1646
+ privateEvents: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
1647
+ contracts: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">]>;
1648
+ }, "strip", z.ZodTypeAny, {
1649
+ contracts: "*" | AztecAddress[];
1650
+ }, {
1651
+ contracts: "*" | any[];
1652
+ }>>;
1653
+ }, "strip", z.ZodTypeAny, {
1654
+ type: "data";
1655
+ addressBook?: boolean | undefined;
1656
+ privateEvents?: {
1657
+ contracts: "*" | AztecAddress[];
1658
+ } | undefined;
1659
+ }, {
1660
+ type: "data";
1661
+ addressBook?: boolean | undefined;
1662
+ privateEvents?: {
1663
+ contracts: "*" | any[];
1664
+ } | undefined;
1665
+ }>;
1666
+ export declare const GrantedDataCapabilitySchema: z.ZodObject<{
1667
+ type: z.ZodLiteral<"data">;
1668
+ addressBook: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1669
+ privateEvents: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
1670
+ contracts: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">]>;
1671
+ }, "strip", z.ZodTypeAny, {
1672
+ contracts: "*" | AztecAddress[];
1673
+ }, {
1674
+ contracts: "*" | any[];
1675
+ }>>;
1676
+ }, "strip", z.ZodTypeAny, {
1677
+ type: "data";
1678
+ addressBook?: boolean | undefined;
1679
+ privateEvents?: {
1680
+ contracts: "*" | AztecAddress[];
1681
+ } | undefined;
1682
+ }, {
1683
+ type: "data";
1684
+ addressBook?: boolean | undefined;
1685
+ privateEvents?: {
1686
+ contracts: "*" | any[];
1687
+ } | undefined;
1688
+ }>;
1689
+ export declare const CapabilitySchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1690
+ type: z.ZodLiteral<"accounts">;
1691
+ canGet: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1692
+ canCreateAuthWit: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1693
+ }, "strip", z.ZodTypeAny, {
1694
+ type: "accounts";
1695
+ canGet?: boolean | undefined;
1696
+ canCreateAuthWit?: boolean | undefined;
1697
+ }, {
1698
+ type: "accounts";
1699
+ canGet?: boolean | undefined;
1700
+ canCreateAuthWit?: boolean | undefined;
2208
1701
  }>, z.ZodObject<{
2209
- name: z.ZodLiteral<"simulateUtility">;
2210
- args: z.ZodTuple<[z.ZodObject<{
2211
- name: z.ZodString;
2212
- to: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
2213
- selector: import("@aztec/stdlib/schemas").ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
2214
- type: z.ZodNativeEnum<typeof FunctionType>;
2215
- isStatic: z.ZodBoolean;
2216
- hideMsgSender: z.ZodBoolean;
2217
- args: z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<Fr>, "many">;
2218
- returnTypes: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
1702
+ type: z.ZodLiteral<"contracts">;
1703
+ contracts: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">]>;
1704
+ canRegister: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1705
+ canGetMetadata: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1706
+ }, "strip", z.ZodTypeAny, {
1707
+ type: "contracts";
1708
+ contracts: "*" | AztecAddress[];
1709
+ canRegister?: boolean | undefined;
1710
+ canGetMetadata?: boolean | undefined;
1711
+ }, {
1712
+ type: "contracts";
1713
+ contracts: "*" | any[];
1714
+ canRegister?: boolean | undefined;
1715
+ canGetMetadata?: boolean | undefined;
1716
+ }>, z.ZodObject<{
1717
+ type: z.ZodLiteral<"contractClasses">;
1718
+ classes: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<Fr>, "many">]>;
1719
+ canGetMetadata: z.ZodBoolean;
1720
+ }, "strip", z.ZodTypeAny, {
1721
+ type: "contractClasses";
1722
+ classes: "*" | Fr[];
1723
+ canGetMetadata: boolean;
1724
+ }, {
1725
+ type: "contractClasses";
1726
+ classes: "*" | any[];
1727
+ canGetMetadata: boolean;
1728
+ }>, z.ZodObject<{
1729
+ type: z.ZodLiteral<"simulation">;
1730
+ transactions: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
1731
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
1732
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
1733
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
1734
+ }, "strip", z.ZodTypeAny, {
1735
+ contract: "*" | AztecAddress;
1736
+ function: string;
1737
+ }, {
1738
+ contract?: any;
1739
+ function: string;
1740
+ }>, "many">]>;
2219
1741
  }, "strip", z.ZodTypeAny, {
2220
- name: string;
2221
- to: AztecAddress;
2222
- selector: import("@aztec/stdlib/abi").FunctionSelector;
2223
- type: FunctionType;
2224
- isStatic: boolean;
2225
- hideMsgSender: boolean;
2226
- args: Fr[];
2227
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
1742
+ scope: "*" | {
1743
+ contract: "*" | AztecAddress;
1744
+ function: string;
1745
+ }[];
2228
1746
  }, {
2229
- name: string;
2230
- to?: any;
2231
- selector?: any;
2232
- type: FunctionType;
2233
- isStatic: boolean;
2234
- hideMsgSender: boolean;
2235
- args: any[];
2236
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
2237
- }>, import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">>], null>;
1747
+ scope: "*" | {
1748
+ contract?: any;
1749
+ function: string;
1750
+ }[];
1751
+ }>>;
1752
+ utilities: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
1753
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
1754
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
1755
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
1756
+ }, "strip", z.ZodTypeAny, {
1757
+ contract: "*" | AztecAddress;
1758
+ function: string;
1759
+ }, {
1760
+ contract?: any;
1761
+ function: string;
1762
+ }>, "many">]>;
1763
+ }, "strip", z.ZodTypeAny, {
1764
+ scope: "*" | {
1765
+ contract: "*" | AztecAddress;
1766
+ function: string;
1767
+ }[];
1768
+ }, {
1769
+ scope: "*" | {
1770
+ contract?: any;
1771
+ function: string;
1772
+ }[];
1773
+ }>>;
2238
1774
  }, "strip", z.ZodTypeAny, {
2239
- name: "simulateUtility";
2240
- args: [{
2241
- name: string;
2242
- to: AztecAddress;
2243
- selector: import("@aztec/stdlib/abi").FunctionSelector;
2244
- type: FunctionType;
2245
- isStatic: boolean;
2246
- hideMsgSender: boolean;
2247
- args: Fr[];
2248
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
2249
- }, AuthWitness[] | undefined];
1775
+ type: "simulation";
1776
+ transactions?: {
1777
+ scope: "*" | {
1778
+ contract: "*" | AztecAddress;
1779
+ function: string;
1780
+ }[];
1781
+ } | undefined;
1782
+ utilities?: {
1783
+ scope: "*" | {
1784
+ contract: "*" | AztecAddress;
1785
+ function: string;
1786
+ }[];
1787
+ } | undefined;
2250
1788
  }, {
2251
- name: "simulateUtility";
2252
- args: [{
2253
- name: string;
2254
- to?: any;
2255
- selector?: any;
2256
- type: FunctionType;
2257
- isStatic: boolean;
2258
- hideMsgSender: boolean;
2259
- args: any[];
2260
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
2261
- }, string[] | undefined];
1789
+ type: "simulation";
1790
+ transactions?: {
1791
+ scope: "*" | {
1792
+ contract?: any;
1793
+ function: string;
1794
+ }[];
1795
+ } | undefined;
1796
+ utilities?: {
1797
+ scope: "*" | {
1798
+ contract?: any;
1799
+ function: string;
1800
+ }[];
1801
+ } | undefined;
1802
+ }>, z.ZodObject<{
1803
+ type: z.ZodLiteral<"transaction">;
1804
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
1805
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
1806
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
1807
+ }, "strip", z.ZodTypeAny, {
1808
+ contract: "*" | AztecAddress;
1809
+ function: string;
1810
+ }, {
1811
+ contract?: any;
1812
+ function: string;
1813
+ }>, "many">]>;
1814
+ }, "strip", z.ZodTypeAny, {
1815
+ type: "transaction";
1816
+ scope: "*" | {
1817
+ contract: "*" | AztecAddress;
1818
+ function: string;
1819
+ }[];
1820
+ }, {
1821
+ type: "transaction";
1822
+ scope: "*" | {
1823
+ contract?: any;
1824
+ function: string;
1825
+ }[];
1826
+ }>, z.ZodObject<{
1827
+ type: z.ZodLiteral<"data">;
1828
+ addressBook: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1829
+ privateEvents: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
1830
+ contracts: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">]>;
1831
+ }, "strip", z.ZodTypeAny, {
1832
+ contracts: "*" | AztecAddress[];
1833
+ }, {
1834
+ contracts: "*" | any[];
1835
+ }>>;
1836
+ }, "strip", z.ZodTypeAny, {
1837
+ type: "data";
1838
+ addressBook?: boolean | undefined;
1839
+ privateEvents?: {
1840
+ contracts: "*" | AztecAddress[];
1841
+ } | undefined;
1842
+ }, {
1843
+ type: "data";
1844
+ addressBook?: boolean | undefined;
1845
+ privateEvents?: {
1846
+ contracts: "*" | any[];
1847
+ } | undefined;
1848
+ }>]>;
1849
+ export declare const GrantedCapabilitySchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1850
+ type: z.ZodLiteral<"accounts">;
1851
+ canGet: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1852
+ canCreateAuthWit: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1853
+ } & {
1854
+ accounts: z.ZodArray<z.ZodObject<{
1855
+ alias: z.ZodString;
1856
+ item: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
1857
+ }, "strip", z.ZodTypeAny, {
1858
+ alias: string;
1859
+ item: AztecAddress;
1860
+ }, {
1861
+ alias: string;
1862
+ item?: any;
1863
+ }>, "many">;
1864
+ }, "strip", z.ZodTypeAny, {
1865
+ type: "accounts";
1866
+ canGet?: boolean | undefined;
1867
+ canCreateAuthWit?: boolean | undefined;
1868
+ accounts: {
1869
+ alias: string;
1870
+ item: AztecAddress;
1871
+ }[];
1872
+ }, {
1873
+ type: "accounts";
1874
+ canGet?: boolean | undefined;
1875
+ canCreateAuthWit?: boolean | undefined;
1876
+ accounts: {
1877
+ alias: string;
1878
+ item?: any;
1879
+ }[];
1880
+ }>, z.ZodObject<{
1881
+ type: z.ZodLiteral<"contracts">;
1882
+ contracts: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">]>;
1883
+ canRegister: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1884
+ canGetMetadata: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1885
+ }, "strip", z.ZodTypeAny, {
1886
+ type: "contracts";
1887
+ contracts: "*" | AztecAddress[];
1888
+ canRegister?: boolean | undefined;
1889
+ canGetMetadata?: boolean | undefined;
1890
+ }, {
1891
+ type: "contracts";
1892
+ contracts: "*" | any[];
1893
+ canRegister?: boolean | undefined;
1894
+ canGetMetadata?: boolean | undefined;
1895
+ }>, z.ZodObject<{
1896
+ type: z.ZodLiteral<"contractClasses">;
1897
+ classes: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<Fr>, "many">]>;
1898
+ canGetMetadata: z.ZodBoolean;
1899
+ }, "strip", z.ZodTypeAny, {
1900
+ type: "contractClasses";
1901
+ classes: "*" | Fr[];
1902
+ canGetMetadata: boolean;
1903
+ }, {
1904
+ type: "contractClasses";
1905
+ classes: "*" | any[];
1906
+ canGetMetadata: boolean;
2262
1907
  }>, z.ZodObject<{
2263
- name: z.ZodLiteral<"simulateTx">;
2264
- args: z.ZodTuple<[z.ZodObject<{
2265
- calls: z.ZodArray<z.ZodObject<{
2266
- name: z.ZodString;
2267
- to: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
2268
- selector: import("@aztec/stdlib/schemas").ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
2269
- type: z.ZodNativeEnum<typeof FunctionType>;
2270
- isStatic: z.ZodBoolean;
2271
- hideMsgSender: z.ZodBoolean;
2272
- args: z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<Fr>, "many">;
2273
- returnTypes: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
1908
+ type: z.ZodLiteral<"simulation">;
1909
+ transactions: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
1910
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
1911
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
1912
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
2274
1913
  }, "strip", z.ZodTypeAny, {
2275
- name: string;
2276
- to: AztecAddress;
2277
- selector: import("@aztec/stdlib/abi").FunctionSelector;
2278
- type: FunctionType;
2279
- isStatic: boolean;
2280
- hideMsgSender: boolean;
2281
- args: Fr[];
2282
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
1914
+ contract: "*" | AztecAddress;
1915
+ function: string;
2283
1916
  }, {
2284
- name: string;
2285
- to?: any;
2286
- selector?: any;
2287
- type: FunctionType;
2288
- isStatic: boolean;
2289
- hideMsgSender: boolean;
2290
- args: any[];
2291
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
2292
- }>, "many">;
2293
- authWitnesses: z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">;
2294
- capsules: z.ZodArray<z.ZodType<Capsule, any, string>, "many">;
2295
- extraHashedArgs: z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<HashedValues>, "many">;
2296
- feePayer: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>>;
1917
+ contract?: any;
1918
+ function: string;
1919
+ }>, "many">]>;
1920
+ }, "strip", z.ZodTypeAny, {
1921
+ scope: "*" | {
1922
+ contract: "*" | AztecAddress;
1923
+ function: string;
1924
+ }[];
1925
+ }, {
1926
+ scope: "*" | {
1927
+ contract?: any;
1928
+ function: string;
1929
+ }[];
1930
+ }>>;
1931
+ utilities: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
1932
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
1933
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
1934
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
1935
+ }, "strip", z.ZodTypeAny, {
1936
+ contract: "*" | AztecAddress;
1937
+ function: string;
1938
+ }, {
1939
+ contract?: any;
1940
+ function: string;
1941
+ }>, "many">]>;
2297
1942
  }, "strip", z.ZodTypeAny, {
2298
- calls: {
2299
- name: string;
2300
- to: AztecAddress;
2301
- selector: import("@aztec/stdlib/abi").FunctionSelector;
2302
- type: FunctionType;
2303
- isStatic: boolean;
2304
- hideMsgSender: boolean;
2305
- args: Fr[];
2306
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
1943
+ scope: "*" | {
1944
+ contract: "*" | AztecAddress;
1945
+ function: string;
2307
1946
  }[];
2308
- authWitnesses: AuthWitness[];
2309
- capsules: Capsule[];
2310
- extraHashedArgs: HashedValues[];
2311
- feePayer?: AztecAddress | undefined;
2312
1947
  }, {
2313
- calls: {
2314
- name: string;
2315
- to?: any;
2316
- selector?: any;
2317
- type: FunctionType;
2318
- isStatic: boolean;
2319
- hideMsgSender: boolean;
2320
- args: any[];
2321
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
1948
+ scope: "*" | {
1949
+ contract?: any;
1950
+ function: string;
1951
+ }[];
1952
+ }>>;
1953
+ }, "strip", z.ZodTypeAny, {
1954
+ type: "simulation";
1955
+ transactions?: {
1956
+ scope: "*" | {
1957
+ contract: "*" | AztecAddress;
1958
+ function: string;
1959
+ }[];
1960
+ } | undefined;
1961
+ utilities?: {
1962
+ scope: "*" | {
1963
+ contract: "*" | AztecAddress;
1964
+ function: string;
1965
+ }[];
1966
+ } | undefined;
1967
+ }, {
1968
+ type: "simulation";
1969
+ transactions?: {
1970
+ scope: "*" | {
1971
+ contract?: any;
1972
+ function: string;
1973
+ }[];
1974
+ } | undefined;
1975
+ utilities?: {
1976
+ scope: "*" | {
1977
+ contract?: any;
1978
+ function: string;
2322
1979
  }[];
2323
- authWitnesses: string[];
2324
- capsules: string[];
2325
- extraHashedArgs: any[];
2326
- feePayer?: any;
1980
+ } | undefined;
1981
+ }>, z.ZodObject<{
1982
+ type: z.ZodLiteral<"transaction">;
1983
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
1984
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
1985
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
1986
+ }, "strip", z.ZodTypeAny, {
1987
+ contract: "*" | AztecAddress;
1988
+ function: string;
1989
+ }, {
1990
+ contract?: any;
1991
+ function: string;
1992
+ }>, "many">]>;
1993
+ }, "strip", z.ZodTypeAny, {
1994
+ type: "transaction";
1995
+ scope: "*" | {
1996
+ contract: "*" | AztecAddress;
1997
+ function: string;
1998
+ }[];
1999
+ }, {
2000
+ type: "transaction";
2001
+ scope: "*" | {
2002
+ contract?: any;
2003
+ function: string;
2004
+ }[];
2005
+ }>, z.ZodObject<{
2006
+ type: z.ZodLiteral<"data">;
2007
+ addressBook: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
2008
+ privateEvents: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
2009
+ contracts: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">]>;
2010
+ }, "strip", z.ZodTypeAny, {
2011
+ contracts: "*" | AztecAddress[];
2012
+ }, {
2013
+ contracts: "*" | any[];
2014
+ }>>;
2015
+ }, "strip", z.ZodTypeAny, {
2016
+ type: "data";
2017
+ addressBook?: boolean | undefined;
2018
+ privateEvents?: {
2019
+ contracts: "*" | AztecAddress[];
2020
+ } | undefined;
2021
+ }, {
2022
+ type: "data";
2023
+ addressBook?: boolean | undefined;
2024
+ privateEvents?: {
2025
+ contracts: "*" | any[];
2026
+ } | undefined;
2027
+ }>]>;
2028
+ export declare const AppCapabilitiesSchema: z.ZodObject<{
2029
+ version: z.ZodLiteral<"1.0">;
2030
+ metadata: z.ZodObject<{
2031
+ name: z.ZodString;
2032
+ version: z.ZodString;
2033
+ description: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
2034
+ url: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
2035
+ icon: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
2036
+ }, "strip", z.ZodTypeAny, {
2037
+ name: string;
2038
+ version: string;
2039
+ description?: string | undefined;
2040
+ url?: string | undefined;
2041
+ icon?: string | undefined;
2042
+ }, {
2043
+ name: string;
2044
+ version: string;
2045
+ description?: string | undefined;
2046
+ url?: string | undefined;
2047
+ icon?: string | undefined;
2048
+ }>;
2049
+ capabilities: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2050
+ type: z.ZodLiteral<"accounts">;
2051
+ canGet: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
2052
+ canCreateAuthWit: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
2053
+ }, "strip", z.ZodTypeAny, {
2054
+ type: "accounts";
2055
+ canGet?: boolean | undefined;
2056
+ canCreateAuthWit?: boolean | undefined;
2057
+ }, {
2058
+ type: "accounts";
2059
+ canGet?: boolean | undefined;
2060
+ canCreateAuthWit?: boolean | undefined;
2061
+ }>, z.ZodObject<{
2062
+ type: z.ZodLiteral<"contracts">;
2063
+ contracts: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">]>;
2064
+ canRegister: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
2065
+ canGetMetadata: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
2066
+ }, "strip", z.ZodTypeAny, {
2067
+ type: "contracts";
2068
+ contracts: "*" | AztecAddress[];
2069
+ canRegister?: boolean | undefined;
2070
+ canGetMetadata?: boolean | undefined;
2071
+ }, {
2072
+ type: "contracts";
2073
+ contracts: "*" | any[];
2074
+ canRegister?: boolean | undefined;
2075
+ canGetMetadata?: boolean | undefined;
2327
2076
  }>, z.ZodObject<{
2328
- from: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
2329
- authWitnesses: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">>;
2330
- capsules: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodArray<z.ZodType<Capsule, any, string>, "many">>;
2331
- fee: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
2332
- gasSettings: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
2333
- gasLimits: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
2334
- daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
2335
- l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
2336
- }, "strip", z.ZodTypeAny, {
2337
- daGas: number;
2338
- l2Gas: number;
2339
- }, {
2340
- daGas: string | number | bigint;
2341
- l2Gas: string | number | bigint;
2342
- }>, Gas, {
2343
- daGas: string | number | bigint;
2344
- l2Gas: string | number | bigint;
2345
- }>>;
2346
- teardownGasLimits: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
2347
- daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
2348
- l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
2349
- }, "strip", z.ZodTypeAny, {
2350
- daGas: number;
2351
- l2Gas: number;
2352
- }, {
2353
- daGas: string | number | bigint;
2354
- l2Gas: string | number | bigint;
2355
- }>, Gas, {
2356
- daGas: string | number | bigint;
2357
- l2Gas: string | number | bigint;
2358
- }>>;
2359
- maxFeePerGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
2360
- feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
2361
- feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
2362
- }, "strip", z.ZodTypeAny, {
2363
- feePerDaGas: bigint;
2364
- feePerL2Gas: bigint;
2365
- }, {
2366
- feePerDaGas: string | number | bigint;
2367
- feePerL2Gas: string | number | bigint;
2368
- }>>;
2369
- maxPriorityFeePerGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
2370
- feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
2371
- feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
2372
- }, "strip", z.ZodTypeAny, {
2373
- feePerDaGas: bigint;
2374
- feePerL2Gas: bigint;
2375
- }, {
2376
- feePerDaGas: string | number | bigint;
2377
- feePerL2Gas: string | number | bigint;
2378
- }>>;
2077
+ type: z.ZodLiteral<"contractClasses">;
2078
+ classes: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<Fr>, "many">]>;
2079
+ canGetMetadata: z.ZodBoolean;
2080
+ }, "strip", z.ZodTypeAny, {
2081
+ type: "contractClasses";
2082
+ classes: "*" | Fr[];
2083
+ canGetMetadata: boolean;
2084
+ }, {
2085
+ type: "contractClasses";
2086
+ classes: "*" | any[];
2087
+ canGetMetadata: boolean;
2088
+ }>, z.ZodObject<{
2089
+ type: z.ZodLiteral<"simulation">;
2090
+ transactions: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
2091
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
2092
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
2093
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
2379
2094
  }, "strip", z.ZodTypeAny, {
2380
- gasLimits?: Gas | undefined;
2381
- teardownGasLimits?: Gas | undefined;
2382
- maxFeePerGas?: {
2383
- feePerDaGas: bigint;
2384
- feePerL2Gas: bigint;
2385
- } | undefined;
2386
- maxPriorityFeePerGas?: {
2387
- feePerDaGas: bigint;
2388
- feePerL2Gas: bigint;
2389
- } | undefined;
2095
+ contract: "*" | AztecAddress;
2096
+ function: string;
2390
2097
  }, {
2391
- gasLimits?: {
2392
- daGas: string | number | bigint;
2393
- l2Gas: string | number | bigint;
2394
- } | undefined;
2395
- teardownGasLimits?: {
2396
- daGas: string | number | bigint;
2397
- l2Gas: string | number | bigint;
2398
- } | undefined;
2399
- maxFeePerGas?: {
2400
- feePerDaGas: string | number | bigint;
2401
- feePerL2Gas: string | number | bigint;
2402
- } | undefined;
2403
- maxPriorityFeePerGas?: {
2404
- feePerDaGas: string | number | bigint;
2405
- feePerL2Gas: string | number | bigint;
2406
- } | undefined;
2407
- }>>;
2408
- } & {
2409
- estimatedGasPadding: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodNumber>;
2410
- estimateGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodBoolean>;
2098
+ contract?: any;
2099
+ function: string;
2100
+ }>, "many">]>;
2411
2101
  }, "strip", z.ZodTypeAny, {
2412
- gasSettings?: {
2413
- gasLimits?: Gas | undefined;
2414
- teardownGasLimits?: Gas | undefined;
2415
- maxFeePerGas?: {
2416
- feePerDaGas: bigint;
2417
- feePerL2Gas: bigint;
2418
- } | undefined;
2419
- maxPriorityFeePerGas?: {
2420
- feePerDaGas: bigint;
2421
- feePerL2Gas: bigint;
2422
- } | undefined;
2423
- } | undefined;
2424
- estimatedGasPadding?: number | undefined;
2425
- estimateGas?: boolean | undefined;
2102
+ scope: "*" | {
2103
+ contract: "*" | AztecAddress;
2104
+ function: string;
2105
+ }[];
2426
2106
  }, {
2427
- gasSettings?: {
2428
- gasLimits?: {
2429
- daGas: string | number | bigint;
2430
- l2Gas: string | number | bigint;
2431
- } | undefined;
2432
- teardownGasLimits?: {
2433
- daGas: string | number | bigint;
2434
- l2Gas: string | number | bigint;
2435
- } | undefined;
2436
- maxFeePerGas?: {
2437
- feePerDaGas: string | number | bigint;
2438
- feePerL2Gas: string | number | bigint;
2439
- } | undefined;
2440
- maxPriorityFeePerGas?: {
2441
- feePerDaGas: string | number | bigint;
2442
- feePerL2Gas: string | number | bigint;
2443
- } | undefined;
2444
- } | undefined;
2445
- estimatedGasPadding?: number | undefined;
2446
- estimateGas?: boolean | undefined;
2107
+ scope: "*" | {
2108
+ contract?: any;
2109
+ function: string;
2110
+ }[];
2111
+ }>>;
2112
+ utilities: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
2113
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
2114
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
2115
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
2116
+ }, "strip", z.ZodTypeAny, {
2117
+ contract: "*" | AztecAddress;
2118
+ function: string;
2119
+ }, {
2120
+ contract?: any;
2121
+ function: string;
2122
+ }>, "many">]>;
2123
+ }, "strip", z.ZodTypeAny, {
2124
+ scope: "*" | {
2125
+ contract: "*" | AztecAddress;
2126
+ function: string;
2127
+ }[];
2128
+ }, {
2129
+ scope: "*" | {
2130
+ contract?: any;
2131
+ function: string;
2132
+ }[];
2447
2133
  }>>;
2448
- skipTxValidation: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodBoolean>;
2449
- skipFeeEnforcement: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodBoolean>;
2450
- includeMetadata: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodBoolean>;
2451
2134
  }, "strip", z.ZodTypeAny, {
2452
- from: AztecAddress;
2453
- authWitnesses?: AuthWitness[] | undefined;
2454
- capsules?: Capsule[] | undefined;
2455
- fee?: {
2456
- gasSettings?: {
2457
- gasLimits?: Gas | undefined;
2458
- teardownGasLimits?: Gas | undefined;
2459
- maxFeePerGas?: {
2460
- feePerDaGas: bigint;
2461
- feePerL2Gas: bigint;
2462
- } | undefined;
2463
- maxPriorityFeePerGas?: {
2464
- feePerDaGas: bigint;
2465
- feePerL2Gas: bigint;
2466
- } | undefined;
2467
- } | undefined;
2468
- estimatedGasPadding?: number | undefined;
2469
- estimateGas?: boolean | undefined;
2135
+ type: "simulation";
2136
+ transactions?: {
2137
+ scope: "*" | {
2138
+ contract: "*" | AztecAddress;
2139
+ function: string;
2140
+ }[];
2470
2141
  } | undefined;
2471
- skipTxValidation?: boolean | undefined;
2472
- skipFeeEnforcement?: boolean | undefined;
2473
- includeMetadata?: boolean | undefined;
2474
- }, {
2475
- from?: any;
2476
- authWitnesses?: string[] | undefined;
2477
- capsules?: string[] | undefined;
2478
- fee?: {
2479
- gasSettings?: {
2480
- gasLimits?: {
2481
- daGas: string | number | bigint;
2482
- l2Gas: string | number | bigint;
2483
- } | undefined;
2484
- teardownGasLimits?: {
2485
- daGas: string | number | bigint;
2486
- l2Gas: string | number | bigint;
2487
- } | undefined;
2488
- maxFeePerGas?: {
2489
- feePerDaGas: string | number | bigint;
2490
- feePerL2Gas: string | number | bigint;
2491
- } | undefined;
2492
- maxPriorityFeePerGas?: {
2493
- feePerDaGas: string | number | bigint;
2494
- feePerL2Gas: string | number | bigint;
2495
- } | undefined;
2496
- } | undefined;
2497
- estimatedGasPadding?: number | undefined;
2498
- estimateGas?: boolean | undefined;
2142
+ utilities?: {
2143
+ scope: "*" | {
2144
+ contract: "*" | AztecAddress;
2145
+ function: string;
2146
+ }[];
2499
2147
  } | undefined;
2500
- skipTxValidation?: boolean | undefined;
2501
- skipFeeEnforcement?: boolean | undefined;
2502
- includeMetadata?: boolean | undefined;
2503
- }>], null>;
2504
- }, "strip", z.ZodTypeAny, {
2505
- name: "simulateTx";
2506
- args: [{
2507
- calls: {
2508
- name: string;
2509
- to: AztecAddress;
2510
- selector: import("@aztec/stdlib/abi").FunctionSelector;
2511
- type: FunctionType;
2512
- isStatic: boolean;
2513
- hideMsgSender: boolean;
2514
- args: Fr[];
2515
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
2516
- }[];
2517
- authWitnesses: AuthWitness[];
2518
- capsules: Capsule[];
2519
- extraHashedArgs: HashedValues[];
2520
- feePayer?: AztecAddress | undefined;
2521
2148
  }, {
2522
- from: AztecAddress;
2523
- authWitnesses?: AuthWitness[] | undefined;
2524
- capsules?: Capsule[] | undefined;
2525
- fee?: {
2526
- gasSettings?: {
2527
- gasLimits?: Gas | undefined;
2528
- teardownGasLimits?: Gas | undefined;
2529
- maxFeePerGas?: {
2530
- feePerDaGas: bigint;
2531
- feePerL2Gas: bigint;
2532
- } | undefined;
2533
- maxPriorityFeePerGas?: {
2534
- feePerDaGas: bigint;
2535
- feePerL2Gas: bigint;
2536
- } | undefined;
2537
- } | undefined;
2538
- estimatedGasPadding?: number | undefined;
2539
- estimateGas?: boolean | undefined;
2149
+ type: "simulation";
2150
+ transactions?: {
2151
+ scope: "*" | {
2152
+ contract?: any;
2153
+ function: string;
2154
+ }[];
2540
2155
  } | undefined;
2541
- skipTxValidation?: boolean | undefined;
2542
- skipFeeEnforcement?: boolean | undefined;
2543
- includeMetadata?: boolean | undefined;
2544
- }];
2545
- }, {
2546
- name: "simulateTx";
2547
- args: [{
2548
- calls: {
2549
- name: string;
2550
- to?: any;
2551
- selector?: any;
2552
- type: FunctionType;
2553
- isStatic: boolean;
2554
- hideMsgSender: boolean;
2555
- args: any[];
2556
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
2557
- }[];
2558
- authWitnesses: string[];
2559
- capsules: string[];
2560
- extraHashedArgs: any[];
2561
- feePayer?: any;
2562
- }, {
2563
- from?: any;
2564
- authWitnesses?: string[] | undefined;
2565
- capsules?: string[] | undefined;
2566
- fee?: {
2567
- gasSettings?: {
2568
- gasLimits?: {
2569
- daGas: string | number | bigint;
2570
- l2Gas: string | number | bigint;
2571
- } | undefined;
2572
- teardownGasLimits?: {
2573
- daGas: string | number | bigint;
2574
- l2Gas: string | number | bigint;
2575
- } | undefined;
2576
- maxFeePerGas?: {
2577
- feePerDaGas: string | number | bigint;
2578
- feePerL2Gas: string | number | bigint;
2579
- } | undefined;
2580
- maxPriorityFeePerGas?: {
2581
- feePerDaGas: string | number | bigint;
2582
- feePerL2Gas: string | number | bigint;
2583
- } | undefined;
2584
- } | undefined;
2585
- estimatedGasPadding?: number | undefined;
2586
- estimateGas?: boolean | undefined;
2156
+ utilities?: {
2157
+ scope: "*" | {
2158
+ contract?: any;
2159
+ function: string;
2160
+ }[];
2587
2161
  } | undefined;
2588
- skipTxValidation?: boolean | undefined;
2589
- skipFeeEnforcement?: boolean | undefined;
2590
- includeMetadata?: boolean | undefined;
2591
- }];
2592
- }>]>;
2593
- export declare const ContractMetadataSchema: z.ZodObject<{
2594
- contractInstance: z.ZodUnion<[z.ZodIntersection<z.ZodObject<{
2595
- version: z.ZodLiteral<1>;
2596
- salt: import("@aztec/stdlib/schemas").ZodFor<Fr>;
2597
- deployer: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
2598
- currentContractClassId: import("@aztec/stdlib/schemas").ZodFor<Fr>;
2599
- originalContractClassId: import("@aztec/stdlib/schemas").ZodFor<Fr>;
2600
- initializationHash: import("@aztec/stdlib/schemas").ZodFor<Fr>;
2601
- publicKeys: z.ZodEffects<z.ZodObject<{
2602
- masterNullifierPublicKey: z.ZodType<import("../api/fields.js").Point, any, string>;
2603
- masterIncomingViewingPublicKey: z.ZodType<import("../api/fields.js").Point, any, string>;
2604
- masterOutgoingViewingPublicKey: z.ZodType<import("../api/fields.js").Point, any, string>;
2605
- masterTaggingPublicKey: z.ZodType<import("../api/fields.js").Point, any, string>;
2162
+ }>, z.ZodObject<{
2163
+ type: z.ZodLiteral<"transaction">;
2164
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
2165
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
2166
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
2606
2167
  }, "strip", z.ZodTypeAny, {
2607
- masterNullifierPublicKey: import("../api/fields.js").Point;
2608
- masterIncomingViewingPublicKey: import("../api/fields.js").Point;
2609
- masterOutgoingViewingPublicKey: import("../api/fields.js").Point;
2610
- masterTaggingPublicKey: import("../api/fields.js").Point;
2168
+ contract: "*" | AztecAddress;
2169
+ function: string;
2611
2170
  }, {
2612
- masterNullifierPublicKey: string;
2613
- masterIncomingViewingPublicKey: string;
2614
- masterOutgoingViewingPublicKey: string;
2615
- masterTaggingPublicKey: string;
2616
- }>, import("../api/keys.js").PublicKeys, {
2617
- masterNullifierPublicKey: string;
2618
- masterIncomingViewingPublicKey: string;
2619
- masterOutgoingViewingPublicKey: string;
2620
- masterTaggingPublicKey: string;
2621
- }>;
2171
+ contract?: any;
2172
+ function: string;
2173
+ }>, "many">]>;
2622
2174
  }, "strip", z.ZodTypeAny, {
2623
- version: 1;
2624
- salt: Fr;
2625
- deployer: AztecAddress;
2626
- currentContractClassId: Fr;
2627
- originalContractClassId: Fr;
2628
- initializationHash: Fr;
2629
- publicKeys: import("../api/keys.js").PublicKeys;
2175
+ type: "transaction";
2176
+ scope: "*" | {
2177
+ contract: "*" | AztecAddress;
2178
+ function: string;
2179
+ }[];
2630
2180
  }, {
2631
- version: 1;
2632
- salt?: any;
2633
- deployer?: any;
2634
- currentContractClassId?: any;
2635
- originalContractClassId?: any;
2636
- initializationHash?: any;
2637
- publicKeys: {
2638
- masterNullifierPublicKey: string;
2639
- masterIncomingViewingPublicKey: string;
2640
- masterOutgoingViewingPublicKey: string;
2641
- masterTaggingPublicKey: string;
2642
- };
2181
+ type: "transaction";
2182
+ scope: "*" | {
2183
+ contract?: any;
2184
+ function: string;
2185
+ }[];
2643
2186
  }>, z.ZodObject<{
2644
- address: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
2187
+ type: z.ZodLiteral<"data">;
2188
+ addressBook: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
2189
+ privateEvents: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
2190
+ contracts: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">]>;
2191
+ }, "strip", z.ZodTypeAny, {
2192
+ contracts: "*" | AztecAddress[];
2193
+ }, {
2194
+ contracts: "*" | any[];
2195
+ }>>;
2645
2196
  }, "strip", z.ZodTypeAny, {
2646
- address: AztecAddress;
2197
+ type: "data";
2198
+ addressBook?: boolean | undefined;
2199
+ privateEvents?: {
2200
+ contracts: "*" | AztecAddress[];
2201
+ } | undefined;
2647
2202
  }, {
2648
- address?: any;
2649
- }>>, z.ZodUndefined]>;
2650
- isContractInitialized: z.ZodBoolean;
2651
- isContractPublished: z.ZodBoolean;
2203
+ type: "data";
2204
+ addressBook?: boolean | undefined;
2205
+ privateEvents?: {
2206
+ contracts: "*" | any[];
2207
+ } | undefined;
2208
+ }>]>, "many">;
2209
+ behavior: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
2210
+ mode: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEnum<["strict", "permissive"]>>;
2211
+ expiration: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
2212
+ }, "strip", z.ZodTypeAny, {
2213
+ mode?: "permissive" | "strict" | undefined;
2214
+ expiration?: number | undefined;
2215
+ }, {
2216
+ mode?: "permissive" | "strict" | undefined;
2217
+ expiration?: number | undefined;
2218
+ }>>;
2652
2219
  }, "strip", z.ZodTypeAny, {
2653
- contractInstance?: ({
2654
- version: 1;
2655
- salt: Fr;
2656
- deployer: AztecAddress;
2657
- currentContractClassId: Fr;
2658
- originalContractClassId: Fr;
2659
- initializationHash: Fr;
2660
- publicKeys: import("../api/keys.js").PublicKeys;
2661
- } & {
2662
- address: AztecAddress;
2663
- }) | undefined;
2664
- isContractInitialized: boolean;
2665
- isContractPublished: boolean;
2220
+ version: "1.0";
2221
+ metadata: {
2222
+ name: string;
2223
+ version: string;
2224
+ description?: string | undefined;
2225
+ url?: string | undefined;
2226
+ icon?: string | undefined;
2227
+ };
2228
+ capabilities: ({
2229
+ type: "accounts";
2230
+ canGet?: boolean | undefined;
2231
+ canCreateAuthWit?: boolean | undefined;
2232
+ } | {
2233
+ type: "contracts";
2234
+ contracts: "*" | AztecAddress[];
2235
+ canRegister?: boolean | undefined;
2236
+ canGetMetadata?: boolean | undefined;
2237
+ } | {
2238
+ type: "contractClasses";
2239
+ classes: "*" | Fr[];
2240
+ canGetMetadata: boolean;
2241
+ } | {
2242
+ type: "simulation";
2243
+ transactions?: {
2244
+ scope: "*" | {
2245
+ contract: "*" | AztecAddress;
2246
+ function: string;
2247
+ }[];
2248
+ } | undefined;
2249
+ utilities?: {
2250
+ scope: "*" | {
2251
+ contract: "*" | AztecAddress;
2252
+ function: string;
2253
+ }[];
2254
+ } | undefined;
2255
+ } | {
2256
+ type: "transaction";
2257
+ scope: "*" | {
2258
+ contract: "*" | AztecAddress;
2259
+ function: string;
2260
+ }[];
2261
+ } | {
2262
+ type: "data";
2263
+ addressBook?: boolean | undefined;
2264
+ privateEvents?: {
2265
+ contracts: "*" | AztecAddress[];
2266
+ } | undefined;
2267
+ })[];
2268
+ behavior?: {
2269
+ mode?: "permissive" | "strict" | undefined;
2270
+ expiration?: number | undefined;
2271
+ } | undefined;
2666
2272
  }, {
2667
- contractInstance?: ({
2668
- version: 1;
2669
- salt?: any;
2670
- deployer?: any;
2671
- currentContractClassId?: any;
2672
- originalContractClassId?: any;
2673
- initializationHash?: any;
2674
- publicKeys: {
2675
- masterNullifierPublicKey: string;
2676
- masterIncomingViewingPublicKey: string;
2677
- masterOutgoingViewingPublicKey: string;
2678
- masterTaggingPublicKey: string;
2679
- };
2680
- } & {
2681
- address?: any;
2682
- }) | undefined;
2683
- isContractInitialized: boolean;
2684
- isContractPublished: boolean;
2273
+ version: "1.0";
2274
+ metadata: {
2275
+ name: string;
2276
+ version: string;
2277
+ description?: string | undefined;
2278
+ url?: string | undefined;
2279
+ icon?: string | undefined;
2280
+ };
2281
+ capabilities: ({
2282
+ type: "accounts";
2283
+ canGet?: boolean | undefined;
2284
+ canCreateAuthWit?: boolean | undefined;
2285
+ } | {
2286
+ type: "contracts";
2287
+ contracts: "*" | any[];
2288
+ canRegister?: boolean | undefined;
2289
+ canGetMetadata?: boolean | undefined;
2290
+ } | {
2291
+ type: "contractClasses";
2292
+ classes: "*" | any[];
2293
+ canGetMetadata: boolean;
2294
+ } | {
2295
+ type: "simulation";
2296
+ transactions?: {
2297
+ scope: "*" | {
2298
+ contract?: any;
2299
+ function: string;
2300
+ }[];
2301
+ } | undefined;
2302
+ utilities?: {
2303
+ scope: "*" | {
2304
+ contract?: any;
2305
+ function: string;
2306
+ }[];
2307
+ } | undefined;
2308
+ } | {
2309
+ type: "transaction";
2310
+ scope: "*" | {
2311
+ contract?: any;
2312
+ function: string;
2313
+ }[];
2314
+ } | {
2315
+ type: "data";
2316
+ addressBook?: boolean | undefined;
2317
+ privateEvents?: {
2318
+ contracts: "*" | any[];
2319
+ } | undefined;
2320
+ })[];
2321
+ behavior?: {
2322
+ mode?: "permissive" | "strict" | undefined;
2323
+ expiration?: number | undefined;
2324
+ } | undefined;
2685
2325
  }>;
2686
- export declare const ContractClassMetadataSchema: z.ZodObject<{
2687
- contractClass: z.ZodUnion<[z.ZodObject<{
2688
- version: z.ZodLiteral<1>;
2689
- artifactHash: z.ZodType<Fr, any, string>;
2690
- privateFunctions: z.ZodArray<z.ZodObject<{
2691
- selector: import("@aztec/stdlib/schemas").ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
2692
- vkHash: z.ZodType<Fr, any, string>;
2326
+ export declare const WalletCapabilitiesSchema: z.ZodObject<{
2327
+ version: z.ZodLiteral<"1.0">;
2328
+ granted: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2329
+ type: z.ZodLiteral<"accounts">;
2330
+ canGet: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
2331
+ canCreateAuthWit: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
2332
+ } & {
2333
+ accounts: z.ZodArray<z.ZodObject<{
2334
+ alias: z.ZodString;
2335
+ item: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
2693
2336
  }, "strip", z.ZodTypeAny, {
2694
- selector: import("@aztec/stdlib/abi").FunctionSelector;
2695
- vkHash: Fr;
2337
+ alias: string;
2338
+ item: AztecAddress;
2696
2339
  }, {
2697
- selector?: any;
2698
- vkHash: string;
2340
+ alias: string;
2341
+ item?: any;
2699
2342
  }>, "many">;
2700
- packedBytecode: import("@aztec/stdlib/schemas").ZodFor<Buffer<ArrayBufferLike>>;
2701
- } & {
2702
- id: z.ZodType<Fr, any, string>;
2703
2343
  }, "strip", z.ZodTypeAny, {
2704
- version: 1;
2705
- artifactHash: Fr;
2706
- privateFunctions: {
2707
- selector: import("@aztec/stdlib/abi").FunctionSelector;
2708
- vkHash: Fr;
2344
+ type: "accounts";
2345
+ canGet?: boolean | undefined;
2346
+ canCreateAuthWit?: boolean | undefined;
2347
+ accounts: {
2348
+ alias: string;
2349
+ item: AztecAddress;
2709
2350
  }[];
2710
- packedBytecode: Buffer<ArrayBufferLike>;
2711
- id: Fr;
2712
2351
  }, {
2713
- version: 1;
2714
- artifactHash: string;
2715
- privateFunctions: {
2716
- selector?: any;
2717
- vkHash: string;
2352
+ type: "accounts";
2353
+ canGet?: boolean | undefined;
2354
+ canCreateAuthWit?: boolean | undefined;
2355
+ accounts: {
2356
+ alias: string;
2357
+ item?: any;
2718
2358
  }[];
2719
- packedBytecode?: any;
2720
- id: string;
2721
- }>, z.ZodUndefined]>;
2722
- isContractClassPubliclyRegistered: z.ZodBoolean;
2723
- artifact: z.ZodUnion<[z.ZodObject<{
2724
- name: z.ZodString;
2725
- functions: z.ZodArray<z.ZodIntersection<z.ZodObject<{
2726
- name: z.ZodString;
2727
- functionType: z.ZodNativeEnum<typeof FunctionType>;
2728
- isOnlySelf: z.ZodBoolean;
2729
- isStatic: z.ZodBoolean;
2730
- isInitializer: z.ZodBoolean;
2731
- parameters: z.ZodArray<z.ZodObject<{
2732
- name: z.ZodString;
2733
- type: z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>;
2734
- visibility: z.ZodEnum<["public", "private", "databus"]>;
2735
- }, "strip", z.ZodTypeAny, {
2736
- name: string;
2737
- type: import("@aztec/stdlib/abi").AbiType;
2738
- visibility: "databus" | "private" | "public";
2739
- }, {
2740
- name: string;
2741
- type: import("@aztec/stdlib/abi").AbiType;
2742
- visibility: "databus" | "private" | "public";
2743
- }>, "many">;
2744
- returnTypes: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
2745
- errorTypes: z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2746
- error_kind: z.ZodLiteral<"string">;
2747
- string: z.ZodString;
2748
- }, "strip", z.ZodTypeAny, {
2749
- error_kind: "string";
2750
- string: string;
2751
- }, {
2752
- error_kind: "string";
2753
- string: string;
2754
- }>, z.ZodObject<{
2755
- error_kind: z.ZodLiteral<"fmtstring">;
2756
- length: z.ZodNumber;
2757
- item_types: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
2758
- }, "strip", z.ZodTypeAny, {
2759
- error_kind: "fmtstring";
2760
- length: number;
2761
- item_types: import("@aztec/stdlib/abi").AbiType[];
2762
- }, {
2763
- error_kind: "fmtstring";
2764
- length: number;
2765
- item_types: import("@aztec/stdlib/abi").AbiType[];
2766
- }>, z.ZodIntersection<z.ZodObject<{
2767
- error_kind: z.ZodLiteral<"custom">;
2359
+ }>, z.ZodObject<{
2360
+ type: z.ZodLiteral<"contracts">;
2361
+ contracts: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">]>;
2362
+ canRegister: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
2363
+ canGetMetadata: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
2364
+ }, "strip", z.ZodTypeAny, {
2365
+ type: "contracts";
2366
+ contracts: "*" | AztecAddress[];
2367
+ canRegister?: boolean | undefined;
2368
+ canGetMetadata?: boolean | undefined;
2369
+ }, {
2370
+ type: "contracts";
2371
+ contracts: "*" | any[];
2372
+ canRegister?: boolean | undefined;
2373
+ canGetMetadata?: boolean | undefined;
2374
+ }>, z.ZodObject<{
2375
+ type: z.ZodLiteral<"contractClasses">;
2376
+ classes: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<Fr>, "many">]>;
2377
+ canGetMetadata: z.ZodBoolean;
2378
+ }, "strip", z.ZodTypeAny, {
2379
+ type: "contractClasses";
2380
+ classes: "*" | Fr[];
2381
+ canGetMetadata: boolean;
2382
+ }, {
2383
+ type: "contractClasses";
2384
+ classes: "*" | any[];
2385
+ canGetMetadata: boolean;
2386
+ }>, z.ZodObject<{
2387
+ type: z.ZodLiteral<"simulation">;
2388
+ transactions: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
2389
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
2390
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
2391
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
2768
2392
  }, "strip", z.ZodTypeAny, {
2769
- error_kind: "custom";
2393
+ contract: "*" | AztecAddress;
2394
+ function: string;
2770
2395
  }, {
2771
- error_kind: "custom";
2772
- }>, z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>>]>>>;
2396
+ contract?: any;
2397
+ function: string;
2398
+ }>, "many">]>;
2773
2399
  }, "strip", z.ZodTypeAny, {
2774
- name: string;
2775
- functionType: FunctionType;
2776
- isOnlySelf: boolean;
2777
- isStatic: boolean;
2778
- isInitializer: boolean;
2779
- parameters: {
2780
- name: string;
2781
- type: import("@aztec/stdlib/abi").AbiType;
2782
- visibility: "databus" | "private" | "public";
2400
+ scope: "*" | {
2401
+ contract: "*" | AztecAddress;
2402
+ function: string;
2783
2403
  }[];
2784
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
2785
- errorTypes: Record<string, {
2786
- error_kind: "string";
2787
- string: string;
2788
- } | {
2789
- error_kind: "fmtstring";
2790
- length: number;
2791
- item_types: import("@aztec/stdlib/abi").AbiType[];
2792
- } | ({
2793
- error_kind: "custom";
2794
- } & import("@aztec/stdlib/abi").AbiType) | undefined>;
2795
2404
  }, {
2796
- name: string;
2797
- functionType: FunctionType;
2798
- isOnlySelf: boolean;
2799
- isStatic: boolean;
2800
- isInitializer: boolean;
2801
- parameters: {
2802
- name: string;
2803
- type: import("@aztec/stdlib/abi").AbiType;
2804
- visibility: "databus" | "private" | "public";
2405
+ scope: "*" | {
2406
+ contract?: any;
2407
+ function: string;
2805
2408
  }[];
2806
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
2807
- errorTypes: Record<string, {
2808
- error_kind: "string";
2809
- string: string;
2810
- } | {
2811
- error_kind: "fmtstring";
2812
- length: number;
2813
- item_types: import("@aztec/stdlib/abi").AbiType[];
2814
- } | ({
2815
- error_kind: "custom";
2816
- } & import("@aztec/stdlib/abi").AbiType) | undefined>;
2817
- }>, z.ZodObject<{
2818
- bytecode: import("@aztec/stdlib/schemas").ZodFor<Buffer<ArrayBufferLike>>;
2819
- verificationKey: z.ZodOptional<z.ZodString>;
2820
- debugSymbols: z.ZodString;
2821
- debug: z.ZodOptional<z.ZodObject<{
2822
- debugSymbols: z.ZodObject<{
2823
- location_tree: z.ZodObject<{
2824
- locations: z.ZodArray<z.ZodObject<{
2825
- parent: z.ZodNullable<z.ZodNumber>;
2826
- value: z.ZodObject<{
2827
- span: z.ZodObject<{
2828
- start: z.ZodNumber;
2829
- end: z.ZodNumber;
2830
- }, "strip", z.ZodTypeAny, {
2831
- start: number;
2832
- end: number;
2833
- }, {
2834
- start: number;
2835
- end: number;
2836
- }>;
2837
- file: z.ZodNumber;
2838
- }, "strip", z.ZodTypeAny, {
2839
- span: {
2840
- start: number;
2841
- end: number;
2842
- };
2843
- file: number;
2844
- }, {
2845
- span: {
2846
- start: number;
2847
- end: number;
2848
- };
2849
- file: number;
2850
- }>;
2851
- }, "strip", z.ZodTypeAny, {
2852
- parent: number | null;
2853
- value: {
2854
- span: {
2855
- start: number;
2856
- end: number;
2857
- };
2858
- file: number;
2859
- };
2860
- }, {
2861
- parent: number | null;
2862
- value: {
2863
- span: {
2864
- start: number;
2865
- end: number;
2866
- };
2867
- file: number;
2868
- };
2869
- }>, "many">;
2870
- }, "strip", z.ZodTypeAny, {
2871
- locations: {
2872
- parent: number | null;
2873
- value: {
2874
- span: {
2875
- start: number;
2876
- end: number;
2877
- };
2878
- file: number;
2879
- };
2880
- }[];
2881
- }, {
2882
- locations: {
2883
- parent: number | null;
2884
- value: {
2885
- span: {
2886
- start: number;
2887
- end: number;
2888
- };
2889
- file: number;
2890
- };
2891
- }[];
2892
- }>;
2893
- acir_locations: z.ZodRecord<z.ZodString, z.ZodNumber>;
2894
- brillig_locations: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodNumber>>;
2895
- }, "strip", z.ZodTypeAny, {
2896
- location_tree: {
2897
- locations: {
2898
- parent: number | null;
2899
- value: {
2900
- span: {
2901
- start: number;
2902
- end: number;
2903
- };
2904
- file: number;
2905
- };
2906
- }[];
2907
- };
2908
- acir_locations: Record<string, number>;
2909
- brillig_locations: Record<string, Record<string, number>>;
2910
- }, {
2911
- location_tree: {
2912
- locations: {
2913
- parent: number | null;
2914
- value: {
2915
- span: {
2916
- start: number;
2917
- end: number;
2918
- };
2919
- file: number;
2920
- };
2921
- }[];
2922
- };
2923
- acir_locations: Record<string, number>;
2924
- brillig_locations: Record<string, Record<string, number>>;
2925
- }>;
2926
- files: z.ZodRecord<z.ZodString, z.ZodObject<{
2927
- source: z.ZodString;
2928
- path: z.ZodString;
2929
- }, "strip", z.ZodTypeAny, {
2930
- source: string;
2931
- path: string;
2932
- }, {
2933
- source: string;
2934
- path: string;
2935
- }>>;
2936
- }, "strip", z.ZodTypeAny, {
2937
- debugSymbols: {
2938
- location_tree: {
2939
- locations: {
2940
- parent: number | null;
2941
- value: {
2942
- span: {
2943
- start: number;
2944
- end: number;
2945
- };
2946
- file: number;
2947
- };
2948
- }[];
2949
- };
2950
- acir_locations: Record<string, number>;
2951
- brillig_locations: Record<string, Record<string, number>>;
2952
- };
2953
- files: Record<string, {
2954
- source: string;
2955
- path: string;
2956
- }>;
2957
- }, {
2958
- debugSymbols: {
2959
- location_tree: {
2960
- locations: {
2961
- parent: number | null;
2962
- value: {
2963
- span: {
2964
- start: number;
2965
- end: number;
2966
- };
2967
- file: number;
2968
- };
2969
- }[];
2970
- };
2971
- acir_locations: Record<string, number>;
2972
- brillig_locations: Record<string, Record<string, number>>;
2973
- };
2974
- files: Record<string, {
2975
- source: string;
2976
- path: string;
2977
- }>;
2978
- }>>;
2979
- }, "strip", z.ZodTypeAny, {
2980
- bytecode: Buffer<ArrayBufferLike>;
2981
- verificationKey?: string | undefined;
2982
- debugSymbols: string;
2983
- debug?: {
2984
- debugSymbols: {
2985
- location_tree: {
2986
- locations: {
2987
- parent: number | null;
2988
- value: {
2989
- span: {
2990
- start: number;
2991
- end: number;
2992
- };
2993
- file: number;
2994
- };
2995
- }[];
2996
- };
2997
- acir_locations: Record<string, number>;
2998
- brillig_locations: Record<string, Record<string, number>>;
2999
- };
3000
- files: Record<string, {
3001
- source: string;
3002
- path: string;
3003
- }>;
3004
- } | undefined;
3005
- }, {
3006
- bytecode?: any;
3007
- verificationKey?: string | undefined;
3008
- debugSymbols: string;
3009
- debug?: {
3010
- debugSymbols: {
3011
- location_tree: {
3012
- locations: {
3013
- parent: number | null;
3014
- value: {
3015
- span: {
3016
- start: number;
3017
- end: number;
3018
- };
3019
- file: number;
3020
- };
3021
- }[];
3022
- };
3023
- acir_locations: Record<string, number>;
3024
- brillig_locations: Record<string, Record<string, number>>;
3025
- };
3026
- files: Record<string, {
3027
- source: string;
3028
- path: string;
3029
- }>;
3030
- } | undefined;
3031
- }>>, "many">;
3032
- nonDispatchPublicFunctions: z.ZodArray<z.ZodObject<{
3033
- name: z.ZodString;
3034
- functionType: z.ZodNativeEnum<typeof FunctionType>;
3035
- isOnlySelf: z.ZodBoolean;
3036
- isStatic: z.ZodBoolean;
3037
- isInitializer: z.ZodBoolean;
3038
- parameters: z.ZodArray<z.ZodObject<{
3039
- name: z.ZodString;
3040
- type: z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>;
3041
- visibility: z.ZodEnum<["public", "private", "databus"]>;
3042
- }, "strip", z.ZodTypeAny, {
3043
- name: string;
3044
- type: import("@aztec/stdlib/abi").AbiType;
3045
- visibility: "databus" | "private" | "public";
3046
- }, {
3047
- name: string;
3048
- type: import("@aztec/stdlib/abi").AbiType;
3049
- visibility: "databus" | "private" | "public";
3050
- }>, "many">;
3051
- returnTypes: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
3052
- errorTypes: z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3053
- error_kind: z.ZodLiteral<"string">;
3054
- string: z.ZodString;
3055
- }, "strip", z.ZodTypeAny, {
3056
- error_kind: "string";
3057
- string: string;
3058
- }, {
3059
- error_kind: "string";
3060
- string: string;
3061
- }>, z.ZodObject<{
3062
- error_kind: z.ZodLiteral<"fmtstring">;
3063
- length: z.ZodNumber;
3064
- item_types: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
3065
- }, "strip", z.ZodTypeAny, {
3066
- error_kind: "fmtstring";
3067
- length: number;
3068
- item_types: import("@aztec/stdlib/abi").AbiType[];
3069
- }, {
3070
- error_kind: "fmtstring";
3071
- length: number;
3072
- item_types: import("@aztec/stdlib/abi").AbiType[];
3073
- }>, z.ZodIntersection<z.ZodObject<{
3074
- error_kind: z.ZodLiteral<"custom">;
2409
+ }>>;
2410
+ utilities: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
2411
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
2412
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
2413
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
3075
2414
  }, "strip", z.ZodTypeAny, {
3076
- error_kind: "custom";
2415
+ contract: "*" | AztecAddress;
2416
+ function: string;
3077
2417
  }, {
3078
- error_kind: "custom";
3079
- }>, z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>>]>>>;
2418
+ contract?: any;
2419
+ function: string;
2420
+ }>, "many">]>;
3080
2421
  }, "strip", z.ZodTypeAny, {
3081
- name: string;
3082
- functionType: FunctionType;
3083
- isOnlySelf: boolean;
3084
- isStatic: boolean;
3085
- isInitializer: boolean;
3086
- parameters: {
3087
- name: string;
3088
- type: import("@aztec/stdlib/abi").AbiType;
3089
- visibility: "databus" | "private" | "public";
2422
+ scope: "*" | {
2423
+ contract: "*" | AztecAddress;
2424
+ function: string;
3090
2425
  }[];
3091
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
3092
- errorTypes: Record<string, {
3093
- error_kind: "string";
3094
- string: string;
3095
- } | {
3096
- error_kind: "fmtstring";
3097
- length: number;
3098
- item_types: import("@aztec/stdlib/abi").AbiType[];
3099
- } | ({
3100
- error_kind: "custom";
3101
- } & import("@aztec/stdlib/abi").AbiType) | undefined>;
3102
2426
  }, {
3103
- name: string;
3104
- functionType: FunctionType;
3105
- isOnlySelf: boolean;
3106
- isStatic: boolean;
3107
- isInitializer: boolean;
3108
- parameters: {
3109
- name: string;
3110
- type: import("@aztec/stdlib/abi").AbiType;
3111
- visibility: "databus" | "private" | "public";
2427
+ scope: "*" | {
2428
+ contract?: any;
2429
+ function: string;
3112
2430
  }[];
3113
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
3114
- errorTypes: Record<string, {
3115
- error_kind: "string";
3116
- string: string;
3117
- } | {
3118
- error_kind: "fmtstring";
3119
- length: number;
3120
- item_types: import("@aztec/stdlib/abi").AbiType[];
3121
- } | ({
3122
- error_kind: "custom";
3123
- } & import("@aztec/stdlib/abi").AbiType) | undefined>;
3124
- }>, "many">;
3125
- outputs: z.ZodObject<{
3126
- structs: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">>, Record<string, import("@aztec/stdlib/abi").AbiType[]>, Record<string, import("@aztec/stdlib/abi").AbiType[]>>;
3127
- globals: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiValue, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiValue>, "many">>;
3128
- }, "strip", z.ZodTypeAny, {
3129
- structs: Record<string, import("@aztec/stdlib/abi").AbiType[]>;
3130
- globals: Record<string, import("@aztec/stdlib/abi").AbiValue[]>;
3131
- }, {
3132
- structs: Record<string, import("@aztec/stdlib/abi").AbiType[]>;
3133
- globals: Record<string, import("@aztec/stdlib/abi").AbiValue[]>;
3134
- }>;
3135
- storageLayout: z.ZodRecord<z.ZodString, z.ZodObject<{
3136
- slot: z.ZodType<Fr, any, string>;
2431
+ }>>;
2432
+ }, "strip", z.ZodTypeAny, {
2433
+ type: "simulation";
2434
+ transactions?: {
2435
+ scope: "*" | {
2436
+ contract: "*" | AztecAddress;
2437
+ function: string;
2438
+ }[];
2439
+ } | undefined;
2440
+ utilities?: {
2441
+ scope: "*" | {
2442
+ contract: "*" | AztecAddress;
2443
+ function: string;
2444
+ }[];
2445
+ } | undefined;
2446
+ }, {
2447
+ type: "simulation";
2448
+ transactions?: {
2449
+ scope: "*" | {
2450
+ contract?: any;
2451
+ function: string;
2452
+ }[];
2453
+ } | undefined;
2454
+ utilities?: {
2455
+ scope: "*" | {
2456
+ contract?: any;
2457
+ function: string;
2458
+ }[];
2459
+ } | undefined;
2460
+ }>, z.ZodObject<{
2461
+ type: z.ZodLiteral<"transaction">;
2462
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
2463
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
2464
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
3137
2465
  }, "strip", z.ZodTypeAny, {
3138
- slot: Fr;
2466
+ contract: "*" | AztecAddress;
2467
+ function: string;
3139
2468
  }, {
3140
- slot: string;
3141
- }>>;
3142
- fileMap: z.ZodRecord<z.ZodNumber, z.ZodObject<{
3143
- source: z.ZodString;
3144
- path: z.ZodString;
2469
+ contract?: any;
2470
+ function: string;
2471
+ }>, "many">]>;
2472
+ }, "strip", z.ZodTypeAny, {
2473
+ type: "transaction";
2474
+ scope: "*" | {
2475
+ contract: "*" | AztecAddress;
2476
+ function: string;
2477
+ }[];
2478
+ }, {
2479
+ type: "transaction";
2480
+ scope: "*" | {
2481
+ contract?: any;
2482
+ function: string;
2483
+ }[];
2484
+ }>, z.ZodObject<{
2485
+ type: z.ZodLiteral<"data">;
2486
+ addressBook: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
2487
+ privateEvents: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
2488
+ contracts: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">]>;
3145
2489
  }, "strip", z.ZodTypeAny, {
3146
- source: string;
3147
- path: string;
2490
+ contracts: "*" | AztecAddress[];
3148
2491
  }, {
3149
- source: string;
3150
- path: string;
2492
+ contracts: "*" | any[];
3151
2493
  }>>;
2494
+ }, "strip", z.ZodTypeAny, {
2495
+ type: "data";
2496
+ addressBook?: boolean | undefined;
2497
+ privateEvents?: {
2498
+ contracts: "*" | AztecAddress[];
2499
+ } | undefined;
2500
+ }, {
2501
+ type: "data";
2502
+ addressBook?: boolean | undefined;
2503
+ privateEvents?: {
2504
+ contracts: "*" | any[];
2505
+ } | undefined;
2506
+ }>]>, "many">;
2507
+ wallet: z.ZodObject<{
2508
+ name: z.ZodString;
2509
+ version: z.ZodString;
3152
2510
  }, "strip", z.ZodTypeAny, {
3153
2511
  name: string;
3154
- functions: ({
3155
- name: string;
3156
- functionType: FunctionType;
3157
- isOnlySelf: boolean;
3158
- isStatic: boolean;
3159
- isInitializer: boolean;
3160
- parameters: {
3161
- name: string;
3162
- type: import("@aztec/stdlib/abi").AbiType;
3163
- visibility: "databus" | "private" | "public";
3164
- }[];
3165
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
3166
- errorTypes: Record<string, {
3167
- error_kind: "string";
3168
- string: string;
3169
- } | {
3170
- error_kind: "fmtstring";
3171
- length: number;
3172
- item_types: import("@aztec/stdlib/abi").AbiType[];
3173
- } | ({
3174
- error_kind: "custom";
3175
- } & import("@aztec/stdlib/abi").AbiType) | undefined>;
3176
- } & {
3177
- bytecode: Buffer<ArrayBufferLike>;
3178
- verificationKey?: string | undefined;
3179
- debugSymbols: string;
3180
- debug?: {
3181
- debugSymbols: {
3182
- location_tree: {
3183
- locations: {
3184
- parent: number | null;
3185
- value: {
3186
- span: {
3187
- start: number;
3188
- end: number;
3189
- };
3190
- file: number;
3191
- };
3192
- }[];
3193
- };
3194
- acir_locations: Record<string, number>;
3195
- brillig_locations: Record<string, Record<string, number>>;
3196
- };
3197
- files: Record<string, {
3198
- source: string;
3199
- path: string;
3200
- }>;
3201
- } | undefined;
3202
- })[];
3203
- nonDispatchPublicFunctions: {
3204
- name: string;
3205
- functionType: FunctionType;
3206
- isOnlySelf: boolean;
3207
- isStatic: boolean;
3208
- isInitializer: boolean;
3209
- parameters: {
3210
- name: string;
3211
- type: import("@aztec/stdlib/abi").AbiType;
3212
- visibility: "databus" | "private" | "public";
3213
- }[];
3214
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
3215
- errorTypes: Record<string, {
3216
- error_kind: "string";
3217
- string: string;
3218
- } | {
3219
- error_kind: "fmtstring";
3220
- length: number;
3221
- item_types: import("@aztec/stdlib/abi").AbiType[];
3222
- } | ({
3223
- error_kind: "custom";
3224
- } & import("@aztec/stdlib/abi").AbiType) | undefined>;
3225
- }[];
3226
- outputs: {
3227
- structs: Record<string, import("@aztec/stdlib/abi").AbiType[]>;
3228
- globals: Record<string, import("@aztec/stdlib/abi").AbiValue[]>;
3229
- };
3230
- storageLayout: Record<string, {
3231
- slot: Fr;
3232
- }>;
3233
- fileMap: Record<number, {
3234
- source: string;
3235
- path: string;
3236
- }>;
2512
+ version: string;
3237
2513
  }, {
3238
2514
  name: string;
3239
- functions: ({
3240
- name: string;
3241
- functionType: FunctionType;
3242
- isOnlySelf: boolean;
3243
- isStatic: boolean;
3244
- isInitializer: boolean;
3245
- parameters: {
3246
- name: string;
3247
- type: import("@aztec/stdlib/abi").AbiType;
3248
- visibility: "databus" | "private" | "public";
3249
- }[];
3250
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
3251
- errorTypes: Record<string, {
3252
- error_kind: "string";
3253
- string: string;
3254
- } | {
3255
- error_kind: "fmtstring";
3256
- length: number;
3257
- item_types: import("@aztec/stdlib/abi").AbiType[];
3258
- } | ({
3259
- error_kind: "custom";
3260
- } & import("@aztec/stdlib/abi").AbiType) | undefined>;
3261
- } & {
3262
- bytecode?: any;
3263
- verificationKey?: string | undefined;
3264
- debugSymbols: string;
3265
- debug?: {
3266
- debugSymbols: {
3267
- location_tree: {
3268
- locations: {
3269
- parent: number | null;
3270
- value: {
3271
- span: {
3272
- start: number;
3273
- end: number;
3274
- };
3275
- file: number;
3276
- };
3277
- }[];
3278
- };
3279
- acir_locations: Record<string, number>;
3280
- brillig_locations: Record<string, Record<string, number>>;
3281
- };
3282
- files: Record<string, {
3283
- source: string;
3284
- path: string;
3285
- }>;
3286
- } | undefined;
3287
- })[];
3288
- nonDispatchPublicFunctions: {
3289
- name: string;
3290
- functionType: FunctionType;
3291
- isOnlySelf: boolean;
3292
- isStatic: boolean;
3293
- isInitializer: boolean;
3294
- parameters: {
3295
- name: string;
3296
- type: import("@aztec/stdlib/abi").AbiType;
3297
- visibility: "databus" | "private" | "public";
3298
- }[];
3299
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
3300
- errorTypes: Record<string, {
3301
- error_kind: "string";
3302
- string: string;
3303
- } | {
3304
- error_kind: "fmtstring";
3305
- length: number;
3306
- item_types: import("@aztec/stdlib/abi").AbiType[];
3307
- } | ({
3308
- error_kind: "custom";
3309
- } & import("@aztec/stdlib/abi").AbiType) | undefined>;
3310
- }[];
3311
- outputs: {
3312
- structs: Record<string, import("@aztec/stdlib/abi").AbiType[]>;
3313
- globals: Record<string, import("@aztec/stdlib/abi").AbiValue[]>;
3314
- };
3315
- storageLayout: Record<string, {
3316
- slot: string;
3317
- }>;
3318
- fileMap: Record<number, {
3319
- source: string;
3320
- path: string;
3321
- }>;
3322
- }>, z.ZodUndefined]>;
2515
+ version: string;
2516
+ }>;
2517
+ expiresAt: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
3323
2518
  }, "strip", z.ZodTypeAny, {
3324
- contractClass?: {
3325
- version: 1;
3326
- artifactHash: Fr;
3327
- privateFunctions: {
3328
- selector: import("@aztec/stdlib/abi").FunctionSelector;
3329
- vkHash: Fr;
2519
+ version: "1.0";
2520
+ granted: ({
2521
+ type: "accounts";
2522
+ canGet?: boolean | undefined;
2523
+ canCreateAuthWit?: boolean | undefined;
2524
+ accounts: {
2525
+ alias: string;
2526
+ item: AztecAddress;
3330
2527
  }[];
3331
- packedBytecode: Buffer<ArrayBufferLike>;
3332
- id: Fr;
3333
- } | undefined;
3334
- isContractClassPubliclyRegistered: boolean;
3335
- artifact?: {
3336
- name: string;
3337
- functions: ({
3338
- name: string;
3339
- functionType: FunctionType;
3340
- isOnlySelf: boolean;
3341
- isStatic: boolean;
3342
- isInitializer: boolean;
3343
- parameters: {
3344
- name: string;
3345
- type: import("@aztec/stdlib/abi").AbiType;
3346
- visibility: "databus" | "private" | "public";
2528
+ } | {
2529
+ type: "contracts";
2530
+ contracts: "*" | AztecAddress[];
2531
+ canRegister?: boolean | undefined;
2532
+ canGetMetadata?: boolean | undefined;
2533
+ } | {
2534
+ type: "contractClasses";
2535
+ classes: "*" | Fr[];
2536
+ canGetMetadata: boolean;
2537
+ } | {
2538
+ type: "simulation";
2539
+ transactions?: {
2540
+ scope: "*" | {
2541
+ contract: "*" | AztecAddress;
2542
+ function: string;
3347
2543
  }[];
3348
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
3349
- errorTypes: Record<string, {
3350
- error_kind: "string";
3351
- string: string;
3352
- } | {
3353
- error_kind: "fmtstring";
3354
- length: number;
3355
- item_types: import("@aztec/stdlib/abi").AbiType[];
3356
- } | ({
3357
- error_kind: "custom";
3358
- } & import("@aztec/stdlib/abi").AbiType) | undefined>;
3359
- } & {
3360
- bytecode: Buffer<ArrayBufferLike>;
3361
- verificationKey?: string | undefined;
3362
- debugSymbols: string;
3363
- debug?: {
3364
- debugSymbols: {
3365
- location_tree: {
3366
- locations: {
3367
- parent: number | null;
3368
- value: {
3369
- span: {
3370
- start: number;
3371
- end: number;
3372
- };
3373
- file: number;
3374
- };
3375
- }[];
3376
- };
3377
- acir_locations: Record<string, number>;
3378
- brillig_locations: Record<string, Record<string, number>>;
3379
- };
3380
- files: Record<string, {
3381
- source: string;
3382
- path: string;
3383
- }>;
3384
- } | undefined;
3385
- })[];
3386
- nonDispatchPublicFunctions: {
3387
- name: string;
3388
- functionType: FunctionType;
3389
- isOnlySelf: boolean;
3390
- isStatic: boolean;
3391
- isInitializer: boolean;
3392
- parameters: {
3393
- name: string;
3394
- type: import("@aztec/stdlib/abi").AbiType;
3395
- visibility: "databus" | "private" | "public";
2544
+ } | undefined;
2545
+ utilities?: {
2546
+ scope: "*" | {
2547
+ contract: "*" | AztecAddress;
2548
+ function: string;
3396
2549
  }[];
3397
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
3398
- errorTypes: Record<string, {
3399
- error_kind: "string";
3400
- string: string;
3401
- } | {
3402
- error_kind: "fmtstring";
3403
- length: number;
3404
- item_types: import("@aztec/stdlib/abi").AbiType[];
3405
- } | ({
3406
- error_kind: "custom";
3407
- } & import("@aztec/stdlib/abi").AbiType) | undefined>;
2550
+ } | undefined;
2551
+ } | {
2552
+ type: "transaction";
2553
+ scope: "*" | {
2554
+ contract: "*" | AztecAddress;
2555
+ function: string;
3408
2556
  }[];
3409
- outputs: {
3410
- structs: Record<string, import("@aztec/stdlib/abi").AbiType[]>;
3411
- globals: Record<string, import("@aztec/stdlib/abi").AbiValue[]>;
3412
- };
3413
- storageLayout: Record<string, {
3414
- slot: Fr;
3415
- }>;
3416
- fileMap: Record<number, {
3417
- source: string;
3418
- path: string;
3419
- }>;
3420
- } | undefined;
2557
+ } | {
2558
+ type: "data";
2559
+ addressBook?: boolean | undefined;
2560
+ privateEvents?: {
2561
+ contracts: "*" | AztecAddress[];
2562
+ } | undefined;
2563
+ })[];
2564
+ wallet: {
2565
+ name: string;
2566
+ version: string;
2567
+ };
2568
+ expiresAt?: number | undefined;
3421
2569
  }, {
3422
- contractClass?: {
3423
- version: 1;
3424
- artifactHash: string;
3425
- privateFunctions: {
3426
- selector?: any;
3427
- vkHash: string;
2570
+ version: "1.0";
2571
+ granted: ({
2572
+ type: "accounts";
2573
+ canGet?: boolean | undefined;
2574
+ canCreateAuthWit?: boolean | undefined;
2575
+ accounts: {
2576
+ alias: string;
2577
+ item?: any;
3428
2578
  }[];
3429
- packedBytecode?: any;
3430
- id: string;
3431
- } | undefined;
3432
- isContractClassPubliclyRegistered: boolean;
3433
- artifact?: {
3434
- name: string;
3435
- functions: ({
3436
- name: string;
3437
- functionType: FunctionType;
3438
- isOnlySelf: boolean;
3439
- isStatic: boolean;
3440
- isInitializer: boolean;
3441
- parameters: {
3442
- name: string;
3443
- type: import("@aztec/stdlib/abi").AbiType;
3444
- visibility: "databus" | "private" | "public";
2579
+ } | {
2580
+ type: "contracts";
2581
+ contracts: "*" | any[];
2582
+ canRegister?: boolean | undefined;
2583
+ canGetMetadata?: boolean | undefined;
2584
+ } | {
2585
+ type: "contractClasses";
2586
+ classes: "*" | any[];
2587
+ canGetMetadata: boolean;
2588
+ } | {
2589
+ type: "simulation";
2590
+ transactions?: {
2591
+ scope: "*" | {
2592
+ contract?: any;
2593
+ function: string;
3445
2594
  }[];
3446
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
3447
- errorTypes: Record<string, {
3448
- error_kind: "string";
3449
- string: string;
3450
- } | {
3451
- error_kind: "fmtstring";
3452
- length: number;
3453
- item_types: import("@aztec/stdlib/abi").AbiType[];
3454
- } | ({
3455
- error_kind: "custom";
3456
- } & import("@aztec/stdlib/abi").AbiType) | undefined>;
3457
- } & {
3458
- bytecode?: any;
3459
- verificationKey?: string | undefined;
3460
- debugSymbols: string;
3461
- debug?: {
3462
- debugSymbols: {
3463
- location_tree: {
3464
- locations: {
3465
- parent: number | null;
3466
- value: {
3467
- span: {
3468
- start: number;
3469
- end: number;
3470
- };
3471
- file: number;
3472
- };
3473
- }[];
3474
- };
3475
- acir_locations: Record<string, number>;
3476
- brillig_locations: Record<string, Record<string, number>>;
3477
- };
3478
- files: Record<string, {
3479
- source: string;
3480
- path: string;
3481
- }>;
3482
- } | undefined;
3483
- })[];
3484
- nonDispatchPublicFunctions: {
3485
- name: string;
3486
- functionType: FunctionType;
3487
- isOnlySelf: boolean;
3488
- isStatic: boolean;
3489
- isInitializer: boolean;
3490
- parameters: {
3491
- name: string;
3492
- type: import("@aztec/stdlib/abi").AbiType;
3493
- visibility: "databus" | "private" | "public";
2595
+ } | undefined;
2596
+ utilities?: {
2597
+ scope: "*" | {
2598
+ contract?: any;
2599
+ function: string;
3494
2600
  }[];
3495
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
3496
- errorTypes: Record<string, {
3497
- error_kind: "string";
3498
- string: string;
3499
- } | {
3500
- error_kind: "fmtstring";
3501
- length: number;
3502
- item_types: import("@aztec/stdlib/abi").AbiType[];
3503
- } | ({
3504
- error_kind: "custom";
3505
- } & import("@aztec/stdlib/abi").AbiType) | undefined>;
2601
+ } | undefined;
2602
+ } | {
2603
+ type: "transaction";
2604
+ scope: "*" | {
2605
+ contract?: any;
2606
+ function: string;
3506
2607
  }[];
3507
- outputs: {
3508
- structs: Record<string, import("@aztec/stdlib/abi").AbiType[]>;
3509
- globals: Record<string, import("@aztec/stdlib/abi").AbiValue[]>;
3510
- };
3511
- storageLayout: Record<string, {
3512
- slot: string;
3513
- }>;
3514
- fileMap: Record<number, {
3515
- source: string;
3516
- path: string;
3517
- }>;
3518
- } | undefined;
2608
+ } | {
2609
+ type: "data";
2610
+ addressBook?: boolean | undefined;
2611
+ privateEvents?: {
2612
+ contracts: "*" | any[];
2613
+ } | undefined;
2614
+ })[];
2615
+ wallet: {
2616
+ name: string;
2617
+ version: string;
2618
+ };
2619
+ expiresAt?: number | undefined;
3519
2620
  }>;
3520
- export declare const EventMetadataDefinitionSchema: z.ZodObject<{
3521
- eventSelector: z.ZodType<import("@aztec/stdlib/abi").EventSelector, any, string>;
3522
- abiType: z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>;
3523
- fieldNames: z.ZodArray<z.ZodString, "many">;
2621
+ declare const BatchedMethodSchema: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
2622
+ name: z.ZodLiteral<"createAuthWit" | "executeUtility" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx">;
2623
+ args: z.ZodTuple<any, any>;
3524
2624
  }, "strip", z.ZodTypeAny, {
3525
- eventSelector: import("@aztec/stdlib/abi").EventSelector;
3526
- abiType: import("@aztec/stdlib/abi").AbiType;
3527
- fieldNames: string[];
2625
+ name: "createAuthWit" | "executeUtility" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx";
2626
+ args: any[];
3528
2627
  }, {
3529
- eventSelector: string;
3530
- abiType: import("@aztec/stdlib/abi").AbiType;
3531
- fieldNames: string[];
3532
- }>;
3533
- export declare const PrivateEventSchema: z.ZodType<any>;
3534
- export declare const PrivateEventFilterSchema: z.ZodObject<{
3535
- contractAddress: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
3536
- scopes: z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">;
3537
- txHash: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, Buffer<ArrayBuffer>, string>, TxHash, string>>;
3538
- fromBlock: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodPipeline<z.ZodUnion<[z.ZodNumber, z.ZodBigInt, z.ZodString]>, z.ZodNumber>, BlockNumber, string | number | bigint>>;
3539
- toBlock: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodPipeline<z.ZodUnion<[z.ZodNumber, z.ZodBigInt, z.ZodString]>, z.ZodNumber>, BlockNumber, string | number | bigint>>;
2628
+ name: "createAuthWit" | "executeUtility" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx";
2629
+ args: any[];
2630
+ }>, ...z.ZodObject<{
2631
+ name: z.ZodLiteral<"createAuthWit" | "executeUtility" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx">;
2632
+ args: z.ZodTuple<any, any>;
3540
2633
  }, "strip", z.ZodTypeAny, {
3541
- contractAddress: AztecAddress;
3542
- scopes: AztecAddress[];
3543
- txHash?: TxHash | undefined;
3544
- fromBlock?: BlockNumber | undefined;
3545
- toBlock?: BlockNumber | undefined;
2634
+ name: "createAuthWit" | "executeUtility" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx";
2635
+ args: any[];
3546
2636
  }, {
3547
- contractAddress?: any;
3548
- scopes: any[];
3549
- txHash?: string | undefined;
3550
- fromBlock?: string | number | bigint | undefined;
3551
- toBlock?: string | number | bigint | undefined;
3552
- }>;
2637
+ name: "createAuthWit" | "executeUtility" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx";
2638
+ args: any[];
2639
+ }>[]]>, BatchedResultSchema: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
2640
+ name: z.ZodLiteral<"createAuthWit" | "executeUtility" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx">;
2641
+ result: z.ZodTypeAny;
2642
+ }, "strip", z.ZodTypeAny, {
2643
+ name: "createAuthWit" | "executeUtility" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx";
2644
+ result?: any;
2645
+ }, {
2646
+ name: "createAuthWit" | "executeUtility" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx";
2647
+ result?: any;
2648
+ }>, ...z.ZodObject<{
2649
+ name: z.ZodLiteral<"createAuthWit" | "executeUtility" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx">;
2650
+ result: z.ZodTypeAny;
2651
+ }, "strip", z.ZodTypeAny, {
2652
+ name: "createAuthWit" | "executeUtility" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx";
2653
+ result?: any;
2654
+ }, {
2655
+ name: "createAuthWit" | "executeUtility" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx";
2656
+ result?: any;
2657
+ }>[]]>;
2658
+ export { BatchedMethodSchema, BatchedResultSchema };
3553
2659
  export declare const WalletSchema: ApiSchemaFor<Wallet>;
3554
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2FsbGV0LmQudHMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvd2FsbGV0L3dhbGxldC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssRUFBRSxTQUFTLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQztBQUMvRCxPQUFPLEVBQUUsV0FBVyxFQUE2QixNQUFNLGlDQUFpQyxDQUFDO0FBQ3pGLE9BQU8sS0FBSyxFQUFFLEVBQUUsRUFBRSxNQUFNLGdDQUFnQyxDQUFDO0FBQ3pELE9BQU8sRUFHTCxLQUFLLGdCQUFnQixF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