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

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