@aztec-labs/aztec.js 6.0.0-nightly.20260829
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/README.md +44 -0
- package/dest/account/account.d.ts +44 -0
- package/dest/account/account.d.ts.map +1 -0
- package/dest/account/account.js +31 -0
- package/dest/account/account_contract.d.ts +49 -0
- package/dest/account/account_contract.d.ts.map +1 -0
- package/dest/account/account_contract.js +20 -0
- package/dest/account/index.d.ts +11 -0
- package/dest/account/index.d.ts.map +1 -0
- package/dest/account/index.js +6 -0
- package/dest/api/abi.d.ts +4 -0
- package/dest/api/abi.d.ts.map +1 -0
- package/dest/api/abi.js +1 -0
- package/dest/api/account.d.ts +5 -0
- package/dest/api/account.d.ts.map +1 -0
- package/dest/api/account.js +3 -0
- package/dest/api/addresses.d.ts +4 -0
- package/dest/api/addresses.d.ts.map +1 -0
- package/dest/api/addresses.js +3 -0
- package/dest/api/authorization.d.ts +5 -0
- package/dest/api/authorization.d.ts.map +1 -0
- package/dest/api/authorization.js +4 -0
- package/dest/api/block.d.ts +3 -0
- package/dest/api/block.d.ts.map +1 -0
- package/dest/api/block.js +2 -0
- package/dest/api/contract.d.ts +48 -0
- package/dest/api/contract.d.ts.map +1 -0
- package/dest/api/contract.js +46 -0
- package/dest/api/crypto.d.ts +2 -0
- package/dest/api/crypto.d.ts.map +1 -0
- package/dest/api/crypto.js +1 -0
- package/dest/api/deployment.d.ts +4 -0
- package/dest/api/deployment.d.ts.map +1 -0
- package/dest/api/deployment.js +3 -0
- package/dest/api/eth_address.d.ts +2 -0
- package/dest/api/eth_address.d.ts.map +1 -0
- package/dest/api/eth_address.js +1 -0
- package/dest/api/ethereum.d.ts +2 -0
- package/dest/api/ethereum.d.ts.map +1 -0
- package/dest/api/ethereum.js +1 -0
- package/dest/api/event_cursor.d.ts +44 -0
- package/dest/api/event_cursor.d.ts.map +1 -0
- package/dest/api/event_cursor.js +42 -0
- package/dest/api/events.d.ts +36 -0
- package/dest/api/events.d.ts.map +1 -0
- package/dest/api/events.js +59 -0
- package/dest/api/fee.d.ts +6 -0
- package/dest/api/fee.d.ts.map +1 -0
- package/dest/api/fee.js +4 -0
- package/dest/api/fee_testing.d.ts +2 -0
- package/dest/api/fee_testing.d.ts.map +1 -0
- package/dest/api/fee_testing.js +1 -0
- package/dest/api/fields.d.ts +4 -0
- package/dest/api/fields.d.ts.map +1 -0
- package/dest/api/fields.js +3 -0
- package/dest/api/keys.d.ts +4 -0
- package/dest/api/keys.d.ts.map +1 -0
- package/dest/api/keys.js +3 -0
- package/dest/api/log.d.ts +3 -0
- package/dest/api/log.d.ts.map +1 -0
- package/dest/api/log.js +2 -0
- package/dest/api/messaging.d.ts +3 -0
- package/dest/api/messaging.d.ts.map +1 -0
- package/dest/api/messaging.js +2 -0
- package/dest/api/node.d.ts +25 -0
- package/dest/api/node.d.ts.map +1 -0
- package/dest/api/node.js +22 -0
- package/dest/api/note.d.ts +2 -0
- package/dest/api/note.d.ts.map +1 -0
- package/dest/api/note.js +1 -0
- package/dest/api/protocol.d.ts +6 -0
- package/dest/api/protocol.d.ts.map +1 -0
- package/dest/api/protocol.js +5 -0
- package/dest/api/trees.d.ts +3 -0
- package/dest/api/trees.d.ts.map +1 -0
- package/dest/api/trees.js +2 -0
- package/dest/api/tx.d.ts +3 -0
- package/dest/api/tx.d.ts.map +1 -0
- package/dest/api/tx.js +1 -0
- package/dest/api/utils.d.ts +13 -0
- package/dest/api/utils.d.ts.map +1 -0
- package/dest/api/utils.js +12 -0
- package/dest/api/wallet.d.ts +8 -0
- package/dest/api/wallet.d.ts.map +1 -0
- package/dest/api/wallet.js +7 -0
- package/dest/authorization/call_authorization_request.d.ts +46 -0
- package/dest/authorization/call_authorization_request.d.ts.map +1 -0
- package/dest/authorization/call_authorization_request.js +72 -0
- package/dest/contract/base_contract_interaction.d.ts +32 -0
- package/dest/contract/base_contract_interaction.d.ts.map +1 -0
- package/dest/contract/base_contract_interaction.js +24 -0
- package/dest/contract/batch_call.d.ts +27 -0
- package/dest/contract/batch_call.d.ts.map +1 -0
- package/dest/contract/batch_call.js +152 -0
- package/dest/contract/checker.d.ts +11 -0
- package/dest/contract/checker.d.ts.map +1 -0
- package/dest/contract/checker.js +107 -0
- package/dest/contract/contract.d.ts +33 -0
- package/dest/contract/contract.d.ts.map +1 -0
- package/dest/contract/contract.js +36 -0
- package/dest/contract/contract_base.d.ts +51 -0
- package/dest/contract/contract_base.d.ts.map +1 -0
- package/dest/contract/contract_base.js +38 -0
- package/dest/contract/contract_function_interaction.d.ts +67 -0
- package/dest/contract/contract_function_interaction.d.ts.map +1 -0
- package/dest/contract/contract_function_interaction.js +218 -0
- package/dest/contract/deploy_method.d.ts +433 -0
- package/dest/contract/deploy_method.d.ts.map +1 -0
- package/dest/contract/deploy_method.js +471 -0
- package/dest/contract/fastforward_contract_update.d.ts +25 -0
- package/dest/contract/fastforward_contract_update.d.ts.map +1 -0
- package/dest/contract/fastforward_contract_update.js +57 -0
- package/dest/contract/interaction_options.d.ts +213 -0
- package/dest/contract/interaction_options.d.ts.map +1 -0
- package/dest/contract/interaction_options.js +87 -0
- package/dest/contract/protocol_contracts/contract-class-registry.d.ts +18 -0
- package/dest/contract/protocol_contracts/contract-class-registry.d.ts.map +1 -0
- package/dest/contract/protocol_contracts/contract-class-registry.js +137 -0
- package/dest/contract/protocol_contracts/contract-instance-registry.d.ts +25 -0
- package/dest/contract/protocol_contracts/contract-instance-registry.d.ts.map +1 -0
- package/dest/contract/protocol_contracts/contract-instance-registry.js +366 -0
- package/dest/contract/protocol_contracts/fee-juice.d.ts +24 -0
- package/dest/contract/protocol_contracts/fee-juice.d.ts.map +1 -0
- package/dest/contract/protocol_contracts/fee-juice.js +383 -0
- package/dest/contract/wait_for_proven.d.ts +18 -0
- package/dest/contract/wait_for_proven.d.ts.map +1 -0
- package/dest/contract/wait_for_proven.js +17 -0
- package/dest/contract/wait_opts.d.ts +21 -0
- package/dest/contract/wait_opts.d.ts.map +1 -0
- package/dest/contract/wait_opts.js +5 -0
- package/dest/deployment/contract_deployer.d.ts +28 -0
- package/dest/deployment/contract_deployer.d.ts.map +1 -0
- package/dest/deployment/contract_deployer.js +35 -0
- package/dest/deployment/publish_class.d.ts +6 -0
- package/dest/deployment/publish_class.d.ts.map +1 -0
- package/dest/deployment/publish_class.js +17 -0
- package/dest/deployment/publish_instance.d.ts +10 -0
- package/dest/deployment/publish_instance.d.ts.map +1 -0
- package/dest/deployment/publish_instance.js +11 -0
- package/dest/ethereum/portal_manager.d.ts +146 -0
- package/dest/ethereum/portal_manager.d.ts.map +1 -0
- package/dest/ethereum/portal_manager.js +415 -0
- package/dest/fee/fee_juice_payment_method_with_claim.d.ts +23 -0
- package/dest/fee/fee_juice_payment_method_with_claim.d.ts.map +1 -0
- package/dest/fee/fee_juice_payment_method_with_claim.js +46 -0
- package/dest/fee/fee_payment_method.d.ts +26 -0
- package/dest/fee/fee_payment_method.d.ts.map +1 -0
- package/dest/fee/fee_payment_method.js +3 -0
- package/dest/fee/private_fee_payment_method.d.ts +69 -0
- package/dest/fee/private_fee_payment_method.d.ts.map +1 -0
- package/dest/fee/private_fee_payment_method.js +122 -0
- package/dest/fee/public_fee_payment_method.d.ts +59 -0
- package/dest/fee/public_fee_payment_method.d.ts.map +1 -0
- package/dest/fee/public_fee_payment_method.js +116 -0
- package/dest/fee/sponsored_fee_payment.d.ts +17 -0
- package/dest/fee/sponsored_fee_payment.d.ts.map +1 -0
- package/dest/fee/sponsored_fee_payment.js +33 -0
- package/dest/scripts/generate_protocol_contract_types.d.ts +2 -0
- package/dest/scripts/generate_protocol_contract_types.d.ts.map +1 -0
- package/dest/scripts/generate_protocol_contract_types.js +128 -0
- package/dest/test/fixtures.d.ts +13 -0
- package/dest/test/fixtures.d.ts.map +1 -0
- package/dest/test/fixtures.js +185 -0
- package/dest/utils/abi_types.d.ts +32 -0
- package/dest/utils/abi_types.d.ts.map +1 -0
- package/dest/utils/abi_types.js +1 -0
- package/dest/utils/authwit.d.ts +119 -0
- package/dest/utils/authwit.d.ts.map +1 -0
- package/dest/utils/authwit.js +266 -0
- package/dest/utils/cross_chain.d.ts +28 -0
- package/dest/utils/cross_chain.d.ts.map +1 -0
- package/dest/utils/cross_chain.js +26 -0
- package/dest/utils/fee_juice.d.ts +8 -0
- package/dest/utils/fee_juice.d.ts.map +1 -0
- package/dest/utils/fee_juice.js +10 -0
- package/dest/utils/field_compressed_string.d.ts +17 -0
- package/dest/utils/field_compressed_string.d.ts.map +1 -0
- package/dest/utils/field_compressed_string.js +15 -0
- package/dest/utils/node.d.ts +24 -0
- package/dest/utils/node.d.ts.map +1 -0
- package/dest/utils/node.js +80 -0
- package/dest/utils/pub_key.d.ts +9 -0
- package/dest/utils/pub_key.d.ts.map +1 -0
- package/dest/utils/pub_key.js +8 -0
- package/dest/wallet/account_entrypoint_meta_payment_method.d.ts +33 -0
- package/dest/wallet/account_entrypoint_meta_payment_method.d.ts.map +1 -0
- package/dest/wallet/account_entrypoint_meta_payment_method.js +63 -0
- package/dest/wallet/account_manager.d.ts +73 -0
- package/dest/wallet/account_manager.d.ts.map +1 -0
- package/dest/wallet/account_manager.js +102 -0
- package/dest/wallet/capabilities.d.ts +456 -0
- package/dest/wallet/capabilities.d.ts.map +1 -0
- package/dest/wallet/capabilities.js +3 -0
- package/dest/wallet/deploy_account_method.d.ts +97 -0
- package/dest/wallet/deploy_account_method.d.ts.map +1 -0
- package/dest/wallet/deploy_account_method.js +127 -0
- package/dest/wallet/index.d.ts +5 -0
- package/dest/wallet/index.d.ts.map +1 -0
- package/dest/wallet/index.js +4 -0
- package/dest/wallet/tx_simulation_result_with_app_offset.d.ts +40 -0
- package/dest/wallet/tx_simulation_result_with_app_offset.d.ts.map +1 -0
- package/dest/wallet/tx_simulation_result_with_app_offset.js +65 -0
- package/dest/wallet/wallet.d.ts +1451 -0
- package/dest/wallet/wallet.d.ts.map +1 -0
- package/dest/wallet/wallet.js +430 -0
- package/package.json +138 -0
- package/src/account/account.ts +72 -0
- package/src/account/account_contract.ts +80 -0
- package/src/account/index.ts +12 -0
- package/src/api/README.md +7 -0
- package/src/api/abi.ts +42 -0
- package/src/api/account.ts +12 -0
- package/src/api/addresses.ts +3 -0
- package/src/api/authorization.ts +15 -0
- package/src/api/block.ts +2 -0
- package/src/api/contract.ts +86 -0
- package/src/api/crypto.ts +1 -0
- package/src/api/deployment.ts +3 -0
- package/src/api/eth_address.ts +1 -0
- package/src/api/ethereum.ts +10 -0
- package/src/api/event_cursor.ts +60 -0
- package/src/api/events.ts +79 -0
- package/src/api/fee.ts +5 -0
- package/src/api/fee_testing.ts +1 -0
- package/src/api/fields.ts +3 -0
- package/src/api/keys.ts +8 -0
- package/src/api/log.ts +2 -0
- package/src/api/messaging.ts +2 -0
- package/src/api/node.ts +30 -0
- package/src/api/note.ts +1 -0
- package/src/api/protocol.ts +6 -0
- package/src/api/trees.ts +2 -0
- package/src/api/tx.ts +20 -0
- package/src/api/utils.ts +14 -0
- package/src/api/wallet.ts +83 -0
- package/src/authorization/call_authorization_request.ts +93 -0
- package/src/contract/base_contract_interaction.ts +62 -0
- package/src/contract/batch_call.ts +188 -0
- package/src/contract/checker.ts +122 -0
- package/src/contract/contract.ts +52 -0
- package/src/contract/contract_base.ts +73 -0
- package/src/contract/contract_function_interaction.ts +297 -0
- package/src/contract/deploy_method.ts +877 -0
- package/src/contract/fastforward_contract_update.ts +71 -0
- package/src/contract/interaction_options.ts +301 -0
- package/src/contract/protocol_contracts/contract-class-registry.ts +104 -0
- package/src/contract/protocol_contracts/contract-instance-registry.ts +241 -0
- package/src/contract/protocol_contracts/fee-juice.ts +257 -0
- package/src/contract/wait_for_proven.ts +43 -0
- package/src/contract/wait_opts.ts +26 -0
- package/src/deployment/contract_deployer.ts +40 -0
- package/src/deployment/publish_class.ts +34 -0
- package/src/deployment/publish_instance.ts +24 -0
- package/src/ethereum/portal_manager.ts +539 -0
- package/src/fee/fee_juice_payment_method_with_claim.ts +63 -0
- package/src/fee/fee_payment_method.ts +26 -0
- package/src/fee/private_fee_payment_method.ts +145 -0
- package/src/fee/public_fee_payment_method.ts +145 -0
- package/src/fee/sponsored_fee_payment.ts +45 -0
- package/src/scripts/generate_protocol_contract_types.ts +160 -0
- package/src/test/fixtures.ts +126 -0
- package/src/utils/abi_types.ts +32 -0
- package/src/utils/authwit.ts +327 -0
- package/src/utils/cross_chain.ts +55 -0
- package/src/utils/fee_juice.ts +14 -0
- package/src/utils/field_compressed_string.ts +27 -0
- package/src/utils/node.ts +110 -0
- package/src/utils/pub_key.ts +12 -0
- package/src/wallet/account_entrypoint_meta_payment_method.ts +76 -0
- package/src/wallet/account_manager.ts +164 -0
- package/src/wallet/capabilities.ts +505 -0
- package/src/wallet/deploy_account_method.ts +234 -0
- package/src/wallet/index.ts +4 -0
- package/src/wallet/tx_simulation_result_with_app_offset.ts +100 -0
- package/src/wallet/wallet.ts +668 -0
|
@@ -0,0 +1,1451 @@
|
|
|
1
|
+
import type { ChainInfo } from '@aztec-labs/entrypoints/interfaces';
|
|
2
|
+
import { BlockNumber } from '@aztec-labs/foundation/branded-types';
|
|
3
|
+
import type { Fr } from '@aztec-labs/foundation/curves/bn254';
|
|
4
|
+
import { type AbiDecoded, type ContractArtifact, type EventMetadataDefinition, FunctionCall } from '@aztec-labs/stdlib/abi';
|
|
5
|
+
import { AuthWitness } from '@aztec-labs/stdlib/auth-witness';
|
|
6
|
+
import type { AztecAddress } from '@aztec-labs/stdlib/aztec-address';
|
|
7
|
+
import { type ContractInstancePreimage, type ContractInstancePreimageWithAddress } from '@aztec-labs/stdlib/contract';
|
|
8
|
+
import { Gas, ManaUsageEstimate } from '@aztec-labs/stdlib/gas';
|
|
9
|
+
import type { MasterSecretKeys } from '@aztec-labs/stdlib/keys';
|
|
10
|
+
import { type ApiSchemaFor } from '@aztec-labs/stdlib/schemas';
|
|
11
|
+
import type { ExecutionPayload, InTx } from '@aztec-labs/stdlib/tx';
|
|
12
|
+
import { Capsule, HashedValues, SimulationOverrides, TxHash, TxProfileResult, UtilityExecutionResult } from '@aztec-labs/stdlib/tx';
|
|
13
|
+
import { z } from 'zod';
|
|
14
|
+
import { EventCursor } from '../api/event_cursor.js';
|
|
15
|
+
import { type GasSettingsOption, type InteractionWaitOptions, type ProfileInteractionOptions, type SendInteractionOptionsWithoutWait, type SendReturn, type SimulateInteractionOptions } from '../contract/interaction_options.js';
|
|
16
|
+
import type { CallIntent, IntentInnerHash } from '../utils/authwit.js';
|
|
17
|
+
import type { AppCapabilities, WalletCapabilities } from './capabilities.js';
|
|
18
|
+
import { TxSimulationResultWithAppOffset } from './tx_simulation_result_with_app_offset.js';
|
|
19
|
+
/**
|
|
20
|
+
* A wrapper type that allows any item to be associated with an alias.
|
|
21
|
+
*/
|
|
22
|
+
export type Aliased<T> = {
|
|
23
|
+
/**
|
|
24
|
+
* The alias
|
|
25
|
+
*/
|
|
26
|
+
alias: string;
|
|
27
|
+
/**
|
|
28
|
+
* The item being aliased.
|
|
29
|
+
*/
|
|
30
|
+
item: T;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Options for simulating interactions with the wallet. Overrides the fee settings of an interaction with
|
|
34
|
+
* a simplified version that only hints at the wallet whether the interaction contains a
|
|
35
|
+
* fee payment method or not
|
|
36
|
+
*/
|
|
37
|
+
export type SimulateOptions = Omit<SimulateInteractionOptions, 'fee'> & {
|
|
38
|
+
/** The fee options */
|
|
39
|
+
fee?: GasSettingsOption;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Options for profiling interactions with the wallet. Overrides the fee settings of an interaction with
|
|
43
|
+
* a simplified version that only hints at the wallet whether the interaction contains a
|
|
44
|
+
* fee payment method or not
|
|
45
|
+
*/
|
|
46
|
+
export type ProfileOptions = Omit<ProfileInteractionOptions, 'fee'> & {
|
|
47
|
+
/** The fee options */
|
|
48
|
+
fee?: GasSettingsOption;
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* Options for sending/proving interactions with the wallet. Overrides the fee settings of an interaction with
|
|
52
|
+
* a simplified version that only hints at the wallet whether the interaction contains a
|
|
53
|
+
* fee payment method or not
|
|
54
|
+
*/
|
|
55
|
+
export type SendOptions<W extends InteractionWaitOptions = undefined> = Omit<SendInteractionOptionsWithoutWait, 'fee'> & {
|
|
56
|
+
/** The fee options */
|
|
57
|
+
fee?: GasSettingsOption;
|
|
58
|
+
/** Whether to wait for the transaction to be mined */
|
|
59
|
+
wait?: W;
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* Helper type that represents all methods that can be batched (all methods except batch itself).
|
|
63
|
+
*/
|
|
64
|
+
export type BatchableMethods = Omit<Wallet, 'batch'>;
|
|
65
|
+
/**
|
|
66
|
+
* A method call with its name and arguments.
|
|
67
|
+
*/
|
|
68
|
+
type BatchedMethodInternal<T extends keyof BatchableMethods> = {
|
|
69
|
+
/** The method name */
|
|
70
|
+
name: T;
|
|
71
|
+
/** The method arguments */
|
|
72
|
+
args: Parameters<BatchableMethods[T]>;
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* Union of all possible batched method calls.
|
|
76
|
+
* This ensures type safety: the `args` must match the specific `name`.
|
|
77
|
+
*/
|
|
78
|
+
export type BatchedMethod = {
|
|
79
|
+
[K in keyof BatchableMethods]: BatchedMethodInternal<K>;
|
|
80
|
+
}[keyof BatchableMethods];
|
|
81
|
+
/**
|
|
82
|
+
* Helper type to extract the return type of a batched method
|
|
83
|
+
*/
|
|
84
|
+
export type BatchedMethodResult<T> = T extends BatchedMethodInternal<infer K> ? Awaited<ReturnType<BatchableMethods[K]>> : never;
|
|
85
|
+
/**
|
|
86
|
+
* Wrapper type for batch results that includes the method name for discriminated union deserialization.
|
|
87
|
+
* Each result is wrapped as \{ name: 'methodName', result: ActualResult \} to allow proper deserialization
|
|
88
|
+
* when AztecAddress and TxHash would otherwise be ambiguous (both are hex strings).
|
|
89
|
+
*/
|
|
90
|
+
export type BatchedMethodResultWrapper<T extends BatchedMethod> = {
|
|
91
|
+
/** The method name */
|
|
92
|
+
name: T['name'];
|
|
93
|
+
/** The method result */
|
|
94
|
+
result: BatchedMethodResult<T>;
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* Maps a tuple of BatchedMethod to a tuple of their wrapped return types
|
|
98
|
+
*/
|
|
99
|
+
export type BatchResults<T extends readonly BatchedMethod[]> = {
|
|
100
|
+
[K in keyof T]: BatchedMethodResultWrapper<T[K]>;
|
|
101
|
+
};
|
|
102
|
+
/**
|
|
103
|
+
* Base filter options for event queries.
|
|
104
|
+
*/
|
|
105
|
+
export type EventFilterBase = {
|
|
106
|
+
/** Transaction in which the events were emitted. */
|
|
107
|
+
txHash?: TxHash;
|
|
108
|
+
/** The block number from which to start fetching events (inclusive).
|
|
109
|
+
* Optional. If provided, it must be greater or equal than 1.
|
|
110
|
+
* Defaults to the initial L2 block number (INITIAL_L2_BLOCK_NUM).
|
|
111
|
+
*/
|
|
112
|
+
fromBlock?: BlockNumber;
|
|
113
|
+
/** The block number until which to fetch logs (not inclusive).
|
|
114
|
+
* Optional. If provided, it must be greater than fromBlock.
|
|
115
|
+
*/
|
|
116
|
+
toBlock?: BlockNumber;
|
|
117
|
+
};
|
|
118
|
+
/**
|
|
119
|
+
* Filter options when querying private events.
|
|
120
|
+
*/
|
|
121
|
+
export type PrivateEventFilter = EventFilterBase & {
|
|
122
|
+
/** The address of the contract that emitted the events. */
|
|
123
|
+
contractAddress: AztecAddress;
|
|
124
|
+
/** Addresses of accounts that are in scope for this filter. */
|
|
125
|
+
scopes: AztecAddress[];
|
|
126
|
+
};
|
|
127
|
+
/**
|
|
128
|
+
* Filter options when querying public events. The contract address is required because the public log index is
|
|
129
|
+
* keyed on `(contract, tag)`; tag-only queries are not supported.
|
|
130
|
+
*/
|
|
131
|
+
export type PublicEventFilter = EventFilterBase & {
|
|
132
|
+
/** The address of the contract that emitted the events. Required. */
|
|
133
|
+
contractAddress: AztecAddress;
|
|
134
|
+
/**
|
|
135
|
+
* Cursor to resume strictly after, for pagination. Pass {@link GetPublicEventsResult.nextCursor} from a
|
|
136
|
+
* previous page here to fetch the next one. Omit to start from the beginning of the range.
|
|
137
|
+
*/
|
|
138
|
+
afterEvent?: EventCursor;
|
|
139
|
+
};
|
|
140
|
+
/**
|
|
141
|
+
* An ABI decoded event with associated metadata.
|
|
142
|
+
* @typeParam T - The decoded event type
|
|
143
|
+
* @typeParam M - Additional metadata fields (empty by default)
|
|
144
|
+
*/
|
|
145
|
+
export type Event<T, M extends object = object> = {
|
|
146
|
+
/** The ABI decoded event */
|
|
147
|
+
event: T;
|
|
148
|
+
/** Metadata describing event context information such as tx and block */
|
|
149
|
+
metadata: InTx & M;
|
|
150
|
+
};
|
|
151
|
+
/** An ABI decoded private event with associated metadata. */
|
|
152
|
+
export type PrivateEvent<T> = Event<T>;
|
|
153
|
+
/** An ABI decoded public event with associated metadata (includes contract address). */
|
|
154
|
+
export type PublicEvent<T> = Event<T, {
|
|
155
|
+
/**
|
|
156
|
+
* Address of the contract that emitted this event
|
|
157
|
+
*/
|
|
158
|
+
contractAddress: AztecAddress;
|
|
159
|
+
}>;
|
|
160
|
+
/** Whether the contract has been initialized. */
|
|
161
|
+
export declare enum ContractInitializationStatus {
|
|
162
|
+
/** The contract has been initialized (initialization nullifier found). */
|
|
163
|
+
INITIALIZED = "INITIALIZED",
|
|
164
|
+
/** The contract has not been initialized (instance is known, but no initialization nullifier found). */
|
|
165
|
+
UNINITIALIZED = "UNINITIALIZED",
|
|
166
|
+
/**
|
|
167
|
+
* Initialization status cannot be determined. The contract instance is not registered in this wallet, so we have
|
|
168
|
+
* limited ability to check for initialization. The contract may or may not have been initialized.
|
|
169
|
+
*/
|
|
170
|
+
UNKNOWN = "UNKNOWN"
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* Contract metadata including deployment and registration status.
|
|
174
|
+
*/
|
|
175
|
+
export type ContractMetadata = {
|
|
176
|
+
/** The contract instance preimage and address. */
|
|
177
|
+
instance?: ContractInstancePreimageWithAddress;
|
|
178
|
+
/** Whether the contract has been initialized. */
|
|
179
|
+
initializationStatus: ContractInitializationStatus;
|
|
180
|
+
/** Whether the contract instance is publicly deployed onchain */
|
|
181
|
+
isContractPublished: boolean;
|
|
182
|
+
/** Whether the contract has been updated to a different class */
|
|
183
|
+
isContractUpdated: boolean;
|
|
184
|
+
/** The updated contract class ID if the contract has been updated */
|
|
185
|
+
updatedContractClassId?: Fr | undefined;
|
|
186
|
+
};
|
|
187
|
+
/**
|
|
188
|
+
* Contract class metadata.
|
|
189
|
+
*/
|
|
190
|
+
export type ContractClassMetadata = {
|
|
191
|
+
/** Whether the artifact is registered in the wallet */
|
|
192
|
+
isArtifactRegistered: boolean;
|
|
193
|
+
/** Whether the contract class is publicly registered onchain */
|
|
194
|
+
isContractClassPubliclyRegistered: boolean;
|
|
195
|
+
};
|
|
196
|
+
/**
|
|
197
|
+
* Options for executing a utility function call.
|
|
198
|
+
*/
|
|
199
|
+
export type ExecuteUtilityOptions = {
|
|
200
|
+
/** The scopes for the utility execution (determines which notes and keys are visible). */
|
|
201
|
+
scopes: AztecAddress[];
|
|
202
|
+
/** Optional auth witnesses to use during execution. */
|
|
203
|
+
authWitnesses?: AuthWitness[];
|
|
204
|
+
};
|
|
205
|
+
/**
|
|
206
|
+
* The wallet interface.
|
|
207
|
+
*/
|
|
208
|
+
export type Wallet = {
|
|
209
|
+
getPrivateEvents<T>(eventMetadata: EventMetadataDefinition, eventFilter: PrivateEventFilter): Promise<PrivateEvent<T>[]>;
|
|
210
|
+
getChainInfo(): Promise<ChainInfo>;
|
|
211
|
+
getContractMetadata(address: AztecAddress): Promise<ContractMetadata>;
|
|
212
|
+
getContractClassMetadata(id: Fr): Promise<ContractClassMetadata>;
|
|
213
|
+
registerSender(address: AztecAddress, alias?: string): Promise<AztecAddress>;
|
|
214
|
+
getAddressBook(): Promise<Aliased<AztecAddress>[]>;
|
|
215
|
+
getAccounts(): Promise<Aliased<AztecAddress>[]>;
|
|
216
|
+
registerContract(instance: ContractInstancePreimage, artifact?: ContractArtifact, secretKeyOrKeys?: Fr | MasterSecretKeys): Promise<void>;
|
|
217
|
+
/**
|
|
218
|
+
* Registers a contract class artifact in the local PXE without binding it to any instance.
|
|
219
|
+
* Useful for simulation flows that need the artifact available locally before any onchain
|
|
220
|
+
* upgrade has taken effect. No chain check.
|
|
221
|
+
*/
|
|
222
|
+
registerContractClass(artifact: ContractArtifact): Promise<void>;
|
|
223
|
+
simulateTx(exec: ExecutionPayload, opts: SimulateOptions): Promise<TxSimulationResultWithAppOffset>;
|
|
224
|
+
executeUtility(call: FunctionCall, opts: ExecuteUtilityOptions): Promise<UtilityExecutionResult>;
|
|
225
|
+
profileTx(exec: ExecutionPayload, opts: ProfileOptions): Promise<TxProfileResult>;
|
|
226
|
+
sendTx<W extends InteractionWaitOptions = undefined>(exec: ExecutionPayload, opts: SendOptions<W>): Promise<SendReturn<W>>;
|
|
227
|
+
createAuthWit(from: AztecAddress, messageHashOrIntent: IntentInnerHash | CallIntent): Promise<AuthWitness>;
|
|
228
|
+
requestCapabilities(manifest: AppCapabilities): Promise<WalletCapabilities>;
|
|
229
|
+
batch<const T extends readonly BatchedMethod[]>(methods: T): Promise<BatchResults<T>>;
|
|
230
|
+
};
|
|
231
|
+
export declare const ExecutionPayloadSchema: z.ZodObject<{
|
|
232
|
+
calls: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
233
|
+
name: z.ZodString;
|
|
234
|
+
to: import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>;
|
|
235
|
+
selector: import("@aztec-labs/stdlib/schemas").ZodFor<import("@aztec-labs/stdlib/abi").FunctionSelector>;
|
|
236
|
+
type: z.ZodEnum<typeof import("@aztec-labs/stdlib/abi").FunctionType>;
|
|
237
|
+
isStatic: z.ZodBoolean;
|
|
238
|
+
hideMsgSender: z.ZodBoolean;
|
|
239
|
+
args: z.ZodArray<import("@aztec-labs/stdlib/schemas").ZodFor<Fr>>;
|
|
240
|
+
returnType: z.ZodOptional<z.ZodType<import("@aztec-labs/stdlib/abi").AbiType, unknown, z.core.$ZodTypeInternals<import("@aztec-labs/stdlib/abi").AbiType, unknown>>>;
|
|
241
|
+
returnTypes: z.ZodOptional<z.ZodArray<z.ZodType<import("@aztec-labs/stdlib/abi").AbiType, unknown, z.core.$ZodTypeInternals<import("@aztec-labs/stdlib/abi").AbiType, unknown>>>>;
|
|
242
|
+
}, z.core.$strip>, z.ZodTransform<FunctionCall, {
|
|
243
|
+
name: string;
|
|
244
|
+
to: AztecAddress;
|
|
245
|
+
selector: import("@aztec-labs/stdlib/abi").FunctionSelector;
|
|
246
|
+
type: import("@aztec-labs/stdlib/abi").FunctionType;
|
|
247
|
+
isStatic: boolean;
|
|
248
|
+
hideMsgSender: boolean;
|
|
249
|
+
args: Fr[];
|
|
250
|
+
returnType?: import("@aztec-labs/stdlib/abi").AbiType | undefined;
|
|
251
|
+
returnTypes?: import("@aztec-labs/stdlib/abi").AbiType[] | undefined;
|
|
252
|
+
}>>>;
|
|
253
|
+
authWitnesses: z.ZodArray<z.ZodType<AuthWitness, string, z.core.$ZodTypeInternals<AuthWitness, string>>>;
|
|
254
|
+
capsules: z.ZodArray<z.ZodType<Capsule, string, z.core.$ZodTypeInternals<Capsule, string>>>;
|
|
255
|
+
extraHashedArgs: z.ZodArray<import("@aztec-labs/stdlib/schemas").ZodFor<HashedValues>>;
|
|
256
|
+
feePayer: z.ZodPipe<z.ZodOptional<z.ZodNullable<import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>>>, z.ZodTransform<AztecAddress | undefined, AztecAddress | null | undefined>>;
|
|
257
|
+
}, z.core.$strip>;
|
|
258
|
+
export declare const GasSettingsOptionSchema: z.ZodObject<{
|
|
259
|
+
gasSettings: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
260
|
+
gasLimits: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
|
|
261
|
+
daGas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
|
|
262
|
+
l2Gas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
|
|
263
|
+
}, z.core.$strip>, z.ZodTransform<Gas, {
|
|
264
|
+
daGas: number;
|
|
265
|
+
l2Gas: number;
|
|
266
|
+
}>>>>, z.ZodTransform<Gas | undefined, Gas | null | undefined>>;
|
|
267
|
+
teardownGasLimits: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
|
|
268
|
+
daGas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
|
|
269
|
+
l2Gas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
|
|
270
|
+
}, z.core.$strip>, z.ZodTransform<Gas, {
|
|
271
|
+
daGas: number;
|
|
272
|
+
l2Gas: number;
|
|
273
|
+
}>>>>, z.ZodTransform<Gas | undefined, Gas | null | undefined>>;
|
|
274
|
+
maxFeePerGas: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
275
|
+
feePerDaGas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
|
|
276
|
+
feePerL2Gas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
|
|
277
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
278
|
+
feePerDaGas: bigint;
|
|
279
|
+
feePerL2Gas: bigint;
|
|
280
|
+
} | undefined, {
|
|
281
|
+
feePerDaGas: bigint;
|
|
282
|
+
feePerL2Gas: bigint;
|
|
283
|
+
} | null | undefined>>;
|
|
284
|
+
maxPriorityFeePerGas: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
285
|
+
feePerDaGas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
|
|
286
|
+
feePerL2Gas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
|
|
287
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
288
|
+
feePerDaGas: bigint;
|
|
289
|
+
feePerL2Gas: bigint;
|
|
290
|
+
} | undefined, {
|
|
291
|
+
feePerDaGas: bigint;
|
|
292
|
+
feePerL2Gas: bigint;
|
|
293
|
+
} | null | undefined>>;
|
|
294
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
295
|
+
gasLimits: Gas | undefined;
|
|
296
|
+
teardownGasLimits: Gas | undefined;
|
|
297
|
+
maxFeePerGas: {
|
|
298
|
+
feePerDaGas: bigint;
|
|
299
|
+
feePerL2Gas: bigint;
|
|
300
|
+
} | undefined;
|
|
301
|
+
maxPriorityFeePerGas: {
|
|
302
|
+
feePerDaGas: bigint;
|
|
303
|
+
feePerL2Gas: bigint;
|
|
304
|
+
} | undefined;
|
|
305
|
+
} | undefined, {
|
|
306
|
+
gasLimits: Gas | undefined;
|
|
307
|
+
teardownGasLimits: Gas | undefined;
|
|
308
|
+
maxFeePerGas: {
|
|
309
|
+
feePerDaGas: bigint;
|
|
310
|
+
feePerL2Gas: bigint;
|
|
311
|
+
} | undefined;
|
|
312
|
+
maxPriorityFeePerGas: {
|
|
313
|
+
feePerDaGas: bigint;
|
|
314
|
+
feePerL2Gas: bigint;
|
|
315
|
+
} | undefined;
|
|
316
|
+
} | null | undefined>>;
|
|
317
|
+
congestionEstimate: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof ManaUsageEstimate>>>, z.ZodTransform<NonNullable<ManaUsageEstimate> | undefined, ManaUsageEstimate | null | undefined>>;
|
|
318
|
+
}, z.core.$strip>;
|
|
319
|
+
export declare const WaitOptsSchema: z.ZodObject<{
|
|
320
|
+
ignoreDroppedReceiptsFor: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
321
|
+
timeout: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
322
|
+
interval: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
323
|
+
dontThrowOnRevert: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean | undefined, boolean | null | undefined>>;
|
|
324
|
+
initialDelay: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
325
|
+
}, z.core.$strip>;
|
|
326
|
+
export declare const SendOptionsSchema: z.ZodObject<{
|
|
327
|
+
from: z.ZodUnion<readonly [import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"NO_FROM">]>;
|
|
328
|
+
authWitnesses: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodType<AuthWitness, string, z.core.$ZodTypeInternals<AuthWitness, string>>>>>, z.ZodTransform<AuthWitness[] | undefined, AuthWitness[] | null | undefined>>;
|
|
329
|
+
capsules: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodType<Capsule, string, z.core.$ZodTypeInternals<Capsule, string>>>>>, z.ZodTransform<Capsule[] | undefined, Capsule[] | null | undefined>>;
|
|
330
|
+
fee: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
331
|
+
gasSettings: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
332
|
+
gasLimits: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
|
|
333
|
+
daGas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
|
|
334
|
+
l2Gas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
|
|
335
|
+
}, z.core.$strip>, z.ZodTransform<Gas, {
|
|
336
|
+
daGas: number;
|
|
337
|
+
l2Gas: number;
|
|
338
|
+
}>>>>, z.ZodTransform<Gas | undefined, Gas | null | undefined>>;
|
|
339
|
+
teardownGasLimits: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
|
|
340
|
+
daGas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
|
|
341
|
+
l2Gas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
|
|
342
|
+
}, z.core.$strip>, z.ZodTransform<Gas, {
|
|
343
|
+
daGas: number;
|
|
344
|
+
l2Gas: number;
|
|
345
|
+
}>>>>, z.ZodTransform<Gas | undefined, Gas | null | undefined>>;
|
|
346
|
+
maxFeePerGas: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
347
|
+
feePerDaGas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
|
|
348
|
+
feePerL2Gas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
|
|
349
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
350
|
+
feePerDaGas: bigint;
|
|
351
|
+
feePerL2Gas: bigint;
|
|
352
|
+
} | undefined, {
|
|
353
|
+
feePerDaGas: bigint;
|
|
354
|
+
feePerL2Gas: bigint;
|
|
355
|
+
} | null | undefined>>;
|
|
356
|
+
maxPriorityFeePerGas: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
357
|
+
feePerDaGas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
|
|
358
|
+
feePerL2Gas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
|
|
359
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
360
|
+
feePerDaGas: bigint;
|
|
361
|
+
feePerL2Gas: bigint;
|
|
362
|
+
} | undefined, {
|
|
363
|
+
feePerDaGas: bigint;
|
|
364
|
+
feePerL2Gas: bigint;
|
|
365
|
+
} | null | undefined>>;
|
|
366
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
367
|
+
gasLimits: Gas | undefined;
|
|
368
|
+
teardownGasLimits: Gas | undefined;
|
|
369
|
+
maxFeePerGas: {
|
|
370
|
+
feePerDaGas: bigint;
|
|
371
|
+
feePerL2Gas: bigint;
|
|
372
|
+
} | undefined;
|
|
373
|
+
maxPriorityFeePerGas: {
|
|
374
|
+
feePerDaGas: bigint;
|
|
375
|
+
feePerL2Gas: bigint;
|
|
376
|
+
} | undefined;
|
|
377
|
+
} | undefined, {
|
|
378
|
+
gasLimits: Gas | undefined;
|
|
379
|
+
teardownGasLimits: Gas | undefined;
|
|
380
|
+
maxFeePerGas: {
|
|
381
|
+
feePerDaGas: bigint;
|
|
382
|
+
feePerL2Gas: bigint;
|
|
383
|
+
} | undefined;
|
|
384
|
+
maxPriorityFeePerGas: {
|
|
385
|
+
feePerDaGas: bigint;
|
|
386
|
+
feePerL2Gas: bigint;
|
|
387
|
+
} | undefined;
|
|
388
|
+
} | null | undefined>>;
|
|
389
|
+
congestionEstimate: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof ManaUsageEstimate>>>, z.ZodTransform<NonNullable<ManaUsageEstimate> | undefined, ManaUsageEstimate | null | undefined>>;
|
|
390
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
391
|
+
gasSettings: {
|
|
392
|
+
gasLimits: Gas | undefined;
|
|
393
|
+
teardownGasLimits: Gas | undefined;
|
|
394
|
+
maxFeePerGas: {
|
|
395
|
+
feePerDaGas: bigint;
|
|
396
|
+
feePerL2Gas: bigint;
|
|
397
|
+
} | undefined;
|
|
398
|
+
maxPriorityFeePerGas: {
|
|
399
|
+
feePerDaGas: bigint;
|
|
400
|
+
feePerL2Gas: bigint;
|
|
401
|
+
} | undefined;
|
|
402
|
+
} | undefined;
|
|
403
|
+
congestionEstimate: NonNullable<ManaUsageEstimate> | undefined;
|
|
404
|
+
} | undefined, {
|
|
405
|
+
gasSettings: {
|
|
406
|
+
gasLimits: Gas | undefined;
|
|
407
|
+
teardownGasLimits: Gas | undefined;
|
|
408
|
+
maxFeePerGas: {
|
|
409
|
+
feePerDaGas: bigint;
|
|
410
|
+
feePerL2Gas: bigint;
|
|
411
|
+
} | undefined;
|
|
412
|
+
maxPriorityFeePerGas: {
|
|
413
|
+
feePerDaGas: bigint;
|
|
414
|
+
feePerL2Gas: bigint;
|
|
415
|
+
} | undefined;
|
|
416
|
+
} | undefined;
|
|
417
|
+
congestionEstimate: NonNullable<ManaUsageEstimate> | undefined;
|
|
418
|
+
} | null | undefined>>;
|
|
419
|
+
wait: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<"NO_WAIT">, z.ZodObject<{
|
|
420
|
+
ignoreDroppedReceiptsFor: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
421
|
+
timeout: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
422
|
+
interval: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
423
|
+
dontThrowOnRevert: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean | undefined, boolean | null | undefined>>;
|
|
424
|
+
initialDelay: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
425
|
+
}, z.core.$strip>]>>>, z.ZodTransform<NonNullable<"NO_WAIT" | {
|
|
426
|
+
ignoreDroppedReceiptsFor: number | undefined;
|
|
427
|
+
timeout: number | undefined;
|
|
428
|
+
interval: number | undefined;
|
|
429
|
+
dontThrowOnRevert: boolean | undefined;
|
|
430
|
+
initialDelay: number | undefined;
|
|
431
|
+
}> | undefined, "NO_WAIT" | {
|
|
432
|
+
ignoreDroppedReceiptsFor: number | undefined;
|
|
433
|
+
timeout: number | undefined;
|
|
434
|
+
interval: number | undefined;
|
|
435
|
+
dontThrowOnRevert: boolean | undefined;
|
|
436
|
+
initialDelay: number | undefined;
|
|
437
|
+
} | null | undefined>>;
|
|
438
|
+
additionalScopes: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodArray<import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>>>>, z.ZodTransform<AztecAddress[] | undefined, AztecAddress[] | null | undefined>>;
|
|
439
|
+
sendMessagesAs: z.ZodPipe<z.ZodOptional<z.ZodNullable<import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>>>, z.ZodTransform<AztecAddress | undefined, AztecAddress | null | undefined>>;
|
|
440
|
+
}, z.core.$strip>;
|
|
441
|
+
export declare const SimulateOptionsSchema: z.ZodObject<{
|
|
442
|
+
from: z.ZodUnion<readonly [import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"NO_FROM">]>;
|
|
443
|
+
authWitnesses: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodType<AuthWitness, string, z.core.$ZodTypeInternals<AuthWitness, string>>>>>, z.ZodTransform<AuthWitness[] | undefined, AuthWitness[] | null | undefined>>;
|
|
444
|
+
capsules: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodType<Capsule, string, z.core.$ZodTypeInternals<Capsule, string>>>>>, z.ZodTransform<Capsule[] | undefined, Capsule[] | null | undefined>>;
|
|
445
|
+
fee: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
446
|
+
gasSettings: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
447
|
+
gasLimits: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
|
|
448
|
+
daGas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
|
|
449
|
+
l2Gas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
|
|
450
|
+
}, z.core.$strip>, z.ZodTransform<Gas, {
|
|
451
|
+
daGas: number;
|
|
452
|
+
l2Gas: number;
|
|
453
|
+
}>>>>, z.ZodTransform<Gas | undefined, Gas | null | undefined>>;
|
|
454
|
+
teardownGasLimits: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
|
|
455
|
+
daGas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
|
|
456
|
+
l2Gas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
|
|
457
|
+
}, z.core.$strip>, z.ZodTransform<Gas, {
|
|
458
|
+
daGas: number;
|
|
459
|
+
l2Gas: number;
|
|
460
|
+
}>>>>, z.ZodTransform<Gas | undefined, Gas | null | undefined>>;
|
|
461
|
+
maxFeePerGas: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
462
|
+
feePerDaGas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
|
|
463
|
+
feePerL2Gas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
|
|
464
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
465
|
+
feePerDaGas: bigint;
|
|
466
|
+
feePerL2Gas: bigint;
|
|
467
|
+
} | undefined, {
|
|
468
|
+
feePerDaGas: bigint;
|
|
469
|
+
feePerL2Gas: bigint;
|
|
470
|
+
} | null | undefined>>;
|
|
471
|
+
maxPriorityFeePerGas: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
472
|
+
feePerDaGas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
|
|
473
|
+
feePerL2Gas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
|
|
474
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
475
|
+
feePerDaGas: bigint;
|
|
476
|
+
feePerL2Gas: bigint;
|
|
477
|
+
} | undefined, {
|
|
478
|
+
feePerDaGas: bigint;
|
|
479
|
+
feePerL2Gas: bigint;
|
|
480
|
+
} | null | undefined>>;
|
|
481
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
482
|
+
gasLimits: Gas | undefined;
|
|
483
|
+
teardownGasLimits: Gas | undefined;
|
|
484
|
+
maxFeePerGas: {
|
|
485
|
+
feePerDaGas: bigint;
|
|
486
|
+
feePerL2Gas: bigint;
|
|
487
|
+
} | undefined;
|
|
488
|
+
maxPriorityFeePerGas: {
|
|
489
|
+
feePerDaGas: bigint;
|
|
490
|
+
feePerL2Gas: bigint;
|
|
491
|
+
} | undefined;
|
|
492
|
+
} | undefined, {
|
|
493
|
+
gasLimits: Gas | undefined;
|
|
494
|
+
teardownGasLimits: Gas | undefined;
|
|
495
|
+
maxFeePerGas: {
|
|
496
|
+
feePerDaGas: bigint;
|
|
497
|
+
feePerL2Gas: bigint;
|
|
498
|
+
} | undefined;
|
|
499
|
+
maxPriorityFeePerGas: {
|
|
500
|
+
feePerDaGas: bigint;
|
|
501
|
+
feePerL2Gas: bigint;
|
|
502
|
+
} | undefined;
|
|
503
|
+
} | null | undefined>>;
|
|
504
|
+
congestionEstimate: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof ManaUsageEstimate>>>, z.ZodTransform<NonNullable<ManaUsageEstimate> | undefined, ManaUsageEstimate | null | undefined>>;
|
|
505
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
506
|
+
gasSettings: {
|
|
507
|
+
gasLimits: Gas | undefined;
|
|
508
|
+
teardownGasLimits: Gas | undefined;
|
|
509
|
+
maxFeePerGas: {
|
|
510
|
+
feePerDaGas: bigint;
|
|
511
|
+
feePerL2Gas: bigint;
|
|
512
|
+
} | undefined;
|
|
513
|
+
maxPriorityFeePerGas: {
|
|
514
|
+
feePerDaGas: bigint;
|
|
515
|
+
feePerL2Gas: bigint;
|
|
516
|
+
} | undefined;
|
|
517
|
+
} | undefined;
|
|
518
|
+
congestionEstimate: NonNullable<ManaUsageEstimate> | undefined;
|
|
519
|
+
} | undefined, {
|
|
520
|
+
gasSettings: {
|
|
521
|
+
gasLimits: Gas | undefined;
|
|
522
|
+
teardownGasLimits: Gas | undefined;
|
|
523
|
+
maxFeePerGas: {
|
|
524
|
+
feePerDaGas: bigint;
|
|
525
|
+
feePerL2Gas: bigint;
|
|
526
|
+
} | undefined;
|
|
527
|
+
maxPriorityFeePerGas: {
|
|
528
|
+
feePerDaGas: bigint;
|
|
529
|
+
feePerL2Gas: bigint;
|
|
530
|
+
} | undefined;
|
|
531
|
+
} | undefined;
|
|
532
|
+
congestionEstimate: NonNullable<ManaUsageEstimate> | undefined;
|
|
533
|
+
} | null | undefined>>;
|
|
534
|
+
skipTxValidation: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean | undefined, boolean | null | undefined>>;
|
|
535
|
+
skipFeeEnforcement: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean | undefined, boolean | null | undefined>>;
|
|
536
|
+
includeMetadata: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean | undefined, boolean | null | undefined>>;
|
|
537
|
+
additionalScopes: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodArray<import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>>>>, z.ZodTransform<AztecAddress[] | undefined, AztecAddress[] | null | undefined>>;
|
|
538
|
+
sendMessagesAs: z.ZodPipe<z.ZodOptional<z.ZodNullable<import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>>>, z.ZodTransform<AztecAddress | undefined, AztecAddress | null | undefined>>;
|
|
539
|
+
overrides: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
|
|
540
|
+
publicStorage: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
541
|
+
contract: import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>;
|
|
542
|
+
slot: import("@aztec-labs/stdlib/schemas").ZodFor<Fr>;
|
|
543
|
+
value: import("@aztec-labs/stdlib/schemas").ZodFor<Fr>;
|
|
544
|
+
}, z.core.$strip>>>>, z.ZodTransform<{
|
|
545
|
+
contract: AztecAddress;
|
|
546
|
+
slot: Fr;
|
|
547
|
+
value: Fr;
|
|
548
|
+
}[] | undefined, {
|
|
549
|
+
contract: AztecAddress;
|
|
550
|
+
slot: Fr;
|
|
551
|
+
value: Fr;
|
|
552
|
+
}[] | null | undefined>>;
|
|
553
|
+
contracts: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
554
|
+
instance: z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
555
|
+
version: z.ZodLiteral<2>;
|
|
556
|
+
salt: import("@aztec-labs/stdlib/schemas").ZodFor<Fr>;
|
|
557
|
+
deployer: import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>;
|
|
558
|
+
originalContractClassId: import("@aztec-labs/stdlib/schemas").ZodFor<Fr>;
|
|
559
|
+
initializationHash: import("@aztec-labs/stdlib/schemas").ZodFor<Fr>;
|
|
560
|
+
immutablesHash: import("@aztec-labs/stdlib/schemas").ZodFor<Fr>;
|
|
561
|
+
publicKeys: z.ZodPipe<z.ZodObject<{
|
|
562
|
+
npkMHash: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
|
|
563
|
+
ivpkM: z.ZodType<import("@aztec-labs/foundation/schemas").Point, string, z.core.$ZodTypeInternals<import("@aztec-labs/foundation/schemas").Point, string>>;
|
|
564
|
+
ovpkMHash: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
|
|
565
|
+
tpkMHash: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
|
|
566
|
+
mspkMHash: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
|
|
567
|
+
fbpkMHash: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
|
|
568
|
+
}, z.core.$strip>, z.ZodTransform<import("@aztec-labs/stdlib/keys").PublicKeys, {
|
|
569
|
+
npkMHash: Fr;
|
|
570
|
+
ivpkM: import("@aztec-labs/foundation/schemas").Point;
|
|
571
|
+
ovpkMHash: Fr;
|
|
572
|
+
tpkMHash: Fr;
|
|
573
|
+
mspkMHash: Fr;
|
|
574
|
+
fbpkMHash: Fr;
|
|
575
|
+
}>>;
|
|
576
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
577
|
+
currentContractClassId: import("@aztec-labs/stdlib/schemas").ZodFor<Fr>;
|
|
578
|
+
}, z.core.$strip>>, z.ZodObject<{
|
|
579
|
+
address: import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>;
|
|
580
|
+
}, z.core.$strip>>;
|
|
581
|
+
}, z.core.$strip>>>>, z.ZodTransform<Record<string, {
|
|
582
|
+
instance: {
|
|
583
|
+
version: 2;
|
|
584
|
+
salt: Fr;
|
|
585
|
+
deployer: AztecAddress;
|
|
586
|
+
originalContractClassId: Fr;
|
|
587
|
+
initializationHash: Fr;
|
|
588
|
+
immutablesHash: Fr;
|
|
589
|
+
publicKeys: import("@aztec-labs/stdlib/keys").PublicKeys;
|
|
590
|
+
} & {
|
|
591
|
+
currentContractClassId: Fr;
|
|
592
|
+
} & {
|
|
593
|
+
address: AztecAddress;
|
|
594
|
+
};
|
|
595
|
+
}> | undefined, Record<string, {
|
|
596
|
+
instance: {
|
|
597
|
+
version: 2;
|
|
598
|
+
salt: Fr;
|
|
599
|
+
deployer: AztecAddress;
|
|
600
|
+
originalContractClassId: Fr;
|
|
601
|
+
initializationHash: Fr;
|
|
602
|
+
immutablesHash: Fr;
|
|
603
|
+
publicKeys: import("@aztec-labs/stdlib/keys").PublicKeys;
|
|
604
|
+
} & {
|
|
605
|
+
currentContractClassId: Fr;
|
|
606
|
+
} & {
|
|
607
|
+
address: AztecAddress;
|
|
608
|
+
};
|
|
609
|
+
}> | null | undefined>>;
|
|
610
|
+
}, z.core.$strip>, z.ZodTransform<SimulationOverrides, {
|
|
611
|
+
publicStorage: {
|
|
612
|
+
contract: AztecAddress;
|
|
613
|
+
slot: Fr;
|
|
614
|
+
value: Fr;
|
|
615
|
+
}[] | undefined;
|
|
616
|
+
contracts: Record<string, {
|
|
617
|
+
instance: {
|
|
618
|
+
version: 2;
|
|
619
|
+
salt: Fr;
|
|
620
|
+
deployer: AztecAddress;
|
|
621
|
+
originalContractClassId: Fr;
|
|
622
|
+
initializationHash: Fr;
|
|
623
|
+
immutablesHash: Fr;
|
|
624
|
+
publicKeys: import("@aztec-labs/stdlib/keys").PublicKeys;
|
|
625
|
+
} & {
|
|
626
|
+
currentContractClassId: Fr;
|
|
627
|
+
} & {
|
|
628
|
+
address: AztecAddress;
|
|
629
|
+
};
|
|
630
|
+
}> | undefined;
|
|
631
|
+
}>>>>, z.ZodTransform<SimulationOverrides | undefined, SimulationOverrides | null | undefined>>;
|
|
632
|
+
}, z.core.$strip>;
|
|
633
|
+
export declare const ProfileOptionsSchema: z.ZodObject<{
|
|
634
|
+
from: z.ZodUnion<readonly [import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"NO_FROM">]>;
|
|
635
|
+
authWitnesses: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodType<AuthWitness, string, z.core.$ZodTypeInternals<AuthWitness, string>>>>>, z.ZodTransform<AuthWitness[] | undefined, AuthWitness[] | null | undefined>>;
|
|
636
|
+
capsules: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodType<Capsule, string, z.core.$ZodTypeInternals<Capsule, string>>>>>, z.ZodTransform<Capsule[] | undefined, Capsule[] | null | undefined>>;
|
|
637
|
+
fee: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
638
|
+
gasSettings: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
639
|
+
gasLimits: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
|
|
640
|
+
daGas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
|
|
641
|
+
l2Gas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
|
|
642
|
+
}, z.core.$strip>, z.ZodTransform<Gas, {
|
|
643
|
+
daGas: number;
|
|
644
|
+
l2Gas: number;
|
|
645
|
+
}>>>>, z.ZodTransform<Gas | undefined, Gas | null | undefined>>;
|
|
646
|
+
teardownGasLimits: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
|
|
647
|
+
daGas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
|
|
648
|
+
l2Gas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
|
|
649
|
+
}, z.core.$strip>, z.ZodTransform<Gas, {
|
|
650
|
+
daGas: number;
|
|
651
|
+
l2Gas: number;
|
|
652
|
+
}>>>>, z.ZodTransform<Gas | undefined, Gas | null | undefined>>;
|
|
653
|
+
maxFeePerGas: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
654
|
+
feePerDaGas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
|
|
655
|
+
feePerL2Gas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
|
|
656
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
657
|
+
feePerDaGas: bigint;
|
|
658
|
+
feePerL2Gas: bigint;
|
|
659
|
+
} | undefined, {
|
|
660
|
+
feePerDaGas: bigint;
|
|
661
|
+
feePerL2Gas: bigint;
|
|
662
|
+
} | null | undefined>>;
|
|
663
|
+
maxPriorityFeePerGas: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
664
|
+
feePerDaGas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
|
|
665
|
+
feePerL2Gas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
|
|
666
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
667
|
+
feePerDaGas: bigint;
|
|
668
|
+
feePerL2Gas: bigint;
|
|
669
|
+
} | undefined, {
|
|
670
|
+
feePerDaGas: bigint;
|
|
671
|
+
feePerL2Gas: bigint;
|
|
672
|
+
} | null | undefined>>;
|
|
673
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
674
|
+
gasLimits: Gas | undefined;
|
|
675
|
+
teardownGasLimits: Gas | undefined;
|
|
676
|
+
maxFeePerGas: {
|
|
677
|
+
feePerDaGas: bigint;
|
|
678
|
+
feePerL2Gas: bigint;
|
|
679
|
+
} | undefined;
|
|
680
|
+
maxPriorityFeePerGas: {
|
|
681
|
+
feePerDaGas: bigint;
|
|
682
|
+
feePerL2Gas: bigint;
|
|
683
|
+
} | undefined;
|
|
684
|
+
} | undefined, {
|
|
685
|
+
gasLimits: Gas | undefined;
|
|
686
|
+
teardownGasLimits: Gas | undefined;
|
|
687
|
+
maxFeePerGas: {
|
|
688
|
+
feePerDaGas: bigint;
|
|
689
|
+
feePerL2Gas: bigint;
|
|
690
|
+
} | undefined;
|
|
691
|
+
maxPriorityFeePerGas: {
|
|
692
|
+
feePerDaGas: bigint;
|
|
693
|
+
feePerL2Gas: bigint;
|
|
694
|
+
} | undefined;
|
|
695
|
+
} | null | undefined>>;
|
|
696
|
+
congestionEstimate: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof ManaUsageEstimate>>>, z.ZodTransform<NonNullable<ManaUsageEstimate> | undefined, ManaUsageEstimate | null | undefined>>;
|
|
697
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
698
|
+
gasSettings: {
|
|
699
|
+
gasLimits: Gas | undefined;
|
|
700
|
+
teardownGasLimits: Gas | undefined;
|
|
701
|
+
maxFeePerGas: {
|
|
702
|
+
feePerDaGas: bigint;
|
|
703
|
+
feePerL2Gas: bigint;
|
|
704
|
+
} | undefined;
|
|
705
|
+
maxPriorityFeePerGas: {
|
|
706
|
+
feePerDaGas: bigint;
|
|
707
|
+
feePerL2Gas: bigint;
|
|
708
|
+
} | undefined;
|
|
709
|
+
} | undefined;
|
|
710
|
+
congestionEstimate: NonNullable<ManaUsageEstimate> | undefined;
|
|
711
|
+
} | undefined, {
|
|
712
|
+
gasSettings: {
|
|
713
|
+
gasLimits: Gas | undefined;
|
|
714
|
+
teardownGasLimits: Gas | undefined;
|
|
715
|
+
maxFeePerGas: {
|
|
716
|
+
feePerDaGas: bigint;
|
|
717
|
+
feePerL2Gas: bigint;
|
|
718
|
+
} | undefined;
|
|
719
|
+
maxPriorityFeePerGas: {
|
|
720
|
+
feePerDaGas: bigint;
|
|
721
|
+
feePerL2Gas: bigint;
|
|
722
|
+
} | undefined;
|
|
723
|
+
} | undefined;
|
|
724
|
+
congestionEstimate: NonNullable<ManaUsageEstimate> | undefined;
|
|
725
|
+
} | null | undefined>>;
|
|
726
|
+
skipTxValidation: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean | undefined, boolean | null | undefined>>;
|
|
727
|
+
skipFeeEnforcement: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean | undefined, boolean | null | undefined>>;
|
|
728
|
+
includeMetadata: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean | undefined, boolean | null | undefined>>;
|
|
729
|
+
additionalScopes: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodArray<import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>>>>, z.ZodTransform<AztecAddress[] | undefined, AztecAddress[] | null | undefined>>;
|
|
730
|
+
sendMessagesAs: z.ZodPipe<z.ZodOptional<z.ZodNullable<import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>>>, z.ZodTransform<AztecAddress | undefined, AztecAddress | null | undefined>>;
|
|
731
|
+
overrides: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
|
|
732
|
+
publicStorage: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
733
|
+
contract: import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>;
|
|
734
|
+
slot: import("@aztec-labs/stdlib/schemas").ZodFor<Fr>;
|
|
735
|
+
value: import("@aztec-labs/stdlib/schemas").ZodFor<Fr>;
|
|
736
|
+
}, z.core.$strip>>>>, z.ZodTransform<{
|
|
737
|
+
contract: AztecAddress;
|
|
738
|
+
slot: Fr;
|
|
739
|
+
value: Fr;
|
|
740
|
+
}[] | undefined, {
|
|
741
|
+
contract: AztecAddress;
|
|
742
|
+
slot: Fr;
|
|
743
|
+
value: Fr;
|
|
744
|
+
}[] | null | undefined>>;
|
|
745
|
+
contracts: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
746
|
+
instance: z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
747
|
+
version: z.ZodLiteral<2>;
|
|
748
|
+
salt: import("@aztec-labs/stdlib/schemas").ZodFor<Fr>;
|
|
749
|
+
deployer: import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>;
|
|
750
|
+
originalContractClassId: import("@aztec-labs/stdlib/schemas").ZodFor<Fr>;
|
|
751
|
+
initializationHash: import("@aztec-labs/stdlib/schemas").ZodFor<Fr>;
|
|
752
|
+
immutablesHash: import("@aztec-labs/stdlib/schemas").ZodFor<Fr>;
|
|
753
|
+
publicKeys: z.ZodPipe<z.ZodObject<{
|
|
754
|
+
npkMHash: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
|
|
755
|
+
ivpkM: z.ZodType<import("@aztec-labs/foundation/schemas").Point, string, z.core.$ZodTypeInternals<import("@aztec-labs/foundation/schemas").Point, string>>;
|
|
756
|
+
ovpkMHash: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
|
|
757
|
+
tpkMHash: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
|
|
758
|
+
mspkMHash: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
|
|
759
|
+
fbpkMHash: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
|
|
760
|
+
}, z.core.$strip>, z.ZodTransform<import("@aztec-labs/stdlib/keys").PublicKeys, {
|
|
761
|
+
npkMHash: Fr;
|
|
762
|
+
ivpkM: import("@aztec-labs/foundation/schemas").Point;
|
|
763
|
+
ovpkMHash: Fr;
|
|
764
|
+
tpkMHash: Fr;
|
|
765
|
+
mspkMHash: Fr;
|
|
766
|
+
fbpkMHash: Fr;
|
|
767
|
+
}>>;
|
|
768
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
769
|
+
currentContractClassId: import("@aztec-labs/stdlib/schemas").ZodFor<Fr>;
|
|
770
|
+
}, z.core.$strip>>, z.ZodObject<{
|
|
771
|
+
address: import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>;
|
|
772
|
+
}, z.core.$strip>>;
|
|
773
|
+
}, z.core.$strip>>>>, z.ZodTransform<Record<string, {
|
|
774
|
+
instance: {
|
|
775
|
+
version: 2;
|
|
776
|
+
salt: Fr;
|
|
777
|
+
deployer: AztecAddress;
|
|
778
|
+
originalContractClassId: Fr;
|
|
779
|
+
initializationHash: Fr;
|
|
780
|
+
immutablesHash: Fr;
|
|
781
|
+
publicKeys: import("@aztec-labs/stdlib/keys").PublicKeys;
|
|
782
|
+
} & {
|
|
783
|
+
currentContractClassId: Fr;
|
|
784
|
+
} & {
|
|
785
|
+
address: AztecAddress;
|
|
786
|
+
};
|
|
787
|
+
}> | undefined, Record<string, {
|
|
788
|
+
instance: {
|
|
789
|
+
version: 2;
|
|
790
|
+
salt: Fr;
|
|
791
|
+
deployer: AztecAddress;
|
|
792
|
+
originalContractClassId: Fr;
|
|
793
|
+
initializationHash: Fr;
|
|
794
|
+
immutablesHash: Fr;
|
|
795
|
+
publicKeys: import("@aztec-labs/stdlib/keys").PublicKeys;
|
|
796
|
+
} & {
|
|
797
|
+
currentContractClassId: Fr;
|
|
798
|
+
} & {
|
|
799
|
+
address: AztecAddress;
|
|
800
|
+
};
|
|
801
|
+
}> | null | undefined>>;
|
|
802
|
+
}, z.core.$strip>, z.ZodTransform<SimulationOverrides, {
|
|
803
|
+
publicStorage: {
|
|
804
|
+
contract: AztecAddress;
|
|
805
|
+
slot: Fr;
|
|
806
|
+
value: Fr;
|
|
807
|
+
}[] | undefined;
|
|
808
|
+
contracts: Record<string, {
|
|
809
|
+
instance: {
|
|
810
|
+
version: 2;
|
|
811
|
+
salt: Fr;
|
|
812
|
+
deployer: AztecAddress;
|
|
813
|
+
originalContractClassId: Fr;
|
|
814
|
+
initializationHash: Fr;
|
|
815
|
+
immutablesHash: Fr;
|
|
816
|
+
publicKeys: import("@aztec-labs/stdlib/keys").PublicKeys;
|
|
817
|
+
} & {
|
|
818
|
+
currentContractClassId: Fr;
|
|
819
|
+
} & {
|
|
820
|
+
address: AztecAddress;
|
|
821
|
+
};
|
|
822
|
+
}> | undefined;
|
|
823
|
+
}>>>>, z.ZodTransform<SimulationOverrides | undefined, SimulationOverrides | null | undefined>>;
|
|
824
|
+
profileMode: z.ZodEnum<{
|
|
825
|
+
"execution-steps": "execution-steps";
|
|
826
|
+
full: "full";
|
|
827
|
+
gates: "gates";
|
|
828
|
+
}>;
|
|
829
|
+
skipProofGeneration: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean | undefined, boolean | null | undefined>>;
|
|
830
|
+
}, z.core.$strip>;
|
|
831
|
+
export declare const MessageHashOrIntentSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
832
|
+
consumer: import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>;
|
|
833
|
+
innerHash: import("@aztec-labs/stdlib/schemas").ZodFor<Fr>;
|
|
834
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
835
|
+
caller: import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>;
|
|
836
|
+
call: z.ZodPipe<z.ZodObject<{
|
|
837
|
+
name: z.ZodString;
|
|
838
|
+
to: import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>;
|
|
839
|
+
selector: import("@aztec-labs/stdlib/schemas").ZodFor<import("@aztec-labs/stdlib/abi").FunctionSelector>;
|
|
840
|
+
type: z.ZodEnum<typeof import("@aztec-labs/stdlib/abi").FunctionType>;
|
|
841
|
+
isStatic: z.ZodBoolean;
|
|
842
|
+
hideMsgSender: z.ZodBoolean;
|
|
843
|
+
args: z.ZodArray<import("@aztec-labs/stdlib/schemas").ZodFor<Fr>>;
|
|
844
|
+
returnType: z.ZodOptional<z.ZodType<import("@aztec-labs/stdlib/abi").AbiType, unknown, z.core.$ZodTypeInternals<import("@aztec-labs/stdlib/abi").AbiType, unknown>>>;
|
|
845
|
+
returnTypes: z.ZodOptional<z.ZodArray<z.ZodType<import("@aztec-labs/stdlib/abi").AbiType, unknown, z.core.$ZodTypeInternals<import("@aztec-labs/stdlib/abi").AbiType, unknown>>>>;
|
|
846
|
+
}, z.core.$strip>, z.ZodTransform<FunctionCall, {
|
|
847
|
+
name: string;
|
|
848
|
+
to: AztecAddress;
|
|
849
|
+
selector: import("@aztec-labs/stdlib/abi").FunctionSelector;
|
|
850
|
+
type: import("@aztec-labs/stdlib/abi").FunctionType;
|
|
851
|
+
isStatic: boolean;
|
|
852
|
+
hideMsgSender: boolean;
|
|
853
|
+
args: Fr[];
|
|
854
|
+
returnType?: import("@aztec-labs/stdlib/abi").AbiType | undefined;
|
|
855
|
+
returnTypes?: import("@aztec-labs/stdlib/abi").AbiType[] | undefined;
|
|
856
|
+
}>>;
|
|
857
|
+
}, z.core.$strip>]>;
|
|
858
|
+
export declare const EventMetadataDefinitionSchema: z.ZodObject<{
|
|
859
|
+
eventSelector: z.ZodType<import("@aztec-labs/stdlib/abi").EventSelector, string, z.core.$ZodTypeInternals<import("@aztec-labs/stdlib/abi").EventSelector, string>>;
|
|
860
|
+
abiType: z.ZodType<import("@aztec-labs/stdlib/abi").AbiType, unknown, z.core.$ZodTypeInternals<import("@aztec-labs/stdlib/abi").AbiType, unknown>>;
|
|
861
|
+
fieldNames: z.ZodArray<z.ZodString>;
|
|
862
|
+
}, z.core.$strip>;
|
|
863
|
+
export declare const PrivateEventFilterSchema: z.ZodType<{
|
|
864
|
+
txHash: TxHash | undefined;
|
|
865
|
+
fromBlock: NonNullable<BlockNumber> | undefined;
|
|
866
|
+
toBlock: NonNullable<BlockNumber> | undefined;
|
|
867
|
+
contractAddress: AztecAddress;
|
|
868
|
+
scopes: AztecAddress[];
|
|
869
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
870
|
+
txHash: TxHash | undefined;
|
|
871
|
+
fromBlock: NonNullable<BlockNumber> | undefined;
|
|
872
|
+
toBlock: NonNullable<BlockNumber> | undefined;
|
|
873
|
+
contractAddress: AztecAddress;
|
|
874
|
+
scopes: AztecAddress[];
|
|
875
|
+
}, unknown>>;
|
|
876
|
+
export declare const PublicEventFilterSchema: z.ZodType<{
|
|
877
|
+
txHash: TxHash | undefined;
|
|
878
|
+
fromBlock: NonNullable<BlockNumber> | undefined;
|
|
879
|
+
toBlock: NonNullable<BlockNumber> | undefined;
|
|
880
|
+
contractAddress: AztecAddress;
|
|
881
|
+
afterEvent: EventCursor | undefined;
|
|
882
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
883
|
+
txHash: TxHash | undefined;
|
|
884
|
+
fromBlock: NonNullable<BlockNumber> | undefined;
|
|
885
|
+
toBlock: NonNullable<BlockNumber> | undefined;
|
|
886
|
+
contractAddress: AztecAddress;
|
|
887
|
+
afterEvent: EventCursor | undefined;
|
|
888
|
+
}, unknown>>;
|
|
889
|
+
export declare const PrivateEventSchema: z.ZodType<any>;
|
|
890
|
+
export declare const PublicEventSchema: z.ZodType<PublicEvent<AbiDecoded>>;
|
|
891
|
+
export declare const ContractMetadataSchema: z.ZodObject<{
|
|
892
|
+
instance: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
893
|
+
version: z.ZodLiteral<2>;
|
|
894
|
+
salt: import("@aztec-labs/stdlib/schemas").ZodFor<Fr>;
|
|
895
|
+
deployer: import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>;
|
|
896
|
+
originalContractClassId: import("@aztec-labs/stdlib/schemas").ZodFor<Fr>;
|
|
897
|
+
initializationHash: import("@aztec-labs/stdlib/schemas").ZodFor<Fr>;
|
|
898
|
+
immutablesHash: import("@aztec-labs/stdlib/schemas").ZodFor<Fr>;
|
|
899
|
+
publicKeys: z.ZodPipe<z.ZodObject<{
|
|
900
|
+
npkMHash: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
|
|
901
|
+
ivpkM: z.ZodType<import("@aztec-labs/foundation/schemas").Point, string, z.core.$ZodTypeInternals<import("@aztec-labs/foundation/schemas").Point, string>>;
|
|
902
|
+
ovpkMHash: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
|
|
903
|
+
tpkMHash: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
|
|
904
|
+
mspkMHash: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
|
|
905
|
+
fbpkMHash: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
|
|
906
|
+
}, z.core.$strip>, z.ZodTransform<import("@aztec-labs/stdlib/keys").PublicKeys, {
|
|
907
|
+
npkMHash: Fr;
|
|
908
|
+
ivpkM: import("@aztec-labs/foundation/schemas").Point;
|
|
909
|
+
ovpkMHash: Fr;
|
|
910
|
+
tpkMHash: Fr;
|
|
911
|
+
mspkMHash: Fr;
|
|
912
|
+
fbpkMHash: Fr;
|
|
913
|
+
}>>;
|
|
914
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
915
|
+
address: import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>;
|
|
916
|
+
}, z.core.$strip>>>>, z.ZodTransform<NonNullable<{
|
|
917
|
+
version: 2;
|
|
918
|
+
salt: Fr;
|
|
919
|
+
deployer: AztecAddress;
|
|
920
|
+
originalContractClassId: Fr;
|
|
921
|
+
initializationHash: Fr;
|
|
922
|
+
immutablesHash: Fr;
|
|
923
|
+
publicKeys: import("@aztec-labs/stdlib/keys").PublicKeys;
|
|
924
|
+
} & {
|
|
925
|
+
address: AztecAddress;
|
|
926
|
+
}> | undefined, ({
|
|
927
|
+
version: 2;
|
|
928
|
+
salt: Fr;
|
|
929
|
+
deployer: AztecAddress;
|
|
930
|
+
originalContractClassId: Fr;
|
|
931
|
+
initializationHash: Fr;
|
|
932
|
+
immutablesHash: Fr;
|
|
933
|
+
publicKeys: import("@aztec-labs/stdlib/keys").PublicKeys;
|
|
934
|
+
} & {
|
|
935
|
+
address: AztecAddress;
|
|
936
|
+
}) | null | undefined>>;
|
|
937
|
+
initializationStatus: z.ZodEnum<typeof ContractInitializationStatus>;
|
|
938
|
+
isContractPublished: z.ZodBoolean;
|
|
939
|
+
isContractUpdated: z.ZodBoolean;
|
|
940
|
+
updatedContractClassId: z.ZodPipe<z.ZodOptional<z.ZodNullable<import("@aztec-labs/stdlib/schemas").ZodFor<Fr>>>, z.ZodTransform<Fr | undefined, Fr | null | undefined>>;
|
|
941
|
+
}, z.core.$strip>;
|
|
942
|
+
export declare const ContractClassMetadataSchema: z.ZodObject<{
|
|
943
|
+
isArtifactRegistered: z.ZodBoolean;
|
|
944
|
+
isContractClassPubliclyRegistered: z.ZodBoolean;
|
|
945
|
+
}, z.core.$strip>;
|
|
946
|
+
export declare const ContractFunctionPatternSchema: z.ZodObject<{
|
|
947
|
+
contract: z.ZodUnion<readonly [import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
|
|
948
|
+
function: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"*">]>;
|
|
949
|
+
additionalScopes: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodArray<import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>>, z.ZodLiteral<"*">]>>>, z.ZodTransform<NonNullable<"*" | AztecAddress[]> | undefined, "*" | AztecAddress[] | null | undefined>>;
|
|
950
|
+
}, z.core.$strip>;
|
|
951
|
+
export declare const AccountsCapabilitySchema: z.ZodObject<{
|
|
952
|
+
type: z.ZodLiteral<"accounts">;
|
|
953
|
+
canGet: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean | undefined, boolean | null | undefined>>;
|
|
954
|
+
canCreateAuthWit: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean | undefined, boolean | null | undefined>>;
|
|
955
|
+
}, z.core.$strip>;
|
|
956
|
+
export declare const GrantedAccountsCapabilitySchema: z.ZodObject<{
|
|
957
|
+
type: z.ZodLiteral<"accounts">;
|
|
958
|
+
canGet: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean | undefined, boolean | null | undefined>>;
|
|
959
|
+
canCreateAuthWit: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean | undefined, boolean | null | undefined>>;
|
|
960
|
+
accounts: z.ZodArray<z.ZodObject<{
|
|
961
|
+
alias: z.ZodString;
|
|
962
|
+
item: import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>;
|
|
963
|
+
}, z.core.$strip>>;
|
|
964
|
+
}, z.core.$strip>;
|
|
965
|
+
export declare const ContractsCapabilitySchema: z.ZodObject<{
|
|
966
|
+
type: z.ZodLiteral<"contracts">;
|
|
967
|
+
contracts: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>>]>;
|
|
968
|
+
canRegister: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean | undefined, boolean | null | undefined>>;
|
|
969
|
+
canGetMetadata: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean | undefined, boolean | null | undefined>>;
|
|
970
|
+
}, z.core.$strip>;
|
|
971
|
+
export declare const GrantedContractsCapabilitySchema: z.ZodObject<{
|
|
972
|
+
type: z.ZodLiteral<"contracts">;
|
|
973
|
+
contracts: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>>]>;
|
|
974
|
+
canRegister: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean | undefined, boolean | null | undefined>>;
|
|
975
|
+
canGetMetadata: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean | undefined, boolean | null | undefined>>;
|
|
976
|
+
}, z.core.$strip>;
|
|
977
|
+
export declare const ContractClassesCapabilitySchema: z.ZodObject<{
|
|
978
|
+
type: z.ZodLiteral<"contractClasses">;
|
|
979
|
+
classes: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<import("@aztec-labs/stdlib/schemas").ZodFor<Fr>>]>;
|
|
980
|
+
canRegister: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean | undefined, boolean | null | undefined>>;
|
|
981
|
+
canGetMetadata: z.ZodBoolean;
|
|
982
|
+
}, z.core.$strip>;
|
|
983
|
+
export declare const GrantedContractClassesCapabilitySchema: z.ZodObject<{
|
|
984
|
+
type: z.ZodLiteral<"contractClasses">;
|
|
985
|
+
classes: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<import("@aztec-labs/stdlib/schemas").ZodFor<Fr>>]>;
|
|
986
|
+
canRegister: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean | undefined, boolean | null | undefined>>;
|
|
987
|
+
canGetMetadata: z.ZodBoolean;
|
|
988
|
+
}, z.core.$strip>;
|
|
989
|
+
export declare const SimulationCapabilitySchema: z.ZodObject<{
|
|
990
|
+
type: z.ZodLiteral<"simulation">;
|
|
991
|
+
transactions: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
992
|
+
scope: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
|
|
993
|
+
contract: z.ZodUnion<readonly [import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
|
|
994
|
+
function: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"*">]>;
|
|
995
|
+
additionalScopes: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodArray<import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>>, z.ZodLiteral<"*">]>>>, z.ZodTransform<NonNullable<"*" | AztecAddress[]> | undefined, "*" | AztecAddress[] | null | undefined>>;
|
|
996
|
+
}, z.core.$strip>>]>;
|
|
997
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
998
|
+
scope: "*" | {
|
|
999
|
+
contract: "*" | AztecAddress;
|
|
1000
|
+
function: string;
|
|
1001
|
+
additionalScopes: NonNullable<"*" | AztecAddress[]> | undefined;
|
|
1002
|
+
}[];
|
|
1003
|
+
} | undefined, {
|
|
1004
|
+
scope: "*" | {
|
|
1005
|
+
contract: "*" | AztecAddress;
|
|
1006
|
+
function: string;
|
|
1007
|
+
additionalScopes: NonNullable<"*" | AztecAddress[]> | undefined;
|
|
1008
|
+
}[];
|
|
1009
|
+
} | null | undefined>>;
|
|
1010
|
+
utilities: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1011
|
+
scope: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
|
|
1012
|
+
contract: z.ZodUnion<readonly [import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
|
|
1013
|
+
function: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"*">]>;
|
|
1014
|
+
additionalScopes: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodArray<import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>>, z.ZodLiteral<"*">]>>>, z.ZodTransform<NonNullable<"*" | AztecAddress[]> | undefined, "*" | AztecAddress[] | null | undefined>>;
|
|
1015
|
+
}, z.core.$strip>>]>;
|
|
1016
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
1017
|
+
scope: "*" | {
|
|
1018
|
+
contract: "*" | AztecAddress;
|
|
1019
|
+
function: string;
|
|
1020
|
+
additionalScopes: NonNullable<"*" | AztecAddress[]> | undefined;
|
|
1021
|
+
}[];
|
|
1022
|
+
} | undefined, {
|
|
1023
|
+
scope: "*" | {
|
|
1024
|
+
contract: "*" | AztecAddress;
|
|
1025
|
+
function: string;
|
|
1026
|
+
additionalScopes: NonNullable<"*" | AztecAddress[]> | undefined;
|
|
1027
|
+
}[];
|
|
1028
|
+
} | null | undefined>>;
|
|
1029
|
+
}, z.core.$strip>;
|
|
1030
|
+
export declare const GrantedSimulationCapabilitySchema: z.ZodObject<{
|
|
1031
|
+
type: z.ZodLiteral<"simulation">;
|
|
1032
|
+
transactions: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1033
|
+
scope: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
|
|
1034
|
+
contract: z.ZodUnion<readonly [import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
|
|
1035
|
+
function: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"*">]>;
|
|
1036
|
+
additionalScopes: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodArray<import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>>, z.ZodLiteral<"*">]>>>, z.ZodTransform<NonNullable<"*" | AztecAddress[]> | undefined, "*" | AztecAddress[] | null | undefined>>;
|
|
1037
|
+
}, z.core.$strip>>]>;
|
|
1038
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
1039
|
+
scope: "*" | {
|
|
1040
|
+
contract: "*" | AztecAddress;
|
|
1041
|
+
function: string;
|
|
1042
|
+
additionalScopes: NonNullable<"*" | AztecAddress[]> | undefined;
|
|
1043
|
+
}[];
|
|
1044
|
+
} | undefined, {
|
|
1045
|
+
scope: "*" | {
|
|
1046
|
+
contract: "*" | AztecAddress;
|
|
1047
|
+
function: string;
|
|
1048
|
+
additionalScopes: NonNullable<"*" | AztecAddress[]> | undefined;
|
|
1049
|
+
}[];
|
|
1050
|
+
} | null | undefined>>;
|
|
1051
|
+
utilities: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1052
|
+
scope: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
|
|
1053
|
+
contract: z.ZodUnion<readonly [import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
|
|
1054
|
+
function: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"*">]>;
|
|
1055
|
+
additionalScopes: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodArray<import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>>, z.ZodLiteral<"*">]>>>, z.ZodTransform<NonNullable<"*" | AztecAddress[]> | undefined, "*" | AztecAddress[] | null | undefined>>;
|
|
1056
|
+
}, z.core.$strip>>]>;
|
|
1057
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
1058
|
+
scope: "*" | {
|
|
1059
|
+
contract: "*" | AztecAddress;
|
|
1060
|
+
function: string;
|
|
1061
|
+
additionalScopes: NonNullable<"*" | AztecAddress[]> | undefined;
|
|
1062
|
+
}[];
|
|
1063
|
+
} | undefined, {
|
|
1064
|
+
scope: "*" | {
|
|
1065
|
+
contract: "*" | AztecAddress;
|
|
1066
|
+
function: string;
|
|
1067
|
+
additionalScopes: NonNullable<"*" | AztecAddress[]> | undefined;
|
|
1068
|
+
}[];
|
|
1069
|
+
} | null | undefined>>;
|
|
1070
|
+
}, z.core.$strip>;
|
|
1071
|
+
export declare const TransactionCapabilitySchema: z.ZodObject<{
|
|
1072
|
+
type: z.ZodLiteral<"transaction">;
|
|
1073
|
+
scope: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
|
|
1074
|
+
contract: z.ZodUnion<readonly [import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
|
|
1075
|
+
function: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"*">]>;
|
|
1076
|
+
additionalScopes: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodArray<import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>>, z.ZodLiteral<"*">]>>>, z.ZodTransform<NonNullable<"*" | AztecAddress[]> | undefined, "*" | AztecAddress[] | null | undefined>>;
|
|
1077
|
+
}, z.core.$strip>>]>;
|
|
1078
|
+
}, z.core.$strip>;
|
|
1079
|
+
export declare const GrantedTransactionCapabilitySchema: z.ZodObject<{
|
|
1080
|
+
type: z.ZodLiteral<"transaction">;
|
|
1081
|
+
scope: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
|
|
1082
|
+
contract: z.ZodUnion<readonly [import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
|
|
1083
|
+
function: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"*">]>;
|
|
1084
|
+
additionalScopes: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodArray<import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>>, z.ZodLiteral<"*">]>>>, z.ZodTransform<NonNullable<"*" | AztecAddress[]> | undefined, "*" | AztecAddress[] | null | undefined>>;
|
|
1085
|
+
}, z.core.$strip>>]>;
|
|
1086
|
+
}, z.core.$strip>;
|
|
1087
|
+
export declare const DataCapabilitySchema: z.ZodObject<{
|
|
1088
|
+
type: z.ZodLiteral<"data">;
|
|
1089
|
+
addressBook: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean | undefined, boolean | null | undefined>>;
|
|
1090
|
+
privateEvents: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1091
|
+
contracts: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>>]>;
|
|
1092
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
1093
|
+
contracts: "*" | AztecAddress[];
|
|
1094
|
+
} | undefined, {
|
|
1095
|
+
contracts: "*" | AztecAddress[];
|
|
1096
|
+
} | null | undefined>>;
|
|
1097
|
+
}, z.core.$strip>;
|
|
1098
|
+
export declare const GrantedDataCapabilitySchema: z.ZodObject<{
|
|
1099
|
+
type: z.ZodLiteral<"data">;
|
|
1100
|
+
addressBook: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean | undefined, boolean | null | undefined>>;
|
|
1101
|
+
privateEvents: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1102
|
+
contracts: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>>]>;
|
|
1103
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
1104
|
+
contracts: "*" | AztecAddress[];
|
|
1105
|
+
} | undefined, {
|
|
1106
|
+
contracts: "*" | AztecAddress[];
|
|
1107
|
+
} | null | undefined>>;
|
|
1108
|
+
}, z.core.$strip>;
|
|
1109
|
+
export declare const CapabilitySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1110
|
+
type: z.ZodLiteral<"accounts">;
|
|
1111
|
+
canGet: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean | undefined, boolean | null | undefined>>;
|
|
1112
|
+
canCreateAuthWit: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean | undefined, boolean | null | undefined>>;
|
|
1113
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1114
|
+
type: z.ZodLiteral<"contracts">;
|
|
1115
|
+
contracts: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>>]>;
|
|
1116
|
+
canRegister: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean | undefined, boolean | null | undefined>>;
|
|
1117
|
+
canGetMetadata: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean | undefined, boolean | null | undefined>>;
|
|
1118
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1119
|
+
type: z.ZodLiteral<"contractClasses">;
|
|
1120
|
+
classes: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<import("@aztec-labs/stdlib/schemas").ZodFor<Fr>>]>;
|
|
1121
|
+
canRegister: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean | undefined, boolean | null | undefined>>;
|
|
1122
|
+
canGetMetadata: z.ZodBoolean;
|
|
1123
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1124
|
+
type: z.ZodLiteral<"simulation">;
|
|
1125
|
+
transactions: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1126
|
+
scope: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
|
|
1127
|
+
contract: z.ZodUnion<readonly [import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
|
|
1128
|
+
function: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"*">]>;
|
|
1129
|
+
additionalScopes: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodArray<import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>>, z.ZodLiteral<"*">]>>>, z.ZodTransform<NonNullable<"*" | AztecAddress[]> | undefined, "*" | AztecAddress[] | null | undefined>>;
|
|
1130
|
+
}, z.core.$strip>>]>;
|
|
1131
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
1132
|
+
scope: "*" | {
|
|
1133
|
+
contract: "*" | AztecAddress;
|
|
1134
|
+
function: string;
|
|
1135
|
+
additionalScopes: NonNullable<"*" | AztecAddress[]> | undefined;
|
|
1136
|
+
}[];
|
|
1137
|
+
} | undefined, {
|
|
1138
|
+
scope: "*" | {
|
|
1139
|
+
contract: "*" | AztecAddress;
|
|
1140
|
+
function: string;
|
|
1141
|
+
additionalScopes: NonNullable<"*" | AztecAddress[]> | undefined;
|
|
1142
|
+
}[];
|
|
1143
|
+
} | null | undefined>>;
|
|
1144
|
+
utilities: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1145
|
+
scope: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
|
|
1146
|
+
contract: z.ZodUnion<readonly [import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
|
|
1147
|
+
function: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"*">]>;
|
|
1148
|
+
additionalScopes: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodArray<import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>>, z.ZodLiteral<"*">]>>>, z.ZodTransform<NonNullable<"*" | AztecAddress[]> | undefined, "*" | AztecAddress[] | null | undefined>>;
|
|
1149
|
+
}, z.core.$strip>>]>;
|
|
1150
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
1151
|
+
scope: "*" | {
|
|
1152
|
+
contract: "*" | AztecAddress;
|
|
1153
|
+
function: string;
|
|
1154
|
+
additionalScopes: NonNullable<"*" | AztecAddress[]> | undefined;
|
|
1155
|
+
}[];
|
|
1156
|
+
} | undefined, {
|
|
1157
|
+
scope: "*" | {
|
|
1158
|
+
contract: "*" | AztecAddress;
|
|
1159
|
+
function: string;
|
|
1160
|
+
additionalScopes: NonNullable<"*" | AztecAddress[]> | undefined;
|
|
1161
|
+
}[];
|
|
1162
|
+
} | null | undefined>>;
|
|
1163
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1164
|
+
type: z.ZodLiteral<"transaction">;
|
|
1165
|
+
scope: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
|
|
1166
|
+
contract: z.ZodUnion<readonly [import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
|
|
1167
|
+
function: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"*">]>;
|
|
1168
|
+
additionalScopes: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodArray<import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>>, z.ZodLiteral<"*">]>>>, z.ZodTransform<NonNullable<"*" | AztecAddress[]> | undefined, "*" | AztecAddress[] | null | undefined>>;
|
|
1169
|
+
}, z.core.$strip>>]>;
|
|
1170
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1171
|
+
type: z.ZodLiteral<"data">;
|
|
1172
|
+
addressBook: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean | undefined, boolean | null | undefined>>;
|
|
1173
|
+
privateEvents: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1174
|
+
contracts: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>>]>;
|
|
1175
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
1176
|
+
contracts: "*" | AztecAddress[];
|
|
1177
|
+
} | undefined, {
|
|
1178
|
+
contracts: "*" | AztecAddress[];
|
|
1179
|
+
} | null | undefined>>;
|
|
1180
|
+
}, z.core.$strip>], "type">;
|
|
1181
|
+
export declare const GrantedCapabilitySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1182
|
+
type: z.ZodLiteral<"accounts">;
|
|
1183
|
+
canGet: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean | undefined, boolean | null | undefined>>;
|
|
1184
|
+
canCreateAuthWit: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean | undefined, boolean | null | undefined>>;
|
|
1185
|
+
accounts: z.ZodArray<z.ZodObject<{
|
|
1186
|
+
alias: z.ZodString;
|
|
1187
|
+
item: import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>;
|
|
1188
|
+
}, z.core.$strip>>;
|
|
1189
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1190
|
+
type: z.ZodLiteral<"contracts">;
|
|
1191
|
+
contracts: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>>]>;
|
|
1192
|
+
canRegister: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean | undefined, boolean | null | undefined>>;
|
|
1193
|
+
canGetMetadata: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean | undefined, boolean | null | undefined>>;
|
|
1194
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1195
|
+
type: z.ZodLiteral<"contractClasses">;
|
|
1196
|
+
classes: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<import("@aztec-labs/stdlib/schemas").ZodFor<Fr>>]>;
|
|
1197
|
+
canRegister: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean | undefined, boolean | null | undefined>>;
|
|
1198
|
+
canGetMetadata: z.ZodBoolean;
|
|
1199
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1200
|
+
type: z.ZodLiteral<"simulation">;
|
|
1201
|
+
transactions: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1202
|
+
scope: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
|
|
1203
|
+
contract: z.ZodUnion<readonly [import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
|
|
1204
|
+
function: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"*">]>;
|
|
1205
|
+
additionalScopes: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodArray<import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>>, z.ZodLiteral<"*">]>>>, z.ZodTransform<NonNullable<"*" | AztecAddress[]> | undefined, "*" | AztecAddress[] | null | undefined>>;
|
|
1206
|
+
}, z.core.$strip>>]>;
|
|
1207
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
1208
|
+
scope: "*" | {
|
|
1209
|
+
contract: "*" | AztecAddress;
|
|
1210
|
+
function: string;
|
|
1211
|
+
additionalScopes: NonNullable<"*" | AztecAddress[]> | undefined;
|
|
1212
|
+
}[];
|
|
1213
|
+
} | undefined, {
|
|
1214
|
+
scope: "*" | {
|
|
1215
|
+
contract: "*" | AztecAddress;
|
|
1216
|
+
function: string;
|
|
1217
|
+
additionalScopes: NonNullable<"*" | AztecAddress[]> | undefined;
|
|
1218
|
+
}[];
|
|
1219
|
+
} | null | undefined>>;
|
|
1220
|
+
utilities: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1221
|
+
scope: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
|
|
1222
|
+
contract: z.ZodUnion<readonly [import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
|
|
1223
|
+
function: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"*">]>;
|
|
1224
|
+
additionalScopes: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodArray<import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>>, z.ZodLiteral<"*">]>>>, z.ZodTransform<NonNullable<"*" | AztecAddress[]> | undefined, "*" | AztecAddress[] | null | undefined>>;
|
|
1225
|
+
}, z.core.$strip>>]>;
|
|
1226
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
1227
|
+
scope: "*" | {
|
|
1228
|
+
contract: "*" | AztecAddress;
|
|
1229
|
+
function: string;
|
|
1230
|
+
additionalScopes: NonNullable<"*" | AztecAddress[]> | undefined;
|
|
1231
|
+
}[];
|
|
1232
|
+
} | undefined, {
|
|
1233
|
+
scope: "*" | {
|
|
1234
|
+
contract: "*" | AztecAddress;
|
|
1235
|
+
function: string;
|
|
1236
|
+
additionalScopes: NonNullable<"*" | AztecAddress[]> | undefined;
|
|
1237
|
+
}[];
|
|
1238
|
+
} | null | undefined>>;
|
|
1239
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1240
|
+
type: z.ZodLiteral<"transaction">;
|
|
1241
|
+
scope: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
|
|
1242
|
+
contract: z.ZodUnion<readonly [import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
|
|
1243
|
+
function: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"*">]>;
|
|
1244
|
+
additionalScopes: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodArray<import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>>, z.ZodLiteral<"*">]>>>, z.ZodTransform<NonNullable<"*" | AztecAddress[]> | undefined, "*" | AztecAddress[] | null | undefined>>;
|
|
1245
|
+
}, z.core.$strip>>]>;
|
|
1246
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1247
|
+
type: z.ZodLiteral<"data">;
|
|
1248
|
+
addressBook: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean | undefined, boolean | null | undefined>>;
|
|
1249
|
+
privateEvents: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1250
|
+
contracts: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>>]>;
|
|
1251
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
1252
|
+
contracts: "*" | AztecAddress[];
|
|
1253
|
+
} | undefined, {
|
|
1254
|
+
contracts: "*" | AztecAddress[];
|
|
1255
|
+
} | null | undefined>>;
|
|
1256
|
+
}, z.core.$strip>], "type">;
|
|
1257
|
+
export declare const AppCapabilitiesSchema: z.ZodObject<{
|
|
1258
|
+
version: z.ZodLiteral<"1.0">;
|
|
1259
|
+
metadata: z.ZodObject<{
|
|
1260
|
+
name: z.ZodString;
|
|
1261
|
+
version: z.ZodString;
|
|
1262
|
+
description: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1263
|
+
url: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1264
|
+
icon: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1265
|
+
}, z.core.$strip>;
|
|
1266
|
+
capabilities: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1267
|
+
type: z.ZodLiteral<"accounts">;
|
|
1268
|
+
canGet: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean | undefined, boolean | null | undefined>>;
|
|
1269
|
+
canCreateAuthWit: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean | undefined, boolean | null | undefined>>;
|
|
1270
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1271
|
+
type: z.ZodLiteral<"contracts">;
|
|
1272
|
+
contracts: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>>]>;
|
|
1273
|
+
canRegister: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean | undefined, boolean | null | undefined>>;
|
|
1274
|
+
canGetMetadata: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean | undefined, boolean | null | undefined>>;
|
|
1275
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1276
|
+
type: z.ZodLiteral<"contractClasses">;
|
|
1277
|
+
classes: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<import("@aztec-labs/stdlib/schemas").ZodFor<Fr>>]>;
|
|
1278
|
+
canRegister: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean | undefined, boolean | null | undefined>>;
|
|
1279
|
+
canGetMetadata: z.ZodBoolean;
|
|
1280
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1281
|
+
type: z.ZodLiteral<"simulation">;
|
|
1282
|
+
transactions: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1283
|
+
scope: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
|
|
1284
|
+
contract: z.ZodUnion<readonly [import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
|
|
1285
|
+
function: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"*">]>;
|
|
1286
|
+
additionalScopes: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodArray<import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>>, z.ZodLiteral<"*">]>>>, z.ZodTransform<NonNullable<"*" | AztecAddress[]> | undefined, "*" | AztecAddress[] | null | undefined>>;
|
|
1287
|
+
}, z.core.$strip>>]>;
|
|
1288
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
1289
|
+
scope: "*" | {
|
|
1290
|
+
contract: "*" | AztecAddress;
|
|
1291
|
+
function: string;
|
|
1292
|
+
additionalScopes: NonNullable<"*" | AztecAddress[]> | undefined;
|
|
1293
|
+
}[];
|
|
1294
|
+
} | undefined, {
|
|
1295
|
+
scope: "*" | {
|
|
1296
|
+
contract: "*" | AztecAddress;
|
|
1297
|
+
function: string;
|
|
1298
|
+
additionalScopes: NonNullable<"*" | AztecAddress[]> | undefined;
|
|
1299
|
+
}[];
|
|
1300
|
+
} | null | undefined>>;
|
|
1301
|
+
utilities: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1302
|
+
scope: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
|
|
1303
|
+
contract: z.ZodUnion<readonly [import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
|
|
1304
|
+
function: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"*">]>;
|
|
1305
|
+
additionalScopes: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodArray<import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>>, z.ZodLiteral<"*">]>>>, z.ZodTransform<NonNullable<"*" | AztecAddress[]> | undefined, "*" | AztecAddress[] | null | undefined>>;
|
|
1306
|
+
}, z.core.$strip>>]>;
|
|
1307
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
1308
|
+
scope: "*" | {
|
|
1309
|
+
contract: "*" | AztecAddress;
|
|
1310
|
+
function: string;
|
|
1311
|
+
additionalScopes: NonNullable<"*" | AztecAddress[]> | undefined;
|
|
1312
|
+
}[];
|
|
1313
|
+
} | undefined, {
|
|
1314
|
+
scope: "*" | {
|
|
1315
|
+
contract: "*" | AztecAddress;
|
|
1316
|
+
function: string;
|
|
1317
|
+
additionalScopes: NonNullable<"*" | AztecAddress[]> | undefined;
|
|
1318
|
+
}[];
|
|
1319
|
+
} | null | undefined>>;
|
|
1320
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1321
|
+
type: z.ZodLiteral<"transaction">;
|
|
1322
|
+
scope: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
|
|
1323
|
+
contract: z.ZodUnion<readonly [import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
|
|
1324
|
+
function: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"*">]>;
|
|
1325
|
+
additionalScopes: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodArray<import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>>, z.ZodLiteral<"*">]>>>, z.ZodTransform<NonNullable<"*" | AztecAddress[]> | undefined, "*" | AztecAddress[] | null | undefined>>;
|
|
1326
|
+
}, z.core.$strip>>]>;
|
|
1327
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1328
|
+
type: z.ZodLiteral<"data">;
|
|
1329
|
+
addressBook: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean | undefined, boolean | null | undefined>>;
|
|
1330
|
+
privateEvents: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1331
|
+
contracts: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>>]>;
|
|
1332
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
1333
|
+
contracts: "*" | AztecAddress[];
|
|
1334
|
+
} | undefined, {
|
|
1335
|
+
contracts: "*" | AztecAddress[];
|
|
1336
|
+
} | null | undefined>>;
|
|
1337
|
+
}, z.core.$strip>], "type">>;
|
|
1338
|
+
behavior: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1339
|
+
mode: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1340
|
+
permissive: "permissive";
|
|
1341
|
+
strict: "strict";
|
|
1342
|
+
}>>>, z.ZodTransform<NonNullable<"permissive" | "strict"> | undefined, "permissive" | "strict" | null | undefined>>;
|
|
1343
|
+
expiration: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
1344
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
1345
|
+
mode: NonNullable<"permissive" | "strict"> | undefined;
|
|
1346
|
+
expiration: number | undefined;
|
|
1347
|
+
} | undefined, {
|
|
1348
|
+
mode: NonNullable<"permissive" | "strict"> | undefined;
|
|
1349
|
+
expiration: number | undefined;
|
|
1350
|
+
} | null | undefined>>;
|
|
1351
|
+
}, z.core.$strip>;
|
|
1352
|
+
export declare const WalletCapabilitiesSchema: z.ZodObject<{
|
|
1353
|
+
version: z.ZodLiteral<"1.0">;
|
|
1354
|
+
granted: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1355
|
+
type: z.ZodLiteral<"accounts">;
|
|
1356
|
+
canGet: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean | undefined, boolean | null | undefined>>;
|
|
1357
|
+
canCreateAuthWit: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean | undefined, boolean | null | undefined>>;
|
|
1358
|
+
accounts: z.ZodArray<z.ZodObject<{
|
|
1359
|
+
alias: z.ZodString;
|
|
1360
|
+
item: import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>;
|
|
1361
|
+
}, z.core.$strip>>;
|
|
1362
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1363
|
+
type: z.ZodLiteral<"contracts">;
|
|
1364
|
+
contracts: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>>]>;
|
|
1365
|
+
canRegister: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean | undefined, boolean | null | undefined>>;
|
|
1366
|
+
canGetMetadata: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean | undefined, boolean | null | undefined>>;
|
|
1367
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1368
|
+
type: z.ZodLiteral<"contractClasses">;
|
|
1369
|
+
classes: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<import("@aztec-labs/stdlib/schemas").ZodFor<Fr>>]>;
|
|
1370
|
+
canRegister: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean | undefined, boolean | null | undefined>>;
|
|
1371
|
+
canGetMetadata: z.ZodBoolean;
|
|
1372
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1373
|
+
type: z.ZodLiteral<"simulation">;
|
|
1374
|
+
transactions: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1375
|
+
scope: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
|
|
1376
|
+
contract: z.ZodUnion<readonly [import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
|
|
1377
|
+
function: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"*">]>;
|
|
1378
|
+
additionalScopes: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodArray<import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>>, z.ZodLiteral<"*">]>>>, z.ZodTransform<NonNullable<"*" | AztecAddress[]> | undefined, "*" | AztecAddress[] | null | undefined>>;
|
|
1379
|
+
}, z.core.$strip>>]>;
|
|
1380
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
1381
|
+
scope: "*" | {
|
|
1382
|
+
contract: "*" | AztecAddress;
|
|
1383
|
+
function: string;
|
|
1384
|
+
additionalScopes: NonNullable<"*" | AztecAddress[]> | undefined;
|
|
1385
|
+
}[];
|
|
1386
|
+
} | undefined, {
|
|
1387
|
+
scope: "*" | {
|
|
1388
|
+
contract: "*" | AztecAddress;
|
|
1389
|
+
function: string;
|
|
1390
|
+
additionalScopes: NonNullable<"*" | AztecAddress[]> | undefined;
|
|
1391
|
+
}[];
|
|
1392
|
+
} | null | undefined>>;
|
|
1393
|
+
utilities: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1394
|
+
scope: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
|
|
1395
|
+
contract: z.ZodUnion<readonly [import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
|
|
1396
|
+
function: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"*">]>;
|
|
1397
|
+
additionalScopes: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodArray<import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>>, z.ZodLiteral<"*">]>>>, z.ZodTransform<NonNullable<"*" | AztecAddress[]> | undefined, "*" | AztecAddress[] | null | undefined>>;
|
|
1398
|
+
}, z.core.$strip>>]>;
|
|
1399
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
1400
|
+
scope: "*" | {
|
|
1401
|
+
contract: "*" | AztecAddress;
|
|
1402
|
+
function: string;
|
|
1403
|
+
additionalScopes: NonNullable<"*" | AztecAddress[]> | undefined;
|
|
1404
|
+
}[];
|
|
1405
|
+
} | undefined, {
|
|
1406
|
+
scope: "*" | {
|
|
1407
|
+
contract: "*" | AztecAddress;
|
|
1408
|
+
function: string;
|
|
1409
|
+
additionalScopes: NonNullable<"*" | AztecAddress[]> | undefined;
|
|
1410
|
+
}[];
|
|
1411
|
+
} | null | undefined>>;
|
|
1412
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1413
|
+
type: z.ZodLiteral<"transaction">;
|
|
1414
|
+
scope: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
|
|
1415
|
+
contract: z.ZodUnion<readonly [import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
|
|
1416
|
+
function: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"*">]>;
|
|
1417
|
+
additionalScopes: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodArray<import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>>, z.ZodLiteral<"*">]>>>, z.ZodTransform<NonNullable<"*" | AztecAddress[]> | undefined, "*" | AztecAddress[] | null | undefined>>;
|
|
1418
|
+
}, z.core.$strip>>]>;
|
|
1419
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1420
|
+
type: z.ZodLiteral<"data">;
|
|
1421
|
+
addressBook: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean | undefined, boolean | null | undefined>>;
|
|
1422
|
+
privateEvents: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1423
|
+
contracts: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<import("@aztec-labs/stdlib/schemas").ZodFor<AztecAddress>>]>;
|
|
1424
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
1425
|
+
contracts: "*" | AztecAddress[];
|
|
1426
|
+
} | undefined, {
|
|
1427
|
+
contracts: "*" | AztecAddress[];
|
|
1428
|
+
} | null | undefined>>;
|
|
1429
|
+
}, z.core.$strip>], "type">>;
|
|
1430
|
+
wallet: z.ZodObject<{
|
|
1431
|
+
name: z.ZodString;
|
|
1432
|
+
version: z.ZodString;
|
|
1433
|
+
}, z.core.$strip>;
|
|
1434
|
+
expiresAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
1435
|
+
}, z.core.$strip>;
|
|
1436
|
+
declare const BatchedMethodSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1437
|
+
name: z.ZodLiteral<"createAuthWit" | "executeUtility" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerContractClass" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx">;
|
|
1438
|
+
args: z.ZodTuple<any, any>;
|
|
1439
|
+
}, z.core.$strip>, ...z.ZodObject<{
|
|
1440
|
+
name: z.ZodLiteral<"createAuthWit" | "executeUtility" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerContractClass" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx">;
|
|
1441
|
+
args: z.ZodTuple<any, any>;
|
|
1442
|
+
}, z.core.$strip>[]], "name">, BatchedResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1443
|
+
name: z.ZodLiteral<"createAuthWit" | "executeUtility" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerContractClass" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx">;
|
|
1444
|
+
result: z.ZodOptional<z.ZodVoid> | z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
1445
|
+
}, z.core.$strip>, ...z.ZodObject<{
|
|
1446
|
+
name: z.ZodLiteral<"createAuthWit" | "executeUtility" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerContractClass" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx">;
|
|
1447
|
+
result: z.ZodOptional<z.ZodVoid> | z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
1448
|
+
}, z.core.$strip>[]], "name">;
|
|
1449
|
+
export { BatchedMethodSchema, BatchedResultSchema };
|
|
1450
|
+
export declare const WalletSchema: ApiSchemaFor<Wallet>;
|
|
1451
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2FsbGV0LmQudHMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvd2FsbGV0L3dhbGxldC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssRUFBRSxTQUFTLEVBQUUsTUFBTSxvQ0FBb0MsQ0FBQztBQUNwRSxPQUFPLEVBQUUsV0FBVyxFQUE2QixNQUFNLHNDQUFzQyxDQUFDO0FBQzlGLE9BQU8sS0FBSyxFQUFFLEVBQUUsRUFBRSxNQUFNLHFDQUFxQyxDQUFDO0FBQzlELE9BQU8sRUFDTCxLQUFLLFVBQVUsRUFFZixLQUFLLGdCQUFnQixFQUVyQixLQUFLLHVCQUF1QixFQUM1QixZQUFZLEVBQ2IsTUFBTSx3QkFBd0IsQ0FBQztBQUNoQyxPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0saUNBQWlDLENBQUM7QUFDOUQsT0FBTyxLQUFLLEVBQUUsWUFB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