@aztec/aztec.js 3.0.0-devnet.2 → 3.0.0-devnet.2-patch.1

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 (192) hide show
  1. package/README.md +1 -1
  2. package/dest/account/account.d.ts +3 -4
  3. package/dest/account/account.d.ts.map +1 -1
  4. package/dest/account/account.js +1 -1
  5. package/dest/account/account_contract.d.ts +2 -2
  6. package/dest/account/account_contract.d.ts.map +1 -1
  7. package/dest/account/account_with_secret_key.d.ts +3 -4
  8. package/dest/account/account_with_secret_key.d.ts.map +1 -1
  9. package/dest/account/index.d.ts +2 -2
  10. package/dest/account/index.d.ts.map +1 -1
  11. package/dest/account/interface.d.ts +2 -2
  12. package/dest/account/interface.d.ts.map +1 -1
  13. package/dest/account/signerless_account.d.ts +3 -4
  14. package/dest/account/signerless_account.d.ts.map +1 -1
  15. package/dest/api/abi.d.ts +1 -1
  16. package/dest/api/account.d.ts +2 -1
  17. package/dest/api/account.d.ts.map +1 -1
  18. package/dest/api/account.js +1 -0
  19. package/dest/api/addresses.d.ts +1 -1
  20. package/dest/api/authorization.d.ts +1 -1
  21. package/dest/api/block.d.ts +1 -1
  22. package/dest/api/contract.d.ts +5 -5
  23. package/dest/api/contract.d.ts.map +1 -1
  24. package/dest/api/contract.js +3 -3
  25. package/dest/api/crypto.d.ts +1 -1
  26. package/dest/api/deployment.d.ts +1 -1
  27. package/dest/api/eth_address.d.ts +1 -1
  28. package/dest/api/ethereum.d.ts +1 -1
  29. package/dest/api/events.d.ts +1 -1
  30. package/dest/api/fee.d.ts +1 -1
  31. package/dest/api/fee_testing.d.ts +1 -1
  32. package/dest/api/fields.d.ts +3 -2
  33. package/dest/api/fields.d.ts.map +1 -1
  34. package/dest/api/fields.js +2 -1
  35. package/dest/api/keys.d.ts +1 -1
  36. package/dest/api/log.d.ts +1 -1
  37. package/dest/api/messaging.d.ts +1 -1
  38. package/dest/api/node.d.ts +1 -1
  39. package/dest/api/note.d.ts +2 -2
  40. package/dest/api/note.d.ts.map +1 -1
  41. package/dest/api/note.js +1 -1
  42. package/dest/api/protocol.d.ts +1 -1
  43. package/dest/api/trees.d.ts +1 -1
  44. package/dest/api/tx.d.ts +2 -2
  45. package/dest/api/tx.d.ts.map +1 -1
  46. package/dest/api/tx.js +1 -1
  47. package/dest/api/utils.d.ts +1 -1
  48. package/dest/api/wallet.d.ts +2 -3
  49. package/dest/api/wallet.d.ts.map +1 -1
  50. package/dest/api/wallet.js +1 -2
  51. package/dest/authorization/call_authorization_request.d.ts +2 -23
  52. package/dest/authorization/call_authorization_request.d.ts.map +1 -1
  53. package/dest/contract/base_contract_interaction.d.ts +2 -3
  54. package/dest/contract/base_contract_interaction.d.ts.map +1 -1
  55. package/dest/contract/base_contract_interaction.js +1 -1
  56. package/dest/contract/batch_call.d.ts +8 -9
  57. package/dest/contract/batch_call.d.ts.map +1 -1
  58. package/dest/contract/batch_call.js +51 -33
  59. package/dest/contract/checker.d.ts +1 -1
  60. package/dest/contract/contract.d.ts +2 -2
  61. package/dest/contract/contract.d.ts.map +1 -1
  62. package/dest/contract/contract.js +4 -5
  63. package/dest/contract/contract_base.d.ts +5 -12
  64. package/dest/contract/contract_base.d.ts.map +1 -1
  65. package/dest/contract/contract_base.js +5 -12
  66. package/dest/contract/contract_function_interaction.d.ts +4 -4
  67. package/dest/contract/contract_function_interaction.d.ts.map +1 -1
  68. package/dest/contract/contract_function_interaction.js +9 -6
  69. package/dest/contract/deploy_method.d.ts +9 -8
  70. package/dest/contract/deploy_method.d.ts.map +1 -1
  71. package/dest/contract/deploy_method.js +9 -7
  72. package/dest/contract/deploy_sent_tx.d.ts +12 -7
  73. package/dest/contract/deploy_sent_tx.d.ts.map +1 -1
  74. package/dest/contract/deploy_sent_tx.js +10 -4
  75. package/dest/contract/get_gas_limits.d.ts +1 -1
  76. package/dest/contract/interaction_options.d.ts +5 -5
  77. package/dest/contract/interaction_options.d.ts.map +1 -1
  78. package/dest/contract/interaction_options.js +4 -10
  79. package/dest/contract/protocol_contracts.d.ts +1 -1
  80. package/dest/contract/sent_tx.d.ts +2 -3
  81. package/dest/contract/sent_tx.d.ts.map +1 -1
  82. package/dest/contract/sent_tx.js +1 -1
  83. package/dest/contract/unsafe_contract.d.ts +1 -1
  84. package/dest/contract/unsafe_contract.d.ts.map +1 -1
  85. package/dest/contract/unsafe_contract.js +1 -1
  86. package/dest/contract/wait_for_proven.d.ts +2 -2
  87. package/dest/contract/wait_for_proven.d.ts.map +1 -1
  88. package/dest/deployment/broadcast_function.d.ts +1 -1
  89. package/dest/deployment/broadcast_function.js +1 -1
  90. package/dest/deployment/contract_deployer.d.ts +1 -1
  91. package/dest/deployment/contract_deployer.d.ts.map +1 -1
  92. package/dest/deployment/contract_deployer.js +1 -1
  93. package/dest/deployment/publish_class.d.ts +1 -1
  94. package/dest/deployment/publish_class.js +1 -1
  95. package/dest/deployment/publish_instance.d.ts +1 -1
  96. package/dest/ethereum/portal_manager.d.ts +4 -6
  97. package/dest/ethereum/portal_manager.d.ts.map +1 -1
  98. package/dest/ethereum/portal_manager.js +40 -14
  99. package/dest/fee/fee_juice_payment_method_with_claim.d.ts +2 -2
  100. package/dest/fee/fee_juice_payment_method_with_claim.d.ts.map +1 -1
  101. package/dest/fee/fee_juice_payment_method_with_claim.js +3 -3
  102. package/dest/fee/fee_payment_method.d.ts +2 -2
  103. package/dest/fee/fee_payment_method.d.ts.map +1 -1
  104. package/dest/fee/private_fee_payment_method.d.ts +2 -2
  105. package/dest/fee/private_fee_payment_method.d.ts.map +1 -1
  106. package/dest/fee/private_fee_payment_method.js +4 -4
  107. package/dest/fee/public_fee_payment_method.d.ts +2 -2
  108. package/dest/fee/public_fee_payment_method.d.ts.map +1 -1
  109. package/dest/fee/public_fee_payment_method.js +4 -4
  110. package/dest/fee/sponsored_fee_payment.d.ts +2 -2
  111. package/dest/fee/sponsored_fee_payment.d.ts.map +1 -1
  112. package/dest/fee/sponsored_fee_payment.js +2 -2
  113. package/dest/utils/abi_types.d.ts +2 -2
  114. package/dest/utils/abi_types.d.ts.map +1 -1
  115. package/dest/utils/authwit.d.ts +7 -7
  116. package/dest/utils/authwit.d.ts.map +1 -1
  117. package/dest/utils/authwit.js +22 -11
  118. package/dest/utils/cross_chain.d.ts +2 -2
  119. package/dest/utils/cross_chain.d.ts.map +1 -1
  120. package/dest/utils/fee_juice.d.ts +2 -2
  121. package/dest/utils/fee_juice.js +2 -2
  122. package/dest/utils/field_compressed_string.d.ts +1 -1
  123. package/dest/utils/field_compressed_string.d.ts.map +1 -1
  124. package/dest/utils/field_compressed_string.js +1 -1
  125. package/dest/utils/node.d.ts +2 -2
  126. package/dest/utils/node.d.ts.map +1 -1
  127. package/dest/utils/pub_key.d.ts +2 -2
  128. package/dest/utils/pub_key.d.ts.map +1 -1
  129. package/dest/utils/pub_key.js +2 -3
  130. package/dest/wallet/account_entrypoint_meta_payment_method.d.ts +2 -2
  131. package/dest/wallet/account_entrypoint_meta_payment_method.d.ts.map +1 -1
  132. package/dest/wallet/account_entrypoint_meta_payment_method.js +2 -2
  133. package/dest/wallet/account_manager.d.ts +2 -5
  134. package/dest/wallet/account_manager.d.ts.map +1 -1
  135. package/dest/wallet/account_manager.js +2 -2
  136. package/dest/wallet/deploy_account_method.d.ts +5 -5
  137. package/dest/wallet/deploy_account_method.d.ts.map +1 -1
  138. package/dest/wallet/deploy_account_method.js +2 -2
  139. package/dest/wallet/index.d.ts +1 -2
  140. package/dest/wallet/index.d.ts.map +1 -1
  141. package/dest/wallet/index.js +0 -1
  142. package/dest/wallet/wallet.d.ts +686 -1148
  143. package/dest/wallet/wallet.d.ts.map +1 -1
  144. package/dest/wallet/wallet.js +37 -41
  145. package/package.json +13 -12
  146. package/src/account/account.ts +2 -3
  147. package/src/account/account_contract.ts +1 -1
  148. package/src/account/account_with_secret_key.ts +1 -1
  149. package/src/account/index.ts +1 -1
  150. package/src/account/interface.ts +1 -1
  151. package/src/account/signerless_account.ts +2 -3
  152. package/src/api/account.ts +1 -0
  153. package/src/api/contract.ts +4 -3
  154. package/src/api/fields.ts +2 -1
  155. package/src/api/note.ts +1 -1
  156. package/src/api/tx.ts +2 -0
  157. package/src/api/wallet.ts +5 -7
  158. package/src/authorization/call_authorization_request.ts +1 -1
  159. package/src/contract/base_contract_interaction.ts +2 -3
  160. package/src/contract/batch_call.ts +65 -48
  161. package/src/contract/contract.ts +7 -5
  162. package/src/contract/contract_base.ts +5 -15
  163. package/src/contract/contract_function_interaction.ts +10 -11
  164. package/src/contract/deploy_method.ts +13 -12
  165. package/src/contract/deploy_sent_tx.ts +17 -10
  166. package/src/contract/interaction_options.ts +5 -11
  167. package/src/contract/sent_tx.ts +2 -3
  168. package/src/contract/unsafe_contract.ts +1 -1
  169. package/src/deployment/broadcast_function.ts +1 -1
  170. package/src/deployment/contract_deployer.ts +3 -2
  171. package/src/deployment/publish_class.ts +1 -1
  172. package/src/ethereum/portal_manager.ts +58 -28
  173. package/src/fee/fee_juice_payment_method_with_claim.ts +4 -2
  174. package/src/fee/fee_payment_method.ts +1 -1
  175. package/src/fee/private_fee_payment_method.ts +5 -3
  176. package/src/fee/public_fee_payment_method.ts +5 -3
  177. package/src/fee/sponsored_fee_payment.ts +3 -1
  178. package/src/utils/abi_types.ts +1 -1
  179. package/src/utils/authwit.ts +21 -15
  180. package/src/utils/cross_chain.ts +1 -1
  181. package/src/utils/fee_juice.ts +2 -2
  182. package/src/utils/field_compressed_string.ts +1 -1
  183. package/src/utils/pub_key.ts +3 -4
  184. package/src/wallet/account_entrypoint_meta_payment_method.ts +2 -1
  185. package/src/wallet/account_manager.ts +2 -2
  186. package/src/wallet/deploy_account_method.ts +4 -3
  187. package/src/wallet/index.ts +0 -1
  188. package/src/wallet/wallet.ts +81 -80
  189. package/dest/wallet/base_wallet.d.ts +0 -91
  190. package/dest/wallet/base_wallet.d.ts.map +0 -1
  191. package/dest/wallet/base_wallet.js +0 -238
  192. 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 AbiDecoded, 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
9
  import { type ApiSchemaFor, type ZodFor } 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,211 +87,56 @@ 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
142
  to: ZodFor<AztecAddress>;
@@ -318,22 +148,22 @@ export declare const FunctionCallSchema: z.ZodObject<{
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<{
@@ -347,58 +177,61 @@ export declare const ExecutionPayloadSchema: z.ZodObject<{
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
199
  extraHashedArgs: z.ZodArray<ZodFor<HashedValues>, "many">;
200
+ feePayer: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<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
460
  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<{
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
617
  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<{
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
794
  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<{
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,256 +965,91 @@ 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<[ZodFor<Fr>, z.ZodObject<{
978
+ consumer: ZodFor<AztecAddress>;
979
+ innerHash: 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: ZodFor<AztecAddress>;
988
+ call: z.ZodObject<{
1222
989
  name: z.ZodString;
1223
- functionType: z.ZodNativeEnum<typeof FunctionType>;
1224
- isInternal: z.ZodBoolean;
990
+ to: ZodFor<AztecAddress>;
991
+ selector: 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<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<[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
1054
  salt: ZodFor<Fr>;
1406
1055
  deployer: ZodFor<AztecAddress>;
@@ -1408,21 +1057,21 @@ export declare const InstanceDataSchema: z.ZodUnion<[ZodFor<AztecAddress>, z.Zod
1408
1057
  originalContractClassId: ZodFor<Fr>;
1409
1058
  initializationHash: 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,546 +1084,414 @@ 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;
1090
+ salt?: any;
1091
+ deployer?: any;
1092
+ currentContractClassId?: any;
1093
+ originalContractClassId?: any;
1094
+ initializationHash?: any;
1441
1095
  publicKeys: {
1442
1096
  masterNullifierPublicKey: string;
1443
1097
  masterIncomingViewingPublicKey: string;
1444
1098
  masterOutgoingViewingPublicKey: string;
1445
1099
  masterTaggingPublicKey: string;
1446
1100
  };
1447
- salt?: any;
1448
- deployer?: any;
1449
- currentContractClassId?: any;
1450
- originalContractClassId?: any;
1451
- initializationHash?: any;
1452
1101
  }>, z.ZodObject<{
1453
1102
  address: ZodFor<AztecAddress>;
1454
1103
  }, "strip", z.ZodTypeAny, {
1455
1104
  address: AztecAddress;
1456
1105
  }, {
1457
1106
  address?: any;
1458
- }>>;
1459
- artifact: ZodFor<ContractArtifact>;
1107
+ }>>, import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<ZodFor<ContractArtifact>>, import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<ZodFor<Fr>>], null>;
1460
1108
  }, "strip", z.ZodTypeAny, {
1461
- artifact: ContractArtifact;
1462
- instance: {
1109
+ name: "registerContract";
1110
+ args: [{
1463
1111
  version: 1;
1464
1112
  salt: Fr;
1465
1113
  deployer: AztecAddress;
1466
1114
  currentContractClassId: Fr;
1467
1115
  originalContractClassId: Fr;
1468
1116
  initializationHash: Fr;
1469
- publicKeys: PublicKeys;
1117
+ publicKeys: import("../api/keys.js").PublicKeys;
1470
1118
  } & {
1471
1119
  address: AztecAddress;
1472
- };
1120
+ }, ContractArtifact | undefined, Fr | undefined];
1473
1121
  }, {
1474
- instance: {
1122
+ name: "registerContract";
1123
+ args: [{
1475
1124
  version: 1;
1125
+ salt?: any;
1126
+ deployer?: any;
1127
+ currentContractClassId?: any;
1128
+ originalContractClassId?: any;
1129
+ initializationHash?: any;
1476
1130
  publicKeys: {
1477
1131
  masterNullifierPublicKey: string;
1478
1132
  masterIncomingViewingPublicKey: string;
1479
1133
  masterOutgoingViewingPublicKey: string;
1480
1134
  masterTaggingPublicKey: string;
1481
1135
  };
1482
- salt?: any;
1483
- deployer?: any;
1484
- currentContractClassId?: any;
1485
- originalContractClassId?: any;
1486
- initializationHash?: any;
1487
1136
  } & {
1488
1137
  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];
1138
+ }, any, any];
1589
1139
  }>, 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
- }>, z.ZodObject<{
1641
- address: ZodFor<AztecAddress>;
1642
- }, "strip", z.ZodTypeAny, {
1643
- address: AztecAddress;
1644
- }, {
1645
- address?: any;
1646
- }>>, z.ZodObject<{
1647
- constructorArtifact: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodObject<{
1140
+ name: z.ZodLiteral<"sendTx">;
1141
+ args: z.ZodTuple<[z.ZodObject<{
1142
+ calls: z.ZodArray<z.ZodObject<{
1648
1143
  name: z.ZodString;
1649
- functionType: z.ZodNativeEnum<typeof FunctionType>;
1650
- isInternal: z.ZodBoolean;
1144
+ to: ZodFor<AztecAddress>;
1145
+ selector: ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
1146
+ type: z.ZodNativeEnum<typeof FunctionType>;
1651
1147
  isStatic: z.ZodBoolean;
1652
- isInitializer: z.ZodBoolean;
1653
- parameters: z.ZodArray<z.ZodObject<{
1654
- name: z.ZodString;
1655
- type: z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>;
1656
- visibility: z.ZodEnum<["public", "private", "databus"]>;
1657
- }, "strip", z.ZodTypeAny, {
1658
- type: import("@aztec/stdlib/abi").AbiType;
1659
- name: string;
1660
- visibility: "public" | "private" | "databus";
1661
- }, {
1662
- type: import("@aztec/stdlib/abi").AbiType;
1663
- name: string;
1664
- visibility: "public" | "private" | "databus";
1665
- }>, "many">;
1148
+ hideMsgSender: z.ZodBoolean;
1149
+ args: z.ZodArray<ZodFor<Fr>, "many">;
1666
1150
  returnTypes: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
1667
- errorTypes: z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1668
- error_kind: z.ZodLiteral<"string">;
1669
- string: z.ZodString;
1670
- }, "strip", z.ZodTypeAny, {
1671
- string: string;
1672
- error_kind: "string";
1673
- }, {
1674
- string: string;
1675
- error_kind: "string";
1676
- }>, z.ZodObject<{
1677
- error_kind: z.ZodLiteral<"fmtstring">;
1678
- length: z.ZodNumber;
1679
- item_types: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
1680
- }, "strip", z.ZodTypeAny, {
1681
- length: number;
1682
- error_kind: "fmtstring";
1683
- item_types: import("@aztec/stdlib/abi").AbiType[];
1684
- }, {
1685
- length: number;
1686
- error_kind: "fmtstring";
1687
- item_types: import("@aztec/stdlib/abi").AbiType[];
1688
- }>, z.ZodIntersection<z.ZodObject<{
1689
- error_kind: z.ZodLiteral<"custom">;
1690
- }, "strip", z.ZodTypeAny, {
1691
- error_kind: "custom";
1692
- }, {
1693
- error_kind: "custom";
1694
- }>, z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>>]>>>;
1695
1151
  }, "strip", z.ZodTypeAny, {
1696
1152
  name: string;
1697
- parameters: {
1698
- type: import("@aztec/stdlib/abi").AbiType;
1699
- name: string;
1700
- visibility: "public" | "private" | "databus";
1701
- }[];
1702
- functionType: FunctionType;
1703
- isInternal: boolean;
1153
+ to: AztecAddress;
1154
+ selector: import("@aztec/stdlib/abi").FunctionSelector;
1155
+ type: FunctionType;
1704
1156
  isStatic: boolean;
1705
- isInitializer: boolean;
1157
+ hideMsgSender: boolean;
1158
+ args: Fr[];
1706
1159
  returnTypes: import("@aztec/stdlib/abi").AbiType[];
1707
- errorTypes: Record<string, {
1708
- string: string;
1709
- error_kind: "string";
1710
- } | {
1711
- length: number;
1712
- error_kind: "fmtstring";
1713
- item_types: import("@aztec/stdlib/abi").AbiType[];
1714
- } | ({
1715
- error_kind: "custom";
1716
- } & import("@aztec/stdlib/abi").AbiType) | undefined>;
1717
1160
  }, {
1718
1161
  name: string;
1719
- parameters: {
1720
- type: import("@aztec/stdlib/abi").AbiType;
1721
- name: string;
1722
- visibility: "public" | "private" | "databus";
1723
- }[];
1724
- functionType: FunctionType;
1725
- isInternal: boolean;
1162
+ to?: any;
1163
+ selector?: any;
1164
+ type: FunctionType;
1726
1165
  isStatic: boolean;
1727
- isInitializer: boolean;
1166
+ hideMsgSender: boolean;
1167
+ args: any[];
1728
1168
  returnTypes: import("@aztec/stdlib/abi").AbiType[];
1729
- errorTypes: Record<string, {
1730
- string: string;
1731
- error_kind: "string";
1732
- } | {
1733
- length: number;
1734
- error_kind: "fmtstring";
1735
- item_types: import("@aztec/stdlib/abi").AbiType[];
1736
- } | ({
1737
- error_kind: "custom";
1738
- } & 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>;
1169
+ }>, "many">;
1170
+ authWitnesses: z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">;
1171
+ capsules: z.ZodArray<z.ZodType<Capsule, any, string>, "many">;
1172
+ extraHashedArgs: z.ZodArray<ZodFor<HashedValues>, "many">;
1173
+ feePayer: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<ZodFor<AztecAddress>>;
1174
+ }, "strip", z.ZodTypeAny, {
1175
+ calls: {
1176
+ name: string;
1177
+ to: AztecAddress;
1178
+ selector: import("@aztec/stdlib/abi").FunctionSelector;
1179
+ type: FunctionType;
1180
+ isStatic: boolean;
1181
+ hideMsgSender: boolean;
1182
+ args: Fr[];
1183
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
1184
+ }[];
1185
+ authWitnesses: AuthWitness[];
1186
+ capsules: Capsule[];
1187
+ extraHashedArgs: HashedValues[];
1188
+ feePayer?: AztecAddress | undefined;
1189
+ }, {
1190
+ calls: {
1191
+ name: string;
1192
+ to?: any;
1193
+ selector?: any;
1194
+ type: FunctionType;
1195
+ isStatic: boolean;
1196
+ hideMsgSender: boolean;
1197
+ args: any[];
1198
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
1199
+ }[];
1200
+ authWitnesses: string[];
1201
+ capsules: string[];
1202
+ extraHashedArgs: any[];
1203
+ feePayer?: any;
1204
+ }>, z.ZodObject<{
1205
+ from: ZodFor<AztecAddress>;
1206
+ authWitnesses: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">>;
1207
+ capsules: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodArray<z.ZodType<Capsule, any, string>, "many">>;
1208
+ fee: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
1209
+ gasSettings: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
1210
+ gasLimits: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
1211
+ daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
1212
+ l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
1213
+ }, "strip", z.ZodTypeAny, {
1214
+ daGas: number;
1215
+ l2Gas: number;
1216
+ }, {
1217
+ daGas: string | number | bigint;
1218
+ l2Gas: string | number | bigint;
1219
+ }>, Gas, {
1220
+ daGas: string | number | bigint;
1221
+ l2Gas: string | number | bigint;
1222
+ }>>;
1223
+ teardownGasLimits: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
1224
+ daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
1225
+ l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
1226
+ }, "strip", z.ZodTypeAny, {
1227
+ daGas: number;
1228
+ l2Gas: number;
1229
+ }, {
1230
+ daGas: string | number | bigint;
1231
+ l2Gas: string | number | bigint;
1232
+ }>, Gas, {
1233
+ daGas: string | number | bigint;
1234
+ l2Gas: string | number | bigint;
1235
+ }>>;
1236
+ maxFeePerGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
1237
+ feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
1238
+ feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
1239
+ }, "strip", z.ZodTypeAny, {
1240
+ feePerDaGas: bigint;
1241
+ feePerL2Gas: bigint;
1242
+ }, {
1243
+ feePerDaGas: string | number | bigint;
1244
+ feePerL2Gas: string | number | bigint;
1245
+ }>>;
1246
+ maxPriorityFeePerGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
1247
+ feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
1248
+ feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
1249
+ }, "strip", z.ZodTypeAny, {
1250
+ feePerDaGas: bigint;
1251
+ feePerL2Gas: bigint;
1252
+ }, {
1253
+ feePerDaGas: string | number | bigint;
1254
+ feePerL2Gas: string | number | bigint;
1255
+ }>>;
1256
+ }, "strip", z.ZodTypeAny, {
1257
+ gasLimits?: Gas | undefined;
1258
+ teardownGasLimits?: Gas | undefined;
1259
+ maxFeePerGas?: {
1260
+ feePerDaGas: bigint;
1261
+ feePerL2Gas: bigint;
1262
+ } | undefined;
1263
+ maxPriorityFeePerGas?: {
1264
+ feePerDaGas: bigint;
1265
+ feePerL2Gas: bigint;
1266
+ } | undefined;
1267
+ }, {
1268
+ gasLimits?: {
1269
+ daGas: string | number | bigint;
1270
+ l2Gas: string | number | bigint;
1271
+ } | undefined;
1272
+ teardownGasLimits?: {
1273
+ daGas: string | number | bigint;
1274
+ l2Gas: string | number | bigint;
1275
+ } | undefined;
1276
+ maxFeePerGas?: {
1277
+ feePerDaGas: string | number | bigint;
1278
+ feePerL2Gas: string | number | bigint;
1279
+ } | undefined;
1280
+ maxPriorityFeePerGas?: {
1281
+ feePerDaGas: string | number | bigint;
1282
+ feePerL2Gas: string | number | bigint;
1283
+ } | undefined;
1284
+ }>>;
1748
1285
  }, "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;
1286
+ gasSettings?: {
1287
+ gasLimits?: Gas | undefined;
1288
+ teardownGasLimits?: Gas | undefined;
1289
+ maxFeePerGas?: {
1290
+ feePerDaGas: bigint;
1291
+ feePerL2Gas: bigint;
1292
+ } | undefined;
1293
+ maxPriorityFeePerGas?: {
1294
+ feePerDaGas: bigint;
1295
+ feePerL2Gas: bigint;
1296
+ } | undefined;
1297
+ } | undefined;
1753
1298
  }, {
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;
1299
+ gasSettings?: {
1300
+ gasLimits?: {
1301
+ daGas: string | number | bigint;
1302
+ l2Gas: string | number | bigint;
1303
+ } | undefined;
1304
+ teardownGasLimits?: {
1305
+ daGas: string | number | bigint;
1306
+ l2Gas: string | number | bigint;
1307
+ } | undefined;
1308
+ maxFeePerGas?: {
1309
+ feePerDaGas: string | number | bigint;
1310
+ feePerL2Gas: string | number | bigint;
1311
+ } | undefined;
1312
+ maxPriorityFeePerGas?: {
1313
+ feePerDaGas: string | number | bigint;
1314
+ feePerL2Gas: string | number | bigint;
1315
+ } | undefined;
1316
+ } | undefined;
1763
1317
  }>>;
1764
- deployer: import("@aztec/foundation/schemas").ZodNullableOptional<ZodFor<AztecAddress>>;
1765
1318
  }, "strip", z.ZodTypeAny, {
1766
- salt: Fr;
1767
- deployer?: AztecAddress | undefined;
1768
- publicKeys?: PublicKeys | undefined;
1769
- constructorArgs?: any[] | undefined;
1770
- constructorArtifact?: string | {
1319
+ from: AztecAddress;
1320
+ authWitnesses?: AuthWitness[] | undefined;
1321
+ capsules?: Capsule[] | undefined;
1322
+ fee?: {
1323
+ gasSettings?: {
1324
+ gasLimits?: Gas | undefined;
1325
+ teardownGasLimits?: Gas | undefined;
1326
+ maxFeePerGas?: {
1327
+ feePerDaGas: bigint;
1328
+ feePerL2Gas: bigint;
1329
+ } | undefined;
1330
+ maxPriorityFeePerGas?: {
1331
+ feePerDaGas: bigint;
1332
+ feePerL2Gas: bigint;
1333
+ } | undefined;
1334
+ } | undefined;
1335
+ } | undefined;
1336
+ }, {
1337
+ from?: any;
1338
+ authWitnesses?: string[] | undefined;
1339
+ capsules?: string[] | undefined;
1340
+ fee?: {
1341
+ gasSettings?: {
1342
+ gasLimits?: {
1343
+ daGas: string | number | bigint;
1344
+ l2Gas: string | number | bigint;
1345
+ } | undefined;
1346
+ teardownGasLimits?: {
1347
+ daGas: string | number | bigint;
1348
+ l2Gas: string | number | bigint;
1349
+ } | undefined;
1350
+ maxFeePerGas?: {
1351
+ feePerDaGas: string | number | bigint;
1352
+ feePerL2Gas: string | number | bigint;
1353
+ } | undefined;
1354
+ maxPriorityFeePerGas?: {
1355
+ feePerDaGas: string | number | bigint;
1356
+ feePerL2Gas: string | number | bigint;
1357
+ } | undefined;
1358
+ } | undefined;
1359
+ } | undefined;
1360
+ }>], null>;
1361
+ }, "strip", z.ZodTypeAny, {
1362
+ name: "sendTx";
1363
+ args: [{
1364
+ calls: {
1771
1365
  name: string;
1772
- parameters: {
1773
- type: import("@aztec/stdlib/abi").AbiType;
1774
- name: string;
1775
- visibility: "public" | "private" | "databus";
1776
- }[];
1777
- functionType: FunctionType;
1778
- isInternal: boolean;
1366
+ to: AztecAddress;
1367
+ selector: import("@aztec/stdlib/abi").FunctionSelector;
1368
+ type: FunctionType;
1779
1369
  isStatic: boolean;
1780
- isInitializer: boolean;
1370
+ hideMsgSender: boolean;
1371
+ args: Fr[];
1781
1372
  returnTypes: import("@aztec/stdlib/abi").AbiType[];
1782
- errorTypes: Record<string, {
1783
- string: string;
1784
- error_kind: "string";
1785
- } | {
1786
- length: number;
1787
- error_kind: "fmtstring";
1788
- item_types: import("@aztec/stdlib/abi").AbiType[];
1789
- } | ({
1790
- error_kind: "custom";
1791
- } & import("@aztec/stdlib/abi").AbiType) | undefined>;
1792
- } | undefined;
1793
- skipArgsDecoding?: boolean | undefined;
1373
+ }[];
1374
+ authWitnesses: AuthWitness[];
1375
+ capsules: Capsule[];
1376
+ extraHashedArgs: HashedValues[];
1377
+ feePayer?: AztecAddress | undefined;
1794
1378
  }, {
1795
- salt?: any;
1796
- deployer?: any;
1797
- publicKeys?: {
1798
- masterNullifierPublicKey: string;
1799
- masterIncomingViewingPublicKey: string;
1800
- masterOutgoingViewingPublicKey: string;
1801
- masterTaggingPublicKey: string;
1379
+ from: AztecAddress;
1380
+ authWitnesses?: AuthWitness[] | undefined;
1381
+ capsules?: Capsule[] | undefined;
1382
+ fee?: {
1383
+ gasSettings?: {
1384
+ gasLimits?: Gas | undefined;
1385
+ teardownGasLimits?: Gas | undefined;
1386
+ maxFeePerGas?: {
1387
+ feePerDaGas: bigint;
1388
+ feePerL2Gas: bigint;
1389
+ } | undefined;
1390
+ maxPriorityFeePerGas?: {
1391
+ feePerDaGas: bigint;
1392
+ feePerL2Gas: bigint;
1393
+ } | undefined;
1394
+ } | undefined;
1802
1395
  } | undefined;
1803
- constructorArgs?: any[] | undefined;
1804
- constructorArtifact?: string | {
1396
+ }];
1397
+ }, {
1398
+ name: "sendTx";
1399
+ args: [{
1400
+ calls: {
1805
1401
  name: string;
1806
- parameters: {
1807
- type: import("@aztec/stdlib/abi").AbiType;
1808
- name: string;
1809
- visibility: "public" | "private" | "databus";
1810
- }[];
1811
- functionType: FunctionType;
1812
- isInternal: boolean;
1402
+ to?: any;
1403
+ selector?: any;
1404
+ type: FunctionType;
1813
1405
  isStatic: boolean;
1814
- isInitializer: boolean;
1406
+ hideMsgSender: boolean;
1407
+ args: any[];
1815
1408
  returnTypes: import("@aztec/stdlib/abi").AbiType[];
1816
- errorTypes: Record<string, {
1817
- string: string;
1818
- error_kind: "string";
1819
- } | {
1820
- length: number;
1821
- error_kind: "fmtstring";
1822
- item_types: import("@aztec/stdlib/abi").AbiType[];
1823
- } | ({
1824
- error_kind: "custom";
1825
- } & import("@aztec/stdlib/abi").AbiType) | undefined>;
1409
+ }[];
1410
+ authWitnesses: string[];
1411
+ capsules: string[];
1412
+ extraHashedArgs: any[];
1413
+ feePayer?: any;
1414
+ }, {
1415
+ from?: any;
1416
+ authWitnesses?: string[] | undefined;
1417
+ capsules?: string[] | undefined;
1418
+ fee?: {
1419
+ gasSettings?: {
1420
+ gasLimits?: {
1421
+ daGas: string | number | bigint;
1422
+ l2Gas: string | number | bigint;
1423
+ } | undefined;
1424
+ teardownGasLimits?: {
1425
+ daGas: string | number | bigint;
1426
+ l2Gas: string | number | bigint;
1427
+ } | undefined;
1428
+ maxFeePerGas?: {
1429
+ feePerDaGas: string | number | bigint;
1430
+ feePerL2Gas: string | number | bigint;
1431
+ } | undefined;
1432
+ maxPriorityFeePerGas?: {
1433
+ feePerDaGas: string | number | bigint;
1434
+ feePerL2Gas: string | number | bigint;
1435
+ } | undefined;
1436
+ } | undefined;
1826
1437
  } | 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
- }>;
1857
- }, "strip", z.ZodTypeAny, {
1858
- version: 1;
1859
- salt: Fr;
1860
- deployer: AztecAddress;
1861
- currentContractClassId: Fr;
1862
- originalContractClassId: Fr;
1863
- initializationHash: Fr;
1864
- publicKeys: PublicKeys;
1865
- }, {
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>;
1880
- }, "strip", z.ZodTypeAny, {
1881
- address: AztecAddress;
1882
- }, {
1883
- address?: any;
1884
- }>>;
1885
- artifact: ZodFor<ContractArtifact>;
1438
+ }];
1439
+ }>, z.ZodObject<{
1440
+ name: z.ZodLiteral<"simulateUtility">;
1441
+ args: z.ZodTuple<[z.ZodObject<{
1442
+ name: z.ZodString;
1443
+ to: ZodFor<AztecAddress>;
1444
+ selector: ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
1445
+ type: z.ZodNativeEnum<typeof FunctionType>;
1446
+ isStatic: z.ZodBoolean;
1447
+ hideMsgSender: z.ZodBoolean;
1448
+ args: z.ZodArray<ZodFor<Fr>, "many">;
1449
+ returnTypes: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
1886
1450
  }, "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
- };
1451
+ name: string;
1452
+ to: AztecAddress;
1453
+ selector: import("@aztec/stdlib/abi").FunctionSelector;
1454
+ type: FunctionType;
1455
+ isStatic: boolean;
1456
+ hideMsgSender: boolean;
1457
+ args: Fr[];
1458
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
1899
1459
  }, {
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>;
1460
+ name: string;
1461
+ to?: any;
1462
+ selector?: any;
1463
+ type: FunctionType;
1464
+ isStatic: boolean;
1465
+ hideMsgSender: boolean;
1466
+ args: any[];
1467
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
1468
+ }>, import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">>], null>;
1918
1469
  }, "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 | {
1926
- name: string;
1927
- parameters: {
1928
- type: import("@aztec/stdlib/abi").AbiType;
1929
- name: string;
1930
- visibility: "public" | "private" | "databus";
1931
- }[];
1932
- functionType: FunctionType;
1933
- isInternal: boolean;
1934
- isStatic: boolean;
1935
- isInitializer: boolean;
1936
- returnTypes: import("@aztec/stdlib/abi").AbiType[];
1937
- errorTypes: Record<string, {
1938
- string: string;
1939
- error_kind: "string";
1940
- } | {
1941
- length: number;
1942
- error_kind: "fmtstring";
1943
- item_types: import("@aztec/stdlib/abi").AbiType[];
1944
- } | ({
1945
- error_kind: "custom";
1946
- } & import("@aztec/stdlib/abi").AbiType) | undefined>;
1947
- } | undefined;
1948
- skipArgsDecoding?: boolean | undefined;
1949
- } | ({
1950
- version: 1;
1951
- salt: Fr;
1952
- deployer: AztecAddress;
1953
- currentContractClassId: Fr;
1954
- originalContractClassId: Fr;
1955
- initializationHash: Fr;
1956
- publicKeys: PublicKeys;
1957
- } & {
1958
- 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;
1969
- } & {
1970
- address: AztecAddress;
1971
- };
1972
- }, ContractArtifact | undefined, Fr | undefined];
1470
+ name: "simulateUtility";
1471
+ args: [{
1472
+ name: string;
1473
+ to: AztecAddress;
1474
+ selector: import("@aztec/stdlib/abi").FunctionSelector;
1475
+ type: FunctionType;
1476
+ isStatic: boolean;
1477
+ hideMsgSender: boolean;
1478
+ args: Fr[];
1479
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
1480
+ }, AuthWitness[] | undefined];
1973
1481
  }, {
1974
- name: "registerContract";
1975
- args: [any, any, any];
1482
+ name: "simulateUtility";
1483
+ args: [{
1484
+ name: string;
1485
+ to?: any;
1486
+ selector?: any;
1487
+ type: FunctionType;
1488
+ isStatic: boolean;
1489
+ hideMsgSender: boolean;
1490
+ args: any[];
1491
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
1492
+ }, string[] | undefined];
1976
1493
  }>, z.ZodObject<{
1977
- name: z.ZodLiteral<"sendTx">;
1494
+ name: z.ZodLiteral<"simulateTx">;
1978
1495
  args: z.ZodTuple<[z.ZodObject<{
1979
1496
  calls: z.ZodArray<z.ZodObject<{
1980
1497
  name: z.ZodString;
@@ -1987,61 +1504,64 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
1987
1504
  returnTypes: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
1988
1505
  }, "strip", z.ZodTypeAny, {
1989
1506
  name: string;
1990
- args: Fr[];
1991
- type: FunctionType;
1992
1507
  to: AztecAddress;
1993
1508
  selector: import("@aztec/stdlib/abi").FunctionSelector;
1509
+ type: FunctionType;
1994
1510
  isStatic: boolean;
1995
1511
  hideMsgSender: boolean;
1512
+ args: Fr[];
1996
1513
  returnTypes: import("@aztec/stdlib/abi").AbiType[];
1997
1514
  }, {
1998
1515
  name: string;
1999
- args: any[];
1516
+ to?: any;
1517
+ selector?: any;
2000
1518
  type: FunctionType;
2001
1519
  isStatic: boolean;
2002
1520
  hideMsgSender: boolean;
1521
+ args: any[];
2003
1522
  returnTypes: import("@aztec/stdlib/abi").AbiType[];
2004
- to?: any;
2005
- selector?: any;
2006
1523
  }>, "many">;
2007
1524
  authWitnesses: z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">;
2008
1525
  capsules: z.ZodArray<z.ZodType<Capsule, any, string>, "many">;
2009
1526
  extraHashedArgs: z.ZodArray<ZodFor<HashedValues>, "many">;
1527
+ feePayer: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<ZodFor<AztecAddress>>;
2010
1528
  }, "strip", z.ZodTypeAny, {
2011
- authWitnesses: AuthWitness[];
2012
- capsules: Capsule[];
2013
1529
  calls: {
2014
1530
  name: string;
2015
- args: Fr[];
2016
- type: FunctionType;
2017
1531
  to: AztecAddress;
2018
1532
  selector: import("@aztec/stdlib/abi").FunctionSelector;
1533
+ type: FunctionType;
2019
1534
  isStatic: boolean;
2020
1535
  hideMsgSender: boolean;
1536
+ args: Fr[];
2021
1537
  returnTypes: import("@aztec/stdlib/abi").AbiType[];
2022
1538
  }[];
1539
+ authWitnesses: AuthWitness[];
1540
+ capsules: Capsule[];
2023
1541
  extraHashedArgs: HashedValues[];
1542
+ feePayer?: AztecAddress | undefined;
2024
1543
  }, {
2025
- authWitnesses: string[];
2026
- capsules: string[];
2027
1544
  calls: {
2028
1545
  name: string;
2029
- args: any[];
1546
+ to?: any;
1547
+ selector?: any;
2030
1548
  type: FunctionType;
2031
1549
  isStatic: boolean;
2032
1550
  hideMsgSender: boolean;
1551
+ args: any[];
2033
1552
  returnTypes: import("@aztec/stdlib/abi").AbiType[];
2034
- to?: any;
2035
- selector?: any;
2036
1553
  }[];
1554
+ authWitnesses: string[];
1555
+ capsules: string[];
2037
1556
  extraHashedArgs: any[];
1557
+ feePayer?: any;
2038
1558
  }>, z.ZodObject<{
2039
1559
  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<{
1560
+ authWitnesses: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">>;
1561
+ capsules: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodArray<z.ZodType<Capsule, any, string>, "many">>;
1562
+ fee: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
1563
+ gasSettings: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
1564
+ gasLimits: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
2045
1565
  daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
2046
1566
  l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
2047
1567
  }, "strip", z.ZodTypeAny, {
@@ -2054,7 +1574,7 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
2054
1574
  daGas: string | number | bigint;
2055
1575
  l2Gas: string | number | bigint;
2056
1576
  }>>;
2057
- teardownGasLimits: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
1577
+ teardownGasLimits: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
2058
1578
  daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
2059
1579
  l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
2060
1580
  }, "strip", z.ZodTypeAny, {
@@ -2067,7 +1587,7 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
2067
1587
  daGas: string | number | bigint;
2068
1588
  l2Gas: string | number | bigint;
2069
1589
  }>>;
2070
- maxFeePerGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
1590
+ maxFeePerGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
2071
1591
  feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
2072
1592
  feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
2073
1593
  }, "strip", z.ZodTypeAny, {
@@ -2077,7 +1597,7 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
2077
1597
  feePerDaGas: string | number | bigint;
2078
1598
  feePerL2Gas: string | number | bigint;
2079
1599
  }>>;
2080
- maxPriorityFeePerGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
1600
+ maxPriorityFeePerGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
2081
1601
  feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
2082
1602
  feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
2083
1603
  }, "strip", z.ZodTypeAny, {
@@ -2116,9 +1636,10 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
2116
1636
  feePerL2Gas: string | number | bigint;
2117
1637
  } | undefined;
2118
1638
  }>>;
2119
- embeddedPaymentMethodFeePayer: import("@aztec/foundation/schemas").ZodNullableOptional<ZodFor<AztecAddress>>;
1639
+ } & {
1640
+ estimatedGasPadding: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodNumber>;
1641
+ estimateGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodBoolean>;
2120
1642
  }, "strip", z.ZodTypeAny, {
2121
- embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
2122
1643
  gasSettings?: {
2123
1644
  gasLimits?: Gas | undefined;
2124
1645
  teardownGasLimits?: Gas | undefined;
@@ -2131,8 +1652,9 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
2131
1652
  feePerL2Gas: bigint;
2132
1653
  } | undefined;
2133
1654
  } | undefined;
1655
+ estimatedGasPadding?: number | undefined;
1656
+ estimateGas?: boolean | undefined;
2134
1657
  }, {
2135
- embeddedPaymentMethodFeePayer?: any;
2136
1658
  gasSettings?: {
2137
1659
  gasLimits?: {
2138
1660
  daGas: string | number | bigint;
@@ -2151,11 +1673,17 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
2151
1673
  feePerL2Gas: string | number | bigint;
2152
1674
  } | undefined;
2153
1675
  } | undefined;
1676
+ estimatedGasPadding?: number | undefined;
1677
+ estimateGas?: boolean | undefined;
2154
1678
  }>>;
1679
+ skipTxValidation: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodBoolean>;
1680
+ skipFeeEnforcement: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodBoolean>;
1681
+ includeMetadata: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodBoolean>;
2155
1682
  }, "strip", z.ZodTypeAny, {
2156
1683
  from: AztecAddress;
1684
+ authWitnesses?: AuthWitness[] | undefined;
1685
+ capsules?: Capsule[] | undefined;
2157
1686
  fee?: {
2158
- embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
2159
1687
  gasSettings?: {
2160
1688
  gasLimits?: Gas | undefined;
2161
1689
  teardownGasLimits?: Gas | undefined;
@@ -2168,12 +1696,17 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
2168
1696
  feePerL2Gas: bigint;
2169
1697
  } | undefined;
2170
1698
  } | undefined;
1699
+ estimatedGasPadding?: number | undefined;
1700
+ estimateGas?: boolean | undefined;
2171
1701
  } | undefined;
2172
- authWitnesses?: AuthWitness[] | undefined;
2173
- capsules?: Capsule[] | undefined;
1702
+ skipTxValidation?: boolean | undefined;
1703
+ skipFeeEnforcement?: boolean | undefined;
1704
+ includeMetadata?: boolean | undefined;
2174
1705
  }, {
1706
+ from?: any;
1707
+ authWitnesses?: string[] | undefined;
1708
+ capsules?: string[] | undefined;
2175
1709
  fee?: {
2176
- embeddedPaymentMethodFeePayer?: any;
2177
1710
  gasSettings?: {
2178
1711
  gasLimits?: {
2179
1712
  daGas: string | number | bigint;
@@ -2192,31 +1725,35 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
2192
1725
  feePerL2Gas: string | number | bigint;
2193
1726
  } | undefined;
2194
1727
  } | undefined;
1728
+ estimatedGasPadding?: number | undefined;
1729
+ estimateGas?: boolean | undefined;
2195
1730
  } | undefined;
2196
- authWitnesses?: string[] | undefined;
2197
- capsules?: string[] | undefined;
2198
- from?: any;
1731
+ skipTxValidation?: boolean | undefined;
1732
+ skipFeeEnforcement?: boolean | undefined;
1733
+ includeMetadata?: boolean | undefined;
2199
1734
  }>], null>;
2200
1735
  }, "strip", z.ZodTypeAny, {
2201
- name: "sendTx";
1736
+ name: "simulateTx";
2202
1737
  args: [{
2203
- authWitnesses: AuthWitness[];
2204
- capsules: Capsule[];
2205
1738
  calls: {
2206
1739
  name: string;
2207
- args: Fr[];
2208
- type: FunctionType;
2209
1740
  to: AztecAddress;
2210
1741
  selector: import("@aztec/stdlib/abi").FunctionSelector;
1742
+ type: FunctionType;
2211
1743
  isStatic: boolean;
2212
1744
  hideMsgSender: boolean;
1745
+ args: Fr[];
2213
1746
  returnTypes: import("@aztec/stdlib/abi").AbiType[];
2214
1747
  }[];
1748
+ authWitnesses: AuthWitness[];
1749
+ capsules: Capsule[];
2215
1750
  extraHashedArgs: HashedValues[];
1751
+ feePayer?: AztecAddress | undefined;
2216
1752
  }, {
2217
1753
  from: AztecAddress;
1754
+ authWitnesses?: AuthWitness[] | undefined;
1755
+ capsules?: Capsule[] | undefined;
2218
1756
  fee?: {
2219
- embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
2220
1757
  gasSettings?: {
2221
1758
  gasLimits?: Gas | undefined;
2222
1759
  teardownGasLimits?: Gas | undefined;
@@ -2229,29 +1766,35 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
2229
1766
  feePerL2Gas: bigint;
2230
1767
  } | undefined;
2231
1768
  } | undefined;
1769
+ estimatedGasPadding?: number | undefined;
1770
+ estimateGas?: boolean | undefined;
2232
1771
  } | undefined;
2233
- authWitnesses?: AuthWitness[] | undefined;
2234
- capsules?: Capsule[] | undefined;
1772
+ skipTxValidation?: boolean | undefined;
1773
+ skipFeeEnforcement?: boolean | undefined;
1774
+ includeMetadata?: boolean | undefined;
2235
1775
  }];
2236
1776
  }, {
2237
- name: "sendTx";
1777
+ name: "simulateTx";
2238
1778
  args: [{
2239
- authWitnesses: string[];
2240
- capsules: string[];
2241
1779
  calls: {
2242
1780
  name: string;
2243
- args: any[];
1781
+ to?: any;
1782
+ selector?: any;
2244
1783
  type: FunctionType;
2245
1784
  isStatic: boolean;
2246
1785
  hideMsgSender: boolean;
1786
+ args: any[];
2247
1787
  returnTypes: import("@aztec/stdlib/abi").AbiType[];
2248
- to?: any;
2249
- selector?: any;
2250
1788
  }[];
1789
+ authWitnesses: string[];
1790
+ capsules: string[];
2251
1791
  extraHashedArgs: any[];
1792
+ feePayer?: any;
2252
1793
  }, {
1794
+ from?: any;
1795
+ authWitnesses?: string[] | undefined;
1796
+ capsules?: string[] | undefined;
2253
1797
  fee?: {
2254
- embeddedPaymentMethodFeePayer?: any;
2255
1798
  gasSettings?: {
2256
1799
  gasLimits?: {
2257
1800
  daGas: string | number | bigint;
@@ -2270,20 +1813,13 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
2270
1813
  feePerL2Gas: string | number | bigint;
2271
1814
  } | undefined;
2272
1815
  } | undefined;
1816
+ estimatedGasPadding?: number | undefined;
1817
+ estimateGas?: boolean | undefined;
2273
1818
  } | undefined;
2274
- authWitnesses?: string[] | undefined;
2275
- capsules?: string[] | undefined;
2276
- from?: any;
1819
+ skipTxValidation?: boolean | undefined;
1820
+ skipFeeEnforcement?: boolean | undefined;
1821
+ includeMetadata?: boolean | undefined;
2277
1822
  }];
2278
- }>, z.ZodObject<{
2279
- 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
1823
  }>]>;
2288
1824
  export declare const ContractMetadataSchema: z.ZodObject<{
2289
1825
  contractInstance: z.ZodUnion<[z.ZodIntersection<z.ZodObject<{
@@ -2294,21 +1830,21 @@ export declare const ContractMetadataSchema: z.ZodObject<{
2294
1830
  originalContractClassId: ZodFor<Fr>;
2295
1831
  initializationHash: ZodFor<Fr>;
2296
1832
  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>;
1833
+ masterNullifierPublicKey: z.ZodType<import("../api/fields.js").Point, any, string>;
1834
+ masterIncomingViewingPublicKey: z.ZodType<import("../api/fields.js").Point, any, string>;
1835
+ masterOutgoingViewingPublicKey: z.ZodType<import("../api/fields.js").Point, any, string>;
1836
+ masterTaggingPublicKey: z.ZodType<import("../api/fields.js").Point, any, string>;
2301
1837
  }, "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;
1838
+ masterNullifierPublicKey: import("../api/fields.js").Point;
1839
+ masterIncomingViewingPublicKey: import("../api/fields.js").Point;
1840
+ masterOutgoingViewingPublicKey: import("../api/fields.js").Point;
1841
+ masterTaggingPublicKey: import("../api/fields.js").Point;
2306
1842
  }, {
2307
1843
  masterNullifierPublicKey: string;
2308
1844
  masterIncomingViewingPublicKey: string;
2309
1845
  masterOutgoingViewingPublicKey: string;
2310
1846
  masterTaggingPublicKey: string;
2311
- }>, PublicKeys, {
1847
+ }>, import("../api/keys.js").PublicKeys, {
2312
1848
  masterNullifierPublicKey: string;
2313
1849
  masterIncomingViewingPublicKey: string;
2314
1850
  masterOutgoingViewingPublicKey: string;
@@ -2321,20 +1857,20 @@ export declare const ContractMetadataSchema: z.ZodObject<{
2321
1857
  currentContractClassId: Fr;
2322
1858
  originalContractClassId: Fr;
2323
1859
  initializationHash: Fr;
2324
- publicKeys: PublicKeys;
1860
+ publicKeys: import("../api/keys.js").PublicKeys;
2325
1861
  }, {
2326
1862
  version: 1;
1863
+ salt?: any;
1864
+ deployer?: any;
1865
+ currentContractClassId?: any;
1866
+ originalContractClassId?: any;
1867
+ initializationHash?: any;
2327
1868
  publicKeys: {
2328
1869
  masterNullifierPublicKey: string;
2329
1870
  masterIncomingViewingPublicKey: string;
2330
1871
  masterOutgoingViewingPublicKey: string;
2331
1872
  masterTaggingPublicKey: string;
2332
1873
  };
2333
- salt?: any;
2334
- deployer?: any;
2335
- currentContractClassId?: any;
2336
- originalContractClassId?: any;
2337
- initializationHash?: any;
2338
1874
  }>, z.ZodObject<{
2339
1875
  address: ZodFor<AztecAddress>;
2340
1876
  }, "strip", z.ZodTypeAny, {
@@ -2345,8 +1881,6 @@ export declare const ContractMetadataSchema: z.ZodObject<{
2345
1881
  isContractInitialized: z.ZodBoolean;
2346
1882
  isContractPublished: z.ZodBoolean;
2347
1883
  }, "strip", z.ZodTypeAny, {
2348
- isContractInitialized: boolean;
2349
- isContractPublished: boolean;
2350
1884
  contractInstance?: ({
2351
1885
  version: 1;
2352
1886
  salt: Fr;
@@ -2354,29 +1888,31 @@ export declare const ContractMetadataSchema: z.ZodObject<{
2354
1888
  currentContractClassId: Fr;
2355
1889
  originalContractClassId: Fr;
2356
1890
  initializationHash: Fr;
2357
- publicKeys: PublicKeys;
1891
+ publicKeys: import("../api/keys.js").PublicKeys;
2358
1892
  } & {
2359
1893
  address: AztecAddress;
2360
1894
  }) | undefined;
2361
- }, {
2362
1895
  isContractInitialized: boolean;
2363
1896
  isContractPublished: boolean;
1897
+ }, {
2364
1898
  contractInstance?: ({
2365
1899
  version: 1;
1900
+ salt?: any;
1901
+ deployer?: any;
1902
+ currentContractClassId?: any;
1903
+ originalContractClassId?: any;
1904
+ initializationHash?: any;
2366
1905
  publicKeys: {
2367
1906
  masterNullifierPublicKey: string;
2368
1907
  masterIncomingViewingPublicKey: string;
2369
1908
  masterOutgoingViewingPublicKey: string;
2370
1909
  masterTaggingPublicKey: string;
2371
1910
  };
2372
- salt?: any;
2373
- deployer?: any;
2374
- currentContractClassId?: any;
2375
- originalContractClassId?: any;
2376
- initializationHash?: any;
2377
1911
  } & {
2378
1912
  address?: any;
2379
1913
  }) | undefined;
1914
+ isContractInitialized: boolean;
1915
+ isContractPublished: boolean;
2380
1916
  }>;
2381
1917
  export declare const ContractClassMetadataSchema: z.ZodObject<{
2382
1918
  contractClass: z.ZodUnion<[z.ZodObject<{
@@ -2389,77 +1925,59 @@ export declare const ContractClassMetadataSchema: z.ZodObject<{
2389
1925
  selector: import("@aztec/stdlib/abi").FunctionSelector;
2390
1926
  vkHash: Fr;
2391
1927
  }, {
2392
- vkHash: string;
2393
1928
  selector?: any;
1929
+ vkHash: string;
2394
1930
  }>, "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">;
2398
- }, "strip", z.ZodTypeAny, {
2399
- type: "Buffer";
2400
- data: number[];
2401
- }, {
2402
- type: "Buffer";
2403
- data: number[];
2404
- }>, Buffer<ArrayBuffer>, {
2405
- type: "Buffer";
2406
- data: number[];
2407
- }>]>;
1931
+ packedBytecode: ZodFor<Buffer<ArrayBufferLike>>;
2408
1932
  } & {
2409
1933
  id: z.ZodType<Fr, any, string>;
2410
1934
  }, "strip", z.ZodTypeAny, {
2411
1935
  version: 1;
2412
- id: Fr;
2413
1936
  artifactHash: Fr;
2414
- packedBytecode: Buffer<ArrayBuffer>;
2415
1937
  privateFunctions: {
2416
1938
  selector: import("@aztec/stdlib/abi").FunctionSelector;
2417
1939
  vkHash: Fr;
2418
1940
  }[];
1941
+ packedBytecode: Buffer<ArrayBufferLike>;
1942
+ id: Fr;
2419
1943
  }, {
2420
1944
  version: 1;
2421
- id: string;
2422
1945
  artifactHash: string;
2423
- packedBytecode: string | {
2424
- type: "Buffer";
2425
- data: number[];
2426
- };
2427
1946
  privateFunctions: {
2428
- vkHash: string;
2429
1947
  selector?: any;
1948
+ vkHash: string;
2430
1949
  }[];
1950
+ packedBytecode?: any;
1951
+ id: string;
2431
1952
  }>, z.ZodUndefined]>;
2432
1953
  isContractClassPubliclyRegistered: z.ZodBoolean;
2433
1954
  artifact: z.ZodUnion<[ZodFor<ContractArtifact>, z.ZodUndefined]>;
2434
1955
  }, "strip", z.ZodTypeAny, {
2435
- isContractClassPubliclyRegistered: boolean;
2436
- artifact?: ContractArtifact | undefined;
2437
1956
  contractClass?: {
2438
1957
  version: 1;
2439
- id: Fr;
2440
1958
  artifactHash: Fr;
2441
- packedBytecode: Buffer<ArrayBuffer>;
2442
1959
  privateFunctions: {
2443
1960
  selector: import("@aztec/stdlib/abi").FunctionSelector;
2444
1961
  vkHash: Fr;
2445
1962
  }[];
1963
+ packedBytecode: Buffer<ArrayBufferLike>;
1964
+ id: Fr;
2446
1965
  } | undefined;
2447
- }, {
2448
1966
  isContractClassPubliclyRegistered: boolean;
2449
- artifact?: any;
1967
+ artifact?: ContractArtifact | undefined;
1968
+ }, {
2450
1969
  contractClass?: {
2451
1970
  version: 1;
2452
- id: string;
2453
1971
  artifactHash: string;
2454
- packedBytecode: string | {
2455
- type: "Buffer";
2456
- data: number[];
2457
- };
2458
1972
  privateFunctions: {
2459
- vkHash: string;
2460
1973
  selector?: any;
1974
+ vkHash: string;
2461
1975
  }[];
1976
+ packedBytecode?: any;
1977
+ id: string;
2462
1978
  } | undefined;
1979
+ isContractClassPubliclyRegistered: boolean;
1980
+ artifact?: any;
2463
1981
  }>;
2464
1982
  export declare const EventMetadataDefinitionSchema: z.ZodObject<{
2465
1983
  eventSelector: z.ZodType<import("@aztec/stdlib/abi").EventSelector, any, string>;
@@ -2474,5 +1992,25 @@ export declare const EventMetadataDefinitionSchema: z.ZodObject<{
2474
1992
  abiType: import("@aztec/stdlib/abi").AbiType;
2475
1993
  fieldNames: string[];
2476
1994
  }>;
1995
+ export declare const PrivateEventSchema: ZodFor<PrivateEvent<AbiDecoded>>;
1996
+ export declare const PrivateEventFilterSchema: z.ZodObject<{
1997
+ contractAddress: ZodFor<AztecAddress>;
1998
+ scopes: z.ZodArray<ZodFor<AztecAddress>, "many">;
1999
+ 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>>;
2000
+ 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>>;
2001
+ 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>>;
2002
+ }, "strip", z.ZodTypeAny, {
2003
+ contractAddress: AztecAddress;
2004
+ scopes: AztecAddress[];
2005
+ txHash?: TxHash | undefined;
2006
+ fromBlock?: BlockNumber | undefined;
2007
+ toBlock?: BlockNumber | undefined;
2008
+ }, {
2009
+ contractAddress?: any;
2010
+ scopes: any[];
2011
+ txHash?: string | undefined;
2012
+ fromBlock?: string | number | bigint | undefined;
2013
+ toBlock?: string | number | bigint | undefined;
2014
+ }>;
2477
2015
  export declare const WalletSchema: ApiSchemaFor<Wallet>;
2478
- //# sourceMappingURL=wallet.d.ts.map
2016
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2FsbGV0LmQudHMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvd2FsbGV0L3dhbGxldC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssRUFBRSxTQUFTLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQztBQUMvRCxPQUFPLEVBQUUsV0FBVyxFQUE2QixNQUFNLGlDQUFpQyxDQUFDO0FBQ3pGLE9BQU8sS0FBSyxFQUFFLEVBQUUsRUFBRSxNQUFNLGdDQUFnQyxDQUFDO0FBQ3pELE9BQU8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