@aztec/aztec.js 0.0.1-commit.9b94fc1 → 0.0.1-commit.b468ad8

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