@aztec/aztec.js 0.0.1-commit.d431d1c → 0.0.1-commit.db765a8

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 (139) hide show
  1. package/dest/api/abi.d.ts +2 -2
  2. package/dest/api/abi.d.ts.map +1 -1
  3. package/dest/api/block.d.ts +2 -2
  4. package/dest/api/block.d.ts.map +1 -1
  5. package/dest/api/block.js +1 -1
  6. package/dest/api/contract.d.ts +18 -12
  7. package/dest/api/contract.d.ts.map +1 -1
  8. package/dest/api/contract.js +16 -10
  9. package/dest/api/deployment.d.ts +1 -2
  10. package/dest/api/deployment.d.ts.map +1 -1
  11. package/dest/api/deployment.js +0 -1
  12. package/dest/api/events.d.ts +10 -6
  13. package/dest/api/events.d.ts.map +1 -1
  14. package/dest/api/events.js +30 -20
  15. package/dest/api/fields.d.ts +2 -1
  16. package/dest/api/fields.d.ts.map +1 -1
  17. package/dest/api/fields.js +1 -0
  18. package/dest/api/keys.d.ts +1 -1
  19. package/dest/api/keys.js +1 -1
  20. package/dest/api/node.d.ts +8 -4
  21. package/dest/api/node.d.ts.map +1 -1
  22. package/dest/api/node.js +7 -3
  23. package/dest/api/tx.d.ts +2 -2
  24. package/dest/api/tx.d.ts.map +1 -1
  25. package/dest/api/tx.js +1 -1
  26. package/dest/api/wallet.d.ts +3 -2
  27. package/dest/api/wallet.d.ts.map +1 -1
  28. package/dest/api/wallet.js +2 -1
  29. package/dest/contract/base_contract_interaction.d.ts +8 -10
  30. package/dest/contract/base_contract_interaction.d.ts.map +1 -1
  31. package/dest/contract/base_contract_interaction.js +5 -17
  32. package/dest/contract/batch_call.d.ts +3 -3
  33. package/dest/contract/batch_call.d.ts.map +1 -1
  34. package/dest/contract/batch_call.js +17 -8
  35. package/dest/contract/contract_function_interaction.d.ts +7 -16
  36. package/dest/contract/contract_function_interaction.d.ts.map +1 -1
  37. package/dest/contract/contract_function_interaction.js +107 -18
  38. package/dest/contract/deploy_method.d.ts +91 -19
  39. package/dest/contract/deploy_method.d.ts.map +1 -1
  40. package/dest/contract/deploy_method.js +68 -30
  41. package/dest/contract/get_gas_limits.js +3 -3
  42. package/dest/contract/interaction_options.d.ts +99 -21
  43. package/dest/contract/interaction_options.d.ts.map +1 -1
  44. package/dest/contract/interaction_options.js +41 -1
  45. package/dest/contract/protocol_contracts/auth-registry.d.ts +3 -3
  46. package/dest/contract/protocol_contracts/auth-registry.d.ts.map +1 -1
  47. package/dest/contract/protocol_contracts/auth-registry.js +49 -20
  48. package/dest/contract/protocol_contracts/contract-class-registry.d.ts +2 -22
  49. package/dest/contract/protocol_contracts/contract-class-registry.d.ts.map +1 -1
  50. package/dest/contract/protocol_contracts/contract-class-registry.js +13 -671
  51. package/dest/contract/protocol_contracts/contract-instance-registry.d.ts +2 -11
  52. package/dest/contract/protocol_contracts/contract-instance-registry.d.ts.map +1 -1
  53. package/dest/contract/protocol_contracts/contract-instance-registry.js +80 -486
  54. package/dest/contract/protocol_contracts/fee-juice.d.ts +1 -10
  55. package/dest/contract/protocol_contracts/fee-juice.d.ts.map +1 -1
  56. package/dest/contract/protocol_contracts/fee-juice.js +7 -413
  57. package/dest/contract/protocol_contracts/multi-call-entrypoint.d.ts +3 -3
  58. package/dest/contract/protocol_contracts/multi-call-entrypoint.d.ts.map +1 -1
  59. package/dest/contract/protocol_contracts/multi-call-entrypoint.js +40 -15
  60. package/dest/contract/protocol_contracts/public-checks.d.ts +3 -3
  61. package/dest/contract/protocol_contracts/public-checks.d.ts.map +1 -1
  62. package/dest/contract/protocol_contracts/public-checks.js +40 -23
  63. package/dest/contract/wait_for_proven.js +1 -1
  64. package/dest/contract/wait_opts.d.ts +16 -0
  65. package/dest/contract/wait_opts.d.ts.map +1 -0
  66. package/dest/contract/wait_opts.js +5 -0
  67. package/dest/fee/fee_juice_payment_method_with_claim.js +6 -6
  68. package/dest/fee/private_fee_payment_method.js +10 -10
  69. package/dest/fee/public_fee_payment_method.js +10 -10
  70. package/dest/fee/sponsored_fee_payment.js +3 -3
  71. package/dest/utils/abi_types.d.ts +6 -1
  72. package/dest/utils/abi_types.d.ts.map +1 -1
  73. package/dest/utils/abi_types.js +1 -1
  74. package/dest/utils/authwit.d.ts +6 -6
  75. package/dest/utils/authwit.d.ts.map +1 -1
  76. package/dest/utils/authwit.js +12 -12
  77. package/dest/utils/node.d.ts +12 -1
  78. package/dest/utils/node.d.ts.map +1 -1
  79. package/dest/utils/node.js +46 -0
  80. package/dest/wallet/capabilities.d.ts +452 -0
  81. package/dest/wallet/capabilities.d.ts.map +1 -0
  82. package/dest/wallet/capabilities.js +3 -0
  83. package/dest/wallet/deploy_account_method.d.ts +31 -6
  84. package/dest/wallet/deploy_account_method.d.ts.map +1 -1
  85. package/dest/wallet/deploy_account_method.js +26 -0
  86. package/dest/wallet/index.d.ts +2 -1
  87. package/dest/wallet/index.d.ts.map +1 -1
  88. package/dest/wallet/index.js +1 -0
  89. package/dest/wallet/wallet.d.ts +1639 -93
  90. package/dest/wallet/wallet.d.ts.map +1 -1
  91. package/dest/wallet/wallet.js +186 -27
  92. package/package.json +20 -11
  93. package/src/api/abi.ts +1 -0
  94. package/src/api/block.ts +1 -1
  95. package/src/api/contract.ts +31 -9
  96. package/src/api/deployment.ts +0 -1
  97. package/src/api/events.ts +35 -27
  98. package/src/api/fields.ts +1 -0
  99. package/src/api/keys.ts +2 -2
  100. package/src/api/node.ts +7 -3
  101. package/src/api/tx.ts +2 -0
  102. package/src/api/wallet.ts +48 -1
  103. package/src/contract/base_contract_interaction.ts +28 -15
  104. package/src/contract/batch_call.ts +17 -14
  105. package/src/contract/contract_function_interaction.ts +114 -26
  106. package/src/contract/deploy_method.ts +172 -35
  107. package/src/contract/get_gas_limits.ts +3 -3
  108. package/src/contract/interaction_options.ts +141 -23
  109. package/src/contract/protocol_contracts/auth-registry.ts +13 -14
  110. package/src/contract/protocol_contracts/contract-class-registry.ts +4 -347
  111. package/src/contract/protocol_contracts/contract-instance-registry.ts +34 -234
  112. package/src/contract/protocol_contracts/fee-juice.ts +2 -202
  113. package/src/contract/protocol_contracts/multi-call-entrypoint.ts +11 -13
  114. package/src/contract/protocol_contracts/public-checks.ts +11 -15
  115. package/src/contract/wait_for_proven.ts +1 -1
  116. package/src/contract/wait_opts.ts +21 -0
  117. package/src/fee/fee_juice_payment_method_with_claim.ts +5 -5
  118. package/src/fee/private_fee_payment_method.ts +7 -7
  119. package/src/fee/public_fee_payment_method.ts +8 -8
  120. package/src/fee/sponsored_fee_payment.ts +3 -3
  121. package/src/utils/abi_types.ts +7 -0
  122. package/src/utils/authwit.ts +31 -21
  123. package/src/utils/node.ts +62 -0
  124. package/src/wallet/capabilities.ts +500 -0
  125. package/src/wallet/deploy_account_method.ts +56 -4
  126. package/src/wallet/index.ts +1 -0
  127. package/src/wallet/wallet.ts +257 -50
  128. package/dest/contract/deploy_sent_tx.d.ts +0 -48
  129. package/dest/contract/deploy_sent_tx.d.ts.map +0 -1
  130. package/dest/contract/deploy_sent_tx.js +0 -46
  131. package/dest/contract/sent_tx.d.ts +0 -50
  132. package/dest/contract/sent_tx.d.ts.map +0 -1
  133. package/dest/contract/sent_tx.js +0 -90
  134. package/dest/deployment/broadcast_function.d.ts +0 -24
  135. package/dest/deployment/broadcast_function.d.ts.map +0 -1
  136. package/dest/deployment/broadcast_function.js +0 -74
  137. package/src/contract/deploy_sent_tx.ts +0 -75
  138. package/src/contract/sent_tx.ts +0 -129
  139. package/src/deployment/broadcast_function.ts +0 -148
@@ -1,17 +1,18 @@
1
1
  import type { ChainInfo } from '@aztec/entrypoints/interfaces';
2
2
  import { BlockNumber } from '@aztec/foundation/branded-types';
3
3
  import type { Fr } from '@aztec/foundation/curves/bn254';
4
- import { type ContractArtifact, type EventMetadataDefinition, type FunctionCall, FunctionType } from '@aztec/stdlib/abi';
4
+ import { type AbiDecoded, type ContractArtifact, type EventMetadataDefinition, FunctionCall } from '@aztec/stdlib/abi';
5
5
  import { AuthWitness } from '@aztec/stdlib/auth-witness';
6
6
  import type { AztecAddress } from '@aztec/stdlib/aztec-address';
7
7
  import { type ContractInstanceWithAddress } from '@aztec/stdlib/contract';
8
8
  import { Gas } from '@aztec/stdlib/gas';
9
9
  import { type ApiSchemaFor } from '@aztec/stdlib/schemas';
10
- import { Capsule, HashedValues, TxHash, TxProfileResult, TxReceipt, TxSimulationResult, UtilitySimulationResult } from '@aztec/stdlib/tx';
11
10
  import type { ExecutionPayload, InTx } from '@aztec/stdlib/tx';
11
+ import { Capsule, HashedValues, TxHash, TxProfileResult, TxSimulationResult, UtilityExecutionResult } from '@aztec/stdlib/tx';
12
12
  import { z } from 'zod';
13
- import type { FeeEstimationOptions, GasSettingsOption, ProfileInteractionOptions, SendInteractionOptions, SimulateInteractionOptions } from '../contract/interaction_options.js';
13
+ import { type FeeEstimationOptions, type GasSettingsOption, type InteractionWaitOptions, type ProfileInteractionOptions, type SendInteractionOptionsWithoutWait, type SendReturn, type SimulateInteractionOptions } from '../contract/interaction_options.js';
14
14
  import type { CallIntent, IntentInnerHash } from '../utils/authwit.js';
15
+ import type { AppCapabilities, WalletCapabilities } from './capabilities.js';
15
16
  /**
16
17
  * A wrapper type that allows any item to be associated with an alias.
17
18
  */
@@ -48,9 +49,11 @@ export type ProfileOptions = Omit<ProfileInteractionOptions, 'fee'> & {
48
49
  * a simplified version that only hints at the wallet whether the interaction contains a
49
50
  * fee payment method or not
50
51
  */
51
- export type SendOptions = Omit<SendInteractionOptions, 'fee'> & {
52
+ export type SendOptions<W extends InteractionWaitOptions = undefined> = Omit<SendInteractionOptionsWithoutWait, 'fee'> & {
52
53
  /** The fee options */
53
54
  fee?: GasSettingsOption;
55
+ /** Whether to wait for the transaction to be mined */
56
+ wait?: W;
54
57
  };
55
58
  /**
56
59
  * Helper type that represents all methods that can be batched (all methods except batch itself).
@@ -94,35 +97,57 @@ export type BatchResults<T extends readonly BatchedMethod[]> = {
94
97
  [K in keyof T]: BatchedMethodResultWrapper<T[K]>;
95
98
  };
96
99
  /**
97
- * Filter options when querying private events.
100
+ * Base filter options for event queries.
98
101
  */
99
- export type PrivateEventFilter = {
100
- /** The address of the contract that emitted the events. */
101
- contractAddress: AztecAddress;
102
- /** Addresses of accounts that are in scope for this filter. */
103
- scopes: AztecAddress[];
102
+ export type EventFilterBase = {
104
103
  /** Transaction in which the events were emitted. */
105
104
  txHash?: TxHash;
106
105
  /** The block number from which to start fetching events (inclusive).
107
106
  * Optional. If provided, it must be greater or equal than 1.
108
107
  * Defaults to the initial L2 block number (INITIAL_L2_BLOCK_NUM).
109
- * */
108
+ */
110
109
  fromBlock?: BlockNumber;
111
110
  /** The block number until which to fetch logs (not inclusive).
112
111
  * Optional. If provided, it must be greater than fromBlock.
113
- * Defaults to the latest known block to PXE + 1.
114
112
  */
115
113
  toBlock?: BlockNumber;
116
114
  };
117
115
  /**
118
- * An ABI decoded private event with associated metadata.
116
+ * Filter options when querying private events.
117
+ */
118
+ export type PrivateEventFilter = EventFilterBase & {
119
+ /** The address of the contract that emitted the events. */
120
+ contractAddress: AztecAddress;
121
+ /** Addresses of accounts that are in scope for this filter. */
122
+ scopes: AztecAddress[];
123
+ };
124
+ /**
125
+ * Filter options when querying public events.
119
126
  */
120
- export type PrivateEvent<T> = {
127
+ export type PublicEventFilter = EventFilterBase & {
128
+ /** The address of the contract that emitted the events. */
129
+ contractAddress?: AztecAddress;
130
+ };
131
+ /**
132
+ * An ABI decoded event with associated metadata.
133
+ * @typeParam T - The decoded event type
134
+ * @typeParam M - Additional metadata fields (empty by default)
135
+ */
136
+ export type Event<T, M extends object = object> = {
121
137
  /** The ABI decoded event */
122
138
  event: T;
123
139
  /** Metadata describing event context information such as tx and block */
124
- metadata: InTx;
140
+ metadata: InTx & M;
125
141
  };
142
+ /** An ABI decoded private event with associated metadata. */
143
+ export type PrivateEvent<T> = Event<T>;
144
+ /** An ABI decoded public event with associated metadata (includes contract address). */
145
+ export type PublicEvent<T> = Event<T, {
146
+ /**
147
+ * Address of the contract that emitted this event
148
+ */
149
+ contractAddress: AztecAddress;
150
+ }>;
126
151
  /**
127
152
  * Contract metadata including deployment and registration status.
128
153
  */
@@ -147,13 +172,21 @@ export type ContractClassMetadata = {
147
172
  /** Whether the contract class is publicly registered on-chain */
148
173
  isContractClassPubliclyRegistered: boolean;
149
174
  };
175
+ /**
176
+ * Options for executing a utility function call.
177
+ */
178
+ export type ExecuteUtilityOptions = {
179
+ /** The scope for the utility execution (determines which notes and keys are visible). */
180
+ scope: AztecAddress;
181
+ /** Optional auth witnesses to use during execution. */
182
+ authWitnesses?: AuthWitness[];
183
+ };
150
184
  /**
151
185
  * The wallet interface.
152
186
  */
153
187
  export type Wallet = {
154
188
  getPrivateEvents<T>(eventMetadata: EventMetadataDefinition, eventFilter: PrivateEventFilter): Promise<PrivateEvent<T>[]>;
155
189
  getChainInfo(): Promise<ChainInfo>;
156
- getTxReceipt(txHash: TxHash): Promise<TxReceipt>;
157
190
  getContractMetadata(address: AztecAddress): Promise<ContractMetadata>;
158
191
  getContractClassMetadata(id: Fr): Promise<ContractClassMetadata>;
159
192
  registerSender(address: AztecAddress, alias?: string): Promise<AztecAddress>;
@@ -161,46 +194,19 @@ export type Wallet = {
161
194
  getAccounts(): Promise<Aliased<AztecAddress>[]>;
162
195
  registerContract(instance: ContractInstanceWithAddress, artifact?: ContractArtifact, secretKey?: Fr): Promise<ContractInstanceWithAddress>;
163
196
  simulateTx(exec: ExecutionPayload, opts: SimulateOptions): Promise<TxSimulationResult>;
164
- simulateUtility(call: FunctionCall, authwits?: AuthWitness[]): Promise<UtilitySimulationResult>;
197
+ executeUtility(call: FunctionCall, opts: ExecuteUtilityOptions): Promise<UtilityExecutionResult>;
165
198
  profileTx(exec: ExecutionPayload, opts: ProfileOptions): Promise<TxProfileResult>;
166
- sendTx(exec: ExecutionPayload, opts: SendOptions): Promise<TxHash>;
199
+ sendTx<W extends InteractionWaitOptions = undefined>(exec: ExecutionPayload, opts: SendOptions<W>): Promise<SendReturn<W>>;
167
200
  createAuthWit(from: AztecAddress, messageHashOrIntent: IntentInnerHash | CallIntent): Promise<AuthWitness>;
201
+ requestCapabilities(manifest: AppCapabilities): Promise<WalletCapabilities>;
168
202
  batch<const T extends readonly BatchedMethod[]>(methods: T): Promise<BatchResults<T>>;
169
203
  };
170
- export declare const FunctionCallSchema: z.ZodObject<{
171
- name: z.ZodString;
172
- to: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
173
- selector: import("@aztec/stdlib/schemas").ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
174
- type: z.ZodNativeEnum<typeof FunctionType>;
175
- isStatic: z.ZodBoolean;
176
- hideMsgSender: z.ZodBoolean;
177
- args: z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<Fr>, "many">;
178
- returnTypes: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
179
- }, "strip", z.ZodTypeAny, {
180
- name: string;
181
- to: AztecAddress;
182
- selector: import("@aztec/stdlib/abi").FunctionSelector;
183
- type: FunctionType;
184
- isStatic: boolean;
185
- hideMsgSender: boolean;
186
- args: Fr[];
187
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
188
- }, {
189
- name: string;
190
- to?: any;
191
- selector?: any;
192
- type: FunctionType;
193
- isStatic: boolean;
194
- hideMsgSender: boolean;
195
- args: any[];
196
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
197
- }>;
198
204
  export declare const ExecutionPayloadSchema: z.ZodObject<{
199
- calls: z.ZodArray<z.ZodObject<{
205
+ calls: z.ZodArray<z.ZodEffects<z.ZodObject<{
200
206
  name: z.ZodString;
201
207
  to: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
202
208
  selector: import("@aztec/stdlib/schemas").ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
203
- type: z.ZodNativeEnum<typeof FunctionType>;
209
+ type: z.ZodNativeEnum<typeof import("@aztec/stdlib/abi").FunctionType>;
204
210
  isStatic: z.ZodBoolean;
205
211
  hideMsgSender: z.ZodBoolean;
206
212
  args: z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<Fr>, "many">;
@@ -209,7 +215,7 @@ export declare const ExecutionPayloadSchema: z.ZodObject<{
209
215
  name: string;
210
216
  to: AztecAddress;
211
217
  selector: import("@aztec/stdlib/abi").FunctionSelector;
212
- type: FunctionType;
218
+ type: import("@aztec/stdlib/abi").FunctionType;
213
219
  isStatic: boolean;
214
220
  hideMsgSender: boolean;
215
221
  args: Fr[];
@@ -218,7 +224,16 @@ export declare const ExecutionPayloadSchema: z.ZodObject<{
218
224
  name: string;
219
225
  to?: any;
220
226
  selector?: any;
221
- type: FunctionType;
227
+ type: import("@aztec/stdlib/abi").FunctionType;
228
+ isStatic: boolean;
229
+ hideMsgSender: boolean;
230
+ args: any[];
231
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
232
+ }>, FunctionCall, {
233
+ name: string;
234
+ to?: any;
235
+ selector?: any;
236
+ type: import("@aztec/stdlib/abi").FunctionType;
222
237
  isStatic: boolean;
223
238
  hideMsgSender: boolean;
224
239
  args: any[];
@@ -229,16 +244,7 @@ export declare const ExecutionPayloadSchema: z.ZodObject<{
229
244
  extraHashedArgs: z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<HashedValues>, "many">;
230
245
  feePayer: import("@aztec/foundation/schemas").ZodNullableOptional<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>>;
231
246
  }, "strip", z.ZodTypeAny, {
232
- calls: {
233
- name: string;
234
- to: AztecAddress;
235
- selector: import("@aztec/stdlib/abi").FunctionSelector;
236
- type: FunctionType;
237
- isStatic: boolean;
238
- hideMsgSender: boolean;
239
- args: Fr[];
240
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
241
- }[];
247
+ calls: FunctionCall[];
242
248
  authWitnesses: AuthWitness[];
243
249
  capsules: Capsule[];
244
250
  extraHashedArgs: HashedValues[];
@@ -248,7 +254,7 @@ export declare const ExecutionPayloadSchema: z.ZodObject<{
248
254
  name: string;
249
255
  to?: any;
250
256
  selector?: any;
251
- type: FunctionType;
257
+ type: import("@aztec/stdlib/abi").FunctionType;
252
258
  isStatic: boolean;
253
259
  hideMsgSender: boolean;
254
260
  args: any[];
@@ -486,6 +492,22 @@ export declare const WalletSimulationFeeOptionSchema: z.ZodObject<{
486
492
  estimatedGasPadding?: number | undefined;
487
493
  estimateGas?: boolean | undefined;
488
494
  }>;
495
+ export declare const WaitOptsSchema: z.ZodObject<{
496
+ ignoreDroppedReceiptsFor: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
497
+ timeout: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
498
+ interval: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
499
+ dontThrowOnRevert: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
500
+ }, "strip", z.ZodTypeAny, {
501
+ ignoreDroppedReceiptsFor?: number | undefined;
502
+ timeout?: number | undefined;
503
+ interval?: number | undefined;
504
+ dontThrowOnRevert?: boolean | undefined;
505
+ }, {
506
+ ignoreDroppedReceiptsFor?: number | undefined;
507
+ timeout?: number | undefined;
508
+ interval?: number | undefined;
509
+ dontThrowOnRevert?: boolean | undefined;
510
+ }>;
489
511
  export declare const SendOptionsSchema: z.ZodObject<{
490
512
  from: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
491
513
  authWitnesses: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">>;
@@ -600,6 +622,23 @@ export declare const SendOptionsSchema: z.ZodObject<{
600
622
  } | undefined;
601
623
  } | undefined;
602
624
  }>>;
625
+ wait: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodLiteral<"NO_WAIT">, z.ZodObject<{
626
+ ignoreDroppedReceiptsFor: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
627
+ timeout: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
628
+ interval: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
629
+ dontThrowOnRevert: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
630
+ }, "strip", z.ZodTypeAny, {
631
+ ignoreDroppedReceiptsFor?: number | undefined;
632
+ timeout?: number | undefined;
633
+ interval?: number | undefined;
634
+ dontThrowOnRevert?: boolean | undefined;
635
+ }, {
636
+ ignoreDroppedReceiptsFor?: number | undefined;
637
+ timeout?: number | undefined;
638
+ interval?: number | undefined;
639
+ dontThrowOnRevert?: boolean | undefined;
640
+ }>]>>;
641
+ additionalScopes: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">>;
603
642
  }, "strip", z.ZodTypeAny, {
604
643
  from: AztecAddress;
605
644
  authWitnesses?: AuthWitness[] | undefined;
@@ -618,6 +657,13 @@ export declare const SendOptionsSchema: z.ZodObject<{
618
657
  } | undefined;
619
658
  } | undefined;
620
659
  } | undefined;
660
+ wait?: "NO_WAIT" | {
661
+ ignoreDroppedReceiptsFor?: number | undefined;
662
+ timeout?: number | undefined;
663
+ interval?: number | undefined;
664
+ dontThrowOnRevert?: boolean | undefined;
665
+ } | undefined;
666
+ additionalScopes?: AztecAddress[] | undefined;
621
667
  }, {
622
668
  from?: any;
623
669
  authWitnesses?: string[] | undefined;
@@ -642,6 +688,13 @@ export declare const SendOptionsSchema: z.ZodObject<{
642
688
  } | undefined;
643
689
  } | undefined;
644
690
  } | undefined;
691
+ wait?: "NO_WAIT" | {
692
+ ignoreDroppedReceiptsFor?: number | undefined;
693
+ timeout?: number | undefined;
694
+ interval?: number | undefined;
695
+ dontThrowOnRevert?: boolean | undefined;
696
+ } | undefined;
697
+ additionalScopes?: any[] | undefined;
645
698
  }>;
646
699
  export declare const SimulateOptionsSchema: z.ZodObject<{
647
700
  from: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
@@ -767,6 +820,7 @@ export declare const SimulateOptionsSchema: z.ZodObject<{
767
820
  skipTxValidation: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
768
821
  skipFeeEnforcement: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
769
822
  includeMetadata: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
823
+ additionalScopes: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">>;
770
824
  }, "strip", z.ZodTypeAny, {
771
825
  from: AztecAddress;
772
826
  authWitnesses?: AuthWitness[] | undefined;
@@ -790,6 +844,7 @@ export declare const SimulateOptionsSchema: z.ZodObject<{
790
844
  skipTxValidation?: boolean | undefined;
791
845
  skipFeeEnforcement?: boolean | undefined;
792
846
  includeMetadata?: boolean | undefined;
847
+ additionalScopes?: AztecAddress[] | undefined;
793
848
  }, {
794
849
  from?: any;
795
850
  authWitnesses?: string[] | undefined;
@@ -819,6 +874,7 @@ export declare const SimulateOptionsSchema: z.ZodObject<{
819
874
  skipTxValidation?: boolean | undefined;
820
875
  skipFeeEnforcement?: boolean | undefined;
821
876
  includeMetadata?: boolean | undefined;
877
+ additionalScopes?: any[] | undefined;
822
878
  }>;
823
879
  export declare const ProfileOptionsSchema: z.ZodObject<{
824
880
  from: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
@@ -944,6 +1000,7 @@ export declare const ProfileOptionsSchema: z.ZodObject<{
944
1000
  skipTxValidation: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
945
1001
  skipFeeEnforcement: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
946
1002
  includeMetadata: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1003
+ additionalScopes: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">>;
947
1004
  } & {
948
1005
  profileMode: z.ZodEnum<["gates", "execution-steps", "full"]>;
949
1006
  skipProofGeneration: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
@@ -970,6 +1027,7 @@ export declare const ProfileOptionsSchema: z.ZodObject<{
970
1027
  skipTxValidation?: boolean | undefined;
971
1028
  skipFeeEnforcement?: boolean | undefined;
972
1029
  includeMetadata?: boolean | undefined;
1030
+ additionalScopes?: AztecAddress[] | undefined;
973
1031
  profileMode: "execution-steps" | "full" | "gates";
974
1032
  skipProofGeneration?: boolean | undefined;
975
1033
  }, {
@@ -1001,6 +1059,7 @@ export declare const ProfileOptionsSchema: z.ZodObject<{
1001
1059
  skipTxValidation?: boolean | undefined;
1002
1060
  skipFeeEnforcement?: boolean | undefined;
1003
1061
  includeMetadata?: boolean | undefined;
1062
+ additionalScopes?: any[] | undefined;
1004
1063
  profileMode: "execution-steps" | "full" | "gates";
1005
1064
  skipProofGeneration?: boolean | undefined;
1006
1065
  }>;
@@ -1015,11 +1074,11 @@ export declare const MessageHashOrIntentSchema: z.ZodUnion<[z.ZodObject<{
1015
1074
  innerHash?: any;
1016
1075
  }>, z.ZodObject<{
1017
1076
  caller: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
1018
- call: z.ZodObject<{
1077
+ call: z.ZodEffects<z.ZodObject<{
1019
1078
  name: z.ZodString;
1020
1079
  to: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
1021
1080
  selector: import("@aztec/stdlib/schemas").ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
1022
- type: z.ZodNativeEnum<typeof FunctionType>;
1081
+ type: z.ZodNativeEnum<typeof import("@aztec/stdlib/abi").FunctionType>;
1023
1082
  isStatic: z.ZodBoolean;
1024
1083
  hideMsgSender: z.ZodBoolean;
1025
1084
  args: z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<Fr>, "many">;
@@ -1028,7 +1087,7 @@ export declare const MessageHashOrIntentSchema: z.ZodUnion<[z.ZodObject<{
1028
1087
  name: string;
1029
1088
  to: AztecAddress;
1030
1089
  selector: import("@aztec/stdlib/abi").FunctionSelector;
1031
- type: FunctionType;
1090
+ type: import("@aztec/stdlib/abi").FunctionType;
1032
1091
  isStatic: boolean;
1033
1092
  hideMsgSender: boolean;
1034
1093
  args: Fr[];
@@ -1037,31 +1096,31 @@ export declare const MessageHashOrIntentSchema: z.ZodUnion<[z.ZodObject<{
1037
1096
  name: string;
1038
1097
  to?: any;
1039
1098
  selector?: any;
1040
- type: FunctionType;
1099
+ type: import("@aztec/stdlib/abi").FunctionType;
1041
1100
  isStatic: boolean;
1042
1101
  hideMsgSender: boolean;
1043
1102
  args: any[];
1044
1103
  returnTypes: import("@aztec/stdlib/abi").AbiType[];
1045
- }>;
1046
- }, "strip", z.ZodTypeAny, {
1047
- caller: AztecAddress;
1048
- call: {
1104
+ }>, FunctionCall, {
1049
1105
  name: string;
1050
- to: AztecAddress;
1051
- selector: import("@aztec/stdlib/abi").FunctionSelector;
1052
- type: FunctionType;
1106
+ to?: any;
1107
+ selector?: any;
1108
+ type: import("@aztec/stdlib/abi").FunctionType;
1053
1109
  isStatic: boolean;
1054
1110
  hideMsgSender: boolean;
1055
- args: Fr[];
1111
+ args: any[];
1056
1112
  returnTypes: import("@aztec/stdlib/abi").AbiType[];
1057
- };
1113
+ }>;
1114
+ }, "strip", z.ZodTypeAny, {
1115
+ caller: AztecAddress;
1116
+ call: FunctionCall;
1058
1117
  }, {
1059
1118
  caller?: any;
1060
1119
  call: {
1061
1120
  name: string;
1062
1121
  to?: any;
1063
1122
  selector?: any;
1064
- type: FunctionType;
1123
+ type: import("@aztec/stdlib/abi").FunctionType;
1065
1124
  isStatic: boolean;
1066
1125
  hideMsgSender: boolean;
1067
1126
  args: any[];
@@ -1081,25 +1140,92 @@ export declare const EventMetadataDefinitionSchema: z.ZodObject<{
1081
1140
  abiType: import("@aztec/stdlib/abi").AbiType;
1082
1141
  fieldNames: string[];
1083
1142
  }>;
1084
- export declare const PrivateEventSchema: z.ZodType<any>;
1085
1143
  export declare const PrivateEventFilterSchema: z.ZodObject<{
1086
- contractAddress: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
1087
- scopes: z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">;
1088
1144
  txHash: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, Buffer<ArrayBuffer>, string>, TxHash, string>>;
1089
1145
  fromBlock: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodPipeline<z.ZodUnion<[z.ZodNumber, z.ZodBigInt, z.ZodString]>, z.ZodNumber>, BlockNumber, string | number | bigint>>;
1090
1146
  toBlock: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodPipeline<z.ZodUnion<[z.ZodNumber, z.ZodBigInt, z.ZodString]>, z.ZodNumber>, BlockNumber, string | number | bigint>>;
1147
+ } & {
1148
+ contractAddress: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
1149
+ scopes: z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">;
1091
1150
  }, "strip", z.ZodTypeAny, {
1092
- contractAddress: AztecAddress;
1093
- scopes: AztecAddress[];
1094
1151
  txHash?: TxHash | undefined;
1095
1152
  fromBlock?: BlockNumber | undefined;
1096
1153
  toBlock?: BlockNumber | undefined;
1154
+ contractAddress: AztecAddress;
1155
+ scopes: AztecAddress[];
1097
1156
  }, {
1157
+ txHash?: string | undefined;
1158
+ fromBlock?: string | number | bigint | undefined;
1159
+ toBlock?: string | number | bigint | undefined;
1098
1160
  contractAddress?: any;
1099
1161
  scopes: any[];
1162
+ }>;
1163
+ export declare const PublicEventFilterSchema: z.ZodObject<{
1164
+ 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>>;
1165
+ fromBlock: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodPipeline<z.ZodUnion<[z.ZodNumber, z.ZodBigInt, z.ZodString]>, z.ZodNumber>, BlockNumber, string | number | bigint>>;
1166
+ toBlock: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodPipeline<z.ZodUnion<[z.ZodNumber, z.ZodBigInt, z.ZodString]>, z.ZodNumber>, BlockNumber, string | number | bigint>>;
1167
+ } & {
1168
+ contractAddress: import("@aztec/foundation/schemas").ZodNullableOptional<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>>;
1169
+ }, "strip", z.ZodTypeAny, {
1170
+ txHash?: TxHash | undefined;
1171
+ fromBlock?: BlockNumber | undefined;
1172
+ toBlock?: BlockNumber | undefined;
1173
+ contractAddress?: AztecAddress | undefined;
1174
+ }, {
1100
1175
  txHash?: string | undefined;
1101
1176
  fromBlock?: string | number | bigint | undefined;
1102
1177
  toBlock?: string | number | bigint | undefined;
1178
+ contractAddress?: any;
1179
+ }>;
1180
+ export declare const PrivateEventSchema: z.ZodType<any>;
1181
+ export declare const PublicEventSchema: z.ZodObject<{
1182
+ event: import("@aztec/stdlib/schemas").ZodFor<AbiDecoded>;
1183
+ metadata: z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
1184
+ l2BlockNumber: z.ZodEffects<z.ZodPipeline<z.ZodUnion<[z.ZodNumber, z.ZodBigInt, z.ZodString]>, z.ZodNumber>, BlockNumber, string | number | bigint>;
1185
+ l2BlockHash: import("@aztec/stdlib/schemas").ZodFor<import("@aztec/stdlib/block").BlockHash>;
1186
+ }, "strip", z.ZodTypeAny, {
1187
+ l2BlockNumber: number & {
1188
+ _branding: "BlockNumber";
1189
+ };
1190
+ l2BlockHash: import("@aztec/stdlib/block").BlockHash;
1191
+ }, {
1192
+ l2BlockNumber: string | number | bigint;
1193
+ l2BlockHash?: any;
1194
+ }>, z.ZodObject<{
1195
+ txHash: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, Buffer<ArrayBuffer>, string>, TxHash, string>;
1196
+ }, "strip", z.ZodTypeAny, {
1197
+ txHash: TxHash;
1198
+ }, {
1199
+ txHash: string;
1200
+ }>>, z.ZodObject<{
1201
+ contractAddress: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
1202
+ }, "strip", z.ZodTypeAny, {
1203
+ contractAddress: AztecAddress;
1204
+ }, {
1205
+ contractAddress?: any;
1206
+ }>>;
1207
+ }, "strip", z.ZodTypeAny, {
1208
+ event?: AbiDecoded;
1209
+ metadata: {
1210
+ l2BlockNumber: number & {
1211
+ _branding: "BlockNumber";
1212
+ };
1213
+ l2BlockHash: import("@aztec/stdlib/block").BlockHash;
1214
+ } & {
1215
+ txHash: TxHash;
1216
+ } & {
1217
+ contractAddress: AztecAddress;
1218
+ };
1219
+ }, {
1220
+ event?: any;
1221
+ metadata: {
1222
+ l2BlockNumber: string | number | bigint;
1223
+ l2BlockHash?: any;
1224
+ } & {
1225
+ txHash: string;
1226
+ } & {
1227
+ contractAddress?: any;
1228
+ };
1103
1229
  }>;
1104
1230
  export declare const ContractMetadataSchema: z.ZodObject<{
1105
1231
  instance: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodIntersection<z.ZodObject<{
@@ -1210,43 +1336,1463 @@ export declare const ContractClassMetadataSchema: z.ZodObject<{
1210
1336
  isArtifactRegistered: boolean;
1211
1337
  isContractClassPubliclyRegistered: boolean;
1212
1338
  }>;
1339
+ export declare const ContractFunctionPatternSchema: z.ZodObject<{
1340
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
1341
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
1342
+ additionalScopes: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">, z.ZodLiteral<"*">]>>;
1343
+ }, "strip", z.ZodTypeAny, {
1344
+ contract: "*" | AztecAddress;
1345
+ function: string;
1346
+ additionalScopes?: "*" | AztecAddress[] | undefined;
1347
+ }, {
1348
+ contract?: any;
1349
+ function: string;
1350
+ additionalScopes?: "*" | any[] | undefined;
1351
+ }>;
1352
+ export declare const AccountsCapabilitySchema: z.ZodObject<{
1353
+ type: z.ZodLiteral<"accounts">;
1354
+ canGet: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1355
+ canCreateAuthWit: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1356
+ }, "strip", z.ZodTypeAny, {
1357
+ type: "accounts";
1358
+ canGet?: boolean | undefined;
1359
+ canCreateAuthWit?: boolean | undefined;
1360
+ }, {
1361
+ type: "accounts";
1362
+ canGet?: boolean | undefined;
1363
+ canCreateAuthWit?: boolean | undefined;
1364
+ }>;
1365
+ export declare const GrantedAccountsCapabilitySchema: z.ZodObject<{
1366
+ type: z.ZodLiteral<"accounts">;
1367
+ canGet: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1368
+ canCreateAuthWit: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1369
+ } & {
1370
+ accounts: z.ZodArray<z.ZodObject<{
1371
+ alias: z.ZodString;
1372
+ item: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
1373
+ }, "strip", z.ZodTypeAny, {
1374
+ alias: string;
1375
+ item: AztecAddress;
1376
+ }, {
1377
+ alias: string;
1378
+ item?: any;
1379
+ }>, "many">;
1380
+ }, "strip", z.ZodTypeAny, {
1381
+ type: "accounts";
1382
+ canGet?: boolean | undefined;
1383
+ canCreateAuthWit?: boolean | undefined;
1384
+ accounts: {
1385
+ alias: string;
1386
+ item: AztecAddress;
1387
+ }[];
1388
+ }, {
1389
+ type: "accounts";
1390
+ canGet?: boolean | undefined;
1391
+ canCreateAuthWit?: boolean | undefined;
1392
+ accounts: {
1393
+ alias: string;
1394
+ item?: any;
1395
+ }[];
1396
+ }>;
1397
+ export declare const ContractsCapabilitySchema: z.ZodObject<{
1398
+ type: z.ZodLiteral<"contracts">;
1399
+ contracts: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">]>;
1400
+ canRegister: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1401
+ canGetMetadata: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1402
+ }, "strip", z.ZodTypeAny, {
1403
+ type: "contracts";
1404
+ contracts: "*" | AztecAddress[];
1405
+ canRegister?: boolean | undefined;
1406
+ canGetMetadata?: boolean | undefined;
1407
+ }, {
1408
+ type: "contracts";
1409
+ contracts: "*" | any[];
1410
+ canRegister?: boolean | undefined;
1411
+ canGetMetadata?: boolean | undefined;
1412
+ }>;
1413
+ export declare const GrantedContractsCapabilitySchema: z.ZodObject<{
1414
+ type: z.ZodLiteral<"contracts">;
1415
+ contracts: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">]>;
1416
+ canRegister: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1417
+ canGetMetadata: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1418
+ }, "strip", z.ZodTypeAny, {
1419
+ type: "contracts";
1420
+ contracts: "*" | AztecAddress[];
1421
+ canRegister?: boolean | undefined;
1422
+ canGetMetadata?: boolean | undefined;
1423
+ }, {
1424
+ type: "contracts";
1425
+ contracts: "*" | any[];
1426
+ canRegister?: boolean | undefined;
1427
+ canGetMetadata?: boolean | undefined;
1428
+ }>;
1429
+ export declare const ContractClassesCapabilitySchema: z.ZodObject<{
1430
+ type: z.ZodLiteral<"contractClasses">;
1431
+ classes: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<Fr>, "many">]>;
1432
+ canGetMetadata: z.ZodBoolean;
1433
+ }, "strip", z.ZodTypeAny, {
1434
+ type: "contractClasses";
1435
+ classes: "*" | Fr[];
1436
+ canGetMetadata: boolean;
1437
+ }, {
1438
+ type: "contractClasses";
1439
+ classes: "*" | any[];
1440
+ canGetMetadata: boolean;
1441
+ }>;
1442
+ export declare const GrantedContractClassesCapabilitySchema: z.ZodObject<{
1443
+ type: z.ZodLiteral<"contractClasses">;
1444
+ classes: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<Fr>, "many">]>;
1445
+ canGetMetadata: z.ZodBoolean;
1446
+ }, "strip", z.ZodTypeAny, {
1447
+ type: "contractClasses";
1448
+ classes: "*" | Fr[];
1449
+ canGetMetadata: boolean;
1450
+ }, {
1451
+ type: "contractClasses";
1452
+ classes: "*" | any[];
1453
+ canGetMetadata: boolean;
1454
+ }>;
1455
+ export declare const SimulationCapabilitySchema: z.ZodObject<{
1456
+ type: z.ZodLiteral<"simulation">;
1457
+ transactions: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
1458
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
1459
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
1460
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
1461
+ additionalScopes: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">, z.ZodLiteral<"*">]>>;
1462
+ }, "strip", z.ZodTypeAny, {
1463
+ contract: "*" | AztecAddress;
1464
+ function: string;
1465
+ additionalScopes?: "*" | AztecAddress[] | undefined;
1466
+ }, {
1467
+ contract?: any;
1468
+ function: string;
1469
+ additionalScopes?: "*" | any[] | undefined;
1470
+ }>, "many">]>;
1471
+ }, "strip", z.ZodTypeAny, {
1472
+ scope: "*" | {
1473
+ contract: "*" | AztecAddress;
1474
+ function: string;
1475
+ additionalScopes?: "*" | AztecAddress[] | undefined;
1476
+ }[];
1477
+ }, {
1478
+ scope: "*" | {
1479
+ contract?: any;
1480
+ function: string;
1481
+ additionalScopes?: "*" | any[] | undefined;
1482
+ }[];
1483
+ }>>;
1484
+ utilities: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
1485
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
1486
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
1487
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
1488
+ additionalScopes: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">, z.ZodLiteral<"*">]>>;
1489
+ }, "strip", z.ZodTypeAny, {
1490
+ contract: "*" | AztecAddress;
1491
+ function: string;
1492
+ additionalScopes?: "*" | AztecAddress[] | undefined;
1493
+ }, {
1494
+ contract?: any;
1495
+ function: string;
1496
+ additionalScopes?: "*" | any[] | undefined;
1497
+ }>, "many">]>;
1498
+ }, "strip", z.ZodTypeAny, {
1499
+ scope: "*" | {
1500
+ contract: "*" | AztecAddress;
1501
+ function: string;
1502
+ additionalScopes?: "*" | AztecAddress[] | undefined;
1503
+ }[];
1504
+ }, {
1505
+ scope: "*" | {
1506
+ contract?: any;
1507
+ function: string;
1508
+ additionalScopes?: "*" | any[] | undefined;
1509
+ }[];
1510
+ }>>;
1511
+ }, "strip", z.ZodTypeAny, {
1512
+ type: "simulation";
1513
+ transactions?: {
1514
+ scope: "*" | {
1515
+ contract: "*" | AztecAddress;
1516
+ function: string;
1517
+ additionalScopes?: "*" | AztecAddress[] | undefined;
1518
+ }[];
1519
+ } | undefined;
1520
+ utilities?: {
1521
+ scope: "*" | {
1522
+ contract: "*" | AztecAddress;
1523
+ function: string;
1524
+ additionalScopes?: "*" | AztecAddress[] | undefined;
1525
+ }[];
1526
+ } | undefined;
1527
+ }, {
1528
+ type: "simulation";
1529
+ transactions?: {
1530
+ scope: "*" | {
1531
+ contract?: any;
1532
+ function: string;
1533
+ additionalScopes?: "*" | any[] | undefined;
1534
+ }[];
1535
+ } | undefined;
1536
+ utilities?: {
1537
+ scope: "*" | {
1538
+ contract?: any;
1539
+ function: string;
1540
+ additionalScopes?: "*" | any[] | undefined;
1541
+ }[];
1542
+ } | undefined;
1543
+ }>;
1544
+ export declare const GrantedSimulationCapabilitySchema: z.ZodObject<{
1545
+ type: z.ZodLiteral<"simulation">;
1546
+ transactions: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
1547
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
1548
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
1549
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
1550
+ additionalScopes: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">, z.ZodLiteral<"*">]>>;
1551
+ }, "strip", z.ZodTypeAny, {
1552
+ contract: "*" | AztecAddress;
1553
+ function: string;
1554
+ additionalScopes?: "*" | AztecAddress[] | undefined;
1555
+ }, {
1556
+ contract?: any;
1557
+ function: string;
1558
+ additionalScopes?: "*" | any[] | undefined;
1559
+ }>, "many">]>;
1560
+ }, "strip", z.ZodTypeAny, {
1561
+ scope: "*" | {
1562
+ contract: "*" | AztecAddress;
1563
+ function: string;
1564
+ additionalScopes?: "*" | AztecAddress[] | undefined;
1565
+ }[];
1566
+ }, {
1567
+ scope: "*" | {
1568
+ contract?: any;
1569
+ function: string;
1570
+ additionalScopes?: "*" | any[] | undefined;
1571
+ }[];
1572
+ }>>;
1573
+ utilities: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
1574
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
1575
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
1576
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
1577
+ additionalScopes: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">, z.ZodLiteral<"*">]>>;
1578
+ }, "strip", z.ZodTypeAny, {
1579
+ contract: "*" | AztecAddress;
1580
+ function: string;
1581
+ additionalScopes?: "*" | AztecAddress[] | undefined;
1582
+ }, {
1583
+ contract?: any;
1584
+ function: string;
1585
+ additionalScopes?: "*" | any[] | undefined;
1586
+ }>, "many">]>;
1587
+ }, "strip", z.ZodTypeAny, {
1588
+ scope: "*" | {
1589
+ contract: "*" | AztecAddress;
1590
+ function: string;
1591
+ additionalScopes?: "*" | AztecAddress[] | undefined;
1592
+ }[];
1593
+ }, {
1594
+ scope: "*" | {
1595
+ contract?: any;
1596
+ function: string;
1597
+ additionalScopes?: "*" | any[] | undefined;
1598
+ }[];
1599
+ }>>;
1600
+ }, "strip", z.ZodTypeAny, {
1601
+ type: "simulation";
1602
+ transactions?: {
1603
+ scope: "*" | {
1604
+ contract: "*" | AztecAddress;
1605
+ function: string;
1606
+ additionalScopes?: "*" | AztecAddress[] | undefined;
1607
+ }[];
1608
+ } | undefined;
1609
+ utilities?: {
1610
+ scope: "*" | {
1611
+ contract: "*" | AztecAddress;
1612
+ function: string;
1613
+ additionalScopes?: "*" | AztecAddress[] | undefined;
1614
+ }[];
1615
+ } | undefined;
1616
+ }, {
1617
+ type: "simulation";
1618
+ transactions?: {
1619
+ scope: "*" | {
1620
+ contract?: any;
1621
+ function: string;
1622
+ additionalScopes?: "*" | any[] | undefined;
1623
+ }[];
1624
+ } | undefined;
1625
+ utilities?: {
1626
+ scope: "*" | {
1627
+ contract?: any;
1628
+ function: string;
1629
+ additionalScopes?: "*" | any[] | undefined;
1630
+ }[];
1631
+ } | undefined;
1632
+ }>;
1633
+ export declare const TransactionCapabilitySchema: z.ZodObject<{
1634
+ type: z.ZodLiteral<"transaction">;
1635
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
1636
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
1637
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
1638
+ additionalScopes: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">, z.ZodLiteral<"*">]>>;
1639
+ }, "strip", z.ZodTypeAny, {
1640
+ contract: "*" | AztecAddress;
1641
+ function: string;
1642
+ additionalScopes?: "*" | AztecAddress[] | undefined;
1643
+ }, {
1644
+ contract?: any;
1645
+ function: string;
1646
+ additionalScopes?: "*" | any[] | undefined;
1647
+ }>, "many">]>;
1648
+ }, "strip", z.ZodTypeAny, {
1649
+ type: "transaction";
1650
+ scope: "*" | {
1651
+ contract: "*" | AztecAddress;
1652
+ function: string;
1653
+ additionalScopes?: "*" | AztecAddress[] | undefined;
1654
+ }[];
1655
+ }, {
1656
+ type: "transaction";
1657
+ scope: "*" | {
1658
+ contract?: any;
1659
+ function: string;
1660
+ additionalScopes?: "*" | any[] | undefined;
1661
+ }[];
1662
+ }>;
1663
+ export declare const GrantedTransactionCapabilitySchema: z.ZodObject<{
1664
+ type: z.ZodLiteral<"transaction">;
1665
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
1666
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
1667
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
1668
+ additionalScopes: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">, z.ZodLiteral<"*">]>>;
1669
+ }, "strip", z.ZodTypeAny, {
1670
+ contract: "*" | AztecAddress;
1671
+ function: string;
1672
+ additionalScopes?: "*" | AztecAddress[] | undefined;
1673
+ }, {
1674
+ contract?: any;
1675
+ function: string;
1676
+ additionalScopes?: "*" | any[] | undefined;
1677
+ }>, "many">]>;
1678
+ }, "strip", z.ZodTypeAny, {
1679
+ type: "transaction";
1680
+ scope: "*" | {
1681
+ contract: "*" | AztecAddress;
1682
+ function: string;
1683
+ additionalScopes?: "*" | AztecAddress[] | undefined;
1684
+ }[];
1685
+ }, {
1686
+ type: "transaction";
1687
+ scope: "*" | {
1688
+ contract?: any;
1689
+ function: string;
1690
+ additionalScopes?: "*" | any[] | undefined;
1691
+ }[];
1692
+ }>;
1693
+ export declare const DataCapabilitySchema: z.ZodObject<{
1694
+ type: z.ZodLiteral<"data">;
1695
+ addressBook: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1696
+ privateEvents: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
1697
+ contracts: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">]>;
1698
+ }, "strip", z.ZodTypeAny, {
1699
+ contracts: "*" | AztecAddress[];
1700
+ }, {
1701
+ contracts: "*" | any[];
1702
+ }>>;
1703
+ }, "strip", z.ZodTypeAny, {
1704
+ type: "data";
1705
+ addressBook?: boolean | undefined;
1706
+ privateEvents?: {
1707
+ contracts: "*" | AztecAddress[];
1708
+ } | undefined;
1709
+ }, {
1710
+ type: "data";
1711
+ addressBook?: boolean | undefined;
1712
+ privateEvents?: {
1713
+ contracts: "*" | any[];
1714
+ } | undefined;
1715
+ }>;
1716
+ export declare const GrantedDataCapabilitySchema: z.ZodObject<{
1717
+ type: z.ZodLiteral<"data">;
1718
+ addressBook: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1719
+ privateEvents: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
1720
+ contracts: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">]>;
1721
+ }, "strip", z.ZodTypeAny, {
1722
+ contracts: "*" | AztecAddress[];
1723
+ }, {
1724
+ contracts: "*" | any[];
1725
+ }>>;
1726
+ }, "strip", z.ZodTypeAny, {
1727
+ type: "data";
1728
+ addressBook?: boolean | undefined;
1729
+ privateEvents?: {
1730
+ contracts: "*" | AztecAddress[];
1731
+ } | undefined;
1732
+ }, {
1733
+ type: "data";
1734
+ addressBook?: boolean | undefined;
1735
+ privateEvents?: {
1736
+ contracts: "*" | any[];
1737
+ } | undefined;
1738
+ }>;
1739
+ export declare const CapabilitySchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1740
+ type: z.ZodLiteral<"accounts">;
1741
+ canGet: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1742
+ canCreateAuthWit: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1743
+ }, "strip", z.ZodTypeAny, {
1744
+ type: "accounts";
1745
+ canGet?: boolean | undefined;
1746
+ canCreateAuthWit?: boolean | undefined;
1747
+ }, {
1748
+ type: "accounts";
1749
+ canGet?: boolean | undefined;
1750
+ canCreateAuthWit?: boolean | undefined;
1751
+ }>, z.ZodObject<{
1752
+ type: z.ZodLiteral<"contracts">;
1753
+ contracts: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">]>;
1754
+ canRegister: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1755
+ canGetMetadata: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1756
+ }, "strip", z.ZodTypeAny, {
1757
+ type: "contracts";
1758
+ contracts: "*" | AztecAddress[];
1759
+ canRegister?: boolean | undefined;
1760
+ canGetMetadata?: boolean | undefined;
1761
+ }, {
1762
+ type: "contracts";
1763
+ contracts: "*" | any[];
1764
+ canRegister?: boolean | undefined;
1765
+ canGetMetadata?: boolean | undefined;
1766
+ }>, z.ZodObject<{
1767
+ type: z.ZodLiteral<"contractClasses">;
1768
+ classes: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<Fr>, "many">]>;
1769
+ canGetMetadata: z.ZodBoolean;
1770
+ }, "strip", z.ZodTypeAny, {
1771
+ type: "contractClasses";
1772
+ classes: "*" | Fr[];
1773
+ canGetMetadata: boolean;
1774
+ }, {
1775
+ type: "contractClasses";
1776
+ classes: "*" | any[];
1777
+ canGetMetadata: boolean;
1778
+ }>, z.ZodObject<{
1779
+ type: z.ZodLiteral<"simulation">;
1780
+ transactions: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
1781
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
1782
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
1783
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
1784
+ additionalScopes: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">, z.ZodLiteral<"*">]>>;
1785
+ }, "strip", z.ZodTypeAny, {
1786
+ contract: "*" | AztecAddress;
1787
+ function: string;
1788
+ additionalScopes?: "*" | AztecAddress[] | undefined;
1789
+ }, {
1790
+ contract?: any;
1791
+ function: string;
1792
+ additionalScopes?: "*" | any[] | undefined;
1793
+ }>, "many">]>;
1794
+ }, "strip", z.ZodTypeAny, {
1795
+ scope: "*" | {
1796
+ contract: "*" | AztecAddress;
1797
+ function: string;
1798
+ additionalScopes?: "*" | AztecAddress[] | undefined;
1799
+ }[];
1800
+ }, {
1801
+ scope: "*" | {
1802
+ contract?: any;
1803
+ function: string;
1804
+ additionalScopes?: "*" | any[] | undefined;
1805
+ }[];
1806
+ }>>;
1807
+ utilities: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
1808
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
1809
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
1810
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
1811
+ additionalScopes: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">, z.ZodLiteral<"*">]>>;
1812
+ }, "strip", z.ZodTypeAny, {
1813
+ contract: "*" | AztecAddress;
1814
+ function: string;
1815
+ additionalScopes?: "*" | AztecAddress[] | undefined;
1816
+ }, {
1817
+ contract?: any;
1818
+ function: string;
1819
+ additionalScopes?: "*" | any[] | undefined;
1820
+ }>, "many">]>;
1821
+ }, "strip", z.ZodTypeAny, {
1822
+ scope: "*" | {
1823
+ contract: "*" | AztecAddress;
1824
+ function: string;
1825
+ additionalScopes?: "*" | AztecAddress[] | undefined;
1826
+ }[];
1827
+ }, {
1828
+ scope: "*" | {
1829
+ contract?: any;
1830
+ function: string;
1831
+ additionalScopes?: "*" | any[] | undefined;
1832
+ }[];
1833
+ }>>;
1834
+ }, "strip", z.ZodTypeAny, {
1835
+ type: "simulation";
1836
+ transactions?: {
1837
+ scope: "*" | {
1838
+ contract: "*" | AztecAddress;
1839
+ function: string;
1840
+ additionalScopes?: "*" | AztecAddress[] | undefined;
1841
+ }[];
1842
+ } | undefined;
1843
+ utilities?: {
1844
+ scope: "*" | {
1845
+ contract: "*" | AztecAddress;
1846
+ function: string;
1847
+ additionalScopes?: "*" | AztecAddress[] | undefined;
1848
+ }[];
1849
+ } | undefined;
1850
+ }, {
1851
+ type: "simulation";
1852
+ transactions?: {
1853
+ scope: "*" | {
1854
+ contract?: any;
1855
+ function: string;
1856
+ additionalScopes?: "*" | any[] | undefined;
1857
+ }[];
1858
+ } | undefined;
1859
+ utilities?: {
1860
+ scope: "*" | {
1861
+ contract?: any;
1862
+ function: string;
1863
+ additionalScopes?: "*" | any[] | undefined;
1864
+ }[];
1865
+ } | undefined;
1866
+ }>, z.ZodObject<{
1867
+ type: z.ZodLiteral<"transaction">;
1868
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
1869
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
1870
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
1871
+ additionalScopes: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">, z.ZodLiteral<"*">]>>;
1872
+ }, "strip", z.ZodTypeAny, {
1873
+ contract: "*" | AztecAddress;
1874
+ function: string;
1875
+ additionalScopes?: "*" | AztecAddress[] | undefined;
1876
+ }, {
1877
+ contract?: any;
1878
+ function: string;
1879
+ additionalScopes?: "*" | any[] | undefined;
1880
+ }>, "many">]>;
1881
+ }, "strip", z.ZodTypeAny, {
1882
+ type: "transaction";
1883
+ scope: "*" | {
1884
+ contract: "*" | AztecAddress;
1885
+ function: string;
1886
+ additionalScopes?: "*" | AztecAddress[] | undefined;
1887
+ }[];
1888
+ }, {
1889
+ type: "transaction";
1890
+ scope: "*" | {
1891
+ contract?: any;
1892
+ function: string;
1893
+ additionalScopes?: "*" | any[] | undefined;
1894
+ }[];
1895
+ }>, z.ZodObject<{
1896
+ type: z.ZodLiteral<"data">;
1897
+ addressBook: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1898
+ privateEvents: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
1899
+ contracts: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">]>;
1900
+ }, "strip", z.ZodTypeAny, {
1901
+ contracts: "*" | AztecAddress[];
1902
+ }, {
1903
+ contracts: "*" | any[];
1904
+ }>>;
1905
+ }, "strip", z.ZodTypeAny, {
1906
+ type: "data";
1907
+ addressBook?: boolean | undefined;
1908
+ privateEvents?: {
1909
+ contracts: "*" | AztecAddress[];
1910
+ } | undefined;
1911
+ }, {
1912
+ type: "data";
1913
+ addressBook?: boolean | undefined;
1914
+ privateEvents?: {
1915
+ contracts: "*" | any[];
1916
+ } | undefined;
1917
+ }>]>;
1918
+ export declare const GrantedCapabilitySchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1919
+ type: z.ZodLiteral<"accounts">;
1920
+ canGet: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1921
+ canCreateAuthWit: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1922
+ } & {
1923
+ accounts: z.ZodArray<z.ZodObject<{
1924
+ alias: z.ZodString;
1925
+ item: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
1926
+ }, "strip", z.ZodTypeAny, {
1927
+ alias: string;
1928
+ item: AztecAddress;
1929
+ }, {
1930
+ alias: string;
1931
+ item?: any;
1932
+ }>, "many">;
1933
+ }, "strip", z.ZodTypeAny, {
1934
+ type: "accounts";
1935
+ canGet?: boolean | undefined;
1936
+ canCreateAuthWit?: boolean | undefined;
1937
+ accounts: {
1938
+ alias: string;
1939
+ item: AztecAddress;
1940
+ }[];
1941
+ }, {
1942
+ type: "accounts";
1943
+ canGet?: boolean | undefined;
1944
+ canCreateAuthWit?: boolean | undefined;
1945
+ accounts: {
1946
+ alias: string;
1947
+ item?: any;
1948
+ }[];
1949
+ }>, z.ZodObject<{
1950
+ type: z.ZodLiteral<"contracts">;
1951
+ contracts: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">]>;
1952
+ canRegister: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1953
+ canGetMetadata: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1954
+ }, "strip", z.ZodTypeAny, {
1955
+ type: "contracts";
1956
+ contracts: "*" | AztecAddress[];
1957
+ canRegister?: boolean | undefined;
1958
+ canGetMetadata?: boolean | undefined;
1959
+ }, {
1960
+ type: "contracts";
1961
+ contracts: "*" | any[];
1962
+ canRegister?: boolean | undefined;
1963
+ canGetMetadata?: boolean | undefined;
1964
+ }>, z.ZodObject<{
1965
+ type: z.ZodLiteral<"contractClasses">;
1966
+ classes: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<Fr>, "many">]>;
1967
+ canGetMetadata: z.ZodBoolean;
1968
+ }, "strip", z.ZodTypeAny, {
1969
+ type: "contractClasses";
1970
+ classes: "*" | Fr[];
1971
+ canGetMetadata: boolean;
1972
+ }, {
1973
+ type: "contractClasses";
1974
+ classes: "*" | any[];
1975
+ canGetMetadata: boolean;
1976
+ }>, z.ZodObject<{
1977
+ type: z.ZodLiteral<"simulation">;
1978
+ transactions: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
1979
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
1980
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
1981
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
1982
+ additionalScopes: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">, z.ZodLiteral<"*">]>>;
1983
+ }, "strip", z.ZodTypeAny, {
1984
+ contract: "*" | AztecAddress;
1985
+ function: string;
1986
+ additionalScopes?: "*" | AztecAddress[] | undefined;
1987
+ }, {
1988
+ contract?: any;
1989
+ function: string;
1990
+ additionalScopes?: "*" | any[] | undefined;
1991
+ }>, "many">]>;
1992
+ }, "strip", z.ZodTypeAny, {
1993
+ scope: "*" | {
1994
+ contract: "*" | AztecAddress;
1995
+ function: string;
1996
+ additionalScopes?: "*" | AztecAddress[] | undefined;
1997
+ }[];
1998
+ }, {
1999
+ scope: "*" | {
2000
+ contract?: any;
2001
+ function: string;
2002
+ additionalScopes?: "*" | any[] | undefined;
2003
+ }[];
2004
+ }>>;
2005
+ utilities: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
2006
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
2007
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
2008
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
2009
+ additionalScopes: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">, z.ZodLiteral<"*">]>>;
2010
+ }, "strip", z.ZodTypeAny, {
2011
+ contract: "*" | AztecAddress;
2012
+ function: string;
2013
+ additionalScopes?: "*" | AztecAddress[] | undefined;
2014
+ }, {
2015
+ contract?: any;
2016
+ function: string;
2017
+ additionalScopes?: "*" | any[] | undefined;
2018
+ }>, "many">]>;
2019
+ }, "strip", z.ZodTypeAny, {
2020
+ scope: "*" | {
2021
+ contract: "*" | AztecAddress;
2022
+ function: string;
2023
+ additionalScopes?: "*" | AztecAddress[] | undefined;
2024
+ }[];
2025
+ }, {
2026
+ scope: "*" | {
2027
+ contract?: any;
2028
+ function: string;
2029
+ additionalScopes?: "*" | any[] | undefined;
2030
+ }[];
2031
+ }>>;
2032
+ }, "strip", z.ZodTypeAny, {
2033
+ type: "simulation";
2034
+ transactions?: {
2035
+ scope: "*" | {
2036
+ contract: "*" | AztecAddress;
2037
+ function: string;
2038
+ additionalScopes?: "*" | AztecAddress[] | undefined;
2039
+ }[];
2040
+ } | undefined;
2041
+ utilities?: {
2042
+ scope: "*" | {
2043
+ contract: "*" | AztecAddress;
2044
+ function: string;
2045
+ additionalScopes?: "*" | AztecAddress[] | undefined;
2046
+ }[];
2047
+ } | undefined;
2048
+ }, {
2049
+ type: "simulation";
2050
+ transactions?: {
2051
+ scope: "*" | {
2052
+ contract?: any;
2053
+ function: string;
2054
+ additionalScopes?: "*" | any[] | undefined;
2055
+ }[];
2056
+ } | undefined;
2057
+ utilities?: {
2058
+ scope: "*" | {
2059
+ contract?: any;
2060
+ function: string;
2061
+ additionalScopes?: "*" | any[] | undefined;
2062
+ }[];
2063
+ } | undefined;
2064
+ }>, z.ZodObject<{
2065
+ type: z.ZodLiteral<"transaction">;
2066
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
2067
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
2068
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
2069
+ additionalScopes: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">, z.ZodLiteral<"*">]>>;
2070
+ }, "strip", z.ZodTypeAny, {
2071
+ contract: "*" | AztecAddress;
2072
+ function: string;
2073
+ additionalScopes?: "*" | AztecAddress[] | undefined;
2074
+ }, {
2075
+ contract?: any;
2076
+ function: string;
2077
+ additionalScopes?: "*" | any[] | undefined;
2078
+ }>, "many">]>;
2079
+ }, "strip", z.ZodTypeAny, {
2080
+ type: "transaction";
2081
+ scope: "*" | {
2082
+ contract: "*" | AztecAddress;
2083
+ function: string;
2084
+ additionalScopes?: "*" | AztecAddress[] | undefined;
2085
+ }[];
2086
+ }, {
2087
+ type: "transaction";
2088
+ scope: "*" | {
2089
+ contract?: any;
2090
+ function: string;
2091
+ additionalScopes?: "*" | any[] | undefined;
2092
+ }[];
2093
+ }>, z.ZodObject<{
2094
+ type: z.ZodLiteral<"data">;
2095
+ addressBook: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
2096
+ privateEvents: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
2097
+ contracts: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">]>;
2098
+ }, "strip", z.ZodTypeAny, {
2099
+ contracts: "*" | AztecAddress[];
2100
+ }, {
2101
+ contracts: "*" | any[];
2102
+ }>>;
2103
+ }, "strip", z.ZodTypeAny, {
2104
+ type: "data";
2105
+ addressBook?: boolean | undefined;
2106
+ privateEvents?: {
2107
+ contracts: "*" | AztecAddress[];
2108
+ } | undefined;
2109
+ }, {
2110
+ type: "data";
2111
+ addressBook?: boolean | undefined;
2112
+ privateEvents?: {
2113
+ contracts: "*" | any[];
2114
+ } | undefined;
2115
+ }>]>;
2116
+ export declare const AppCapabilitiesSchema: z.ZodObject<{
2117
+ version: z.ZodLiteral<"1.0">;
2118
+ metadata: z.ZodObject<{
2119
+ name: z.ZodString;
2120
+ version: z.ZodString;
2121
+ description: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
2122
+ url: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
2123
+ icon: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
2124
+ }, "strip", z.ZodTypeAny, {
2125
+ name: string;
2126
+ version: string;
2127
+ description?: string | undefined;
2128
+ url?: string | undefined;
2129
+ icon?: string | undefined;
2130
+ }, {
2131
+ name: string;
2132
+ version: string;
2133
+ description?: string | undefined;
2134
+ url?: string | undefined;
2135
+ icon?: string | undefined;
2136
+ }>;
2137
+ capabilities: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2138
+ type: z.ZodLiteral<"accounts">;
2139
+ canGet: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
2140
+ canCreateAuthWit: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
2141
+ }, "strip", z.ZodTypeAny, {
2142
+ type: "accounts";
2143
+ canGet?: boolean | undefined;
2144
+ canCreateAuthWit?: boolean | undefined;
2145
+ }, {
2146
+ type: "accounts";
2147
+ canGet?: boolean | undefined;
2148
+ canCreateAuthWit?: boolean | undefined;
2149
+ }>, z.ZodObject<{
2150
+ type: z.ZodLiteral<"contracts">;
2151
+ contracts: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">]>;
2152
+ canRegister: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
2153
+ canGetMetadata: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
2154
+ }, "strip", z.ZodTypeAny, {
2155
+ type: "contracts";
2156
+ contracts: "*" | AztecAddress[];
2157
+ canRegister?: boolean | undefined;
2158
+ canGetMetadata?: boolean | undefined;
2159
+ }, {
2160
+ type: "contracts";
2161
+ contracts: "*" | any[];
2162
+ canRegister?: boolean | undefined;
2163
+ canGetMetadata?: boolean | undefined;
2164
+ }>, z.ZodObject<{
2165
+ type: z.ZodLiteral<"contractClasses">;
2166
+ classes: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<Fr>, "many">]>;
2167
+ canGetMetadata: z.ZodBoolean;
2168
+ }, "strip", z.ZodTypeAny, {
2169
+ type: "contractClasses";
2170
+ classes: "*" | Fr[];
2171
+ canGetMetadata: boolean;
2172
+ }, {
2173
+ type: "contractClasses";
2174
+ classes: "*" | any[];
2175
+ canGetMetadata: boolean;
2176
+ }>, z.ZodObject<{
2177
+ type: z.ZodLiteral<"simulation">;
2178
+ transactions: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
2179
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
2180
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
2181
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
2182
+ additionalScopes: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">, z.ZodLiteral<"*">]>>;
2183
+ }, "strip", z.ZodTypeAny, {
2184
+ contract: "*" | AztecAddress;
2185
+ function: string;
2186
+ additionalScopes?: "*" | AztecAddress[] | undefined;
2187
+ }, {
2188
+ contract?: any;
2189
+ function: string;
2190
+ additionalScopes?: "*" | any[] | undefined;
2191
+ }>, "many">]>;
2192
+ }, "strip", z.ZodTypeAny, {
2193
+ scope: "*" | {
2194
+ contract: "*" | AztecAddress;
2195
+ function: string;
2196
+ additionalScopes?: "*" | AztecAddress[] | undefined;
2197
+ }[];
2198
+ }, {
2199
+ scope: "*" | {
2200
+ contract?: any;
2201
+ function: string;
2202
+ additionalScopes?: "*" | any[] | undefined;
2203
+ }[];
2204
+ }>>;
2205
+ utilities: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
2206
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
2207
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
2208
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
2209
+ additionalScopes: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">, z.ZodLiteral<"*">]>>;
2210
+ }, "strip", z.ZodTypeAny, {
2211
+ contract: "*" | AztecAddress;
2212
+ function: string;
2213
+ additionalScopes?: "*" | AztecAddress[] | undefined;
2214
+ }, {
2215
+ contract?: any;
2216
+ function: string;
2217
+ additionalScopes?: "*" | any[] | undefined;
2218
+ }>, "many">]>;
2219
+ }, "strip", z.ZodTypeAny, {
2220
+ scope: "*" | {
2221
+ contract: "*" | AztecAddress;
2222
+ function: string;
2223
+ additionalScopes?: "*" | AztecAddress[] | undefined;
2224
+ }[];
2225
+ }, {
2226
+ scope: "*" | {
2227
+ contract?: any;
2228
+ function: string;
2229
+ additionalScopes?: "*" | any[] | undefined;
2230
+ }[];
2231
+ }>>;
2232
+ }, "strip", z.ZodTypeAny, {
2233
+ type: "simulation";
2234
+ transactions?: {
2235
+ scope: "*" | {
2236
+ contract: "*" | AztecAddress;
2237
+ function: string;
2238
+ additionalScopes?: "*" | AztecAddress[] | undefined;
2239
+ }[];
2240
+ } | undefined;
2241
+ utilities?: {
2242
+ scope: "*" | {
2243
+ contract: "*" | AztecAddress;
2244
+ function: string;
2245
+ additionalScopes?: "*" | AztecAddress[] | undefined;
2246
+ }[];
2247
+ } | undefined;
2248
+ }, {
2249
+ type: "simulation";
2250
+ transactions?: {
2251
+ scope: "*" | {
2252
+ contract?: any;
2253
+ function: string;
2254
+ additionalScopes?: "*" | any[] | undefined;
2255
+ }[];
2256
+ } | undefined;
2257
+ utilities?: {
2258
+ scope: "*" | {
2259
+ contract?: any;
2260
+ function: string;
2261
+ additionalScopes?: "*" | any[] | undefined;
2262
+ }[];
2263
+ } | undefined;
2264
+ }>, z.ZodObject<{
2265
+ type: z.ZodLiteral<"transaction">;
2266
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
2267
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
2268
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
2269
+ additionalScopes: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">, z.ZodLiteral<"*">]>>;
2270
+ }, "strip", z.ZodTypeAny, {
2271
+ contract: "*" | AztecAddress;
2272
+ function: string;
2273
+ additionalScopes?: "*" | AztecAddress[] | undefined;
2274
+ }, {
2275
+ contract?: any;
2276
+ function: string;
2277
+ additionalScopes?: "*" | any[] | undefined;
2278
+ }>, "many">]>;
2279
+ }, "strip", z.ZodTypeAny, {
2280
+ type: "transaction";
2281
+ scope: "*" | {
2282
+ contract: "*" | AztecAddress;
2283
+ function: string;
2284
+ additionalScopes?: "*" | AztecAddress[] | undefined;
2285
+ }[];
2286
+ }, {
2287
+ type: "transaction";
2288
+ scope: "*" | {
2289
+ contract?: any;
2290
+ function: string;
2291
+ additionalScopes?: "*" | any[] | undefined;
2292
+ }[];
2293
+ }>, z.ZodObject<{
2294
+ type: z.ZodLiteral<"data">;
2295
+ addressBook: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
2296
+ privateEvents: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
2297
+ contracts: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">]>;
2298
+ }, "strip", z.ZodTypeAny, {
2299
+ contracts: "*" | AztecAddress[];
2300
+ }, {
2301
+ contracts: "*" | any[];
2302
+ }>>;
2303
+ }, "strip", z.ZodTypeAny, {
2304
+ type: "data";
2305
+ addressBook?: boolean | undefined;
2306
+ privateEvents?: {
2307
+ contracts: "*" | AztecAddress[];
2308
+ } | undefined;
2309
+ }, {
2310
+ type: "data";
2311
+ addressBook?: boolean | undefined;
2312
+ privateEvents?: {
2313
+ contracts: "*" | any[];
2314
+ } | undefined;
2315
+ }>]>, "many">;
2316
+ behavior: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
2317
+ mode: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEnum<["strict", "permissive"]>>;
2318
+ expiration: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
2319
+ }, "strip", z.ZodTypeAny, {
2320
+ mode?: "permissive" | "strict" | undefined;
2321
+ expiration?: number | undefined;
2322
+ }, {
2323
+ mode?: "permissive" | "strict" | undefined;
2324
+ expiration?: number | undefined;
2325
+ }>>;
2326
+ }, "strip", z.ZodTypeAny, {
2327
+ version: "1.0";
2328
+ metadata: {
2329
+ name: string;
2330
+ version: string;
2331
+ description?: string | undefined;
2332
+ url?: string | undefined;
2333
+ icon?: string | undefined;
2334
+ };
2335
+ capabilities: ({
2336
+ type: "accounts";
2337
+ canGet?: boolean | undefined;
2338
+ canCreateAuthWit?: boolean | undefined;
2339
+ } | {
2340
+ type: "contracts";
2341
+ contracts: "*" | AztecAddress[];
2342
+ canRegister?: boolean | undefined;
2343
+ canGetMetadata?: boolean | undefined;
2344
+ } | {
2345
+ type: "contractClasses";
2346
+ classes: "*" | Fr[];
2347
+ canGetMetadata: boolean;
2348
+ } | {
2349
+ type: "simulation";
2350
+ transactions?: {
2351
+ scope: "*" | {
2352
+ contract: "*" | AztecAddress;
2353
+ function: string;
2354
+ additionalScopes?: "*" | AztecAddress[] | undefined;
2355
+ }[];
2356
+ } | undefined;
2357
+ utilities?: {
2358
+ scope: "*" | {
2359
+ contract: "*" | AztecAddress;
2360
+ function: string;
2361
+ additionalScopes?: "*" | AztecAddress[] | undefined;
2362
+ }[];
2363
+ } | undefined;
2364
+ } | {
2365
+ type: "transaction";
2366
+ scope: "*" | {
2367
+ contract: "*" | AztecAddress;
2368
+ function: string;
2369
+ additionalScopes?: "*" | AztecAddress[] | undefined;
2370
+ }[];
2371
+ } | {
2372
+ type: "data";
2373
+ addressBook?: boolean | undefined;
2374
+ privateEvents?: {
2375
+ contracts: "*" | AztecAddress[];
2376
+ } | undefined;
2377
+ })[];
2378
+ behavior?: {
2379
+ mode?: "permissive" | "strict" | undefined;
2380
+ expiration?: number | undefined;
2381
+ } | undefined;
2382
+ }, {
2383
+ version: "1.0";
2384
+ metadata: {
2385
+ name: string;
2386
+ version: string;
2387
+ description?: string | undefined;
2388
+ url?: string | undefined;
2389
+ icon?: string | undefined;
2390
+ };
2391
+ capabilities: ({
2392
+ type: "accounts";
2393
+ canGet?: boolean | undefined;
2394
+ canCreateAuthWit?: boolean | undefined;
2395
+ } | {
2396
+ type: "contracts";
2397
+ contracts: "*" | any[];
2398
+ canRegister?: boolean | undefined;
2399
+ canGetMetadata?: boolean | undefined;
2400
+ } | {
2401
+ type: "contractClasses";
2402
+ classes: "*" | any[];
2403
+ canGetMetadata: boolean;
2404
+ } | {
2405
+ type: "simulation";
2406
+ transactions?: {
2407
+ scope: "*" | {
2408
+ contract?: any;
2409
+ function: string;
2410
+ additionalScopes?: "*" | any[] | undefined;
2411
+ }[];
2412
+ } | undefined;
2413
+ utilities?: {
2414
+ scope: "*" | {
2415
+ contract?: any;
2416
+ function: string;
2417
+ additionalScopes?: "*" | any[] | undefined;
2418
+ }[];
2419
+ } | undefined;
2420
+ } | {
2421
+ type: "transaction";
2422
+ scope: "*" | {
2423
+ contract?: any;
2424
+ function: string;
2425
+ additionalScopes?: "*" | any[] | undefined;
2426
+ }[];
2427
+ } | {
2428
+ type: "data";
2429
+ addressBook?: boolean | undefined;
2430
+ privateEvents?: {
2431
+ contracts: "*" | any[];
2432
+ } | undefined;
2433
+ })[];
2434
+ behavior?: {
2435
+ mode?: "permissive" | "strict" | undefined;
2436
+ expiration?: number | undefined;
2437
+ } | undefined;
2438
+ }>;
2439
+ export declare const WalletCapabilitiesSchema: z.ZodObject<{
2440
+ version: z.ZodLiteral<"1.0">;
2441
+ granted: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2442
+ type: z.ZodLiteral<"accounts">;
2443
+ canGet: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
2444
+ canCreateAuthWit: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
2445
+ } & {
2446
+ accounts: z.ZodArray<z.ZodObject<{
2447
+ alias: z.ZodString;
2448
+ item: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
2449
+ }, "strip", z.ZodTypeAny, {
2450
+ alias: string;
2451
+ item: AztecAddress;
2452
+ }, {
2453
+ alias: string;
2454
+ item?: any;
2455
+ }>, "many">;
2456
+ }, "strip", z.ZodTypeAny, {
2457
+ type: "accounts";
2458
+ canGet?: boolean | undefined;
2459
+ canCreateAuthWit?: boolean | undefined;
2460
+ accounts: {
2461
+ alias: string;
2462
+ item: AztecAddress;
2463
+ }[];
2464
+ }, {
2465
+ type: "accounts";
2466
+ canGet?: boolean | undefined;
2467
+ canCreateAuthWit?: boolean | undefined;
2468
+ accounts: {
2469
+ alias: string;
2470
+ item?: any;
2471
+ }[];
2472
+ }>, z.ZodObject<{
2473
+ type: z.ZodLiteral<"contracts">;
2474
+ contracts: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">]>;
2475
+ canRegister: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
2476
+ canGetMetadata: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
2477
+ }, "strip", z.ZodTypeAny, {
2478
+ type: "contracts";
2479
+ contracts: "*" | AztecAddress[];
2480
+ canRegister?: boolean | undefined;
2481
+ canGetMetadata?: boolean | undefined;
2482
+ }, {
2483
+ type: "contracts";
2484
+ contracts: "*" | any[];
2485
+ canRegister?: boolean | undefined;
2486
+ canGetMetadata?: boolean | undefined;
2487
+ }>, z.ZodObject<{
2488
+ type: z.ZodLiteral<"contractClasses">;
2489
+ classes: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<Fr>, "many">]>;
2490
+ canGetMetadata: z.ZodBoolean;
2491
+ }, "strip", z.ZodTypeAny, {
2492
+ type: "contractClasses";
2493
+ classes: "*" | Fr[];
2494
+ canGetMetadata: boolean;
2495
+ }, {
2496
+ type: "contractClasses";
2497
+ classes: "*" | any[];
2498
+ canGetMetadata: boolean;
2499
+ }>, z.ZodObject<{
2500
+ type: z.ZodLiteral<"simulation">;
2501
+ transactions: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
2502
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
2503
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
2504
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
2505
+ additionalScopes: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">, z.ZodLiteral<"*">]>>;
2506
+ }, "strip", z.ZodTypeAny, {
2507
+ contract: "*" | AztecAddress;
2508
+ function: string;
2509
+ additionalScopes?: "*" | AztecAddress[] | undefined;
2510
+ }, {
2511
+ contract?: any;
2512
+ function: string;
2513
+ additionalScopes?: "*" | any[] | undefined;
2514
+ }>, "many">]>;
2515
+ }, "strip", z.ZodTypeAny, {
2516
+ scope: "*" | {
2517
+ contract: "*" | AztecAddress;
2518
+ function: string;
2519
+ additionalScopes?: "*" | AztecAddress[] | undefined;
2520
+ }[];
2521
+ }, {
2522
+ scope: "*" | {
2523
+ contract?: any;
2524
+ function: string;
2525
+ additionalScopes?: "*" | any[] | undefined;
2526
+ }[];
2527
+ }>>;
2528
+ utilities: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
2529
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
2530
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
2531
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
2532
+ additionalScopes: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">, z.ZodLiteral<"*">]>>;
2533
+ }, "strip", z.ZodTypeAny, {
2534
+ contract: "*" | AztecAddress;
2535
+ function: string;
2536
+ additionalScopes?: "*" | AztecAddress[] | undefined;
2537
+ }, {
2538
+ contract?: any;
2539
+ function: string;
2540
+ additionalScopes?: "*" | any[] | undefined;
2541
+ }>, "many">]>;
2542
+ }, "strip", z.ZodTypeAny, {
2543
+ scope: "*" | {
2544
+ contract: "*" | AztecAddress;
2545
+ function: string;
2546
+ additionalScopes?: "*" | AztecAddress[] | undefined;
2547
+ }[];
2548
+ }, {
2549
+ scope: "*" | {
2550
+ contract?: any;
2551
+ function: string;
2552
+ additionalScopes?: "*" | any[] | undefined;
2553
+ }[];
2554
+ }>>;
2555
+ }, "strip", z.ZodTypeAny, {
2556
+ type: "simulation";
2557
+ transactions?: {
2558
+ scope: "*" | {
2559
+ contract: "*" | AztecAddress;
2560
+ function: string;
2561
+ additionalScopes?: "*" | AztecAddress[] | undefined;
2562
+ }[];
2563
+ } | undefined;
2564
+ utilities?: {
2565
+ scope: "*" | {
2566
+ contract: "*" | AztecAddress;
2567
+ function: string;
2568
+ additionalScopes?: "*" | AztecAddress[] | undefined;
2569
+ }[];
2570
+ } | undefined;
2571
+ }, {
2572
+ type: "simulation";
2573
+ transactions?: {
2574
+ scope: "*" | {
2575
+ contract?: any;
2576
+ function: string;
2577
+ additionalScopes?: "*" | any[] | undefined;
2578
+ }[];
2579
+ } | undefined;
2580
+ utilities?: {
2581
+ scope: "*" | {
2582
+ contract?: any;
2583
+ function: string;
2584
+ additionalScopes?: "*" | any[] | undefined;
2585
+ }[];
2586
+ } | undefined;
2587
+ }>, z.ZodObject<{
2588
+ type: z.ZodLiteral<"transaction">;
2589
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
2590
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
2591
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
2592
+ additionalScopes: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">, z.ZodLiteral<"*">]>>;
2593
+ }, "strip", z.ZodTypeAny, {
2594
+ contract: "*" | AztecAddress;
2595
+ function: string;
2596
+ additionalScopes?: "*" | AztecAddress[] | undefined;
2597
+ }, {
2598
+ contract?: any;
2599
+ function: string;
2600
+ additionalScopes?: "*" | any[] | undefined;
2601
+ }>, "many">]>;
2602
+ }, "strip", z.ZodTypeAny, {
2603
+ type: "transaction";
2604
+ scope: "*" | {
2605
+ contract: "*" | AztecAddress;
2606
+ function: string;
2607
+ additionalScopes?: "*" | AztecAddress[] | undefined;
2608
+ }[];
2609
+ }, {
2610
+ type: "transaction";
2611
+ scope: "*" | {
2612
+ contract?: any;
2613
+ function: string;
2614
+ additionalScopes?: "*" | any[] | undefined;
2615
+ }[];
2616
+ }>, z.ZodObject<{
2617
+ type: z.ZodLiteral<"data">;
2618
+ addressBook: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
2619
+ privateEvents: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
2620
+ contracts: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">]>;
2621
+ }, "strip", z.ZodTypeAny, {
2622
+ contracts: "*" | AztecAddress[];
2623
+ }, {
2624
+ contracts: "*" | any[];
2625
+ }>>;
2626
+ }, "strip", z.ZodTypeAny, {
2627
+ type: "data";
2628
+ addressBook?: boolean | undefined;
2629
+ privateEvents?: {
2630
+ contracts: "*" | AztecAddress[];
2631
+ } | undefined;
2632
+ }, {
2633
+ type: "data";
2634
+ addressBook?: boolean | undefined;
2635
+ privateEvents?: {
2636
+ contracts: "*" | any[];
2637
+ } | undefined;
2638
+ }>]>, "many">;
2639
+ wallet: z.ZodObject<{
2640
+ name: z.ZodString;
2641
+ version: z.ZodString;
2642
+ }, "strip", z.ZodTypeAny, {
2643
+ name: string;
2644
+ version: string;
2645
+ }, {
2646
+ name: string;
2647
+ version: string;
2648
+ }>;
2649
+ expiresAt: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
2650
+ }, "strip", z.ZodTypeAny, {
2651
+ version: "1.0";
2652
+ granted: ({
2653
+ type: "accounts";
2654
+ canGet?: boolean | undefined;
2655
+ canCreateAuthWit?: boolean | undefined;
2656
+ accounts: {
2657
+ alias: string;
2658
+ item: AztecAddress;
2659
+ }[];
2660
+ } | {
2661
+ type: "contracts";
2662
+ contracts: "*" | AztecAddress[];
2663
+ canRegister?: boolean | undefined;
2664
+ canGetMetadata?: boolean | undefined;
2665
+ } | {
2666
+ type: "contractClasses";
2667
+ classes: "*" | Fr[];
2668
+ canGetMetadata: boolean;
2669
+ } | {
2670
+ type: "simulation";
2671
+ transactions?: {
2672
+ scope: "*" | {
2673
+ contract: "*" | AztecAddress;
2674
+ function: string;
2675
+ additionalScopes?: "*" | AztecAddress[] | undefined;
2676
+ }[];
2677
+ } | undefined;
2678
+ utilities?: {
2679
+ scope: "*" | {
2680
+ contract: "*" | AztecAddress;
2681
+ function: string;
2682
+ additionalScopes?: "*" | AztecAddress[] | undefined;
2683
+ }[];
2684
+ } | undefined;
2685
+ } | {
2686
+ type: "transaction";
2687
+ scope: "*" | {
2688
+ contract: "*" | AztecAddress;
2689
+ function: string;
2690
+ additionalScopes?: "*" | AztecAddress[] | undefined;
2691
+ }[];
2692
+ } | {
2693
+ type: "data";
2694
+ addressBook?: boolean | undefined;
2695
+ privateEvents?: {
2696
+ contracts: "*" | AztecAddress[];
2697
+ } | undefined;
2698
+ })[];
2699
+ wallet: {
2700
+ name: string;
2701
+ version: string;
2702
+ };
2703
+ expiresAt?: number | undefined;
2704
+ }, {
2705
+ version: "1.0";
2706
+ granted: ({
2707
+ type: "accounts";
2708
+ canGet?: boolean | undefined;
2709
+ canCreateAuthWit?: boolean | undefined;
2710
+ accounts: {
2711
+ alias: string;
2712
+ item?: any;
2713
+ }[];
2714
+ } | {
2715
+ type: "contracts";
2716
+ contracts: "*" | any[];
2717
+ canRegister?: boolean | undefined;
2718
+ canGetMetadata?: boolean | undefined;
2719
+ } | {
2720
+ type: "contractClasses";
2721
+ classes: "*" | any[];
2722
+ canGetMetadata: boolean;
2723
+ } | {
2724
+ type: "simulation";
2725
+ transactions?: {
2726
+ scope: "*" | {
2727
+ contract?: any;
2728
+ function: string;
2729
+ additionalScopes?: "*" | any[] | undefined;
2730
+ }[];
2731
+ } | undefined;
2732
+ utilities?: {
2733
+ scope: "*" | {
2734
+ contract?: any;
2735
+ function: string;
2736
+ additionalScopes?: "*" | any[] | undefined;
2737
+ }[];
2738
+ } | undefined;
2739
+ } | {
2740
+ type: "transaction";
2741
+ scope: "*" | {
2742
+ contract?: any;
2743
+ function: string;
2744
+ additionalScopes?: "*" | any[] | undefined;
2745
+ }[];
2746
+ } | {
2747
+ type: "data";
2748
+ addressBook?: boolean | undefined;
2749
+ privateEvents?: {
2750
+ contracts: "*" | any[];
2751
+ } | undefined;
2752
+ })[];
2753
+ wallet: {
2754
+ name: string;
2755
+ version: string;
2756
+ };
2757
+ expiresAt?: number | undefined;
2758
+ }>;
1213
2759
  declare const BatchedMethodSchema: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
1214
- name: z.ZodLiteral<"createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "getTxReceipt" | "profileTx" | "registerContract" | "registerSender" | "sendTx" | "simulateTx" | "simulateUtility">;
2760
+ name: z.ZodLiteral<"createAuthWit" | "executeUtility" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx">;
1215
2761
  args: z.ZodTuple<any, any>;
1216
2762
  }, "strip", z.ZodTypeAny, {
1217
- name: "createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "getTxReceipt" | "profileTx" | "registerContract" | "registerSender" | "sendTx" | "simulateTx" | "simulateUtility";
2763
+ name: "createAuthWit" | "executeUtility" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx";
1218
2764
  args: any[];
1219
2765
  }, {
1220
- name: "createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "getTxReceipt" | "profileTx" | "registerContract" | "registerSender" | "sendTx" | "simulateTx" | "simulateUtility";
2766
+ name: "createAuthWit" | "executeUtility" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx";
1221
2767
  args: any[];
1222
2768
  }>, ...z.ZodObject<{
1223
- name: z.ZodLiteral<"createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "getTxReceipt" | "profileTx" | "registerContract" | "registerSender" | "sendTx" | "simulateTx" | "simulateUtility">;
2769
+ name: z.ZodLiteral<"createAuthWit" | "executeUtility" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx">;
1224
2770
  args: z.ZodTuple<any, any>;
1225
2771
  }, "strip", z.ZodTypeAny, {
1226
- name: "createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "getTxReceipt" | "profileTx" | "registerContract" | "registerSender" | "sendTx" | "simulateTx" | "simulateUtility";
2772
+ name: "createAuthWit" | "executeUtility" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx";
1227
2773
  args: any[];
1228
2774
  }, {
1229
- name: "createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "getTxReceipt" | "profileTx" | "registerContract" | "registerSender" | "sendTx" | "simulateTx" | "simulateUtility";
2775
+ name: "createAuthWit" | "executeUtility" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx";
1230
2776
  args: any[];
1231
2777
  }>[]]>, BatchedResultSchema: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
1232
- name: z.ZodLiteral<"createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "getTxReceipt" | "profileTx" | "registerContract" | "registerSender" | "sendTx" | "simulateTx" | "simulateUtility">;
2778
+ name: z.ZodLiteral<"createAuthWit" | "executeUtility" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx">;
1233
2779
  result: z.ZodTypeAny;
1234
2780
  }, "strip", z.ZodTypeAny, {
1235
- name: "createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "getTxReceipt" | "profileTx" | "registerContract" | "registerSender" | "sendTx" | "simulateTx" | "simulateUtility";
2781
+ name: "createAuthWit" | "executeUtility" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx";
1236
2782
  result?: any;
1237
2783
  }, {
1238
- name: "createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "getTxReceipt" | "profileTx" | "registerContract" | "registerSender" | "sendTx" | "simulateTx" | "simulateUtility";
2784
+ name: "createAuthWit" | "executeUtility" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx";
1239
2785
  result?: any;
1240
2786
  }>, ...z.ZodObject<{
1241
- name: z.ZodLiteral<"createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "getTxReceipt" | "profileTx" | "registerContract" | "registerSender" | "sendTx" | "simulateTx" | "simulateUtility">;
2787
+ name: z.ZodLiteral<"createAuthWit" | "executeUtility" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx">;
1242
2788
  result: z.ZodTypeAny;
1243
2789
  }, "strip", z.ZodTypeAny, {
1244
- name: "createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "getTxReceipt" | "profileTx" | "registerContract" | "registerSender" | "sendTx" | "simulateTx" | "simulateUtility";
2790
+ name: "createAuthWit" | "executeUtility" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx";
1245
2791
  result?: any;
1246
2792
  }, {
1247
- name: "createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "getTxReceipt" | "profileTx" | "registerContract" | "registerSender" | "sendTx" | "simulateTx" | "simulateUtility";
2793
+ name: "createAuthWit" | "executeUtility" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx";
1248
2794
  result?: any;
1249
2795
  }>[]]>;
1250
2796
  export { BatchedMethodSchema, BatchedResultSchema };
1251
2797
  export declare const WalletSchema: ApiSchemaFor<Wallet>;
1252
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2FsbGV0LmQudHMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvd2FsbGV0L3dhbGxldC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssRUFBRSxTQUFTLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQztBQUMvRCxPQUFPLEVBQUUsV0FBVyxFQUE2QixNQUFNLGlDQUFpQyxDQUFDO0FBQ3pGLE9BQU8sS0FBSyxFQUFFLEVBQUUsRUFBRSxNQUFNLGdDQUFnQyxDQUFDO0FBQ3pELE9BQU8sRUFHTCxLQUFLLGdCQUFnQixFQUVyQixLQUFLLHVCQUF1QixFQUM1QixLQUFLLFlBQVksRUFDakIsWUFBWSxFQUNiLE1BQU0sbUJBQW1CLENBQUM7QUFDM0IsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLDRCQUE0QixDQUFDO0FBQ3pELE9BQU8sS0FBSyxFQUFFLFlBQVksRUFBRSxNQUFNLDZCQUE2QixDQUFDO0FBQ2hFLE9BQU8sRUFBRSxLQUFLLDJCQUEyQixFQUFxQyxNQUFNLHdCQUF3QixDQUFDO0FBQzdHLE9BQU8sRUFBRSxHQUFHLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUN4QyxPQUFPLEVBQW9CLEtBQUssWUFBWSxFQUE2QixNQUFNLHVCQUF1QixDQUFDO0FBQ3ZHLE9BQU8sRUFDTCxPQUFPLEVBQ1AsWUFBWSxFQUNaLE1BQU0sR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