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