@aztec/aztec.js 0.0.1-commit.b655e406 → 0.0.1-commit.fce3e4f
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.
- package/dest/account/account.d.ts +2 -3
- package/dest/account/account.d.ts.map +1 -1
- package/dest/account/account_contract.d.ts +1 -1
- package/dest/account/account_with_secret_key.d.ts +1 -2
- package/dest/account/account_with_secret_key.d.ts.map +1 -1
- package/dest/account/index.d.ts +1 -1
- package/dest/account/interface.d.ts +1 -1
- package/dest/account/signerless_account.d.ts +2 -3
- package/dest/account/signerless_account.d.ts.map +1 -1
- package/dest/api/abi.d.ts +1 -1
- package/dest/api/account.d.ts +2 -1
- package/dest/api/account.d.ts.map +1 -1
- package/dest/api/account.js +1 -0
- package/dest/api/addresses.d.ts +1 -1
- package/dest/api/authorization.d.ts +1 -1
- package/dest/api/block.d.ts +1 -1
- package/dest/api/contract.d.ts +3 -3
- package/dest/api/contract.d.ts.map +1 -1
- package/dest/api/contract.js +1 -1
- package/dest/api/crypto.d.ts +1 -1
- package/dest/api/deployment.d.ts +1 -1
- package/dest/api/eth_address.d.ts +1 -1
- package/dest/api/ethereum.d.ts +1 -1
- package/dest/api/events.d.ts +1 -1
- package/dest/api/fee.d.ts +1 -1
- package/dest/api/fee_testing.d.ts +1 -1
- package/dest/api/fields.d.ts +1 -1
- package/dest/api/keys.d.ts +1 -1
- package/dest/api/log.d.ts +1 -1
- package/dest/api/messaging.d.ts +1 -1
- package/dest/api/node.d.ts +1 -1
- package/dest/api/note.d.ts +2 -2
- package/dest/api/note.d.ts.map +1 -1
- package/dest/api/note.js +1 -1
- package/dest/api/protocol.d.ts +1 -1
- package/dest/api/trees.d.ts +1 -1
- package/dest/api/tx.d.ts +2 -2
- package/dest/api/tx.d.ts.map +1 -1
- package/dest/api/tx.js +1 -1
- package/dest/api/utils.d.ts +1 -1
- package/dest/api/wallet.d.ts +2 -3
- package/dest/api/wallet.d.ts.map +1 -1
- package/dest/api/wallet.js +1 -2
- package/dest/authorization/call_authorization_request.d.ts +1 -22
- package/dest/authorization/call_authorization_request.d.ts.map +1 -1
- package/dest/contract/base_contract_interaction.d.ts +2 -3
- package/dest/contract/base_contract_interaction.d.ts.map +1 -1
- package/dest/contract/base_contract_interaction.js +1 -1
- package/dest/contract/batch_call.d.ts +8 -9
- package/dest/contract/batch_call.d.ts.map +1 -1
- package/dest/contract/batch_call.js +51 -33
- package/dest/contract/checker.d.ts +1 -1
- package/dest/contract/contract.d.ts +2 -2
- package/dest/contract/contract.d.ts.map +1 -1
- package/dest/contract/contract.js +4 -5
- package/dest/contract/contract_base.d.ts +5 -12
- package/dest/contract/contract_base.d.ts.map +1 -1
- package/dest/contract/contract_base.js +5 -12
- package/dest/contract/contract_function_interaction.d.ts +4 -4
- package/dest/contract/contract_function_interaction.d.ts.map +1 -1
- package/dest/contract/contract_function_interaction.js +9 -6
- package/dest/contract/deploy_method.d.ts +8 -7
- package/dest/contract/deploy_method.d.ts.map +1 -1
- package/dest/contract/deploy_method.js +8 -6
- package/dest/contract/deploy_sent_tx.d.ts +12 -7
- package/dest/contract/deploy_sent_tx.d.ts.map +1 -1
- package/dest/contract/deploy_sent_tx.js +10 -4
- package/dest/contract/get_gas_limits.d.ts +1 -1
- package/dest/contract/interaction_options.d.ts +4 -4
- package/dest/contract/interaction_options.d.ts.map +1 -1
- package/dest/contract/interaction_options.js +4 -10
- package/dest/contract/protocol_contracts.d.ts +1 -1
- package/dest/contract/sent_tx.d.ts +1 -1
- package/dest/contract/sent_tx.d.ts.map +1 -1
- package/dest/contract/unsafe_contract.d.ts +1 -1
- package/dest/contract/unsafe_contract.d.ts.map +1 -1
- package/dest/contract/unsafe_contract.js +1 -1
- package/dest/contract/wait_for_proven.d.ts +1 -1
- package/dest/deployment/broadcast_function.d.ts +1 -1
- package/dest/deployment/contract_deployer.d.ts +1 -1
- package/dest/deployment/contract_deployer.d.ts.map +1 -1
- package/dest/deployment/contract_deployer.js +1 -1
- package/dest/deployment/publish_class.d.ts +1 -1
- package/dest/deployment/publish_instance.d.ts +1 -1
- package/dest/ethereum/portal_manager.d.ts +1 -3
- package/dest/ethereum/portal_manager.d.ts.map +1 -1
- package/dest/ethereum/portal_manager.js +33 -6
- package/dest/fee/fee_juice_payment_method_with_claim.d.ts +2 -2
- package/dest/fee/fee_juice_payment_method_with_claim.d.ts.map +1 -1
- package/dest/fee/fee_juice_payment_method_with_claim.js +2 -2
- package/dest/fee/fee_payment_method.d.ts +2 -2
- package/dest/fee/fee_payment_method.d.ts.map +1 -1
- package/dest/fee/private_fee_payment_method.d.ts +2 -2
- package/dest/fee/private_fee_payment_method.d.ts.map +1 -1
- package/dest/fee/private_fee_payment_method.js +3 -3
- package/dest/fee/public_fee_payment_method.d.ts +2 -2
- package/dest/fee/public_fee_payment_method.d.ts.map +1 -1
- package/dest/fee/public_fee_payment_method.js +3 -3
- package/dest/fee/sponsored_fee_payment.d.ts +2 -2
- package/dest/fee/sponsored_fee_payment.d.ts.map +1 -1
- package/dest/fee/sponsored_fee_payment.js +2 -2
- package/dest/utils/abi_types.d.ts +1 -1
- package/dest/utils/authwit.d.ts +6 -6
- package/dest/utils/authwit.d.ts.map +1 -1
- package/dest/utils/authwit.js +21 -10
- package/dest/utils/cross_chain.d.ts +1 -1
- package/dest/utils/fee_juice.d.ts +2 -2
- package/dest/utils/fee_juice.js +1 -1
- package/dest/utils/field_compressed_string.d.ts +1 -1
- package/dest/utils/field_compressed_string.d.ts.map +1 -1
- package/dest/utils/node.d.ts +2 -2
- package/dest/utils/node.d.ts.map +1 -1
- package/dest/utils/pub_key.d.ts +1 -1
- package/dest/wallet/account_entrypoint_meta_payment_method.d.ts +2 -2
- package/dest/wallet/account_entrypoint_meta_payment_method.d.ts.map +1 -1
- package/dest/wallet/account_entrypoint_meta_payment_method.js +2 -2
- package/dest/wallet/account_manager.d.ts +1 -4
- package/dest/wallet/account_manager.d.ts.map +1 -1
- package/dest/wallet/account_manager.js +1 -1
- package/dest/wallet/deploy_account_method.d.ts +4 -4
- package/dest/wallet/deploy_account_method.d.ts.map +1 -1
- package/dest/wallet/deploy_account_method.js +1 -1
- package/dest/wallet/index.d.ts +1 -2
- package/dest/wallet/index.d.ts.map +1 -1
- package/dest/wallet/index.js +0 -1
- package/dest/wallet/wallet.d.ts +617 -1130
- package/dest/wallet/wallet.d.ts.map +1 -1
- package/dest/wallet/wallet.js +23 -39
- package/package.json +13 -12
- package/src/account/account.ts +1 -2
- package/src/account/signerless_account.ts +1 -2
- package/src/api/account.ts +1 -0
- package/src/api/contract.ts +2 -1
- package/src/api/note.ts +1 -1
- package/src/api/tx.ts +2 -0
- package/src/api/wallet.ts +1 -7
- package/src/contract/base_contract_interaction.ts +2 -3
- package/src/contract/batch_call.ts +65 -48
- package/src/contract/contract.ts +7 -5
- package/src/contract/contract_base.ts +5 -15
- package/src/contract/contract_function_interaction.ts +10 -11
- package/src/contract/deploy_method.ts +12 -11
- package/src/contract/deploy_sent_tx.ts +17 -10
- package/src/contract/interaction_options.ts +4 -10
- package/src/contract/unsafe_contract.ts +1 -1
- package/src/deployment/contract_deployer.ts +3 -2
- package/src/ethereum/portal_manager.ts +47 -12
- package/src/fee/fee_juice_payment_method_with_claim.ts +3 -1
- package/src/fee/fee_payment_method.ts +1 -1
- package/src/fee/private_fee_payment_method.ts +4 -2
- package/src/fee/public_fee_payment_method.ts +4 -2
- package/src/fee/sponsored_fee_payment.ts +3 -1
- package/src/utils/authwit.ts +20 -14
- package/src/utils/fee_juice.ts +1 -1
- package/src/wallet/account_entrypoint_meta_payment_method.ts +2 -1
- package/src/wallet/account_manager.ts +1 -1
- package/src/wallet/deploy_account_method.ts +3 -2
- package/src/wallet/index.ts +0 -1
- package/src/wallet/wallet.ts +28 -72
- package/dest/wallet/base_wallet.d.ts +0 -91
- package/dest/wallet/base_wallet.d.ts.map +0 -1
- package/dest/wallet/base_wallet.js +0 -238
- package/src/wallet/base_wallet.ts +0 -350
package/dest/wallet/wallet.d.ts
CHANGED
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
import type { ChainInfo } from '@aztec/entrypoints/interfaces';
|
|
2
|
-
import type { ExecutionPayload } from '@aztec/entrypoints/payload';
|
|
3
2
|
import type { Fr } from '@aztec/foundation/fields';
|
|
4
|
-
import { type ContractArtifact, type EventMetadataDefinition, FunctionType } from '@aztec/stdlib/abi';
|
|
3
|
+
import { type ContractArtifact, type EventMetadataDefinition, type FunctionCall, FunctionType } from '@aztec/stdlib/abi';
|
|
5
4
|
import { AuthWitness } from '@aztec/stdlib/auth-witness';
|
|
6
5
|
import type { AztecAddress } from '@aztec/stdlib/aztec-address';
|
|
7
|
-
import { type ContractClassMetadata, type ContractInstanceWithAddress, type
|
|
6
|
+
import { type ContractClassMetadata, type ContractInstanceWithAddress, type ContractMetadata } from '@aztec/stdlib/contract';
|
|
8
7
|
import { Gas } from '@aztec/stdlib/gas';
|
|
9
|
-
import { PublicKeys } from '@aztec/stdlib/keys';
|
|
10
8
|
import { type ApiSchemaFor, type ZodFor } from '@aztec/stdlib/schemas';
|
|
11
9
|
import { Capsule, HashedValues, TxHash, TxProfileResult, TxReceipt, TxSimulationResult, UtilitySimulationResult } from '@aztec/stdlib/tx';
|
|
10
|
+
import type { ExecutionPayload } from '@aztec/stdlib/tx';
|
|
12
11
|
import { z } from 'zod';
|
|
13
|
-
import type { Contract } from '../contract/contract.js';
|
|
14
12
|
import type { FeeEstimationOptions, GasSettingsOption, ProfileInteractionOptions, SendInteractionOptions, SimulateInteractionOptions } from '../contract/interaction_options.js';
|
|
15
13
|
import type { CallIntent, IntentInnerHash } from '../utils/authwit.js';
|
|
16
14
|
/**
|
|
@@ -26,20 +24,6 @@ export type Aliased<T> = {
|
|
|
26
24
|
*/
|
|
27
25
|
item: T;
|
|
28
26
|
};
|
|
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
27
|
/**
|
|
44
28
|
* Options for simulating interactions with the wallet. Overrides the fee settings of an interaction with
|
|
45
29
|
* a simplified version that only hints at the wallet wether the interaction contains a
|
|
@@ -47,7 +31,7 @@ export type UserFeeOptions = {
|
|
|
47
31
|
*/
|
|
48
32
|
export type SimulateOptions = Omit<SimulateInteractionOptions, 'fee'> & {
|
|
49
33
|
/** The fee options */
|
|
50
|
-
fee?:
|
|
34
|
+
fee?: GasSettingsOption & FeeEstimationOptions;
|
|
51
35
|
};
|
|
52
36
|
/**
|
|
53
37
|
* Options for profiling interactions with the wallet. Overrides the fee settings of an interaction with
|
|
@@ -56,7 +40,7 @@ export type SimulateOptions = Omit<SimulateInteractionOptions, 'fee'> & {
|
|
|
56
40
|
*/
|
|
57
41
|
export type ProfileOptions = Omit<ProfileInteractionOptions, 'fee'> & {
|
|
58
42
|
/** The fee options */
|
|
59
|
-
fee?:
|
|
43
|
+
fee?: GasSettingsOption;
|
|
60
44
|
};
|
|
61
45
|
/**
|
|
62
46
|
* Options for sending/proving interactions with the wallet. Overrides the fee settings of an interaction with
|
|
@@ -65,12 +49,12 @@ export type ProfileOptions = Omit<ProfileInteractionOptions, 'fee'> & {
|
|
|
65
49
|
*/
|
|
66
50
|
export type SendOptions = Omit<SendInteractionOptions, 'fee'> & {
|
|
67
51
|
/** The fee options */
|
|
68
|
-
fee?:
|
|
52
|
+
fee?: GasSettingsOption;
|
|
69
53
|
};
|
|
70
54
|
/**
|
|
71
55
|
* Helper type that represents all methods that can be batched.
|
|
72
56
|
*/
|
|
73
|
-
export type BatchableMethods = Pick<Wallet, 'registerContract' | 'sendTx' | 'registerSender' | 'simulateUtility'>;
|
|
57
|
+
export type BatchableMethods = Pick<Wallet, 'registerContract' | 'sendTx' | 'registerSender' | 'simulateUtility' | 'simulateTx'>;
|
|
74
58
|
/**
|
|
75
59
|
* From the batchable methods, we create a type that represents a method call with its name and arguments.
|
|
76
60
|
* This is what the wallet will accept as arguments to the `batch` method.
|
|
@@ -114,199 +98,14 @@ export type Wallet = {
|
|
|
114
98
|
registerSender(address: AztecAddress, alias?: string): Promise<AztecAddress>;
|
|
115
99
|
getAddressBook(): Promise<Aliased<AztecAddress>[]>;
|
|
116
100
|
getAccounts(): Promise<Aliased<AztecAddress>[]>;
|
|
117
|
-
registerContract(
|
|
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>;
|
|
101
|
+
registerContract(instance: ContractInstanceWithAddress, artifact?: ContractArtifact, secretKey?: Fr): Promise<ContractInstanceWithAddress>;
|
|
120
102
|
simulateTx(exec: ExecutionPayload, opts: SimulateOptions): Promise<TxSimulationResult>;
|
|
121
|
-
simulateUtility(
|
|
103
|
+
simulateUtility(call: FunctionCall, authwits?: AuthWitness[]): Promise<UtilitySimulationResult>;
|
|
122
104
|
profileTx(exec: ExecutionPayload, opts: ProfileOptions): Promise<TxProfileResult>;
|
|
123
105
|
sendTx(exec: ExecutionPayload, opts: SendOptions): Promise<TxHash>;
|
|
124
|
-
createAuthWit(from: AztecAddress, messageHashOrIntent: Fr |
|
|
106
|
+
createAuthWit(from: AztecAddress, messageHashOrIntent: Fr | IntentInnerHash | CallIntent): Promise<AuthWitness>;
|
|
125
107
|
batch<const T extends readonly BatchedMethod<keyof BatchableMethods>[]>(methods: T): Promise<BatchResults<T>>;
|
|
126
108
|
};
|
|
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
109
|
export declare const FunctionCallSchema: z.ZodObject<{
|
|
311
110
|
name: z.ZodString;
|
|
312
111
|
to: ZodFor<AztecAddress>;
|
|
@@ -318,22 +117,22 @@ export declare const FunctionCallSchema: z.ZodObject<{
|
|
|
318
117
|
returnTypes: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
|
|
319
118
|
}, "strip", z.ZodTypeAny, {
|
|
320
119
|
name: string;
|
|
321
|
-
args: Fr[];
|
|
322
|
-
type: FunctionType;
|
|
323
120
|
to: AztecAddress;
|
|
324
121
|
selector: import("@aztec/stdlib/abi").FunctionSelector;
|
|
122
|
+
type: FunctionType;
|
|
325
123
|
isStatic: boolean;
|
|
326
124
|
hideMsgSender: boolean;
|
|
125
|
+
args: Fr[];
|
|
327
126
|
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
328
127
|
}, {
|
|
329
128
|
name: string;
|
|
330
|
-
|
|
129
|
+
to?: any;
|
|
130
|
+
selector?: any;
|
|
331
131
|
type: FunctionType;
|
|
332
132
|
isStatic: boolean;
|
|
333
133
|
hideMsgSender: boolean;
|
|
134
|
+
args: any[];
|
|
334
135
|
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
335
|
-
to?: any;
|
|
336
|
-
selector?: any;
|
|
337
136
|
}>;
|
|
338
137
|
export declare const ExecutionPayloadSchema: z.ZodObject<{
|
|
339
138
|
calls: z.ZodArray<z.ZodObject<{
|
|
@@ -347,58 +146,61 @@ export declare const ExecutionPayloadSchema: z.ZodObject<{
|
|
|
347
146
|
returnTypes: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
|
|
348
147
|
}, "strip", z.ZodTypeAny, {
|
|
349
148
|
name: string;
|
|
350
|
-
args: Fr[];
|
|
351
|
-
type: FunctionType;
|
|
352
149
|
to: AztecAddress;
|
|
353
150
|
selector: import("@aztec/stdlib/abi").FunctionSelector;
|
|
151
|
+
type: FunctionType;
|
|
354
152
|
isStatic: boolean;
|
|
355
153
|
hideMsgSender: boolean;
|
|
154
|
+
args: Fr[];
|
|
356
155
|
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
357
156
|
}, {
|
|
358
157
|
name: string;
|
|
359
|
-
|
|
158
|
+
to?: any;
|
|
159
|
+
selector?: any;
|
|
360
160
|
type: FunctionType;
|
|
361
161
|
isStatic: boolean;
|
|
362
162
|
hideMsgSender: boolean;
|
|
163
|
+
args: any[];
|
|
363
164
|
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
364
|
-
to?: any;
|
|
365
|
-
selector?: any;
|
|
366
165
|
}>, "many">;
|
|
367
166
|
authWitnesses: z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">;
|
|
368
167
|
capsules: z.ZodArray<z.ZodType<Capsule, any, string>, "many">;
|
|
369
168
|
extraHashedArgs: z.ZodArray<ZodFor<HashedValues>, "many">;
|
|
169
|
+
feePayer: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<ZodFor<AztecAddress>>;
|
|
370
170
|
}, "strip", z.ZodTypeAny, {
|
|
371
|
-
authWitnesses: AuthWitness[];
|
|
372
|
-
capsules: Capsule[];
|
|
373
171
|
calls: {
|
|
374
172
|
name: string;
|
|
375
|
-
args: Fr[];
|
|
376
|
-
type: FunctionType;
|
|
377
173
|
to: AztecAddress;
|
|
378
174
|
selector: import("@aztec/stdlib/abi").FunctionSelector;
|
|
175
|
+
type: FunctionType;
|
|
379
176
|
isStatic: boolean;
|
|
380
177
|
hideMsgSender: boolean;
|
|
178
|
+
args: Fr[];
|
|
381
179
|
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
382
180
|
}[];
|
|
181
|
+
authWitnesses: AuthWitness[];
|
|
182
|
+
capsules: Capsule[];
|
|
383
183
|
extraHashedArgs: HashedValues[];
|
|
184
|
+
feePayer?: AztecAddress | undefined;
|
|
384
185
|
}, {
|
|
385
|
-
authWitnesses: string[];
|
|
386
|
-
capsules: string[];
|
|
387
186
|
calls: {
|
|
388
187
|
name: string;
|
|
389
|
-
|
|
188
|
+
to?: any;
|
|
189
|
+
selector?: any;
|
|
390
190
|
type: FunctionType;
|
|
391
191
|
isStatic: boolean;
|
|
392
192
|
hideMsgSender: boolean;
|
|
193
|
+
args: any[];
|
|
393
194
|
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
394
|
-
to?: any;
|
|
395
|
-
selector?: any;
|
|
396
195
|
}[];
|
|
196
|
+
authWitnesses: string[];
|
|
197
|
+
capsules: string[];
|
|
397
198
|
extraHashedArgs: any[];
|
|
199
|
+
feePayer?: any;
|
|
398
200
|
}>;
|
|
399
|
-
export declare const
|
|
400
|
-
gasSettings: import("
|
|
401
|
-
gasLimits: import("
|
|
201
|
+
export declare const GasSettingsOptionSchema: z.ZodObject<{
|
|
202
|
+
gasSettings: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
|
|
203
|
+
gasLimits: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
|
|
402
204
|
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
403
205
|
l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
404
206
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -411,7 +213,7 @@ export declare const UserFeeOptionsSchema: z.ZodObject<{
|
|
|
411
213
|
daGas: string | number | bigint;
|
|
412
214
|
l2Gas: string | number | bigint;
|
|
413
215
|
}>>;
|
|
414
|
-
teardownGasLimits: import("
|
|
216
|
+
teardownGasLimits: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
|
|
415
217
|
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
416
218
|
l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
417
219
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -424,7 +226,7 @@ export declare const UserFeeOptionsSchema: z.ZodObject<{
|
|
|
424
226
|
daGas: string | number | bigint;
|
|
425
227
|
l2Gas: string | number | bigint;
|
|
426
228
|
}>>;
|
|
427
|
-
maxFeePerGas: import("
|
|
229
|
+
maxFeePerGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
|
|
428
230
|
feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
429
231
|
feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
430
232
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -434,7 +236,7 @@ export declare const UserFeeOptionsSchema: z.ZodObject<{
|
|
|
434
236
|
feePerDaGas: string | number | bigint;
|
|
435
237
|
feePerL2Gas: string | number | bigint;
|
|
436
238
|
}>>;
|
|
437
|
-
maxPriorityFeePerGas: import("
|
|
239
|
+
maxPriorityFeePerGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
|
|
438
240
|
feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
439
241
|
feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
440
242
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -473,9 +275,7 @@ export declare const UserFeeOptionsSchema: z.ZodObject<{
|
|
|
473
275
|
feePerL2Gas: string | number | bigint;
|
|
474
276
|
} | undefined;
|
|
475
277
|
}>>;
|
|
476
|
-
embeddedPaymentMethodFeePayer: import("@aztec/foundation/schemas").ZodNullableOptional<ZodFor<AztecAddress>>;
|
|
477
278
|
}, "strip", z.ZodTypeAny, {
|
|
478
|
-
embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
|
|
479
279
|
gasSettings?: {
|
|
480
280
|
gasLimits?: Gas | undefined;
|
|
481
281
|
teardownGasLimits?: Gas | undefined;
|
|
@@ -489,7 +289,6 @@ export declare const UserFeeOptionsSchema: z.ZodObject<{
|
|
|
489
289
|
} | undefined;
|
|
490
290
|
} | undefined;
|
|
491
291
|
}, {
|
|
492
|
-
embeddedPaymentMethodFeePayer?: any;
|
|
493
292
|
gasSettings?: {
|
|
494
293
|
gasLimits?: {
|
|
495
294
|
daGas: string | number | bigint;
|
|
@@ -510,8 +309,8 @@ export declare const UserFeeOptionsSchema: z.ZodObject<{
|
|
|
510
309
|
} | undefined;
|
|
511
310
|
}>;
|
|
512
311
|
export declare const WalletSimulationFeeOptionSchema: z.ZodObject<{
|
|
513
|
-
gasSettings: import("
|
|
514
|
-
gasLimits: import("
|
|
312
|
+
gasSettings: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
|
|
313
|
+
gasLimits: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
|
|
515
314
|
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
516
315
|
l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
517
316
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -524,7 +323,7 @@ export declare const WalletSimulationFeeOptionSchema: z.ZodObject<{
|
|
|
524
323
|
daGas: string | number | bigint;
|
|
525
324
|
l2Gas: string | number | bigint;
|
|
526
325
|
}>>;
|
|
527
|
-
teardownGasLimits: import("
|
|
326
|
+
teardownGasLimits: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
|
|
528
327
|
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
529
328
|
l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
530
329
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -537,7 +336,7 @@ export declare const WalletSimulationFeeOptionSchema: z.ZodObject<{
|
|
|
537
336
|
daGas: string | number | bigint;
|
|
538
337
|
l2Gas: string | number | bigint;
|
|
539
338
|
}>>;
|
|
540
|
-
maxFeePerGas: import("
|
|
339
|
+
maxFeePerGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
|
|
541
340
|
feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
542
341
|
feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
543
342
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -547,7 +346,7 @@ export declare const WalletSimulationFeeOptionSchema: z.ZodObject<{
|
|
|
547
346
|
feePerDaGas: string | number | bigint;
|
|
548
347
|
feePerL2Gas: string | number | bigint;
|
|
549
348
|
}>>;
|
|
550
|
-
maxPriorityFeePerGas: import("
|
|
349
|
+
maxPriorityFeePerGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
|
|
551
350
|
feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
552
351
|
feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
553
352
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -586,12 +385,10 @@ export declare const WalletSimulationFeeOptionSchema: z.ZodObject<{
|
|
|
586
385
|
feePerL2Gas: string | number | bigint;
|
|
587
386
|
} | undefined;
|
|
588
387
|
}>>;
|
|
589
|
-
embeddedPaymentMethodFeePayer: import("@aztec/foundation/schemas").ZodNullableOptional<ZodFor<AztecAddress>>;
|
|
590
388
|
} & {
|
|
591
|
-
estimatedGasPadding: import("
|
|
592
|
-
estimateGas: import("
|
|
389
|
+
estimatedGasPadding: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodNumber>;
|
|
390
|
+
estimateGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodBoolean>;
|
|
593
391
|
}, "strip", z.ZodTypeAny, {
|
|
594
|
-
embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
|
|
595
392
|
gasSettings?: {
|
|
596
393
|
gasLimits?: Gas | undefined;
|
|
597
394
|
teardownGasLimits?: Gas | undefined;
|
|
@@ -604,10 +401,9 @@ export declare const WalletSimulationFeeOptionSchema: z.ZodObject<{
|
|
|
604
401
|
feePerL2Gas: bigint;
|
|
605
402
|
} | undefined;
|
|
606
403
|
} | undefined;
|
|
607
|
-
estimateGas?: boolean | undefined;
|
|
608
404
|
estimatedGasPadding?: number | undefined;
|
|
405
|
+
estimateGas?: boolean | undefined;
|
|
609
406
|
}, {
|
|
610
|
-
embeddedPaymentMethodFeePayer?: any;
|
|
611
407
|
gasSettings?: {
|
|
612
408
|
gasLimits?: {
|
|
613
409
|
daGas: string | number | bigint;
|
|
@@ -626,16 +422,16 @@ export declare const WalletSimulationFeeOptionSchema: z.ZodObject<{
|
|
|
626
422
|
feePerL2Gas: string | number | bigint;
|
|
627
423
|
} | undefined;
|
|
628
424
|
} | undefined;
|
|
629
|
-
estimateGas?: boolean | undefined;
|
|
630
425
|
estimatedGasPadding?: number | undefined;
|
|
426
|
+
estimateGas?: boolean | undefined;
|
|
631
427
|
}>;
|
|
632
428
|
export declare const SendOptionsSchema: z.ZodObject<{
|
|
633
429
|
from: ZodFor<AztecAddress>;
|
|
634
|
-
authWitnesses: import("
|
|
635
|
-
capsules: import("
|
|
636
|
-
fee: import("
|
|
637
|
-
gasSettings: import("
|
|
638
|
-
gasLimits: import("
|
|
430
|
+
authWitnesses: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">>;
|
|
431
|
+
capsules: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodArray<z.ZodType<Capsule, any, string>, "many">>;
|
|
432
|
+
fee: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
|
|
433
|
+
gasSettings: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
|
|
434
|
+
gasLimits: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
|
|
639
435
|
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
640
436
|
l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
641
437
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -648,7 +444,7 @@ export declare const SendOptionsSchema: z.ZodObject<{
|
|
|
648
444
|
daGas: string | number | bigint;
|
|
649
445
|
l2Gas: string | number | bigint;
|
|
650
446
|
}>>;
|
|
651
|
-
teardownGasLimits: import("
|
|
447
|
+
teardownGasLimits: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
|
|
652
448
|
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
653
449
|
l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
654
450
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -661,7 +457,7 @@ export declare const SendOptionsSchema: z.ZodObject<{
|
|
|
661
457
|
daGas: string | number | bigint;
|
|
662
458
|
l2Gas: string | number | bigint;
|
|
663
459
|
}>>;
|
|
664
|
-
maxFeePerGas: import("
|
|
460
|
+
maxFeePerGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
|
|
665
461
|
feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
666
462
|
feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
667
463
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -671,7 +467,7 @@ export declare const SendOptionsSchema: z.ZodObject<{
|
|
|
671
467
|
feePerDaGas: string | number | bigint;
|
|
672
468
|
feePerL2Gas: string | number | bigint;
|
|
673
469
|
}>>;
|
|
674
|
-
maxPriorityFeePerGas: import("
|
|
470
|
+
maxPriorityFeePerGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
|
|
675
471
|
feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
676
472
|
feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
677
473
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -710,9 +506,7 @@ export declare const SendOptionsSchema: z.ZodObject<{
|
|
|
710
506
|
feePerL2Gas: string | number | bigint;
|
|
711
507
|
} | undefined;
|
|
712
508
|
}>>;
|
|
713
|
-
embeddedPaymentMethodFeePayer: import("@aztec/foundation/schemas").ZodNullableOptional<ZodFor<AztecAddress>>;
|
|
714
509
|
}, "strip", z.ZodTypeAny, {
|
|
715
|
-
embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
|
|
716
510
|
gasSettings?: {
|
|
717
511
|
gasLimits?: Gas | undefined;
|
|
718
512
|
teardownGasLimits?: Gas | undefined;
|
|
@@ -726,7 +520,6 @@ export declare const SendOptionsSchema: z.ZodObject<{
|
|
|
726
520
|
} | undefined;
|
|
727
521
|
} | undefined;
|
|
728
522
|
}, {
|
|
729
|
-
embeddedPaymentMethodFeePayer?: any;
|
|
730
523
|
gasSettings?: {
|
|
731
524
|
gasLimits?: {
|
|
732
525
|
daGas: string | number | bigint;
|
|
@@ -748,8 +541,9 @@ export declare const SendOptionsSchema: z.ZodObject<{
|
|
|
748
541
|
}>>;
|
|
749
542
|
}, "strip", z.ZodTypeAny, {
|
|
750
543
|
from: AztecAddress;
|
|
544
|
+
authWitnesses?: AuthWitness[] | undefined;
|
|
545
|
+
capsules?: Capsule[] | undefined;
|
|
751
546
|
fee?: {
|
|
752
|
-
embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
|
|
753
547
|
gasSettings?: {
|
|
754
548
|
gasLimits?: Gas | undefined;
|
|
755
549
|
teardownGasLimits?: Gas | undefined;
|
|
@@ -763,11 +557,11 @@ export declare const SendOptionsSchema: z.ZodObject<{
|
|
|
763
557
|
} | undefined;
|
|
764
558
|
} | undefined;
|
|
765
559
|
} | undefined;
|
|
766
|
-
authWitnesses?: AuthWitness[] | undefined;
|
|
767
|
-
capsules?: Capsule[] | undefined;
|
|
768
560
|
}, {
|
|
561
|
+
from?: any;
|
|
562
|
+
authWitnesses?: string[] | undefined;
|
|
563
|
+
capsules?: string[] | undefined;
|
|
769
564
|
fee?: {
|
|
770
|
-
embeddedPaymentMethodFeePayer?: any;
|
|
771
565
|
gasSettings?: {
|
|
772
566
|
gasLimits?: {
|
|
773
567
|
daGas: string | number | bigint;
|
|
@@ -787,17 +581,14 @@ export declare const SendOptionsSchema: z.ZodObject<{
|
|
|
787
581
|
} | undefined;
|
|
788
582
|
} | undefined;
|
|
789
583
|
} | undefined;
|
|
790
|
-
authWitnesses?: string[] | undefined;
|
|
791
|
-
capsules?: string[] | undefined;
|
|
792
|
-
from?: any;
|
|
793
584
|
}>;
|
|
794
585
|
export declare const SimulateOptionsSchema: z.ZodObject<{
|
|
795
586
|
from: ZodFor<AztecAddress>;
|
|
796
|
-
authWitnesses: import("
|
|
797
|
-
capsules: import("
|
|
798
|
-
fee: import("
|
|
799
|
-
gasSettings: import("
|
|
800
|
-
gasLimits: import("
|
|
587
|
+
authWitnesses: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">>;
|
|
588
|
+
capsules: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodArray<z.ZodType<Capsule, any, string>, "many">>;
|
|
589
|
+
fee: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
|
|
590
|
+
gasSettings: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
|
|
591
|
+
gasLimits: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
|
|
801
592
|
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
802
593
|
l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
803
594
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -810,7 +601,7 @@ export declare const SimulateOptionsSchema: z.ZodObject<{
|
|
|
810
601
|
daGas: string | number | bigint;
|
|
811
602
|
l2Gas: string | number | bigint;
|
|
812
603
|
}>>;
|
|
813
|
-
teardownGasLimits: import("
|
|
604
|
+
teardownGasLimits: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
|
|
814
605
|
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
815
606
|
l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
816
607
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -823,7 +614,7 @@ export declare const SimulateOptionsSchema: z.ZodObject<{
|
|
|
823
614
|
daGas: string | number | bigint;
|
|
824
615
|
l2Gas: string | number | bigint;
|
|
825
616
|
}>>;
|
|
826
|
-
maxFeePerGas: import("
|
|
617
|
+
maxFeePerGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
|
|
827
618
|
feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
828
619
|
feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
829
620
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -833,7 +624,7 @@ export declare const SimulateOptionsSchema: z.ZodObject<{
|
|
|
833
624
|
feePerDaGas: string | number | bigint;
|
|
834
625
|
feePerL2Gas: string | number | bigint;
|
|
835
626
|
}>>;
|
|
836
|
-
maxPriorityFeePerGas: import("
|
|
627
|
+
maxPriorityFeePerGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
|
|
837
628
|
feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
838
629
|
feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
839
630
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -872,12 +663,10 @@ export declare const SimulateOptionsSchema: z.ZodObject<{
|
|
|
872
663
|
feePerL2Gas: string | number | bigint;
|
|
873
664
|
} | undefined;
|
|
874
665
|
}>>;
|
|
875
|
-
embeddedPaymentMethodFeePayer: import("@aztec/foundation/schemas").ZodNullableOptional<ZodFor<AztecAddress>>;
|
|
876
666
|
} & {
|
|
877
|
-
estimatedGasPadding: import("
|
|
878
|
-
estimateGas: import("
|
|
667
|
+
estimatedGasPadding: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodNumber>;
|
|
668
|
+
estimateGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodBoolean>;
|
|
879
669
|
}, "strip", z.ZodTypeAny, {
|
|
880
|
-
embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
|
|
881
670
|
gasSettings?: {
|
|
882
671
|
gasLimits?: Gas | undefined;
|
|
883
672
|
teardownGasLimits?: Gas | undefined;
|
|
@@ -890,10 +679,9 @@ export declare const SimulateOptionsSchema: z.ZodObject<{
|
|
|
890
679
|
feePerL2Gas: bigint;
|
|
891
680
|
} | undefined;
|
|
892
681
|
} | undefined;
|
|
893
|
-
estimateGas?: boolean | undefined;
|
|
894
682
|
estimatedGasPadding?: number | undefined;
|
|
683
|
+
estimateGas?: boolean | undefined;
|
|
895
684
|
}, {
|
|
896
|
-
embeddedPaymentMethodFeePayer?: any;
|
|
897
685
|
gasSettings?: {
|
|
898
686
|
gasLimits?: {
|
|
899
687
|
daGas: string | number | bigint;
|
|
@@ -912,16 +700,17 @@ export declare const SimulateOptionsSchema: z.ZodObject<{
|
|
|
912
700
|
feePerL2Gas: string | number | bigint;
|
|
913
701
|
} | undefined;
|
|
914
702
|
} | undefined;
|
|
915
|
-
estimateGas?: boolean | undefined;
|
|
916
703
|
estimatedGasPadding?: number | undefined;
|
|
704
|
+
estimateGas?: boolean | undefined;
|
|
917
705
|
}>>;
|
|
918
|
-
skipTxValidation: import("
|
|
919
|
-
skipFeeEnforcement: import("
|
|
920
|
-
includeMetadata: import("
|
|
706
|
+
skipTxValidation: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodBoolean>;
|
|
707
|
+
skipFeeEnforcement: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodBoolean>;
|
|
708
|
+
includeMetadata: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodBoolean>;
|
|
921
709
|
}, "strip", z.ZodTypeAny, {
|
|
922
710
|
from: AztecAddress;
|
|
711
|
+
authWitnesses?: AuthWitness[] | undefined;
|
|
712
|
+
capsules?: Capsule[] | undefined;
|
|
923
713
|
fee?: {
|
|
924
|
-
embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
|
|
925
714
|
gasSettings?: {
|
|
926
715
|
gasLimits?: Gas | undefined;
|
|
927
716
|
teardownGasLimits?: Gas | undefined;
|
|
@@ -934,17 +723,17 @@ export declare const SimulateOptionsSchema: z.ZodObject<{
|
|
|
934
723
|
feePerL2Gas: bigint;
|
|
935
724
|
} | undefined;
|
|
936
725
|
} | undefined;
|
|
937
|
-
estimateGas?: boolean | undefined;
|
|
938
726
|
estimatedGasPadding?: number | undefined;
|
|
727
|
+
estimateGas?: boolean | undefined;
|
|
939
728
|
} | undefined;
|
|
940
|
-
authWitnesses?: AuthWitness[] | undefined;
|
|
941
|
-
capsules?: Capsule[] | undefined;
|
|
942
729
|
skipTxValidation?: boolean | undefined;
|
|
943
730
|
skipFeeEnforcement?: boolean | undefined;
|
|
944
731
|
includeMetadata?: boolean | undefined;
|
|
945
732
|
}, {
|
|
733
|
+
from?: any;
|
|
734
|
+
authWitnesses?: string[] | undefined;
|
|
735
|
+
capsules?: string[] | undefined;
|
|
946
736
|
fee?: {
|
|
947
|
-
embeddedPaymentMethodFeePayer?: any;
|
|
948
737
|
gasSettings?: {
|
|
949
738
|
gasLimits?: {
|
|
950
739
|
daGas: string | number | bigint;
|
|
@@ -963,23 +752,20 @@ export declare const SimulateOptionsSchema: z.ZodObject<{
|
|
|
963
752
|
feePerL2Gas: string | number | bigint;
|
|
964
753
|
} | undefined;
|
|
965
754
|
} | undefined;
|
|
966
|
-
estimateGas?: boolean | undefined;
|
|
967
755
|
estimatedGasPadding?: number | undefined;
|
|
756
|
+
estimateGas?: boolean | undefined;
|
|
968
757
|
} | undefined;
|
|
969
|
-
authWitnesses?: string[] | undefined;
|
|
970
|
-
capsules?: string[] | undefined;
|
|
971
|
-
from?: any;
|
|
972
758
|
skipTxValidation?: boolean | undefined;
|
|
973
759
|
skipFeeEnforcement?: boolean | undefined;
|
|
974
760
|
includeMetadata?: boolean | undefined;
|
|
975
761
|
}>;
|
|
976
762
|
export declare const ProfileOptionsSchema: z.ZodObject<{
|
|
977
763
|
from: ZodFor<AztecAddress>;
|
|
978
|
-
authWitnesses: import("
|
|
979
|
-
capsules: import("
|
|
980
|
-
fee: import("
|
|
981
|
-
gasSettings: import("
|
|
982
|
-
gasLimits: import("
|
|
764
|
+
authWitnesses: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">>;
|
|
765
|
+
capsules: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodArray<z.ZodType<Capsule, any, string>, "many">>;
|
|
766
|
+
fee: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
|
|
767
|
+
gasSettings: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
|
|
768
|
+
gasLimits: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
|
|
983
769
|
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
984
770
|
l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
985
771
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -992,7 +778,7 @@ export declare const ProfileOptionsSchema: z.ZodObject<{
|
|
|
992
778
|
daGas: string | number | bigint;
|
|
993
779
|
l2Gas: string | number | bigint;
|
|
994
780
|
}>>;
|
|
995
|
-
teardownGasLimits: import("
|
|
781
|
+
teardownGasLimits: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
|
|
996
782
|
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
997
783
|
l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
998
784
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1005,7 +791,7 @@ export declare const ProfileOptionsSchema: z.ZodObject<{
|
|
|
1005
791
|
daGas: string | number | bigint;
|
|
1006
792
|
l2Gas: string | number | bigint;
|
|
1007
793
|
}>>;
|
|
1008
|
-
maxFeePerGas: import("
|
|
794
|
+
maxFeePerGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
|
|
1009
795
|
feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
1010
796
|
feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
1011
797
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1015,7 +801,7 @@ export declare const ProfileOptionsSchema: z.ZodObject<{
|
|
|
1015
801
|
feePerDaGas: string | number | bigint;
|
|
1016
802
|
feePerL2Gas: string | number | bigint;
|
|
1017
803
|
}>>;
|
|
1018
|
-
maxPriorityFeePerGas: import("
|
|
804
|
+
maxPriorityFeePerGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
|
|
1019
805
|
feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
1020
806
|
feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
1021
807
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1054,12 +840,10 @@ export declare const ProfileOptionsSchema: z.ZodObject<{
|
|
|
1054
840
|
feePerL2Gas: string | number | bigint;
|
|
1055
841
|
} | undefined;
|
|
1056
842
|
}>>;
|
|
1057
|
-
embeddedPaymentMethodFeePayer: import("@aztec/foundation/schemas").ZodNullableOptional<ZodFor<AztecAddress>>;
|
|
1058
843
|
} & {
|
|
1059
|
-
estimatedGasPadding: import("
|
|
1060
|
-
estimateGas: import("
|
|
844
|
+
estimatedGasPadding: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodNumber>;
|
|
845
|
+
estimateGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodBoolean>;
|
|
1061
846
|
}, "strip", z.ZodTypeAny, {
|
|
1062
|
-
embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
|
|
1063
847
|
gasSettings?: {
|
|
1064
848
|
gasLimits?: Gas | undefined;
|
|
1065
849
|
teardownGasLimits?: Gas | undefined;
|
|
@@ -1072,10 +856,9 @@ export declare const ProfileOptionsSchema: z.ZodObject<{
|
|
|
1072
856
|
feePerL2Gas: bigint;
|
|
1073
857
|
} | undefined;
|
|
1074
858
|
} | undefined;
|
|
1075
|
-
estimateGas?: boolean | undefined;
|
|
1076
859
|
estimatedGasPadding?: number | undefined;
|
|
860
|
+
estimateGas?: boolean | undefined;
|
|
1077
861
|
}, {
|
|
1078
|
-
embeddedPaymentMethodFeePayer?: any;
|
|
1079
862
|
gasSettings?: {
|
|
1080
863
|
gasLimits?: {
|
|
1081
864
|
daGas: string | number | bigint;
|
|
@@ -1094,20 +877,20 @@ export declare const ProfileOptionsSchema: z.ZodObject<{
|
|
|
1094
877
|
feePerL2Gas: string | number | bigint;
|
|
1095
878
|
} | undefined;
|
|
1096
879
|
} | undefined;
|
|
1097
|
-
estimateGas?: boolean | undefined;
|
|
1098
880
|
estimatedGasPadding?: number | undefined;
|
|
881
|
+
estimateGas?: boolean | undefined;
|
|
1099
882
|
}>>;
|
|
1100
|
-
skipTxValidation: import("
|
|
1101
|
-
skipFeeEnforcement: import("
|
|
1102
|
-
includeMetadata: import("
|
|
883
|
+
skipTxValidation: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodBoolean>;
|
|
884
|
+
skipFeeEnforcement: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodBoolean>;
|
|
885
|
+
includeMetadata: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodBoolean>;
|
|
1103
886
|
} & {
|
|
1104
887
|
profileMode: z.ZodEnum<["gates", "execution-steps", "full"]>;
|
|
1105
|
-
skipProofGeneration: import("
|
|
888
|
+
skipProofGeneration: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodBoolean>;
|
|
1106
889
|
}, "strip", z.ZodTypeAny, {
|
|
1107
890
|
from: AztecAddress;
|
|
1108
|
-
|
|
891
|
+
authWitnesses?: AuthWitness[] | undefined;
|
|
892
|
+
capsules?: Capsule[] | undefined;
|
|
1109
893
|
fee?: {
|
|
1110
|
-
embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
|
|
1111
894
|
gasSettings?: {
|
|
1112
895
|
gasLimits?: Gas | undefined;
|
|
1113
896
|
teardownGasLimits?: Gas | undefined;
|
|
@@ -1120,19 +903,19 @@ export declare const ProfileOptionsSchema: z.ZodObject<{
|
|
|
1120
903
|
feePerL2Gas: bigint;
|
|
1121
904
|
} | undefined;
|
|
1122
905
|
} | undefined;
|
|
1123
|
-
estimateGas?: boolean | undefined;
|
|
1124
906
|
estimatedGasPadding?: number | undefined;
|
|
907
|
+
estimateGas?: boolean | undefined;
|
|
1125
908
|
} | undefined;
|
|
1126
|
-
authWitnesses?: AuthWitness[] | undefined;
|
|
1127
|
-
capsules?: Capsule[] | undefined;
|
|
1128
909
|
skipTxValidation?: boolean | undefined;
|
|
1129
910
|
skipFeeEnforcement?: boolean | undefined;
|
|
1130
911
|
includeMetadata?: boolean | undefined;
|
|
912
|
+
profileMode: "execution-steps" | "full" | "gates";
|
|
1131
913
|
skipProofGeneration?: boolean | undefined;
|
|
1132
914
|
}, {
|
|
1133
|
-
|
|
915
|
+
from?: any;
|
|
916
|
+
authWitnesses?: string[] | undefined;
|
|
917
|
+
capsules?: string[] | undefined;
|
|
1134
918
|
fee?: {
|
|
1135
|
-
embeddedPaymentMethodFeePayer?: any;
|
|
1136
919
|
gasSettings?: {
|
|
1137
920
|
gasLimits?: {
|
|
1138
921
|
daGas: string | number | bigint;
|
|
@@ -1151,256 +934,91 @@ export declare const ProfileOptionsSchema: z.ZodObject<{
|
|
|
1151
934
|
feePerL2Gas: string | number | bigint;
|
|
1152
935
|
} | undefined;
|
|
1153
936
|
} | undefined;
|
|
1154
|
-
estimateGas?: boolean | undefined;
|
|
1155
937
|
estimatedGasPadding?: number | undefined;
|
|
938
|
+
estimateGas?: boolean | undefined;
|
|
1156
939
|
} | undefined;
|
|
1157
|
-
authWitnesses?: string[] | undefined;
|
|
1158
|
-
capsules?: string[] | undefined;
|
|
1159
|
-
from?: any;
|
|
1160
940
|
skipTxValidation?: boolean | undefined;
|
|
1161
941
|
skipFeeEnforcement?: boolean | undefined;
|
|
1162
942
|
includeMetadata?: boolean | undefined;
|
|
943
|
+
profileMode: "execution-steps" | "full" | "gates";
|
|
1163
944
|
skipProofGeneration?: boolean | undefined;
|
|
1164
945
|
}>;
|
|
1165
|
-
export declare const
|
|
1166
|
-
|
|
1167
|
-
|
|
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
|
-
}>;
|
|
946
|
+
export declare const MessageHashOrIntentSchema: z.ZodUnion<[ZodFor<Fr>, z.ZodObject<{
|
|
947
|
+
consumer: ZodFor<AztecAddress>;
|
|
948
|
+
innerHash: ZodFor<Fr>;
|
|
1193
949
|
}, "strip", z.ZodTypeAny, {
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
deployer: AztecAddress;
|
|
1197
|
-
currentContractClassId: Fr;
|
|
1198
|
-
originalContractClassId: Fr;
|
|
1199
|
-
initializationHash: Fr;
|
|
1200
|
-
publicKeys: PublicKeys;
|
|
950
|
+
consumer: AztecAddress;
|
|
951
|
+
innerHash: Fr;
|
|
1201
952
|
}, {
|
|
1202
|
-
|
|
1203
|
-
|
|
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;
|
|
953
|
+
consumer?: any;
|
|
954
|
+
innerHash?: any;
|
|
1214
955
|
}>, z.ZodObject<{
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
address: AztecAddress;
|
|
1218
|
-
}, {
|
|
1219
|
-
address?: any;
|
|
1220
|
-
}>>, z.ZodObject<{
|
|
1221
|
-
constructorArtifact: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodObject<{
|
|
956
|
+
caller: ZodFor<AztecAddress>;
|
|
957
|
+
call: z.ZodObject<{
|
|
1222
958
|
name: z.ZodString;
|
|
1223
|
-
|
|
1224
|
-
|
|
959
|
+
to: ZodFor<AztecAddress>;
|
|
960
|
+
selector: ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
|
|
961
|
+
type: z.ZodNativeEnum<typeof FunctionType>;
|
|
1225
962
|
isStatic: z.ZodBoolean;
|
|
1226
|
-
|
|
1227
|
-
|
|
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">;
|
|
963
|
+
hideMsgSender: z.ZodBoolean;
|
|
964
|
+
args: z.ZodArray<ZodFor<Fr>, "many">;
|
|
1240
965
|
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
966
|
}, "strip", z.ZodTypeAny, {
|
|
1270
967
|
name: string;
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
visibility: "public" | "private" | "databus";
|
|
1275
|
-
}[];
|
|
1276
|
-
functionType: FunctionType;
|
|
1277
|
-
isInternal: boolean;
|
|
968
|
+
to: AztecAddress;
|
|
969
|
+
selector: import("@aztec/stdlib/abi").FunctionSelector;
|
|
970
|
+
type: FunctionType;
|
|
1278
971
|
isStatic: boolean;
|
|
1279
|
-
|
|
972
|
+
hideMsgSender: boolean;
|
|
973
|
+
args: Fr[];
|
|
1280
974
|
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
975
|
}, {
|
|
1292
976
|
name: string;
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
visibility: "public" | "private" | "databus";
|
|
1297
|
-
}[];
|
|
1298
|
-
functionType: FunctionType;
|
|
1299
|
-
isInternal: boolean;
|
|
977
|
+
to?: any;
|
|
978
|
+
selector?: any;
|
|
979
|
+
type: FunctionType;
|
|
1300
980
|
isStatic: boolean;
|
|
1301
|
-
|
|
981
|
+
hideMsgSender: boolean;
|
|
982
|
+
args: any[];
|
|
1302
983
|
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
1303
|
-
|
|
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>>;
|
|
984
|
+
}>;
|
|
1339
985
|
}, "strip", z.ZodTypeAny, {
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
publicKeys?: PublicKeys | undefined;
|
|
1343
|
-
constructorArgs?: any[] | undefined;
|
|
1344
|
-
constructorArtifact?: string | {
|
|
986
|
+
caller: AztecAddress;
|
|
987
|
+
call: {
|
|
1345
988
|
name: string;
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
visibility: "public" | "private" | "databus";
|
|
1350
|
-
}[];
|
|
1351
|
-
functionType: FunctionType;
|
|
1352
|
-
isInternal: boolean;
|
|
989
|
+
to: AztecAddress;
|
|
990
|
+
selector: import("@aztec/stdlib/abi").FunctionSelector;
|
|
991
|
+
type: FunctionType;
|
|
1353
992
|
isStatic: boolean;
|
|
1354
|
-
|
|
993
|
+
hideMsgSender: boolean;
|
|
994
|
+
args: Fr[];
|
|
1355
995
|
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
1356
|
-
|
|
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;
|
|
996
|
+
};
|
|
1368
997
|
}, {
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
publicKeys?: {
|
|
1372
|
-
masterNullifierPublicKey: string;
|
|
1373
|
-
masterIncomingViewingPublicKey: string;
|
|
1374
|
-
masterOutgoingViewingPublicKey: string;
|
|
1375
|
-
masterTaggingPublicKey: string;
|
|
1376
|
-
} | undefined;
|
|
1377
|
-
constructorArgs?: any[] | undefined;
|
|
1378
|
-
constructorArtifact?: string | {
|
|
998
|
+
caller?: any;
|
|
999
|
+
call: {
|
|
1379
1000
|
name: string;
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
visibility: "public" | "private" | "databus";
|
|
1384
|
-
}[];
|
|
1385
|
-
functionType: FunctionType;
|
|
1386
|
-
isInternal: boolean;
|
|
1001
|
+
to?: any;
|
|
1002
|
+
selector?: any;
|
|
1003
|
+
type: FunctionType;
|
|
1387
1004
|
isStatic: boolean;
|
|
1388
|
-
|
|
1005
|
+
hideMsgSender: boolean;
|
|
1006
|
+
args: any[];
|
|
1389
1007
|
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
skipArgsDecoding?: boolean | undefined;
|
|
1008
|
+
};
|
|
1009
|
+
}>]>;
|
|
1010
|
+
export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
1011
|
+
name: z.ZodLiteral<"registerSender">;
|
|
1012
|
+
args: z.ZodTuple<[ZodFor<AztecAddress>, import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodString>], null>;
|
|
1013
|
+
}, "strip", z.ZodTypeAny, {
|
|
1014
|
+
name: "registerSender";
|
|
1015
|
+
args: [AztecAddress, string | undefined];
|
|
1016
|
+
}, {
|
|
1017
|
+
name: "registerSender";
|
|
1018
|
+
args: [any, string | undefined];
|
|
1402
1019
|
}>, z.ZodObject<{
|
|
1403
|
-
|
|
1020
|
+
name: z.ZodLiteral<"registerContract">;
|
|
1021
|
+
args: z.ZodTuple<[z.ZodIntersection<z.ZodObject<{
|
|
1404
1022
|
version: z.ZodLiteral<1>;
|
|
1405
1023
|
salt: ZodFor<Fr>;
|
|
1406
1024
|
deployer: ZodFor<AztecAddress>;
|
|
@@ -1422,7 +1040,7 @@ export declare const InstanceDataSchema: z.ZodUnion<[ZodFor<AztecAddress>, z.Zod
|
|
|
1422
1040
|
masterIncomingViewingPublicKey: string;
|
|
1423
1041
|
masterOutgoingViewingPublicKey: string;
|
|
1424
1042
|
masterTaggingPublicKey: string;
|
|
1425
|
-
}>, PublicKeys, {
|
|
1043
|
+
}>, import("../api/keys.js").PublicKeys, {
|
|
1426
1044
|
masterNullifierPublicKey: string;
|
|
1427
1045
|
masterIncomingViewingPublicKey: string;
|
|
1428
1046
|
masterOutgoingViewingPublicKey: string;
|
|
@@ -1435,546 +1053,414 @@ export declare const InstanceDataSchema: z.ZodUnion<[ZodFor<AztecAddress>, z.Zod
|
|
|
1435
1053
|
currentContractClassId: Fr;
|
|
1436
1054
|
originalContractClassId: Fr;
|
|
1437
1055
|
initializationHash: Fr;
|
|
1438
|
-
publicKeys: PublicKeys;
|
|
1056
|
+
publicKeys: import("../api/keys.js").PublicKeys;
|
|
1439
1057
|
}, {
|
|
1440
1058
|
version: 1;
|
|
1059
|
+
salt?: any;
|
|
1060
|
+
deployer?: any;
|
|
1061
|
+
currentContractClassId?: any;
|
|
1062
|
+
originalContractClassId?: any;
|
|
1063
|
+
initializationHash?: any;
|
|
1441
1064
|
publicKeys: {
|
|
1442
1065
|
masterNullifierPublicKey: string;
|
|
1443
1066
|
masterIncomingViewingPublicKey: string;
|
|
1444
1067
|
masterOutgoingViewingPublicKey: string;
|
|
1445
1068
|
masterTaggingPublicKey: string;
|
|
1446
1069
|
};
|
|
1447
|
-
salt?: any;
|
|
1448
|
-
deployer?: any;
|
|
1449
|
-
currentContractClassId?: any;
|
|
1450
|
-
originalContractClassId?: any;
|
|
1451
|
-
initializationHash?: any;
|
|
1452
1070
|
}>, z.ZodObject<{
|
|
1453
1071
|
address: ZodFor<AztecAddress>;
|
|
1454
1072
|
}, "strip", z.ZodTypeAny, {
|
|
1455
1073
|
address: AztecAddress;
|
|
1456
1074
|
}, {
|
|
1457
1075
|
address?: any;
|
|
1458
|
-
}
|
|
1459
|
-
artifact: ZodFor<ContractArtifact>;
|
|
1076
|
+
}>>, import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<ZodFor<ContractArtifact>>, import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<ZodFor<Fr>>], null>;
|
|
1460
1077
|
}, "strip", z.ZodTypeAny, {
|
|
1461
|
-
|
|
1462
|
-
|
|
1078
|
+
name: "registerContract";
|
|
1079
|
+
args: [{
|
|
1463
1080
|
version: 1;
|
|
1464
1081
|
salt: Fr;
|
|
1465
1082
|
deployer: AztecAddress;
|
|
1466
1083
|
currentContractClassId: Fr;
|
|
1467
1084
|
originalContractClassId: Fr;
|
|
1468
1085
|
initializationHash: Fr;
|
|
1469
|
-
publicKeys: PublicKeys;
|
|
1086
|
+
publicKeys: import("../api/keys.js").PublicKeys;
|
|
1470
1087
|
} & {
|
|
1471
1088
|
address: AztecAddress;
|
|
1472
|
-
};
|
|
1089
|
+
}, ContractArtifact | undefined, Fr | undefined];
|
|
1473
1090
|
}, {
|
|
1474
|
-
|
|
1091
|
+
name: "registerContract";
|
|
1092
|
+
args: [{
|
|
1475
1093
|
version: 1;
|
|
1094
|
+
salt?: any;
|
|
1095
|
+
deployer?: any;
|
|
1096
|
+
currentContractClassId?: any;
|
|
1097
|
+
originalContractClassId?: any;
|
|
1098
|
+
initializationHash?: any;
|
|
1476
1099
|
publicKeys: {
|
|
1477
1100
|
masterNullifierPublicKey: string;
|
|
1478
1101
|
masterIncomingViewingPublicKey: string;
|
|
1479
1102
|
masterOutgoingViewingPublicKey: string;
|
|
1480
1103
|
masterTaggingPublicKey: string;
|
|
1481
1104
|
};
|
|
1482
|
-
salt?: any;
|
|
1483
|
-
deployer?: any;
|
|
1484
|
-
currentContractClassId?: any;
|
|
1485
|
-
originalContractClassId?: any;
|
|
1486
|
-
initializationHash?: any;
|
|
1487
1105
|
} & {
|
|
1488
1106
|
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;
|
|
1107
|
+
}, any, any];
|
|
1525
1108
|
}>, z.ZodObject<{
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
to: ZodFor<AztecAddress>;
|
|
1530
|
-
selector: ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
|
|
1531
|
-
type: z.ZodNativeEnum<typeof FunctionType>;
|
|
1532
|
-
isStatic: z.ZodBoolean;
|
|
1533
|
-
hideMsgSender: z.ZodBoolean;
|
|
1534
|
-
args: z.ZodArray<ZodFor<Fr>, "many">;
|
|
1535
|
-
returnTypes: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
|
|
1536
|
-
}, "strip", z.ZodTypeAny, {
|
|
1537
|
-
name: string;
|
|
1538
|
-
args: Fr[];
|
|
1539
|
-
type: FunctionType;
|
|
1540
|
-
to: AztecAddress;
|
|
1541
|
-
selector: import("@aztec/stdlib/abi").FunctionSelector;
|
|
1542
|
-
isStatic: boolean;
|
|
1543
|
-
hideMsgSender: boolean;
|
|
1544
|
-
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
1545
|
-
}, {
|
|
1546
|
-
name: string;
|
|
1547
|
-
args: any[];
|
|
1548
|
-
type: FunctionType;
|
|
1549
|
-
isStatic: boolean;
|
|
1550
|
-
hideMsgSender: boolean;
|
|
1551
|
-
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
1552
|
-
to?: any;
|
|
1553
|
-
selector?: any;
|
|
1554
|
-
}>;
|
|
1555
|
-
}, "strip", z.ZodTypeAny, {
|
|
1556
|
-
caller: AztecAddress;
|
|
1557
|
-
call: {
|
|
1558
|
-
name: string;
|
|
1559
|
-
args: Fr[];
|
|
1560
|
-
type: FunctionType;
|
|
1561
|
-
to: AztecAddress;
|
|
1562
|
-
selector: import("@aztec/stdlib/abi").FunctionSelector;
|
|
1563
|
-
isStatic: boolean;
|
|
1564
|
-
hideMsgSender: boolean;
|
|
1565
|
-
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
1566
|
-
};
|
|
1567
|
-
}, {
|
|
1568
|
-
call: {
|
|
1569
|
-
name: string;
|
|
1570
|
-
args: any[];
|
|
1571
|
-
type: FunctionType;
|
|
1572
|
-
isStatic: boolean;
|
|
1573
|
-
hideMsgSender: boolean;
|
|
1574
|
-
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
1575
|
-
to?: any;
|
|
1576
|
-
selector?: any;
|
|
1577
|
-
};
|
|
1578
|
-
caller?: any;
|
|
1579
|
-
}>]>;
|
|
1580
|
-
export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
1581
|
-
name: z.ZodLiteral<"registerSender">;
|
|
1582
|
-
args: z.ZodTuple<[ZodFor<AztecAddress>, import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>], null>;
|
|
1583
|
-
}, "strip", z.ZodTypeAny, {
|
|
1584
|
-
name: "registerSender";
|
|
1585
|
-
args: [AztecAddress, string | undefined];
|
|
1586
|
-
}, {
|
|
1587
|
-
name: "registerSender";
|
|
1588
|
-
args: [any, string | undefined];
|
|
1589
|
-
}>, z.ZodObject<{
|
|
1590
|
-
name: z.ZodLiteral<"registerContract">;
|
|
1591
|
-
args: z.ZodTuple<[z.ZodUnion<[ZodFor<AztecAddress>, z.ZodIntersection<z.ZodObject<{
|
|
1592
|
-
version: z.ZodLiteral<1>;
|
|
1593
|
-
salt: ZodFor<Fr>;
|
|
1594
|
-
deployer: ZodFor<AztecAddress>;
|
|
1595
|
-
currentContractClassId: ZodFor<Fr>;
|
|
1596
|
-
originalContractClassId: ZodFor<Fr>;
|
|
1597
|
-
initializationHash: ZodFor<Fr>;
|
|
1598
|
-
publicKeys: z.ZodEffects<z.ZodObject<{
|
|
1599
|
-
masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
1600
|
-
masterIncomingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
1601
|
-
masterOutgoingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
1602
|
-
masterTaggingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
1603
|
-
}, "strip", z.ZodTypeAny, {
|
|
1604
|
-
masterNullifierPublicKey: import("@aztec/foundation/fields").Point;
|
|
1605
|
-
masterIncomingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
1606
|
-
masterOutgoingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
1607
|
-
masterTaggingPublicKey: import("@aztec/foundation/fields").Point;
|
|
1608
|
-
}, {
|
|
1609
|
-
masterNullifierPublicKey: string;
|
|
1610
|
-
masterIncomingViewingPublicKey: string;
|
|
1611
|
-
masterOutgoingViewingPublicKey: string;
|
|
1612
|
-
masterTaggingPublicKey: string;
|
|
1613
|
-
}>, PublicKeys, {
|
|
1614
|
-
masterNullifierPublicKey: string;
|
|
1615
|
-
masterIncomingViewingPublicKey: string;
|
|
1616
|
-
masterOutgoingViewingPublicKey: string;
|
|
1617
|
-
masterTaggingPublicKey: string;
|
|
1618
|
-
}>;
|
|
1619
|
-
}, "strip", z.ZodTypeAny, {
|
|
1620
|
-
version: 1;
|
|
1621
|
-
salt: Fr;
|
|
1622
|
-
deployer: AztecAddress;
|
|
1623
|
-
currentContractClassId: Fr;
|
|
1624
|
-
originalContractClassId: Fr;
|
|
1625
|
-
initializationHash: Fr;
|
|
1626
|
-
publicKeys: PublicKeys;
|
|
1627
|
-
}, {
|
|
1628
|
-
version: 1;
|
|
1629
|
-
publicKeys: {
|
|
1630
|
-
masterNullifierPublicKey: string;
|
|
1631
|
-
masterIncomingViewingPublicKey: string;
|
|
1632
|
-
masterOutgoingViewingPublicKey: string;
|
|
1633
|
-
masterTaggingPublicKey: string;
|
|
1634
|
-
};
|
|
1635
|
-
salt?: any;
|
|
1636
|
-
deployer?: any;
|
|
1637
|
-
currentContractClassId?: any;
|
|
1638
|
-
originalContractClassId?: any;
|
|
1639
|
-
initializationHash?: any;
|
|
1640
|
-
}>, 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<{
|
|
1109
|
+
name: z.ZodLiteral<"sendTx">;
|
|
1110
|
+
args: z.ZodTuple<[z.ZodObject<{
|
|
1111
|
+
calls: z.ZodArray<z.ZodObject<{
|
|
1648
1112
|
name: z.ZodString;
|
|
1649
|
-
|
|
1650
|
-
|
|
1113
|
+
to: ZodFor<AztecAddress>;
|
|
1114
|
+
selector: ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
|
|
1115
|
+
type: z.ZodNativeEnum<typeof FunctionType>;
|
|
1651
1116
|
isStatic: z.ZodBoolean;
|
|
1652
|
-
|
|
1653
|
-
|
|
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">;
|
|
1117
|
+
hideMsgSender: z.ZodBoolean;
|
|
1118
|
+
args: z.ZodArray<ZodFor<Fr>, "many">;
|
|
1666
1119
|
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
1120
|
}, "strip", z.ZodTypeAny, {
|
|
1696
1121
|
name: string;
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
visibility: "public" | "private" | "databus";
|
|
1701
|
-
}[];
|
|
1702
|
-
functionType: FunctionType;
|
|
1703
|
-
isInternal: boolean;
|
|
1122
|
+
to: AztecAddress;
|
|
1123
|
+
selector: import("@aztec/stdlib/abi").FunctionSelector;
|
|
1124
|
+
type: FunctionType;
|
|
1704
1125
|
isStatic: boolean;
|
|
1705
|
-
|
|
1126
|
+
hideMsgSender: boolean;
|
|
1127
|
+
args: Fr[];
|
|
1706
1128
|
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
1129
|
}, {
|
|
1718
1130
|
name: string;
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
visibility: "public" | "private" | "databus";
|
|
1723
|
-
}[];
|
|
1724
|
-
functionType: FunctionType;
|
|
1725
|
-
isInternal: boolean;
|
|
1131
|
+
to?: any;
|
|
1132
|
+
selector?: any;
|
|
1133
|
+
type: FunctionType;
|
|
1726
1134
|
isStatic: boolean;
|
|
1727
|
-
|
|
1135
|
+
hideMsgSender: boolean;
|
|
1136
|
+
args: any[];
|
|
1728
1137
|
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1138
|
+
}>, "many">;
|
|
1139
|
+
authWitnesses: z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">;
|
|
1140
|
+
capsules: z.ZodArray<z.ZodType<Capsule, any, string>, "many">;
|
|
1141
|
+
extraHashedArgs: z.ZodArray<ZodFor<HashedValues>, "many">;
|
|
1142
|
+
feePayer: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<ZodFor<AztecAddress>>;
|
|
1143
|
+
}, "strip", z.ZodTypeAny, {
|
|
1144
|
+
calls: {
|
|
1145
|
+
name: string;
|
|
1146
|
+
to: AztecAddress;
|
|
1147
|
+
selector: import("@aztec/stdlib/abi").FunctionSelector;
|
|
1148
|
+
type: FunctionType;
|
|
1149
|
+
isStatic: boolean;
|
|
1150
|
+
hideMsgSender: boolean;
|
|
1151
|
+
args: Fr[];
|
|
1152
|
+
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
1153
|
+
}[];
|
|
1154
|
+
authWitnesses: AuthWitness[];
|
|
1155
|
+
capsules: Capsule[];
|
|
1156
|
+
extraHashedArgs: HashedValues[];
|
|
1157
|
+
feePayer?: AztecAddress | undefined;
|
|
1158
|
+
}, {
|
|
1159
|
+
calls: {
|
|
1160
|
+
name: string;
|
|
1161
|
+
to?: any;
|
|
1162
|
+
selector?: any;
|
|
1163
|
+
type: FunctionType;
|
|
1164
|
+
isStatic: boolean;
|
|
1165
|
+
hideMsgSender: boolean;
|
|
1166
|
+
args: any[];
|
|
1167
|
+
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
1168
|
+
}[];
|
|
1169
|
+
authWitnesses: string[];
|
|
1170
|
+
capsules: string[];
|
|
1171
|
+
extraHashedArgs: any[];
|
|
1172
|
+
feePayer?: any;
|
|
1173
|
+
}>, z.ZodObject<{
|
|
1174
|
+
from: ZodFor<AztecAddress>;
|
|
1175
|
+
authWitnesses: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">>;
|
|
1176
|
+
capsules: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodArray<z.ZodType<Capsule, any, string>, "many">>;
|
|
1177
|
+
fee: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
|
|
1178
|
+
gasSettings: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
|
|
1179
|
+
gasLimits: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
|
|
1180
|
+
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
1181
|
+
l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
1182
|
+
}, "strip", z.ZodTypeAny, {
|
|
1183
|
+
daGas: number;
|
|
1184
|
+
l2Gas: number;
|
|
1185
|
+
}, {
|
|
1186
|
+
daGas: string | number | bigint;
|
|
1187
|
+
l2Gas: string | number | bigint;
|
|
1188
|
+
}>, Gas, {
|
|
1189
|
+
daGas: string | number | bigint;
|
|
1190
|
+
l2Gas: string | number | bigint;
|
|
1191
|
+
}>>;
|
|
1192
|
+
teardownGasLimits: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
|
|
1193
|
+
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
1194
|
+
l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
1195
|
+
}, "strip", z.ZodTypeAny, {
|
|
1196
|
+
daGas: number;
|
|
1197
|
+
l2Gas: number;
|
|
1198
|
+
}, {
|
|
1199
|
+
daGas: string | number | bigint;
|
|
1200
|
+
l2Gas: string | number | bigint;
|
|
1201
|
+
}>, Gas, {
|
|
1202
|
+
daGas: string | number | bigint;
|
|
1203
|
+
l2Gas: string | number | bigint;
|
|
1204
|
+
}>>;
|
|
1205
|
+
maxFeePerGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
|
|
1206
|
+
feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
1207
|
+
feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
1208
|
+
}, "strip", z.ZodTypeAny, {
|
|
1209
|
+
feePerDaGas: bigint;
|
|
1210
|
+
feePerL2Gas: bigint;
|
|
1211
|
+
}, {
|
|
1212
|
+
feePerDaGas: string | number | bigint;
|
|
1213
|
+
feePerL2Gas: string | number | bigint;
|
|
1214
|
+
}>>;
|
|
1215
|
+
maxPriorityFeePerGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
|
|
1216
|
+
feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
1217
|
+
feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
1218
|
+
}, "strip", z.ZodTypeAny, {
|
|
1219
|
+
feePerDaGas: bigint;
|
|
1220
|
+
feePerL2Gas: bigint;
|
|
1221
|
+
}, {
|
|
1222
|
+
feePerDaGas: string | number | bigint;
|
|
1223
|
+
feePerL2Gas: string | number | bigint;
|
|
1224
|
+
}>>;
|
|
1225
|
+
}, "strip", z.ZodTypeAny, {
|
|
1226
|
+
gasLimits?: Gas | undefined;
|
|
1227
|
+
teardownGasLimits?: Gas | undefined;
|
|
1228
|
+
maxFeePerGas?: {
|
|
1229
|
+
feePerDaGas: bigint;
|
|
1230
|
+
feePerL2Gas: bigint;
|
|
1231
|
+
} | undefined;
|
|
1232
|
+
maxPriorityFeePerGas?: {
|
|
1233
|
+
feePerDaGas: bigint;
|
|
1234
|
+
feePerL2Gas: bigint;
|
|
1235
|
+
} | undefined;
|
|
1236
|
+
}, {
|
|
1237
|
+
gasLimits?: {
|
|
1238
|
+
daGas: string | number | bigint;
|
|
1239
|
+
l2Gas: string | number | bigint;
|
|
1240
|
+
} | undefined;
|
|
1241
|
+
teardownGasLimits?: {
|
|
1242
|
+
daGas: string | number | bigint;
|
|
1243
|
+
l2Gas: string | number | bigint;
|
|
1244
|
+
} | undefined;
|
|
1245
|
+
maxFeePerGas?: {
|
|
1246
|
+
feePerDaGas: string | number | bigint;
|
|
1247
|
+
feePerL2Gas: string | number | bigint;
|
|
1248
|
+
} | undefined;
|
|
1249
|
+
maxPriorityFeePerGas?: {
|
|
1250
|
+
feePerDaGas: string | number | bigint;
|
|
1251
|
+
feePerL2Gas: string | number | bigint;
|
|
1252
|
+
} | undefined;
|
|
1253
|
+
}>>;
|
|
1748
1254
|
}, "strip", z.ZodTypeAny, {
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1255
|
+
gasSettings?: {
|
|
1256
|
+
gasLimits?: Gas | undefined;
|
|
1257
|
+
teardownGasLimits?: Gas | undefined;
|
|
1258
|
+
maxFeePerGas?: {
|
|
1259
|
+
feePerDaGas: bigint;
|
|
1260
|
+
feePerL2Gas: bigint;
|
|
1261
|
+
} | undefined;
|
|
1262
|
+
maxPriorityFeePerGas?: {
|
|
1263
|
+
feePerDaGas: bigint;
|
|
1264
|
+
feePerL2Gas: bigint;
|
|
1265
|
+
} | undefined;
|
|
1266
|
+
} | undefined;
|
|
1753
1267
|
}, {
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1268
|
+
gasSettings?: {
|
|
1269
|
+
gasLimits?: {
|
|
1270
|
+
daGas: string | number | bigint;
|
|
1271
|
+
l2Gas: string | number | bigint;
|
|
1272
|
+
} | undefined;
|
|
1273
|
+
teardownGasLimits?: {
|
|
1274
|
+
daGas: string | number | bigint;
|
|
1275
|
+
l2Gas: string | number | bigint;
|
|
1276
|
+
} | undefined;
|
|
1277
|
+
maxFeePerGas?: {
|
|
1278
|
+
feePerDaGas: string | number | bigint;
|
|
1279
|
+
feePerL2Gas: string | number | bigint;
|
|
1280
|
+
} | undefined;
|
|
1281
|
+
maxPriorityFeePerGas?: {
|
|
1282
|
+
feePerDaGas: string | number | bigint;
|
|
1283
|
+
feePerL2Gas: string | number | bigint;
|
|
1284
|
+
} | undefined;
|
|
1285
|
+
} | undefined;
|
|
1763
1286
|
}>>;
|
|
1764
|
-
deployer: import("@aztec/foundation/schemas").ZodNullableOptional<ZodFor<AztecAddress>>;
|
|
1765
1287
|
}, "strip", z.ZodTypeAny, {
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1288
|
+
from: AztecAddress;
|
|
1289
|
+
authWitnesses?: AuthWitness[] | undefined;
|
|
1290
|
+
capsules?: Capsule[] | undefined;
|
|
1291
|
+
fee?: {
|
|
1292
|
+
gasSettings?: {
|
|
1293
|
+
gasLimits?: Gas | undefined;
|
|
1294
|
+
teardownGasLimits?: Gas | undefined;
|
|
1295
|
+
maxFeePerGas?: {
|
|
1296
|
+
feePerDaGas: bigint;
|
|
1297
|
+
feePerL2Gas: bigint;
|
|
1298
|
+
} | undefined;
|
|
1299
|
+
maxPriorityFeePerGas?: {
|
|
1300
|
+
feePerDaGas: bigint;
|
|
1301
|
+
feePerL2Gas: bigint;
|
|
1302
|
+
} | undefined;
|
|
1303
|
+
} | undefined;
|
|
1304
|
+
} | undefined;
|
|
1305
|
+
}, {
|
|
1306
|
+
from?: any;
|
|
1307
|
+
authWitnesses?: string[] | undefined;
|
|
1308
|
+
capsules?: string[] | undefined;
|
|
1309
|
+
fee?: {
|
|
1310
|
+
gasSettings?: {
|
|
1311
|
+
gasLimits?: {
|
|
1312
|
+
daGas: string | number | bigint;
|
|
1313
|
+
l2Gas: string | number | bigint;
|
|
1314
|
+
} | undefined;
|
|
1315
|
+
teardownGasLimits?: {
|
|
1316
|
+
daGas: string | number | bigint;
|
|
1317
|
+
l2Gas: string | number | bigint;
|
|
1318
|
+
} | undefined;
|
|
1319
|
+
maxFeePerGas?: {
|
|
1320
|
+
feePerDaGas: string | number | bigint;
|
|
1321
|
+
feePerL2Gas: string | number | bigint;
|
|
1322
|
+
} | undefined;
|
|
1323
|
+
maxPriorityFeePerGas?: {
|
|
1324
|
+
feePerDaGas: string | number | bigint;
|
|
1325
|
+
feePerL2Gas: string | number | bigint;
|
|
1326
|
+
} | undefined;
|
|
1327
|
+
} | undefined;
|
|
1328
|
+
} | undefined;
|
|
1329
|
+
}>], null>;
|
|
1330
|
+
}, "strip", z.ZodTypeAny, {
|
|
1331
|
+
name: "sendTx";
|
|
1332
|
+
args: [{
|
|
1333
|
+
calls: {
|
|
1771
1334
|
name: string;
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
visibility: "public" | "private" | "databus";
|
|
1776
|
-
}[];
|
|
1777
|
-
functionType: FunctionType;
|
|
1778
|
-
isInternal: boolean;
|
|
1335
|
+
to: AztecAddress;
|
|
1336
|
+
selector: import("@aztec/stdlib/abi").FunctionSelector;
|
|
1337
|
+
type: FunctionType;
|
|
1779
1338
|
isStatic: boolean;
|
|
1780
|
-
|
|
1339
|
+
hideMsgSender: boolean;
|
|
1340
|
+
args: Fr[];
|
|
1781
1341
|
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
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;
|
|
1342
|
+
}[];
|
|
1343
|
+
authWitnesses: AuthWitness[];
|
|
1344
|
+
capsules: Capsule[];
|
|
1345
|
+
extraHashedArgs: HashedValues[];
|
|
1346
|
+
feePayer?: AztecAddress | undefined;
|
|
1794
1347
|
}, {
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1348
|
+
from: AztecAddress;
|
|
1349
|
+
authWitnesses?: AuthWitness[] | undefined;
|
|
1350
|
+
capsules?: Capsule[] | undefined;
|
|
1351
|
+
fee?: {
|
|
1352
|
+
gasSettings?: {
|
|
1353
|
+
gasLimits?: Gas | undefined;
|
|
1354
|
+
teardownGasLimits?: Gas | undefined;
|
|
1355
|
+
maxFeePerGas?: {
|
|
1356
|
+
feePerDaGas: bigint;
|
|
1357
|
+
feePerL2Gas: bigint;
|
|
1358
|
+
} | undefined;
|
|
1359
|
+
maxPriorityFeePerGas?: {
|
|
1360
|
+
feePerDaGas: bigint;
|
|
1361
|
+
feePerL2Gas: bigint;
|
|
1362
|
+
} | undefined;
|
|
1363
|
+
} | undefined;
|
|
1802
1364
|
} | undefined;
|
|
1803
|
-
|
|
1804
|
-
|
|
1365
|
+
}];
|
|
1366
|
+
}, {
|
|
1367
|
+
name: "sendTx";
|
|
1368
|
+
args: [{
|
|
1369
|
+
calls: {
|
|
1805
1370
|
name: string;
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
visibility: "public" | "private" | "databus";
|
|
1810
|
-
}[];
|
|
1811
|
-
functionType: FunctionType;
|
|
1812
|
-
isInternal: boolean;
|
|
1371
|
+
to?: any;
|
|
1372
|
+
selector?: any;
|
|
1373
|
+
type: FunctionType;
|
|
1813
1374
|
isStatic: boolean;
|
|
1814
|
-
|
|
1375
|
+
hideMsgSender: boolean;
|
|
1376
|
+
args: any[];
|
|
1815
1377
|
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1378
|
+
}[];
|
|
1379
|
+
authWitnesses: string[];
|
|
1380
|
+
capsules: string[];
|
|
1381
|
+
extraHashedArgs: any[];
|
|
1382
|
+
feePayer?: any;
|
|
1383
|
+
}, {
|
|
1384
|
+
from?: any;
|
|
1385
|
+
authWitnesses?: string[] | undefined;
|
|
1386
|
+
capsules?: string[] | undefined;
|
|
1387
|
+
fee?: {
|
|
1388
|
+
gasSettings?: {
|
|
1389
|
+
gasLimits?: {
|
|
1390
|
+
daGas: string | number | bigint;
|
|
1391
|
+
l2Gas: string | number | bigint;
|
|
1392
|
+
} | undefined;
|
|
1393
|
+
teardownGasLimits?: {
|
|
1394
|
+
daGas: string | number | bigint;
|
|
1395
|
+
l2Gas: string | number | bigint;
|
|
1396
|
+
} | undefined;
|
|
1397
|
+
maxFeePerGas?: {
|
|
1398
|
+
feePerDaGas: string | number | bigint;
|
|
1399
|
+
feePerL2Gas: string | number | bigint;
|
|
1400
|
+
} | undefined;
|
|
1401
|
+
maxPriorityFeePerGas?: {
|
|
1402
|
+
feePerDaGas: string | number | bigint;
|
|
1403
|
+
feePerL2Gas: string | number | bigint;
|
|
1404
|
+
} | undefined;
|
|
1405
|
+
} | undefined;
|
|
1826
1406
|
} | undefined;
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
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>;
|
|
1407
|
+
}];
|
|
1408
|
+
}>, z.ZodObject<{
|
|
1409
|
+
name: z.ZodLiteral<"simulateUtility">;
|
|
1410
|
+
args: z.ZodTuple<[z.ZodObject<{
|
|
1411
|
+
name: z.ZodString;
|
|
1412
|
+
to: ZodFor<AztecAddress>;
|
|
1413
|
+
selector: ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
|
|
1414
|
+
type: z.ZodNativeEnum<typeof FunctionType>;
|
|
1415
|
+
isStatic: z.ZodBoolean;
|
|
1416
|
+
hideMsgSender: z.ZodBoolean;
|
|
1417
|
+
args: z.ZodArray<ZodFor<Fr>, "many">;
|
|
1418
|
+
returnTypes: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
|
|
1886
1419
|
}, "strip", z.ZodTypeAny, {
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
publicKeys: PublicKeys;
|
|
1896
|
-
} & {
|
|
1897
|
-
address: AztecAddress;
|
|
1898
|
-
};
|
|
1420
|
+
name: string;
|
|
1421
|
+
to: AztecAddress;
|
|
1422
|
+
selector: import("@aztec/stdlib/abi").FunctionSelector;
|
|
1423
|
+
type: FunctionType;
|
|
1424
|
+
isStatic: boolean;
|
|
1425
|
+
hideMsgSender: boolean;
|
|
1426
|
+
args: Fr[];
|
|
1427
|
+
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
1899
1428
|
}, {
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
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>;
|
|
1429
|
+
name: string;
|
|
1430
|
+
to?: any;
|
|
1431
|
+
selector?: any;
|
|
1432
|
+
type: FunctionType;
|
|
1433
|
+
isStatic: boolean;
|
|
1434
|
+
hideMsgSender: boolean;
|
|
1435
|
+
args: any[];
|
|
1436
|
+
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
1437
|
+
}>, import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">>], null>;
|
|
1918
1438
|
}, "strip", z.ZodTypeAny, {
|
|
1919
|
-
name: "
|
|
1920
|
-
args: [
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
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];
|
|
1439
|
+
name: "simulateUtility";
|
|
1440
|
+
args: [{
|
|
1441
|
+
name: string;
|
|
1442
|
+
to: AztecAddress;
|
|
1443
|
+
selector: import("@aztec/stdlib/abi").FunctionSelector;
|
|
1444
|
+
type: FunctionType;
|
|
1445
|
+
isStatic: boolean;
|
|
1446
|
+
hideMsgSender: boolean;
|
|
1447
|
+
args: Fr[];
|
|
1448
|
+
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
1449
|
+
}, AuthWitness[] | undefined];
|
|
1973
1450
|
}, {
|
|
1974
|
-
name: "
|
|
1975
|
-
args: [
|
|
1451
|
+
name: "simulateUtility";
|
|
1452
|
+
args: [{
|
|
1453
|
+
name: string;
|
|
1454
|
+
to?: any;
|
|
1455
|
+
selector?: any;
|
|
1456
|
+
type: FunctionType;
|
|
1457
|
+
isStatic: boolean;
|
|
1458
|
+
hideMsgSender: boolean;
|
|
1459
|
+
args: any[];
|
|
1460
|
+
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
1461
|
+
}, string[] | undefined];
|
|
1976
1462
|
}>, z.ZodObject<{
|
|
1977
|
-
name: z.ZodLiteral<"
|
|
1463
|
+
name: z.ZodLiteral<"simulateTx">;
|
|
1978
1464
|
args: z.ZodTuple<[z.ZodObject<{
|
|
1979
1465
|
calls: z.ZodArray<z.ZodObject<{
|
|
1980
1466
|
name: z.ZodString;
|
|
@@ -1987,61 +1473,64 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1987
1473
|
returnTypes: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
|
|
1988
1474
|
}, "strip", z.ZodTypeAny, {
|
|
1989
1475
|
name: string;
|
|
1990
|
-
args: Fr[];
|
|
1991
|
-
type: FunctionType;
|
|
1992
1476
|
to: AztecAddress;
|
|
1993
1477
|
selector: import("@aztec/stdlib/abi").FunctionSelector;
|
|
1478
|
+
type: FunctionType;
|
|
1994
1479
|
isStatic: boolean;
|
|
1995
1480
|
hideMsgSender: boolean;
|
|
1481
|
+
args: Fr[];
|
|
1996
1482
|
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
1997
1483
|
}, {
|
|
1998
1484
|
name: string;
|
|
1999
|
-
|
|
1485
|
+
to?: any;
|
|
1486
|
+
selector?: any;
|
|
2000
1487
|
type: FunctionType;
|
|
2001
1488
|
isStatic: boolean;
|
|
2002
1489
|
hideMsgSender: boolean;
|
|
1490
|
+
args: any[];
|
|
2003
1491
|
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
2004
|
-
to?: any;
|
|
2005
|
-
selector?: any;
|
|
2006
1492
|
}>, "many">;
|
|
2007
1493
|
authWitnesses: z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">;
|
|
2008
1494
|
capsules: z.ZodArray<z.ZodType<Capsule, any, string>, "many">;
|
|
2009
1495
|
extraHashedArgs: z.ZodArray<ZodFor<HashedValues>, "many">;
|
|
1496
|
+
feePayer: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<ZodFor<AztecAddress>>;
|
|
2010
1497
|
}, "strip", z.ZodTypeAny, {
|
|
2011
|
-
authWitnesses: AuthWitness[];
|
|
2012
|
-
capsules: Capsule[];
|
|
2013
1498
|
calls: {
|
|
2014
1499
|
name: string;
|
|
2015
|
-
args: Fr[];
|
|
2016
|
-
type: FunctionType;
|
|
2017
1500
|
to: AztecAddress;
|
|
2018
1501
|
selector: import("@aztec/stdlib/abi").FunctionSelector;
|
|
1502
|
+
type: FunctionType;
|
|
2019
1503
|
isStatic: boolean;
|
|
2020
1504
|
hideMsgSender: boolean;
|
|
1505
|
+
args: Fr[];
|
|
2021
1506
|
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
2022
1507
|
}[];
|
|
1508
|
+
authWitnesses: AuthWitness[];
|
|
1509
|
+
capsules: Capsule[];
|
|
2023
1510
|
extraHashedArgs: HashedValues[];
|
|
1511
|
+
feePayer?: AztecAddress | undefined;
|
|
2024
1512
|
}, {
|
|
2025
|
-
authWitnesses: string[];
|
|
2026
|
-
capsules: string[];
|
|
2027
1513
|
calls: {
|
|
2028
1514
|
name: string;
|
|
2029
|
-
|
|
1515
|
+
to?: any;
|
|
1516
|
+
selector?: any;
|
|
2030
1517
|
type: FunctionType;
|
|
2031
1518
|
isStatic: boolean;
|
|
2032
1519
|
hideMsgSender: boolean;
|
|
1520
|
+
args: any[];
|
|
2033
1521
|
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
2034
|
-
to?: any;
|
|
2035
|
-
selector?: any;
|
|
2036
1522
|
}[];
|
|
1523
|
+
authWitnesses: string[];
|
|
1524
|
+
capsules: string[];
|
|
2037
1525
|
extraHashedArgs: any[];
|
|
1526
|
+
feePayer?: any;
|
|
2038
1527
|
}>, z.ZodObject<{
|
|
2039
1528
|
from: ZodFor<AztecAddress>;
|
|
2040
|
-
authWitnesses: import("
|
|
2041
|
-
capsules: import("
|
|
2042
|
-
fee: import("
|
|
2043
|
-
gasSettings: import("
|
|
2044
|
-
gasLimits: import("
|
|
1529
|
+
authWitnesses: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">>;
|
|
1530
|
+
capsules: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodArray<z.ZodType<Capsule, any, string>, "many">>;
|
|
1531
|
+
fee: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
|
|
1532
|
+
gasSettings: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
|
|
1533
|
+
gasLimits: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
|
|
2045
1534
|
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
2046
1535
|
l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
2047
1536
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2054,7 +1543,7 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2054
1543
|
daGas: string | number | bigint;
|
|
2055
1544
|
l2Gas: string | number | bigint;
|
|
2056
1545
|
}>>;
|
|
2057
|
-
teardownGasLimits: import("
|
|
1546
|
+
teardownGasLimits: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
|
|
2058
1547
|
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
2059
1548
|
l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
2060
1549
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2067,7 +1556,7 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2067
1556
|
daGas: string | number | bigint;
|
|
2068
1557
|
l2Gas: string | number | bigint;
|
|
2069
1558
|
}>>;
|
|
2070
|
-
maxFeePerGas: import("
|
|
1559
|
+
maxFeePerGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
|
|
2071
1560
|
feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
2072
1561
|
feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
2073
1562
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2077,7 +1566,7 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2077
1566
|
feePerDaGas: string | number | bigint;
|
|
2078
1567
|
feePerL2Gas: string | number | bigint;
|
|
2079
1568
|
}>>;
|
|
2080
|
-
maxPriorityFeePerGas: import("
|
|
1569
|
+
maxPriorityFeePerGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
|
|
2081
1570
|
feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
2082
1571
|
feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
2083
1572
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2116,9 +1605,10 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2116
1605
|
feePerL2Gas: string | number | bigint;
|
|
2117
1606
|
} | undefined;
|
|
2118
1607
|
}>>;
|
|
2119
|
-
|
|
1608
|
+
} & {
|
|
1609
|
+
estimatedGasPadding: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodNumber>;
|
|
1610
|
+
estimateGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodBoolean>;
|
|
2120
1611
|
}, "strip", z.ZodTypeAny, {
|
|
2121
|
-
embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
|
|
2122
1612
|
gasSettings?: {
|
|
2123
1613
|
gasLimits?: Gas | undefined;
|
|
2124
1614
|
teardownGasLimits?: Gas | undefined;
|
|
@@ -2131,8 +1621,9 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2131
1621
|
feePerL2Gas: bigint;
|
|
2132
1622
|
} | undefined;
|
|
2133
1623
|
} | undefined;
|
|
1624
|
+
estimatedGasPadding?: number | undefined;
|
|
1625
|
+
estimateGas?: boolean | undefined;
|
|
2134
1626
|
}, {
|
|
2135
|
-
embeddedPaymentMethodFeePayer?: any;
|
|
2136
1627
|
gasSettings?: {
|
|
2137
1628
|
gasLimits?: {
|
|
2138
1629
|
daGas: string | number | bigint;
|
|
@@ -2151,11 +1642,17 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2151
1642
|
feePerL2Gas: string | number | bigint;
|
|
2152
1643
|
} | undefined;
|
|
2153
1644
|
} | undefined;
|
|
1645
|
+
estimatedGasPadding?: number | undefined;
|
|
1646
|
+
estimateGas?: boolean | undefined;
|
|
2154
1647
|
}>>;
|
|
1648
|
+
skipTxValidation: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodBoolean>;
|
|
1649
|
+
skipFeeEnforcement: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodBoolean>;
|
|
1650
|
+
includeMetadata: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodBoolean>;
|
|
2155
1651
|
}, "strip", z.ZodTypeAny, {
|
|
2156
1652
|
from: AztecAddress;
|
|
1653
|
+
authWitnesses?: AuthWitness[] | undefined;
|
|
1654
|
+
capsules?: Capsule[] | undefined;
|
|
2157
1655
|
fee?: {
|
|
2158
|
-
embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
|
|
2159
1656
|
gasSettings?: {
|
|
2160
1657
|
gasLimits?: Gas | undefined;
|
|
2161
1658
|
teardownGasLimits?: Gas | undefined;
|
|
@@ -2168,12 +1665,17 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2168
1665
|
feePerL2Gas: bigint;
|
|
2169
1666
|
} | undefined;
|
|
2170
1667
|
} | undefined;
|
|
1668
|
+
estimatedGasPadding?: number | undefined;
|
|
1669
|
+
estimateGas?: boolean | undefined;
|
|
2171
1670
|
} | undefined;
|
|
2172
|
-
|
|
2173
|
-
|
|
1671
|
+
skipTxValidation?: boolean | undefined;
|
|
1672
|
+
skipFeeEnforcement?: boolean | undefined;
|
|
1673
|
+
includeMetadata?: boolean | undefined;
|
|
2174
1674
|
}, {
|
|
1675
|
+
from?: any;
|
|
1676
|
+
authWitnesses?: string[] | undefined;
|
|
1677
|
+
capsules?: string[] | undefined;
|
|
2175
1678
|
fee?: {
|
|
2176
|
-
embeddedPaymentMethodFeePayer?: any;
|
|
2177
1679
|
gasSettings?: {
|
|
2178
1680
|
gasLimits?: {
|
|
2179
1681
|
daGas: string | number | bigint;
|
|
@@ -2192,31 +1694,35 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2192
1694
|
feePerL2Gas: string | number | bigint;
|
|
2193
1695
|
} | undefined;
|
|
2194
1696
|
} | undefined;
|
|
1697
|
+
estimatedGasPadding?: number | undefined;
|
|
1698
|
+
estimateGas?: boolean | undefined;
|
|
2195
1699
|
} | undefined;
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
1700
|
+
skipTxValidation?: boolean | undefined;
|
|
1701
|
+
skipFeeEnforcement?: boolean | undefined;
|
|
1702
|
+
includeMetadata?: boolean | undefined;
|
|
2199
1703
|
}>], null>;
|
|
2200
1704
|
}, "strip", z.ZodTypeAny, {
|
|
2201
|
-
name: "
|
|
1705
|
+
name: "simulateTx";
|
|
2202
1706
|
args: [{
|
|
2203
|
-
authWitnesses: AuthWitness[];
|
|
2204
|
-
capsules: Capsule[];
|
|
2205
1707
|
calls: {
|
|
2206
1708
|
name: string;
|
|
2207
|
-
args: Fr[];
|
|
2208
|
-
type: FunctionType;
|
|
2209
1709
|
to: AztecAddress;
|
|
2210
1710
|
selector: import("@aztec/stdlib/abi").FunctionSelector;
|
|
1711
|
+
type: FunctionType;
|
|
2211
1712
|
isStatic: boolean;
|
|
2212
1713
|
hideMsgSender: boolean;
|
|
1714
|
+
args: Fr[];
|
|
2213
1715
|
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
2214
1716
|
}[];
|
|
1717
|
+
authWitnesses: AuthWitness[];
|
|
1718
|
+
capsules: Capsule[];
|
|
2215
1719
|
extraHashedArgs: HashedValues[];
|
|
1720
|
+
feePayer?: AztecAddress | undefined;
|
|
2216
1721
|
}, {
|
|
2217
1722
|
from: AztecAddress;
|
|
1723
|
+
authWitnesses?: AuthWitness[] | undefined;
|
|
1724
|
+
capsules?: Capsule[] | undefined;
|
|
2218
1725
|
fee?: {
|
|
2219
|
-
embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
|
|
2220
1726
|
gasSettings?: {
|
|
2221
1727
|
gasLimits?: Gas | undefined;
|
|
2222
1728
|
teardownGasLimits?: Gas | undefined;
|
|
@@ -2229,29 +1735,35 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2229
1735
|
feePerL2Gas: bigint;
|
|
2230
1736
|
} | undefined;
|
|
2231
1737
|
} | undefined;
|
|
1738
|
+
estimatedGasPadding?: number | undefined;
|
|
1739
|
+
estimateGas?: boolean | undefined;
|
|
2232
1740
|
} | undefined;
|
|
2233
|
-
|
|
2234
|
-
|
|
1741
|
+
skipTxValidation?: boolean | undefined;
|
|
1742
|
+
skipFeeEnforcement?: boolean | undefined;
|
|
1743
|
+
includeMetadata?: boolean | undefined;
|
|
2235
1744
|
}];
|
|
2236
1745
|
}, {
|
|
2237
|
-
name: "
|
|
1746
|
+
name: "simulateTx";
|
|
2238
1747
|
args: [{
|
|
2239
|
-
authWitnesses: string[];
|
|
2240
|
-
capsules: string[];
|
|
2241
1748
|
calls: {
|
|
2242
1749
|
name: string;
|
|
2243
|
-
|
|
1750
|
+
to?: any;
|
|
1751
|
+
selector?: any;
|
|
2244
1752
|
type: FunctionType;
|
|
2245
1753
|
isStatic: boolean;
|
|
2246
1754
|
hideMsgSender: boolean;
|
|
1755
|
+
args: any[];
|
|
2247
1756
|
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
2248
|
-
to?: any;
|
|
2249
|
-
selector?: any;
|
|
2250
1757
|
}[];
|
|
1758
|
+
authWitnesses: string[];
|
|
1759
|
+
capsules: string[];
|
|
2251
1760
|
extraHashedArgs: any[];
|
|
1761
|
+
feePayer?: any;
|
|
2252
1762
|
}, {
|
|
1763
|
+
from?: any;
|
|
1764
|
+
authWitnesses?: string[] | undefined;
|
|
1765
|
+
capsules?: string[] | undefined;
|
|
2253
1766
|
fee?: {
|
|
2254
|
-
embeddedPaymentMethodFeePayer?: any;
|
|
2255
1767
|
gasSettings?: {
|
|
2256
1768
|
gasLimits?: {
|
|
2257
1769
|
daGas: string | number | bigint;
|
|
@@ -2270,20 +1782,13 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2270
1782
|
feePerL2Gas: string | number | bigint;
|
|
2271
1783
|
} | undefined;
|
|
2272
1784
|
} | undefined;
|
|
1785
|
+
estimatedGasPadding?: number | undefined;
|
|
1786
|
+
estimateGas?: boolean | undefined;
|
|
2273
1787
|
} | undefined;
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
1788
|
+
skipTxValidation?: boolean | undefined;
|
|
1789
|
+
skipFeeEnforcement?: boolean | undefined;
|
|
1790
|
+
includeMetadata?: boolean | undefined;
|
|
2277
1791
|
}];
|
|
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
1792
|
}>]>;
|
|
2288
1793
|
export declare const ContractMetadataSchema: z.ZodObject<{
|
|
2289
1794
|
contractInstance: z.ZodUnion<[z.ZodIntersection<z.ZodObject<{
|
|
@@ -2308,7 +1813,7 @@ export declare const ContractMetadataSchema: z.ZodObject<{
|
|
|
2308
1813
|
masterIncomingViewingPublicKey: string;
|
|
2309
1814
|
masterOutgoingViewingPublicKey: string;
|
|
2310
1815
|
masterTaggingPublicKey: string;
|
|
2311
|
-
}>, PublicKeys, {
|
|
1816
|
+
}>, import("../api/keys.js").PublicKeys, {
|
|
2312
1817
|
masterNullifierPublicKey: string;
|
|
2313
1818
|
masterIncomingViewingPublicKey: string;
|
|
2314
1819
|
masterOutgoingViewingPublicKey: string;
|
|
@@ -2321,20 +1826,20 @@ export declare const ContractMetadataSchema: z.ZodObject<{
|
|
|
2321
1826
|
currentContractClassId: Fr;
|
|
2322
1827
|
originalContractClassId: Fr;
|
|
2323
1828
|
initializationHash: Fr;
|
|
2324
|
-
publicKeys: PublicKeys;
|
|
1829
|
+
publicKeys: import("../api/keys.js").PublicKeys;
|
|
2325
1830
|
}, {
|
|
2326
1831
|
version: 1;
|
|
1832
|
+
salt?: any;
|
|
1833
|
+
deployer?: any;
|
|
1834
|
+
currentContractClassId?: any;
|
|
1835
|
+
originalContractClassId?: any;
|
|
1836
|
+
initializationHash?: any;
|
|
2327
1837
|
publicKeys: {
|
|
2328
1838
|
masterNullifierPublicKey: string;
|
|
2329
1839
|
masterIncomingViewingPublicKey: string;
|
|
2330
1840
|
masterOutgoingViewingPublicKey: string;
|
|
2331
1841
|
masterTaggingPublicKey: string;
|
|
2332
1842
|
};
|
|
2333
|
-
salt?: any;
|
|
2334
|
-
deployer?: any;
|
|
2335
|
-
currentContractClassId?: any;
|
|
2336
|
-
originalContractClassId?: any;
|
|
2337
|
-
initializationHash?: any;
|
|
2338
1843
|
}>, z.ZodObject<{
|
|
2339
1844
|
address: ZodFor<AztecAddress>;
|
|
2340
1845
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2345,8 +1850,6 @@ export declare const ContractMetadataSchema: z.ZodObject<{
|
|
|
2345
1850
|
isContractInitialized: z.ZodBoolean;
|
|
2346
1851
|
isContractPublished: z.ZodBoolean;
|
|
2347
1852
|
}, "strip", z.ZodTypeAny, {
|
|
2348
|
-
isContractInitialized: boolean;
|
|
2349
|
-
isContractPublished: boolean;
|
|
2350
1853
|
contractInstance?: ({
|
|
2351
1854
|
version: 1;
|
|
2352
1855
|
salt: Fr;
|
|
@@ -2354,29 +1857,31 @@ export declare const ContractMetadataSchema: z.ZodObject<{
|
|
|
2354
1857
|
currentContractClassId: Fr;
|
|
2355
1858
|
originalContractClassId: Fr;
|
|
2356
1859
|
initializationHash: Fr;
|
|
2357
|
-
publicKeys: PublicKeys;
|
|
1860
|
+
publicKeys: import("../api/keys.js").PublicKeys;
|
|
2358
1861
|
} & {
|
|
2359
1862
|
address: AztecAddress;
|
|
2360
1863
|
}) | undefined;
|
|
2361
|
-
}, {
|
|
2362
1864
|
isContractInitialized: boolean;
|
|
2363
1865
|
isContractPublished: boolean;
|
|
1866
|
+
}, {
|
|
2364
1867
|
contractInstance?: ({
|
|
2365
1868
|
version: 1;
|
|
1869
|
+
salt?: any;
|
|
1870
|
+
deployer?: any;
|
|
1871
|
+
currentContractClassId?: any;
|
|
1872
|
+
originalContractClassId?: any;
|
|
1873
|
+
initializationHash?: any;
|
|
2366
1874
|
publicKeys: {
|
|
2367
1875
|
masterNullifierPublicKey: string;
|
|
2368
1876
|
masterIncomingViewingPublicKey: string;
|
|
2369
1877
|
masterOutgoingViewingPublicKey: string;
|
|
2370
1878
|
masterTaggingPublicKey: string;
|
|
2371
1879
|
};
|
|
2372
|
-
salt?: any;
|
|
2373
|
-
deployer?: any;
|
|
2374
|
-
currentContractClassId?: any;
|
|
2375
|
-
originalContractClassId?: any;
|
|
2376
|
-
initializationHash?: any;
|
|
2377
1880
|
} & {
|
|
2378
1881
|
address?: any;
|
|
2379
1882
|
}) | undefined;
|
|
1883
|
+
isContractInitialized: boolean;
|
|
1884
|
+
isContractPublished: boolean;
|
|
2380
1885
|
}>;
|
|
2381
1886
|
export declare const ContractClassMetadataSchema: z.ZodObject<{
|
|
2382
1887
|
contractClass: z.ZodUnion<[z.ZodObject<{
|
|
@@ -2389,77 +1894,59 @@ export declare const ContractClassMetadataSchema: z.ZodObject<{
|
|
|
2389
1894
|
selector: import("@aztec/stdlib/abi").FunctionSelector;
|
|
2390
1895
|
vkHash: Fr;
|
|
2391
1896
|
}, {
|
|
2392
|
-
vkHash: string;
|
|
2393
1897
|
selector?: any;
|
|
1898
|
+
vkHash: string;
|
|
2394
1899
|
}>, "many">;
|
|
2395
|
-
packedBytecode:
|
|
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
|
-
}>]>;
|
|
1900
|
+
packedBytecode: ZodFor<Buffer<ArrayBufferLike>>;
|
|
2408
1901
|
} & {
|
|
2409
1902
|
id: z.ZodType<Fr, any, string>;
|
|
2410
1903
|
}, "strip", z.ZodTypeAny, {
|
|
2411
1904
|
version: 1;
|
|
2412
|
-
id: Fr;
|
|
2413
1905
|
artifactHash: Fr;
|
|
2414
|
-
packedBytecode: Buffer<ArrayBuffer>;
|
|
2415
1906
|
privateFunctions: {
|
|
2416
1907
|
selector: import("@aztec/stdlib/abi").FunctionSelector;
|
|
2417
1908
|
vkHash: Fr;
|
|
2418
1909
|
}[];
|
|
1910
|
+
packedBytecode: Buffer<ArrayBufferLike>;
|
|
1911
|
+
id: Fr;
|
|
2419
1912
|
}, {
|
|
2420
1913
|
version: 1;
|
|
2421
|
-
id: string;
|
|
2422
1914
|
artifactHash: string;
|
|
2423
|
-
packedBytecode: string | {
|
|
2424
|
-
type: "Buffer";
|
|
2425
|
-
data: number[];
|
|
2426
|
-
};
|
|
2427
1915
|
privateFunctions: {
|
|
2428
|
-
vkHash: string;
|
|
2429
1916
|
selector?: any;
|
|
1917
|
+
vkHash: string;
|
|
2430
1918
|
}[];
|
|
1919
|
+
packedBytecode?: any;
|
|
1920
|
+
id: string;
|
|
2431
1921
|
}>, z.ZodUndefined]>;
|
|
2432
1922
|
isContractClassPubliclyRegistered: z.ZodBoolean;
|
|
2433
1923
|
artifact: z.ZodUnion<[ZodFor<ContractArtifact>, z.ZodUndefined]>;
|
|
2434
1924
|
}, "strip", z.ZodTypeAny, {
|
|
2435
|
-
isContractClassPubliclyRegistered: boolean;
|
|
2436
|
-
artifact?: ContractArtifact | undefined;
|
|
2437
1925
|
contractClass?: {
|
|
2438
1926
|
version: 1;
|
|
2439
|
-
id: Fr;
|
|
2440
1927
|
artifactHash: Fr;
|
|
2441
|
-
packedBytecode: Buffer<ArrayBuffer>;
|
|
2442
1928
|
privateFunctions: {
|
|
2443
1929
|
selector: import("@aztec/stdlib/abi").FunctionSelector;
|
|
2444
1930
|
vkHash: Fr;
|
|
2445
1931
|
}[];
|
|
1932
|
+
packedBytecode: Buffer<ArrayBufferLike>;
|
|
1933
|
+
id: Fr;
|
|
2446
1934
|
} | undefined;
|
|
2447
|
-
}, {
|
|
2448
1935
|
isContractClassPubliclyRegistered: boolean;
|
|
2449
|
-
artifact?:
|
|
1936
|
+
artifact?: ContractArtifact | undefined;
|
|
1937
|
+
}, {
|
|
2450
1938
|
contractClass?: {
|
|
2451
1939
|
version: 1;
|
|
2452
|
-
id: string;
|
|
2453
1940
|
artifactHash: string;
|
|
2454
|
-
packedBytecode: string | {
|
|
2455
|
-
type: "Buffer";
|
|
2456
|
-
data: number[];
|
|
2457
|
-
};
|
|
2458
1941
|
privateFunctions: {
|
|
2459
|
-
vkHash: string;
|
|
2460
1942
|
selector?: any;
|
|
1943
|
+
vkHash: string;
|
|
2461
1944
|
}[];
|
|
1945
|
+
packedBytecode?: any;
|
|
1946
|
+
id: string;
|
|
2462
1947
|
} | undefined;
|
|
1948
|
+
isContractClassPubliclyRegistered: boolean;
|
|
1949
|
+
artifact?: any;
|
|
2463
1950
|
}>;
|
|
2464
1951
|
export declare const EventMetadataDefinitionSchema: z.ZodObject<{
|
|
2465
1952
|
eventSelector: z.ZodType<import("@aztec/stdlib/abi").EventSelector, any, string>;
|
|
@@ -2475,4 +1962,4 @@ export declare const EventMetadataDefinitionSchema: z.ZodObject<{
|
|
|
2475
1962
|
fieldNames: string[];
|
|
2476
1963
|
}>;
|
|
2477
1964
|
export declare const WalletSchema: ApiSchemaFor<Wallet>;
|
|
2478
|
-
//# sourceMappingURL=
|
|
1965
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2FsbGV0LmQudHMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvd2FsbGV0L3dhbGxldC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssRUFBRSxTQUFTLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQztBQUMvRCxPQUFPLEtBQUssRUFBRSxFQUFFLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUNuRCxPQUFPLEVBRUwsS0FBSyxnQkFBZ0IsRUFFckIsS0FBSyx1QkFBdUIsRUFDNUIsS0FBSyxZQUFZLEVBQ2pCLFlBQVksRUFDYixNQUFNLG1CQUFtQixDQUFDO0FBQzNCLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQztBQUN6RCxPQUFPLEtBQUssRUFBRSxZQUFZLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQztBQUNoRSxPQUFPLEVBQ0wsS0FBSyxxQkFBcUIsRUFFMUIsS0FBSywyQkFBMkIsRUFFaEMsS0FBSyxnQkFBZ0IsRUFDdEIsTUFBTSx3QkFBd0IsQ0FBQztBQUNoQyxPQUFPLEVBQUUsR0FBRyxFQUFFLE1BQU0sbUJBQW1CLENBQUM7QUFDeEMsT0FBTyxFQUFvQixLQUFLLFlBQVksRUFBRSxLQUFLLE1BQU0sRUFBcUIsTUFBTSx1QkFBdUIsQ0FBQztBQUM1RyxPQUFPLEVBQ0wsT0FBTyxFQUNQLFlBQVksRUFDWixNQUFNLEVBQ04sZUFBZSxFQUNmLFNBQVMsRUFDVCxrQkFBa0IsRUFDbEIsdUJBQXVCLEVBQ3hCLE1BQU0sa0JBQWtCLENBQUM7QUFDMUIsT0FBTyxLQUFLLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUV6RCxPQUFPLEVBQUUsQ0FBQyxFQUFFLE1BQU0sS0FBSyxDQUFDO0FBRXhCLE9BQU8sS0FBSyxFQUNWLG9CQUFvQixFQUNwQixpQkFBaUIsRUFDakIseUJBQXlCLEVBQ3pCLHNCQUFzQixFQUN0QiwwQkFBMEIsRUFDM0IsTUFBTSxvQ0FBb0MsQ0FBQztBQUM1QyxP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Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7SUFxQjlCLENBQUM7QUFFSCxlQUFPLE1BQU0sc0JBQXNCOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztFQUlFLENBQUM7QUFFdEMsZUFBTyxNQUFNLDJCQUEyQjs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztFQUlFLENBQUM7QUFFM0MsZUFBTyxNQUFNLDZCQUE2Qjs7Ozs7Ozs7Ozs7O0VBSXhDLENBQUM7QUFFSCxlQUFPLE1BQU0sWUFBWSxFQUFFLFlBQVksQ0FBQyxNQUFNLENBZ0Q3QyxDQUFDIn0=
|