abstractionkit 0.3.7 → 0.3.8
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/CHANGELOG.md +454 -0
- package/dist/index.cjs +1815 -1008
- package/dist/index.d.cts +234 -130
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +234 -130
- package/dist/index.d.mts.map +1 -1
- package/dist/index.iife.js +1815 -1008
- package/dist/index.mjs +1811 -1006
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -2
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,59 @@
|
|
|
1
1
|
import { AbiCoder } from "ethers";
|
|
2
2
|
|
|
3
|
+
//#region src/transport/Transport.d.ts
|
|
4
|
+
interface RequestArgs {
|
|
5
|
+
readonly method: string;
|
|
6
|
+
readonly params?: readonly unknown[] | object;
|
|
7
|
+
}
|
|
8
|
+
interface RequestOptions {
|
|
9
|
+
readonly signal?: AbortSignal;
|
|
10
|
+
}
|
|
11
|
+
interface ProviderRpcError extends Error {
|
|
12
|
+
readonly code: number;
|
|
13
|
+
readonly data?: unknown;
|
|
14
|
+
}
|
|
15
|
+
declare class TransportRpcError extends Error implements ProviderRpcError {
|
|
16
|
+
readonly code: number;
|
|
17
|
+
readonly data?: unknown;
|
|
18
|
+
constructor(code: number, message: string, data?: unknown);
|
|
19
|
+
}
|
|
20
|
+
interface Transport {
|
|
21
|
+
request<T = unknown>(args: RequestArgs, options?: RequestOptions): Promise<T>;
|
|
22
|
+
}
|
|
23
|
+
interface EventfulTransport extends Transport {
|
|
24
|
+
on(event: string, listener: (...args: unknown[]) => void): void;
|
|
25
|
+
removeListener(event: string, listener: (...args: unknown[]) => void): void;
|
|
26
|
+
}
|
|
27
|
+
declare function isEventfulTransport(transport: Transport): transport is EventfulTransport;
|
|
28
|
+
//#endregion
|
|
29
|
+
//#region src/transport/BaseRpcTransport.d.ts
|
|
30
|
+
interface JsonRpcEnvelope {
|
|
31
|
+
readonly jsonrpc: "2.0";
|
|
32
|
+
readonly id: number;
|
|
33
|
+
readonly method: string;
|
|
34
|
+
readonly params?: unknown;
|
|
35
|
+
}
|
|
36
|
+
declare abstract class BaseRpcTransport implements Transport {
|
|
37
|
+
private nextId;
|
|
38
|
+
request<T = unknown>(args: RequestArgs, options?: RequestOptions): Promise<T>;
|
|
39
|
+
protected abstract send(envelope: JsonRpcEnvelope, options?: RequestOptions): Promise<unknown>;
|
|
40
|
+
protected static serializeEnvelope(envelope: JsonRpcEnvelope): string;
|
|
41
|
+
private static parseResponse;
|
|
42
|
+
}
|
|
43
|
+
//#endregion
|
|
44
|
+
//#region src/transport/HttpTransport.d.ts
|
|
45
|
+
interface HttpTransportOptions {
|
|
46
|
+
fetch?: typeof globalThis.fetch;
|
|
47
|
+
headers?: Record<string, string>;
|
|
48
|
+
}
|
|
49
|
+
declare class HttpTransport extends BaseRpcTransport {
|
|
50
|
+
readonly url: string;
|
|
51
|
+
readonly options: HttpTransportOptions;
|
|
52
|
+
constructor(url: string, options?: HttpTransportOptions);
|
|
53
|
+
protected send(envelope: JsonRpcEnvelope, options?: RequestOptions): Promise<unknown>;
|
|
54
|
+
}
|
|
55
|
+
declare function isHttpTransport(transport: Transport): transport is HttpTransport;
|
|
56
|
+
//#endregion
|
|
3
57
|
//#region src/utils7702.d.ts
|
|
4
58
|
type Authorization7702 = {
|
|
5
59
|
chainId: bigint;
|
|
@@ -238,39 +292,6 @@ interface ParallelPaymasterInitValues {
|
|
|
238
292
|
paymasterData: string;
|
|
239
293
|
}
|
|
240
294
|
//#endregion
|
|
241
|
-
//#region src/paymaster/types.d.ts
|
|
242
|
-
type AnyUserOperation = UserOperationV9 | UserOperationV8 | UserOperationV7 | UserOperationV6;
|
|
243
|
-
type SameUserOp<T extends AnyUserOperation> = T extends UserOperationV9 ? UserOperationV9 : T extends UserOperationV8 ? UserOperationV8 : T extends UserOperationV7 ? UserOperationV7 : UserOperationV6;
|
|
244
|
-
interface CandidePaymasterContext {
|
|
245
|
-
token?: string;
|
|
246
|
-
sponsorshipPolicyId?: string;
|
|
247
|
-
signingPhase?: "commit" | "finalize";
|
|
248
|
-
}
|
|
249
|
-
interface SmartAccountWithEntrypoint {
|
|
250
|
-
readonly entrypointAddress: string;
|
|
251
|
-
}
|
|
252
|
-
interface PrependTokenPaymasterApproveAccount extends SmartAccountWithEntrypoint {
|
|
253
|
-
prependTokenPaymasterApproveToCallData(callData: string, tokenAddress: string, paymasterAddress: string, approveAmount: bigint): string;
|
|
254
|
-
}
|
|
255
|
-
type Erc7677Provider = "pimlico" | "candide" | null;
|
|
256
|
-
interface Erc7677PaymasterConstructorOptions {
|
|
257
|
-
chainId?: bigint;
|
|
258
|
-
provider?: "auto" | Erc7677Provider;
|
|
259
|
-
}
|
|
260
|
-
interface BasePaymasterUserOperationOverrides {
|
|
261
|
-
entrypoint?: string;
|
|
262
|
-
resetApproval?: boolean;
|
|
263
|
-
}
|
|
264
|
-
interface GasPaymasterUserOperationOverrides extends BasePaymasterUserOperationOverrides {
|
|
265
|
-
callGasLimit?: bigint;
|
|
266
|
-
verificationGasLimit?: bigint;
|
|
267
|
-
preVerificationGas?: bigint;
|
|
268
|
-
callGasLimitPercentageMultiplier?: number;
|
|
269
|
-
verificationGasLimitPercentageMultiplier?: number;
|
|
270
|
-
preVerificationGasPercentageMultiplier?: number;
|
|
271
|
-
state_override_set?: StateOverrideSet;
|
|
272
|
-
}
|
|
273
|
-
//#endregion
|
|
274
295
|
//#region src/signer/types.d.ts
|
|
275
296
|
interface TypedData {
|
|
276
297
|
domain: {
|
|
@@ -314,10 +335,55 @@ type Signer<C = SignContext> = SignerBase & ({
|
|
|
314
335
|
signTypedData: SignTypedDataFn<C>;
|
|
315
336
|
});
|
|
316
337
|
//#endregion
|
|
338
|
+
//#region src/utils.d.ts
|
|
339
|
+
declare function createUserOperationHash(useroperation: UserOperationV6 | UserOperationV7 | UserOperationV8 | UserOperationV9, entrypointAddress: string, chainId: bigint): string;
|
|
340
|
+
declare function createCallData(functionSelector: string, functionInputAbi: string[], functionInputParameters: AbiInputValue[]): string;
|
|
341
|
+
declare function sendJsonRpcRequest(rpc: string | Transport | JsonRpcNode, method: string, params: JsonRpcParam, headers?: Record<string, string>, paramsKeyName?: string): Promise<JsonRpcResult>;
|
|
342
|
+
declare function getFunctionSelector(functionSignature: string): string;
|
|
343
|
+
declare function fetchAccountNonce(rpc: string | Transport | JsonRpcNode, entryPoint: string, account: string, key?: number): Promise<bigint>;
|
|
344
|
+
declare function calculateUserOperationMaxGasCost(useroperation: UserOperationV6 | UserOperationV7): bigint;
|
|
345
|
+
type DepositInfo = {
|
|
346
|
+
deposit: bigint;
|
|
347
|
+
staked: boolean;
|
|
348
|
+
stake: bigint;
|
|
349
|
+
unstakeDelaySec: bigint;
|
|
350
|
+
withdrawTime: bigint;
|
|
351
|
+
};
|
|
352
|
+
//#endregion
|
|
353
|
+
//#region src/transport/JsonRpcNode.d.ts
|
|
354
|
+
type EthCallTransaction = {
|
|
355
|
+
from?: string;
|
|
356
|
+
to: string;
|
|
357
|
+
gas?: bigint;
|
|
358
|
+
gasPrice?: bigint;
|
|
359
|
+
value?: bigint;
|
|
360
|
+
data?: string;
|
|
361
|
+
};
|
|
362
|
+
declare class JsonRpcNode implements Transport {
|
|
363
|
+
readonly transport: Transport;
|
|
364
|
+
private readonly outbound;
|
|
365
|
+
constructor(rpc: string | Transport);
|
|
366
|
+
static from(input: string | Transport | JsonRpcNode): JsonRpcNode;
|
|
367
|
+
request<T = unknown>(args: RequestArgs, options?: RequestOptions): Promise<T>;
|
|
368
|
+
chainId(options?: RequestOptions): Promise<string>;
|
|
369
|
+
blockNumber(options?: RequestOptions): Promise<bigint>;
|
|
370
|
+
getCode(address: string, blockTag?: string | bigint, options?: RequestOptions): Promise<string>;
|
|
371
|
+
call(tx: EthCallTransaction, blockTag?: string | bigint, stateOverrides?: object, options?: RequestOptions): Promise<string>;
|
|
372
|
+
getTransactionCount(address: string, blockTag?: string | bigint, options?: RequestOptions): Promise<bigint>;
|
|
373
|
+
getFeeData(gasLevel?: GasOption, options?: RequestOptions): Promise<[bigint, bigint]>;
|
|
374
|
+
getDelegatedAddress(accountAddress: string, options?: RequestOptions): Promise<string | null>;
|
|
375
|
+
getEntryPointNonce(entryPoint: string, account: string, key?: bigint, options?: RequestOptions): Promise<bigint>;
|
|
376
|
+
getEntryPointDeposit(address: string, entryPoint: string, options?: RequestOptions): Promise<bigint>;
|
|
377
|
+
getEntryPointDepositInfo(address: string, entryPoint: string, options?: RequestOptions): Promise<DepositInfo>;
|
|
378
|
+
}
|
|
379
|
+
//#endregion
|
|
317
380
|
//#region src/Bundler.d.ts
|
|
318
|
-
declare class Bundler {
|
|
319
|
-
readonly
|
|
320
|
-
|
|
381
|
+
declare class Bundler implements Transport {
|
|
382
|
+
readonly transport: Transport;
|
|
383
|
+
private readonly outbound;
|
|
384
|
+
constructor(rpc: string | Transport);
|
|
385
|
+
static from(input: string | Transport | Bundler): Bundler;
|
|
386
|
+
request<T = unknown>(args: RequestArgs, options?: RequestOptions): Promise<T>;
|
|
321
387
|
chainId(): Promise<string>;
|
|
322
388
|
supportedEntryPoints(): Promise<string[]>;
|
|
323
389
|
estimateUserOperationGas(useroperation: UserOperationV6 | UserOperationV7 | UserOperationV8 | UserOperationV9, entrypointAddress: string, state_override_set?: StateOverrideSet): Promise<GasEstimationResult>;
|
|
@@ -326,6 +392,39 @@ declare class Bundler {
|
|
|
326
392
|
getUserOperationByHash(useroperationhash: string): Promise<UserOperationByHashResult>;
|
|
327
393
|
}
|
|
328
394
|
//#endregion
|
|
395
|
+
//#region src/paymaster/types.d.ts
|
|
396
|
+
type AnyUserOperation = UserOperationV9 | UserOperationV8 | UserOperationV7 | UserOperationV6;
|
|
397
|
+
type SameUserOp<T extends AnyUserOperation> = T extends UserOperationV9 ? UserOperationV9 : T extends UserOperationV8 ? UserOperationV8 : T extends UserOperationV7 ? UserOperationV7 : UserOperationV6;
|
|
398
|
+
interface CandidePaymasterContext {
|
|
399
|
+
token?: string;
|
|
400
|
+
sponsorshipPolicyId?: string;
|
|
401
|
+
signingPhase?: "commit" | "finalize";
|
|
402
|
+
}
|
|
403
|
+
interface SmartAccountWithEntrypoint {
|
|
404
|
+
readonly entrypointAddress: string;
|
|
405
|
+
}
|
|
406
|
+
interface PrependTokenPaymasterApproveAccount extends SmartAccountWithEntrypoint {
|
|
407
|
+
prependTokenPaymasterApproveToCallData(callData: string, tokenAddress: string, paymasterAddress: string, approveAmount: bigint): string;
|
|
408
|
+
}
|
|
409
|
+
type Erc7677Provider = "pimlico" | "candide" | null;
|
|
410
|
+
interface Erc7677PaymasterConstructorOptions {
|
|
411
|
+
chainId?: bigint;
|
|
412
|
+
provider?: "auto" | Erc7677Provider;
|
|
413
|
+
}
|
|
414
|
+
interface BasePaymasterUserOperationOverrides {
|
|
415
|
+
entrypoint?: string;
|
|
416
|
+
resetApproval?: boolean;
|
|
417
|
+
}
|
|
418
|
+
interface GasPaymasterUserOperationOverrides extends BasePaymasterUserOperationOverrides {
|
|
419
|
+
callGasLimit?: bigint;
|
|
420
|
+
verificationGasLimit?: bigint;
|
|
421
|
+
preVerificationGas?: bigint;
|
|
422
|
+
callGasLimitPercentageMultiplier?: number;
|
|
423
|
+
verificationGasLimitPercentageMultiplier?: number;
|
|
424
|
+
preVerificationGasPercentageMultiplier?: number;
|
|
425
|
+
state_override_set?: StateOverrideSet;
|
|
426
|
+
}
|
|
427
|
+
//#endregion
|
|
329
428
|
//#region src/account/SendUseroperationResponse.d.ts
|
|
330
429
|
declare class SendUseroperationResponse {
|
|
331
430
|
readonly userOperationHash: string;
|
|
@@ -395,8 +494,8 @@ declare class BaseSimple7702Account extends SmartAccount {
|
|
|
395
494
|
readonly entrypointAddress: string;
|
|
396
495
|
readonly delegateeAddress: string;
|
|
397
496
|
constructor(accountAddress: string, entrypointAddress: string, delegateeAddress: string);
|
|
398
|
-
isDelegatedToThisAccount(providerRpc: string): Promise<boolean>;
|
|
399
|
-
createRevokeDelegationTransaction(eoaPrivateKey: string, providerRpc: string, overrides?: {
|
|
497
|
+
isDelegatedToThisAccount(providerRpc: string | Transport | JsonRpcNode): Promise<boolean>;
|
|
498
|
+
createRevokeDelegationTransaction(eoaPrivateKey: string, providerRpc: string | Transport | JsonRpcNode, overrides?: {
|
|
400
499
|
nonce?: bigint;
|
|
401
500
|
authorizationNonce?: bigint;
|
|
402
501
|
maxFeePerGas?: bigint;
|
|
@@ -407,16 +506,21 @@ declare class BaseSimple7702Account extends SmartAccount {
|
|
|
407
506
|
static createAccountCallData(to: string, value: bigint, data: string): string;
|
|
408
507
|
static createAccountCallDataSingleTransaction(metaTransaction: SimpleMetaTransaction): string;
|
|
409
508
|
static createAccountCallDataBatchTransactions(transactions: SimpleMetaTransaction[]): string;
|
|
410
|
-
protected baseCreateUserOperation(transactions: SimpleMetaTransaction[], providerRpc?: string, bundlerRpc?: string, overrides?: CreateUserOperationOverrides): Promise<UserOperationV8 | UserOperationV9>;
|
|
411
|
-
protected baseEstimateUserOperationGas(userOperation: UserOperationV8 | UserOperationV9, bundlerRpc: string, overrides?: {
|
|
509
|
+
protected baseCreateUserOperation(transactions: SimpleMetaTransaction[], providerRpc?: string | Transport | JsonRpcNode, bundlerRpc?: string | Transport | Bundler, overrides?: CreateUserOperationOverrides): Promise<UserOperationV8 | UserOperationV9>;
|
|
510
|
+
protected baseEstimateUserOperationGas(userOperation: UserOperationV8 | UserOperationV9, bundlerRpc: string | Transport | Bundler, overrides?: {
|
|
412
511
|
stateOverrideSet?: StateOverrideSet;
|
|
413
512
|
dummySignature?: string;
|
|
414
513
|
}): Promise<[bigint, bigint, bigint]>;
|
|
415
514
|
protected baseSignUserOperation(useroperation: UserOperationV8 | UserOperationV9, privateKey: string, chainId: bigint): string;
|
|
416
515
|
static readonly ACCEPTED_SIGNING_SCHEMES: readonly SigningScheme[];
|
|
417
|
-
|
|
516
|
+
static getUserOperationEip712Data(userOperation: UserOperationV8 | UserOperationV9, chainId: bigint, overrides?: {
|
|
517
|
+
entrypointAddress?: string;
|
|
518
|
+
}): TypedData;
|
|
519
|
+
static getUserOperationEip712Hash(userOperation: UserOperationV8 | UserOperationV9, chainId: bigint, overrides?: {
|
|
520
|
+
entrypointAddress?: string;
|
|
521
|
+
}): string;
|
|
418
522
|
protected baseSignUserOperationWithSigner<T extends UserOperationV8 | UserOperationV9>(useroperation: T, signer: Signer, chainId: bigint): Promise<string>;
|
|
419
|
-
protected baseSendUserOperation(userOperation: UserOperationV8 | UserOperationV9, bundlerRpc: string): Promise<SendUseroperationResponse>;
|
|
523
|
+
protected baseSendUserOperation(userOperation: UserOperationV8 | UserOperationV9, bundlerRpc: string | Transport | Bundler): Promise<SendUseroperationResponse>;
|
|
420
524
|
prependTokenPaymasterApproveToCallData(callData: string, tokenAddress: string, paymasterAddress: string, approveAmount: bigint): string;
|
|
421
525
|
static prependTokenPaymasterApproveToCallDataStatic(callData: string, tokenAddress: string, paymasterAddress: string, approveAmount: bigint): string;
|
|
422
526
|
}
|
|
@@ -426,14 +530,14 @@ declare class Simple7702Account extends BaseSimple7702Account {
|
|
|
426
530
|
entrypointAddress?: string;
|
|
427
531
|
delegateeAddress?: string;
|
|
428
532
|
});
|
|
429
|
-
createUserOperation(transactions: SimpleMetaTransaction[], providerRpc?: string, bundlerRpc?: string, overrides?: CreateUserOperationOverrides): Promise<UserOperationV8>;
|
|
430
|
-
estimateUserOperationGas(userOperation: UserOperationV8, bundlerRpc: string, overrides?: {
|
|
533
|
+
createUserOperation(transactions: SimpleMetaTransaction[], providerRpc?: string | Transport | JsonRpcNode, bundlerRpc?: string | Transport | Bundler, overrides?: CreateUserOperationOverrides): Promise<UserOperationV8>;
|
|
534
|
+
estimateUserOperationGas(userOperation: UserOperationV8, bundlerRpc: string | Transport | Bundler, overrides?: {
|
|
431
535
|
stateOverrideSet?: StateOverrideSet;
|
|
432
536
|
dummySignature?: string;
|
|
433
537
|
}): Promise<[bigint, bigint, bigint]>;
|
|
434
538
|
signUserOperation(useroperation: UserOperationV8, privateKey: string, chainId: bigint): string;
|
|
435
539
|
signUserOperationWithSigner(useroperation: UserOperationV8, signer: Signer, chainId: bigint): Promise<string>;
|
|
436
|
-
sendUserOperation(userOperation: UserOperationV8, bundlerRpc: string): Promise<SendUseroperationResponse>;
|
|
540
|
+
sendUserOperation(userOperation: UserOperationV8, bundlerRpc: string | Transport | Bundler): Promise<SendUseroperationResponse>;
|
|
437
541
|
}
|
|
438
542
|
//#endregion
|
|
439
543
|
//#region src/account/Calibur/types.d.ts
|
|
@@ -504,6 +608,7 @@ declare class Calibur7702Account extends SmartAccount implements PrependTokenPay
|
|
|
504
608
|
static readonly dummySignature: string;
|
|
505
609
|
static createDummyWebAuthnSignature(keyHash: string): string;
|
|
506
610
|
static wrapSignature(keyHash: string, rawSignature: string, hookData?: string): string;
|
|
611
|
+
static formatEip712SingleSignatureToUseroperationSignature(signature: string, overrides?: CaliburSignatureOverrides): string;
|
|
507
612
|
readonly entrypointAddress: string;
|
|
508
613
|
readonly delegateeAddress: string;
|
|
509
614
|
constructor(accountAddress: string, overrides?: {
|
|
@@ -511,13 +616,19 @@ declare class Calibur7702Account extends SmartAccount implements PrependTokenPay
|
|
|
511
616
|
delegateeAddress?: string;
|
|
512
617
|
});
|
|
513
618
|
getUserOperationHash(userOperation: UserOperationV8, chainId: bigint): string;
|
|
619
|
+
static getUserOperationEip712Data(userOperation: UserOperationV8 | UserOperationV9, chainId: bigint, overrides?: {
|
|
620
|
+
entrypointAddress?: string;
|
|
621
|
+
}): TypedData;
|
|
622
|
+
static getUserOperationEip712Hash(userOperation: UserOperationV8 | UserOperationV9, chainId: bigint, overrides?: {
|
|
623
|
+
entrypointAddress?: string;
|
|
624
|
+
}): string;
|
|
514
625
|
static createAccountCallData(transactions: SimpleMetaTransaction[], revertOnFailure?: boolean): string;
|
|
515
|
-
createUserOperation(transactions: SimpleMetaTransaction[], providerRpc?: string, bundlerRpc?: string, overrides?: CaliburCreateUserOperationOverrides): Promise<UserOperationV8>;
|
|
626
|
+
createUserOperation(transactions: SimpleMetaTransaction[], providerRpc?: string | Transport | JsonRpcNode, bundlerRpc?: string | Transport | Bundler, overrides?: CaliburCreateUserOperationOverrides): Promise<UserOperationV8>;
|
|
516
627
|
signUserOperation(userOperation: UserOperationV8, privateKey: string, chainId: bigint, overrides?: CaliburSignatureOverrides): string;
|
|
517
628
|
static readonly ACCEPTED_SIGNING_SCHEMES: readonly SigningScheme[];
|
|
518
629
|
signUserOperationWithSigner(userOperation: UserOperationV8, signer: Signer, chainId: bigint, overrides?: CaliburSignatureOverrides): Promise<string>;
|
|
519
630
|
formatWebAuthnSignature(keyHash: string, webAuthnAuth: WebAuthnSignatureData, overrides?: CaliburSignatureOverrides): string;
|
|
520
|
-
sendUserOperation(userOperation: UserOperationV8, bundlerRpc: string): Promise<SendUseroperationResponse>;
|
|
631
|
+
sendUserOperation(userOperation: UserOperationV8, bundlerRpc: string | Transport | Bundler): Promise<SendUseroperationResponse>;
|
|
521
632
|
static createSecp256k1Key(address: string): CaliburKey;
|
|
522
633
|
static createWebAuthnP256Key(x: bigint, y: bigint): CaliburKey;
|
|
523
634
|
static createP256Key(x: bigint, y: bigint): CaliburKey;
|
|
@@ -526,8 +637,8 @@ declare class Calibur7702Account extends SmartAccount implements PrependTokenPay
|
|
|
526
637
|
static unpackKeySettings(packed: bigint): CaliburKeySettingsResult;
|
|
527
638
|
static createRegisterKeyMetaTransactions(key: CaliburKey, settings?: CaliburKeySettings): [SimpleMetaTransaction, SimpleMetaTransaction];
|
|
528
639
|
static createRevokeKeyMetaTransaction(keyHash: string): SimpleMetaTransaction;
|
|
529
|
-
createRevokeAllKeysMetaTransactions(providerRpc: string): Promise<SimpleMetaTransaction[]>;
|
|
530
|
-
createRevokeDelegationRawTransaction(chainId: bigint, eoaPrivateKey: string, providerRpc: string, overrides?: {
|
|
640
|
+
createRevokeAllKeysMetaTransactions(providerRpc: string | Transport | JsonRpcNode): Promise<SimpleMetaTransaction[]>;
|
|
641
|
+
createRevokeDelegationRawTransaction(chainId: bigint, eoaPrivateKey: string, providerRpc: string | Transport | JsonRpcNode, overrides?: {
|
|
531
642
|
nonce?: bigint;
|
|
532
643
|
authorizationNonce?: bigint;
|
|
533
644
|
maxFeePerGas?: bigint;
|
|
@@ -536,12 +647,12 @@ declare class Calibur7702Account extends SmartAccount implements PrependTokenPay
|
|
|
536
647
|
}): Promise<string>;
|
|
537
648
|
static createUpdateKeySettingsMetaTransaction(keyHash: string, settings: CaliburKeySettings): SimpleMetaTransaction;
|
|
538
649
|
static createInvalidateNonceMetaTransaction(newNonce: bigint): SimpleMetaTransaction;
|
|
539
|
-
isDelegatedToThisAccount(providerRpc: string): Promise<boolean>;
|
|
540
|
-
getNonce(providerRpc: string, sequenceKey?: number): Promise<bigint>;
|
|
541
|
-
isKeyRegistered(providerRpc: string, keyHash: string): Promise<boolean>;
|
|
542
|
-
getKeySettings(providerRpc: string, keyHash: string): Promise<CaliburKeySettingsResult>;
|
|
543
|
-
getKey(providerRpc: string, keyHash: string): Promise<CaliburKey>;
|
|
544
|
-
getKeys(providerRpc: string, overrides?: {
|
|
650
|
+
isDelegatedToThisAccount(providerRpc: string | Transport | JsonRpcNode): Promise<boolean>;
|
|
651
|
+
getNonce(providerRpc: string | Transport | JsonRpcNode, sequenceKey?: number): Promise<bigint>;
|
|
652
|
+
isKeyRegistered(providerRpc: string | Transport | JsonRpcNode, keyHash: string): Promise<boolean>;
|
|
653
|
+
getKeySettings(providerRpc: string | Transport | JsonRpcNode, keyHash: string): Promise<CaliburKeySettingsResult>;
|
|
654
|
+
getKey(providerRpc: string | Transport | JsonRpcNode, keyHash: string): Promise<CaliburKey>;
|
|
655
|
+
getKeys(providerRpc: string | Transport | JsonRpcNode, overrides?: {
|
|
545
656
|
blockNumber?: bigint;
|
|
546
657
|
}): Promise<CaliburKey[]>;
|
|
547
658
|
prependTokenPaymasterApproveToCallData(callData: string, tokenAddress: string, paymasterAddress: string, approveAmount: bigint): string;
|
|
@@ -575,13 +686,13 @@ declare class AllowanceModule extends SafeModule {
|
|
|
575
686
|
createBaseExecuteAllowanceTransferMetaTransaction(safeAddress: string, token: string, to: string, amount: bigint, paymentToken: string, payment: bigint, delegate: string, delegateSignature: string): MetaTransaction;
|
|
576
687
|
createAddDelegateMetaTransaction(delegate: string): MetaTransaction;
|
|
577
688
|
createRemoveDelegateMetaTransaction(delegate: string, removeAllowances: boolean): MetaTransaction;
|
|
578
|
-
getTokens(nodeRpcUrl: string, safeAddress: string, delegate: string): Promise<string[]>;
|
|
579
|
-
getTokensAllowance(nodeRpcUrl: string, safeAddress: string, delegate: string, token: string): Promise<Allowance>;
|
|
580
|
-
getDelegates(nodeRpcUrl: string, safeAddress: string, overrides?: {
|
|
689
|
+
getTokens(nodeRpcUrl: string | Transport | JsonRpcNode, safeAddress: string, delegate: string): Promise<string[]>;
|
|
690
|
+
getTokensAllowance(nodeRpcUrl: string | Transport | JsonRpcNode, safeAddress: string, delegate: string, token: string): Promise<Allowance>;
|
|
691
|
+
getDelegates(nodeRpcUrl: string | Transport | JsonRpcNode, safeAddress: string, overrides?: {
|
|
581
692
|
start?: bigint;
|
|
582
693
|
maxNumberOfResults?: bigint;
|
|
583
694
|
}): Promise<string[]>;
|
|
584
|
-
baseGetDelegates(nodeRpcUrl: string, safeAddress: string, start: bigint, pageSize: bigint): Promise<{
|
|
695
|
+
baseGetDelegates(nodeRpcUrl: string | Transport | JsonRpcNode, safeAddress: string, start: bigint, pageSize: bigint): Promise<{
|
|
585
696
|
results: string[];
|
|
586
697
|
next: bigint;
|
|
587
698
|
}>;
|
|
@@ -610,20 +721,20 @@ declare class SocialRecoveryModule extends SafeModule {
|
|
|
610
721
|
createFinalizeRecoveryMetaTransaction(accountAddress: string): MetaTransaction;
|
|
611
722
|
createCancelRecoveryMetaTransaction(): MetaTransaction;
|
|
612
723
|
createAddGuardianWithThresholdMetaTransaction(guardianAddress: string, threshold: bigint): MetaTransaction;
|
|
613
|
-
createRevokeGuardianWithThresholdMetaTransaction(nodeRpcUrl: string, accountAddress: string, guardianAddress: string, threshold: bigint, overrides?: {
|
|
724
|
+
createRevokeGuardianWithThresholdMetaTransaction(nodeRpcUrl: string | Transport | JsonRpcNode, accountAddress: string, guardianAddress: string, threshold: bigint, overrides?: {
|
|
614
725
|
prevGuardianAddress?: string;
|
|
615
726
|
}): Promise<MetaTransaction>;
|
|
616
727
|
createStandardRevokeGuardianWithThresholdMetaTransaction(prevGuardianAddress: string, guardianAddress: string, threshold: bigint): MetaTransaction;
|
|
617
728
|
createChangeThresholdMetaTransaction(threshold: bigint): MetaTransaction;
|
|
618
|
-
getRecoveryHash(nodeRpcUrl: string, accountAddress: string, newOwners: string[], newThreshold: number, nonce: bigint): Promise<string>;
|
|
619
|
-
getRecoveryRequest(nodeRpcUrl: string, accountAddress: string): Promise<RecoveryRequest>;
|
|
620
|
-
getRecoveryApprovals(nodeRpcUrl: string, accountAddress: string, newOwners: string[], newThreshold: number): Promise<bigint>;
|
|
621
|
-
hasGuardianApproved(nodeRpcUrl: string, accountAddress: string, guardian: string, newOwners: string[], newThreshold: number): Promise<boolean>;
|
|
622
|
-
isGuardian(nodeRpcUrl: string, accountAddress: string, guardian: string): Promise<boolean>;
|
|
623
|
-
guardiansCount(nodeRpcUrl: string, accountAddress: string): Promise<bigint>;
|
|
624
|
-
threshold(nodeRpcUrl: string, accountAddress: string): Promise<bigint>;
|
|
625
|
-
getGuardians(nodeRpcUrl: string, accountAddress: string): Promise<string[]>;
|
|
626
|
-
nonce(nodeRpcUrl: string, accountAddress: string): Promise<bigint>;
|
|
729
|
+
getRecoveryHash(nodeRpcUrl: string | Transport | JsonRpcNode, accountAddress: string, newOwners: string[], newThreshold: number, nonce: bigint): Promise<string>;
|
|
730
|
+
getRecoveryRequest(nodeRpcUrl: string | Transport | JsonRpcNode, accountAddress: string): Promise<RecoveryRequest>;
|
|
731
|
+
getRecoveryApprovals(nodeRpcUrl: string | Transport | JsonRpcNode, accountAddress: string, newOwners: string[], newThreshold: number): Promise<bigint>;
|
|
732
|
+
hasGuardianApproved(nodeRpcUrl: string | Transport | JsonRpcNode, accountAddress: string, guardian: string, newOwners: string[], newThreshold: number): Promise<boolean>;
|
|
733
|
+
isGuardian(nodeRpcUrl: string | Transport | JsonRpcNode, accountAddress: string, guardian: string): Promise<boolean>;
|
|
734
|
+
guardiansCount(nodeRpcUrl: string | Transport | JsonRpcNode, accountAddress: string): Promise<bigint>;
|
|
735
|
+
threshold(nodeRpcUrl: string | Transport | JsonRpcNode, accountAddress: string): Promise<bigint>;
|
|
736
|
+
getGuardians(nodeRpcUrl: string | Transport | JsonRpcNode, accountAddress: string): Promise<string[]>;
|
|
737
|
+
nonce(nodeRpcUrl: string | Transport | JsonRpcNode, accountAddress: string): Promise<bigint>;
|
|
627
738
|
getRecoveryRequestEip712Data(rpcNode: string, chainId: bigint, accountAddress: string, newOwners: string[], newThreshold: bigint, overrides?: {
|
|
628
739
|
recoveryNonce?: bigint;
|
|
629
740
|
}): Promise<{
|
|
@@ -884,7 +995,7 @@ declare class SafeAccount extends SmartAccount {
|
|
|
884
995
|
safeFactoryAddress?: string;
|
|
885
996
|
singletonInitHash?: string;
|
|
886
997
|
}): string;
|
|
887
|
-
static isDeployed(accountAddress: string, nodeRpcUrl: string): Promise<boolean>;
|
|
998
|
+
static isDeployed(accountAddress: string, nodeRpcUrl: string | Transport | JsonRpcNode): Promise<boolean>;
|
|
888
999
|
static createAccountCallDataSingleTransaction(metaTransaction: MetaTransaction, overrides?: {
|
|
889
1000
|
safeModuleExecutorFunctionSelector?: SafeModuleExecutorFunctionSelector;
|
|
890
1001
|
}): string;
|
|
@@ -987,14 +1098,14 @@ declare class SafeAccount extends SmartAccount {
|
|
|
987
1098
|
validUntil?: bigint;
|
|
988
1099
|
isMultiChainSignature?: boolean;
|
|
989
1100
|
}): string;
|
|
990
|
-
sendUserOperation(userOperation: UserOperationV6 | UserOperationV7 | UserOperationV9, bundlerRpc: string): Promise<SendUseroperationResponse>;
|
|
1101
|
+
sendUserOperation(userOperation: UserOperationV6 | UserOperationV7 | UserOperationV9, bundlerRpc: string | Transport | Bundler): Promise<SendUseroperationResponse>;
|
|
991
1102
|
protected static createAccountAddressAndFactoryAddressAndData(owners: Signer$1[], overrides: BaseInitOverrides, safe4337ModuleAddress: string, safeModuleSetupAddress: string): [string, string, string];
|
|
992
1103
|
protected static createBaseInitializerCallData(owners: Signer$1[], threshold: number, safe4337ModuleAddress: string, safeModuleSetupAddress: string, multisendContractAddress?: string, webAuthnSharedSigner?: string, eip7212WebAuthnPrecompileVerifierForSharedSigner?: string, eip7212WebAuthnContractVerifierForSharedSigner?: string): string;
|
|
993
1104
|
protected static createFactoryAddressAndData(owners: Signer$1[], overrides: BaseInitOverrides | undefined, safe4337ModuleAddress: string, safeModuleSetupAddress: string): [string, string];
|
|
994
1105
|
prependTokenPaymasterApproveToCallData(callData: string, tokenAddress: string, paymasterAddress: string, approveAmount: bigint, overrides?: {
|
|
995
1106
|
multisendContractAddress?: string;
|
|
996
1107
|
}): string;
|
|
997
|
-
baseEstimateUserOperationGas(userOperation: UserOperationV6 | UserOperationV7, bundlerRpc: string, overrides?: {
|
|
1108
|
+
baseEstimateUserOperationGas(userOperation: UserOperationV6 | UserOperationV7, bundlerRpc: string | Transport | Bundler, overrides?: {
|
|
998
1109
|
stateOverrideSet?: StateOverrideSet;
|
|
999
1110
|
dummySignerSignaturePairs?: SignerSignaturePair[];
|
|
1000
1111
|
expectedSigners?: Signer$1[];
|
|
@@ -1006,7 +1117,7 @@ declare class SafeAccount extends SmartAccount {
|
|
|
1006
1117
|
eip7212WebAuthnContractVerifier?: string;
|
|
1007
1118
|
isMultiChainSignature?: boolean;
|
|
1008
1119
|
}): Promise<[bigint, bigint, bigint]>;
|
|
1009
|
-
protected createBaseUserOperationAndFactoryAddressAndFactoryData(transactions: MetaTransaction[], isV06: boolean, providerRpc?: string, bundlerRpc?: string, overrides?: CreateBaseUserOperationOverrides): Promise<[BaseUserOperation, string | null, string | null]>;
|
|
1120
|
+
protected createBaseUserOperationAndFactoryAddressAndFactoryData(transactions: MetaTransaction[], isV06: boolean, providerRpc?: string | Transport | JsonRpcNode, bundlerRpc?: string | Transport | Bundler, overrides?: CreateBaseUserOperationOverrides): Promise<[BaseUserOperation, string | null, string | null]>;
|
|
1010
1121
|
protected static baseSignSingleUserOperation(useroperation: UserOperationV6 | UserOperationV7, privateKeys: string[], chainId: bigint, entrypointAddress: string, safe4337ModuleAddress: string, options?: SafeSignatureOptions): string;
|
|
1011
1122
|
static readonly ACCEPTED_SIGNING_SCHEMES: readonly SigningScheme[];
|
|
1012
1123
|
protected static baseSignUserOperationWithSigners<T extends UserOperationV6 | UserOperationV7 | UserOperationV9, C>(useroperation: T, signers: ReadonlyArray<Signer<C>>, chainId: bigint, params: {
|
|
@@ -1027,7 +1138,7 @@ declare class SafeAccount extends SmartAccount {
|
|
|
1027
1138
|
static sortSignatures(signerSignaturePairs: SignerSignaturePair[], overrides?: WebAuthnSignatureOverrides): void;
|
|
1028
1139
|
static buildSignaturesFromSingerSignaturePairs(signerSignaturePairs: SignerSignaturePair[], webAuthnSignatureOverrides?: WebAuthnSignatureOverrides): string;
|
|
1029
1140
|
static createWebAuthnSignature(signatureData: WebauthnSignatureData): string;
|
|
1030
|
-
createSwapOwnerMetaTransactions(nodeRpcUrl: string, newOwner: Signer$1, oldOwner: Signer$1, overrides?: {
|
|
1141
|
+
createSwapOwnerMetaTransactions(nodeRpcUrl: string | Transport | JsonRpcNode, newOwner: Signer$1, oldOwner: Signer$1, overrides?: {
|
|
1031
1142
|
prevOwner?: string;
|
|
1032
1143
|
eip7212WebAuthnPrecompileVerifier?: string;
|
|
1033
1144
|
eip7212WebAuthnContractVerifier?: string;
|
|
@@ -1035,7 +1146,7 @@ declare class SafeAccount extends SmartAccount {
|
|
|
1035
1146
|
webAuthnSignerSingleton?: string;
|
|
1036
1147
|
webAuthnSignerProxyCreationCode?: string;
|
|
1037
1148
|
}): Promise<MetaTransaction[]>;
|
|
1038
|
-
createRemoveOwnerMetaTransaction(nodeRpcUrl: string, ownerToDelete: Signer$1, threshold: number, overrides?: {
|
|
1149
|
+
createRemoveOwnerMetaTransaction(nodeRpcUrl: string | Transport | JsonRpcNode, ownerToDelete: Signer$1, threshold: number, overrides?: {
|
|
1039
1150
|
prevOwner?: string;
|
|
1040
1151
|
eip7212WebAuthnPrecompileVerifier?: string;
|
|
1041
1152
|
eip7212WebAuthnContractVerifier?: string;
|
|
@@ -1044,7 +1155,7 @@ declare class SafeAccount extends SmartAccount {
|
|
|
1044
1155
|
webAuthnSignerProxyCreationCode?: string;
|
|
1045
1156
|
}): Promise<MetaTransaction>;
|
|
1046
1157
|
createAddOwnerWithThresholdMetaTransactions(newOwner: Signer$1, threshold: number, overrides?: {
|
|
1047
|
-
nodeRpcUrl?: string;
|
|
1158
|
+
nodeRpcUrl?: string | Transport | JsonRpcNode;
|
|
1048
1159
|
eip7212WebAuthnPrecompileVerifier?: string;
|
|
1049
1160
|
eip7212WebAuthnContractVerifier?: string;
|
|
1050
1161
|
webAuthnSignerFactory?: string;
|
|
@@ -1061,28 +1172,28 @@ declare class SafeAccount extends SmartAccount {
|
|
|
1061
1172
|
eip7212WebAuthnContractVerifier?: string;
|
|
1062
1173
|
webAuthnSignerFactory?: string;
|
|
1063
1174
|
}): MetaTransaction;
|
|
1064
|
-
getOwners(nodeRpcUrl: string): Promise<string[]>;
|
|
1065
|
-
getThreshold(nodeRpcUrl: string): Promise<number>;
|
|
1066
|
-
getModules(nodeRpcUrl: string, overrides?: {
|
|
1175
|
+
getOwners(nodeRpcUrl: string | Transport | JsonRpcNode): Promise<string[]>;
|
|
1176
|
+
getThreshold(nodeRpcUrl: string | Transport | JsonRpcNode): Promise<number>;
|
|
1177
|
+
getModules(nodeRpcUrl: string | Transport | JsonRpcNode, overrides?: {
|
|
1067
1178
|
start?: string;
|
|
1068
1179
|
pageSize?: bigint;
|
|
1069
1180
|
}): Promise<[string[], string]>;
|
|
1070
|
-
isModuleEnabled(nodeRpcUrl: string, moduleAddress: string): Promise<boolean>;
|
|
1181
|
+
isModuleEnabled(nodeRpcUrl: string | Transport | JsonRpcNode, moduleAddress: string): Promise<boolean>;
|
|
1071
1182
|
static createDummySignerSignaturePairForExpectedSigners(expectedSigners: Signer$1[], webAuthnSignatureOverrides?: WebAuthnSignatureOverrides): SignerSignaturePair[];
|
|
1072
|
-
static verifyWebAuthnSignatureForMessageHash(nodeRpcUrl: string, signer: WebauthnPublicKey, messageHash: string, signature: string, overrides?: {
|
|
1183
|
+
static verifyWebAuthnSignatureForMessageHash(nodeRpcUrl: string | Transport | JsonRpcNode, signer: WebauthnPublicKey, messageHash: string, signature: string, overrides?: {
|
|
1073
1184
|
eip7212WebAuthnPrecompileVerifier?: string;
|
|
1074
1185
|
eip7212WebAuthnContractVerifier?: string;
|
|
1075
1186
|
webAuthnSignerSingleton?: string;
|
|
1076
1187
|
}): Promise<boolean>;
|
|
1077
1188
|
private static createSafeWebAuthnSignerProxyDeployedByteCode;
|
|
1078
1189
|
static createEnableModuleMetaTransaction(moduleAddress: string, accountAddress: string): MetaTransaction;
|
|
1079
|
-
createDisableModuleMetaTransaction(nodeRpcUrl: string, moduleToDisableAddress: string, accountAddress: string, overrides?: {
|
|
1190
|
+
createDisableModuleMetaTransaction(nodeRpcUrl: string | Transport | JsonRpcNode, moduleToDisableAddress: string, accountAddress: string, overrides?: {
|
|
1080
1191
|
prevModuleAddress?: string;
|
|
1081
1192
|
modulesStart?: string;
|
|
1082
1193
|
modulesPageSize?: bigint;
|
|
1083
1194
|
}): Promise<MetaTransaction>;
|
|
1084
1195
|
static createStandardDisableModuleMetaTransaction(moduleAddress: string, prevModuleAddress: string, accountAddress: string): MetaTransaction;
|
|
1085
|
-
simulateCallDataWithTenderlyAndCreateShareLink(tenderlyAccountSlug: string, tenderlyProjectSlug: string, tenderlyAccessKey: string, nodeRpcUrl: string | null | undefined, chainId: bigint, metaTransactions: MetaTransaction[], blockNumber?: number | null, overrides?: {
|
|
1196
|
+
simulateCallDataWithTenderlyAndCreateShareLink(tenderlyAccountSlug: string, tenderlyProjectSlug: string, tenderlyAccessKey: string, nodeRpcUrl: (string | Transport | JsonRpcNode | null) | undefined, chainId: bigint, metaTransactions: MetaTransaction[], blockNumber?: number | null, overrides?: {
|
|
1086
1197
|
safeModuleExecutorFunctionSelector?: SafeModuleExecutorFunctionSelector;
|
|
1087
1198
|
multisendContractAddress?: string;
|
|
1088
1199
|
callData?: string;
|
|
@@ -1156,14 +1267,14 @@ declare class SafeAccountV0_2_0 extends SafeAccount {
|
|
|
1156
1267
|
eip7212WebAuthnContractVerifierForSharedSigner?: string;
|
|
1157
1268
|
}): string;
|
|
1158
1269
|
static createInitCode(owners: Signer$1[], overrides?: InitCodeOverrides): string;
|
|
1159
|
-
createUserOperation(transactions: MetaTransaction[], providerRpc?: string, bundlerRpc?: string, overrides?: CreateUserOperationV6Overrides): Promise<UserOperationV6>;
|
|
1160
|
-
createMigrateToSafeAccountV0_3_0MetaTransactions(nodeRpcUrl: string, overrides?: {
|
|
1270
|
+
createUserOperation(transactions: MetaTransaction[], providerRpc?: string | Transport | JsonRpcNode, bundlerRpc?: string | Transport | Bundler, overrides?: CreateUserOperationV6Overrides): Promise<UserOperationV6>;
|
|
1271
|
+
createMigrateToSafeAccountV0_3_0MetaTransactions(nodeRpcUrl: string | Transport | JsonRpcNode, overrides?: {
|
|
1161
1272
|
safeV06ModuleAddress?: string;
|
|
1162
1273
|
safeV07ModuleAddress?: string;
|
|
1163
1274
|
pageSize?: bigint;
|
|
1164
1275
|
modulesStart?: string;
|
|
1165
1276
|
}): Promise<MetaTransaction[]>;
|
|
1166
|
-
estimateUserOperationGas(userOperation: UserOperationV6, bundlerRpc: string, overrides?: {
|
|
1277
|
+
estimateUserOperationGas(userOperation: UserOperationV6, bundlerRpc: string | Transport | Bundler, overrides?: {
|
|
1167
1278
|
stateOverrideSet?: StateOverrideSet;
|
|
1168
1279
|
dummySignerSignaturePairs?: SignerSignaturePair[];
|
|
1169
1280
|
expectedSigners?: Signer$1[];
|
|
@@ -1220,8 +1331,8 @@ declare class SafeAccountV0_3_0 extends SafeAccount {
|
|
|
1220
1331
|
eip7212WebAuthnContractVerifierForSharedSigner?: string;
|
|
1221
1332
|
}): string;
|
|
1222
1333
|
static createFactoryAddressAndData(owners: Signer$1[], overrides?: InitCodeOverrides): [string, string];
|
|
1223
|
-
createUserOperation(transactions: MetaTransaction[], providerRpc?: string, bundlerRpc?: string, overrides?: CreateUserOperationV7Overrides): Promise<UserOperationV7>;
|
|
1224
|
-
estimateUserOperationGas(userOperation: UserOperationV7, bundlerRpc: string, overrides?: {
|
|
1334
|
+
createUserOperation(transactions: MetaTransaction[], providerRpc?: string | Transport | JsonRpcNode, bundlerRpc?: string | Transport | Bundler, overrides?: CreateUserOperationV7Overrides): Promise<UserOperationV7>;
|
|
1335
|
+
estimateUserOperationGas(userOperation: UserOperationV7, bundlerRpc: string | Transport | Bundler, overrides?: {
|
|
1225
1336
|
stateOverrideSet?: StateOverrideSet;
|
|
1226
1337
|
dummySignerSignaturePairs?: SignerSignaturePair[];
|
|
1227
1338
|
expectedSigners?: Signer$1[];
|
|
@@ -1256,8 +1367,8 @@ declare class SafeAccountV1_5_0_M_0_3_0 extends SafeAccountV0_3_0 {
|
|
|
1256
1367
|
static initializeNewAccount(owners: Signer$1[], overrides?: InitCodeOverrides): SafeAccountV1_5_0_M_0_3_0;
|
|
1257
1368
|
static createAccountAddress(owners: Signer$1[], overrides?: InitCodeOverrides): string;
|
|
1258
1369
|
static createFactoryAddressAndData(owners: Signer$1[], overrides?: InitCodeOverrides): [string, string];
|
|
1259
|
-
createUserOperation(transactions: MetaTransaction[], providerRpc?: string, bundlerRpc?: string, overrides?: CreateUserOperationV7Overrides): Promise<UserOperationV7>;
|
|
1260
|
-
estimateUserOperationGas(userOperation: UserOperationV7, bundlerRpc: string, overrides?: {
|
|
1370
|
+
createUserOperation(transactions: MetaTransaction[], providerRpc?: string | Transport | JsonRpcNode, bundlerRpc?: string | Transport | Bundler, overrides?: CreateUserOperationV7Overrides): Promise<UserOperationV7>;
|
|
1371
|
+
estimateUserOperationGas(userOperation: UserOperationV7, bundlerRpc: string | Transport | Bundler, overrides?: {
|
|
1261
1372
|
stateOverrideSet?: StateOverrideSet;
|
|
1262
1373
|
dummySignerSignaturePairs?: SignerSignaturePair[];
|
|
1263
1374
|
expectedSigners?: Signer$1[];
|
|
@@ -1281,7 +1392,7 @@ declare class SafeAccountV1_5_0_M_0_3_0 extends SafeAccountV0_3_0 {
|
|
|
1281
1392
|
webAuthnSignerFactory?: string;
|
|
1282
1393
|
}): MetaTransaction;
|
|
1283
1394
|
static createDummySignerSignaturePairForExpectedSigners(expectedSigners: Signer$1[], webAuthnSignatureOverrides?: WebAuthnSignatureOverrides): SignerSignaturePair[];
|
|
1284
|
-
static verifyWebAuthnSignatureForMessageHash(nodeRpcUrl: string, signer: WebauthnPublicKey, messageHash: string, signature: string, overrides?: {
|
|
1395
|
+
static verifyWebAuthnSignatureForMessageHash(nodeRpcUrl: string | Transport | JsonRpcNode, signer: WebauthnPublicKey, messageHash: string, signature: string, overrides?: {
|
|
1285
1396
|
eip7212WebAuthnPrecompileVerifier?: string;
|
|
1286
1397
|
eip7212WebAuthnContractVerifier?: string;
|
|
1287
1398
|
webAuthnSignerSingleton?: string;
|
|
@@ -1337,7 +1448,7 @@ declare class SafeMultiChainSigAccountV1 extends SafeAccount {
|
|
|
1337
1448
|
eip7212WebAuthnContractVerifierForSharedSigner?: string;
|
|
1338
1449
|
}): string;
|
|
1339
1450
|
static createFactoryAddressAndData(owners: Signer$1[], overrides?: InitCodeOverrides): [string, string];
|
|
1340
|
-
createUserOperation(transactions: MetaTransaction[], providerRpc?: string, bundlerRpc?: string, overrides?: CreateUserOperationV9Overrides): Promise<UserOperationV9>;
|
|
1451
|
+
createUserOperation(transactions: MetaTransaction[], providerRpc?: string | Transport | JsonRpcNode, bundlerRpc?: string | Transport | Bundler, overrides?: CreateUserOperationV9Overrides): Promise<UserOperationV9>;
|
|
1341
1452
|
signUserOperation(userOperation: UserOperationV9, privateKeys: string[], chainId: bigint, options?: SafeSignatureOptions): string;
|
|
1342
1453
|
signUserOperationWithSigners(userOperation: UserOperationV9, signers: ReadonlyArray<Signer>, chainId: bigint, options?: SafeSignatureOptions): Promise<string>;
|
|
1343
1454
|
signUserOperations(userOperationsToSign: UserOperationToSign[], privateKeys: string[]): string[];
|
|
@@ -1371,7 +1482,7 @@ declare class SafeMultiChainSigAccountV1 extends SafeAccount {
|
|
|
1371
1482
|
webAuthnSignerFactory?: string;
|
|
1372
1483
|
}): MetaTransaction;
|
|
1373
1484
|
static createDummySignerSignaturePairForExpectedSigners(expectedSigners: Signer$1[], webAuthnSignatureOverrides?: WebAuthnSignatureOverrides): SignerSignaturePair[];
|
|
1374
|
-
static verifyWebAuthnSignatureForMessageHash(nodeRpcUrl: string, signer: WebauthnPublicKey, messageHash: string, signature: string, overrides?: {
|
|
1485
|
+
static verifyWebAuthnSignatureForMessageHash(nodeRpcUrl: string | Transport | JsonRpcNode, signer: WebauthnPublicKey, messageHash: string, signature: string, overrides?: {
|
|
1375
1486
|
eip7212WebAuthnPrecompileVerifier?: string;
|
|
1376
1487
|
eip7212WebAuthnContractVerifier?: string;
|
|
1377
1488
|
webAuthnSignerSingleton?: string;
|
|
@@ -1381,18 +1492,24 @@ declare class SafeMultiChainSigAccountV1 extends SafeAccount {
|
|
|
1381
1492
|
//#region src/account/simple/Simple7702AccountV09.d.ts
|
|
1382
1493
|
declare class Simple7702AccountV09 extends BaseSimple7702Account {
|
|
1383
1494
|
static readonly DEFAULT_DELEGATEE_ADDRESS = "0xa46cc63eBF4Bd77888AA327837d20b23A63a56B5";
|
|
1495
|
+
static getUserOperationEip712Data(userOperation: UserOperationV9, chainId: bigint, overrides?: {
|
|
1496
|
+
entrypointAddress?: string;
|
|
1497
|
+
}): TypedData;
|
|
1498
|
+
static getUserOperationEip712Hash(userOperation: UserOperationV9, chainId: bigint, overrides?: {
|
|
1499
|
+
entrypointAddress?: string;
|
|
1500
|
+
}): string;
|
|
1384
1501
|
constructor(accountAddress: string, overrides?: {
|
|
1385
1502
|
entrypointAddress?: string;
|
|
1386
1503
|
delegateeAddress?: string;
|
|
1387
1504
|
});
|
|
1388
|
-
createUserOperation(transactions: SimpleMetaTransaction[], providerRpc?: string, bundlerRpc?: string, overrides?: CreateUserOperationOverrides): Promise<UserOperationV9>;
|
|
1389
|
-
estimateUserOperationGas(userOperation: UserOperationV9, bundlerRpc: string, overrides?: {
|
|
1505
|
+
createUserOperation(transactions: SimpleMetaTransaction[], providerRpc?: string | Transport | JsonRpcNode, bundlerRpc?: string | Transport | Bundler, overrides?: CreateUserOperationOverrides): Promise<UserOperationV9>;
|
|
1506
|
+
estimateUserOperationGas(userOperation: UserOperationV9, bundlerRpc: string | Transport | Bundler, overrides?: {
|
|
1390
1507
|
stateOverrideSet?: StateOverrideSet;
|
|
1391
1508
|
dummySignature?: string;
|
|
1392
1509
|
}): Promise<[bigint, bigint, bigint]>;
|
|
1393
1510
|
signUserOperation(useroperation: UserOperationV9, privateKey: string, chainId: bigint): string;
|
|
1394
1511
|
signUserOperationWithSigner(useroperation: UserOperationV9, signer: Signer, chainId: bigint): Promise<string>;
|
|
1395
|
-
sendUserOperation(userOperation: UserOperationV9, bundlerRpc: string): Promise<SendUseroperationResponse>;
|
|
1512
|
+
sendUserOperation(userOperation: UserOperationV9, bundlerRpc: string | Transport | Bundler): Promise<SendUseroperationResponse>;
|
|
1396
1513
|
}
|
|
1397
1514
|
//#endregion
|
|
1398
1515
|
//#region src/constants.d.ts
|
|
@@ -1437,9 +1554,9 @@ declare const CALIBUR_UNISWAP_V1_0_0_SINGLETON_ADDRESS = "0x000000009B1D0aF20D8C
|
|
|
1437
1554
|
declare const CALIBUR_CANDIDE_V0_1_0_SINGLETON_ADDRESS = "0x71032285A847c4311Eb7ec2E7A636aB94A9805Aa";
|
|
1438
1555
|
//#endregion
|
|
1439
1556
|
//#region src/errors.d.ts
|
|
1440
|
-
type BasicErrorCode = "UNKNOWN_ERROR" | "TIMEOUT" | "BAD_DATA" | "BUNDLER_ERROR" | "PAYMASTER_ERROR";
|
|
1557
|
+
type BasicErrorCode = "UNKNOWN_ERROR" | "TIMEOUT" | "BAD_DATA" | "BUNDLER_ERROR" | "PAYMASTER_ERROR" | "NODE_ERROR";
|
|
1441
1558
|
type BundlerErrorCode = "INVALID_FIELDS" | "SIMULATE_VALIDATION" | "SIMULATE_PAYMASTER_VALIDATION" | "OPCODE_VALIDATION" | "EXPIRE_SHORTLY" | "REPUTATION" | "INSUFFICIENT_STAKE" | "UNSUPPORTED_SIGNATURE_AGGREGATOR" | "INVALID_SIGNATURE" | "INVALID_USEROPERATION_HASH" | "EXECUTION_REVERTED";
|
|
1442
|
-
type JsonRpcErrorCode = "PARSE_ERROR" | "INVALID_REQUEST" | "METHOD_NOT_FOUND" | "INVALID_PARAMS" | "INTERNAL_ERROR" | "SERVER_ERROR" | "TENDERLY_SIMULATION_ERROR";
|
|
1559
|
+
type JsonRpcErrorCode = "PARSE_ERROR" | "INVALID_REQUEST" | "METHOD_NOT_FOUND" | "INVALID_PARAMS" | "INTERNAL_ERROR" | "SERVER_ERROR" | "TENDERLY_SIMULATION_ERROR" | "TENDERLY_HTTP_ERROR" | "TENDERLY_INVALID_JSON" | "TENDERLY_NETWORK_ERROR";
|
|
1443
1560
|
type Jsonable = string | number | boolean | null | undefined | readonly Jsonable[] | {
|
|
1444
1561
|
readonly [key: string]: Jsonable;
|
|
1445
1562
|
} | {
|
|
@@ -1484,13 +1601,16 @@ declare class ExperimentalAllowAllParallelPaymaster extends Paymaster {
|
|
|
1484
1601
|
}
|
|
1485
1602
|
//#endregion
|
|
1486
1603
|
//#region src/paymaster/CandidePaymaster.d.ts
|
|
1487
|
-
declare class CandidePaymaster extends Paymaster {
|
|
1488
|
-
readonly
|
|
1604
|
+
declare class CandidePaymaster extends Paymaster implements Transport {
|
|
1605
|
+
readonly transport: Transport;
|
|
1606
|
+
private readonly outbound;
|
|
1489
1607
|
private entrypointData;
|
|
1490
1608
|
private initPromises;
|
|
1491
1609
|
private chainId;
|
|
1492
1610
|
private chainIdPromise;
|
|
1493
|
-
constructor(
|
|
1611
|
+
constructor(rpc: string | Transport);
|
|
1612
|
+
static from(input: string | Transport | CandidePaymaster): CandidePaymaster;
|
|
1613
|
+
request<T = unknown>(args: RequestArgs, options?: RequestOptions): Promise<T>;
|
|
1494
1614
|
private static extractChainIdFromUrl;
|
|
1495
1615
|
private getChainId;
|
|
1496
1616
|
private fetchChainId;
|
|
@@ -1511,11 +1631,11 @@ declare class CandidePaymaster extends Paymaster {
|
|
|
1511
1631
|
private estimateAndApplyGasLimits;
|
|
1512
1632
|
private applyPaymasterResult;
|
|
1513
1633
|
private createPaymasterUserOperation;
|
|
1514
|
-
createSponsorPaymasterUserOperation<T extends AnyUserOperation>(smartAccount: SmartAccountWithEntrypoint, userOperation: T, bundlerRpc: string, sponsorshipPolicyId?: string, context?: CandidePaymasterContext, overrides?: GasPaymasterUserOperationOverrides): Promise<{
|
|
1634
|
+
createSponsorPaymasterUserOperation<T extends AnyUserOperation>(smartAccount: SmartAccountWithEntrypoint, userOperation: T, bundlerRpc: string | Transport | Bundler, sponsorshipPolicyId?: string, context?: CandidePaymasterContext, overrides?: GasPaymasterUserOperationOverrides): Promise<{
|
|
1515
1635
|
userOperation: SameUserOp<T>;
|
|
1516
1636
|
sponsorMetadata?: SponsorMetadata;
|
|
1517
1637
|
}>;
|
|
1518
|
-
createTokenPaymasterUserOperation<T extends AnyUserOperation>(smartAccount: PrependTokenPaymasterApproveAccount, userOperation: T, tokenAddress: string, bundlerRpc: string, context?: CandidePaymasterContext, overrides?: GasPaymasterUserOperationOverrides): Promise<{
|
|
1638
|
+
createTokenPaymasterUserOperation<T extends AnyUserOperation>(smartAccount: PrependTokenPaymasterApproveAccount, userOperation: T, tokenAddress: string, bundlerRpc: string | Transport | Bundler, context?: CandidePaymasterContext, overrides?: GasPaymasterUserOperationOverrides): Promise<{
|
|
1519
1639
|
userOperation: SameUserOp<T>;
|
|
1520
1640
|
tokenQuote?: TokenQuote;
|
|
1521
1641
|
}>;
|
|
@@ -1539,19 +1659,22 @@ interface Erc7677StubDataResult extends Erc7677PaymasterFields {
|
|
|
1539
1659
|
isFinal?: boolean;
|
|
1540
1660
|
[key: string]: unknown;
|
|
1541
1661
|
}
|
|
1542
|
-
declare class Erc7677Paymaster extends Paymaster {
|
|
1543
|
-
readonly
|
|
1662
|
+
declare class Erc7677Paymaster extends Paymaster implements Transport {
|
|
1663
|
+
readonly transport: Transport;
|
|
1664
|
+
private readonly outbound;
|
|
1544
1665
|
private chainId;
|
|
1545
1666
|
readonly provider: Erc7677Provider;
|
|
1546
1667
|
private candideCache;
|
|
1547
1668
|
static detectProvider(rpcUrl: string): Erc7677Provider;
|
|
1548
|
-
constructor(
|
|
1669
|
+
constructor(rpc: string | Transport, options?: Erc7677PaymasterConstructorOptions);
|
|
1670
|
+
static from(input: string | Transport | Erc7677Paymaster, options?: Erc7677PaymasterConstructorOptions): Erc7677Paymaster;
|
|
1671
|
+
request<T = unknown>(args: RequestArgs, options?: RequestOptions): Promise<T>;
|
|
1549
1672
|
private getChainId;
|
|
1550
1673
|
private resolveEntrypoint;
|
|
1551
1674
|
getPaymasterStubData(userOperation: AnyUserOperation, entrypoint: string, chainIdHex: string, context?: Erc7677Context): Promise<Erc7677StubDataResult>;
|
|
1552
1675
|
getPaymasterData(userOperation: AnyUserOperation, entrypoint: string, chainIdHex: string, context?: Erc7677Context): Promise<Erc7677PaymasterFields>;
|
|
1553
1676
|
sendRPCRequest(method: string, params?: unknown[]): Promise<unknown>;
|
|
1554
|
-
createPaymasterUserOperation<T extends AnyUserOperation>(smartAccount: SmartAccountWithEntrypoint, userOperation: T, bundlerRpc: string, context?: Erc7677Context, overrides?: GasPaymasterUserOperationOverrides): Promise<{
|
|
1677
|
+
createPaymasterUserOperation<T extends AnyUserOperation>(smartAccount: SmartAccountWithEntrypoint, userOperation: T, bundlerRpc: string | Transport | Bundler, context?: Erc7677Context, overrides?: GasPaymasterUserOperationOverrides): Promise<{
|
|
1555
1678
|
userOperation: SameUserOp<T>;
|
|
1556
1679
|
tokenQuote?: TokenQuote;
|
|
1557
1680
|
}>;
|
|
@@ -1571,11 +1694,11 @@ declare class Erc7677Paymaster extends Paymaster {
|
|
|
1571
1694
|
declare class WorldIdPermissionlessPaymaster extends Paymaster {
|
|
1572
1695
|
readonly address: string;
|
|
1573
1696
|
constructor(address: string);
|
|
1574
|
-
createPaymasterUserOperation(userOperation: UserOperationV8, bundlerRpc: string, nullifierHash: bigint, root: bigint, proof: string, overrides?: {
|
|
1697
|
+
createPaymasterUserOperation(userOperation: UserOperationV8, bundlerRpc: string | Transport | Bundler, nullifierHash: bigint, root: bigint, proof: string, overrides?: {
|
|
1575
1698
|
entrypoint?: string;
|
|
1576
1699
|
state_override_set?: StateOverrideSet;
|
|
1577
1700
|
}): Promise<UserOperationV8>;
|
|
1578
|
-
createPaymasterUserOperation(userOperation: UserOperationV7, bundlerRpc: string, nullifierHash: bigint, root: bigint, proof: string, overrides?: {
|
|
1701
|
+
createPaymasterUserOperation(userOperation: UserOperationV7, bundlerRpc: string | Transport | Bundler, nullifierHash: bigint, root: bigint, proof: string, overrides?: {
|
|
1579
1702
|
entrypoint?: string;
|
|
1580
1703
|
state_override_set?: StateOverrideSet;
|
|
1581
1704
|
}): Promise<UserOperationV7>;
|
|
@@ -1657,25 +1780,6 @@ declare function fromViem(account: ViemLocalAccountLike): Signer<unknown>;
|
|
|
1657
1780
|
declare function fromViemWalletClient(client: ViemWalletClientLike): Signer<unknown>;
|
|
1658
1781
|
declare function fromEthersWallet(wallet: EthersWalletLike): Signer<unknown>;
|
|
1659
1782
|
//#endregion
|
|
1660
|
-
//#region src/utils.d.ts
|
|
1661
|
-
declare function createUserOperationHash(useroperation: UserOperationV6 | UserOperationV7 | UserOperationV8 | UserOperationV9, entrypointAddress: string, chainId: bigint): string;
|
|
1662
|
-
declare function createCallData(functionSelector: string, functionInputAbi: string[], functionInputParameters: AbiInputValue[]): string;
|
|
1663
|
-
declare function sendJsonRpcRequest(rpcUrl: string, method: string, params: JsonRpcParam, headers?: Record<string, string>, paramsKeyName?: string): Promise<JsonRpcResult>;
|
|
1664
|
-
declare function getFunctionSelector(functionSignature: string): string;
|
|
1665
|
-
declare function fetchAccountNonce(rpcUrl: string, entryPoint: string, account: string, key?: number): Promise<bigint>;
|
|
1666
|
-
declare function fetchGasPrice(provideRpc: string, gasLevel?: GasOption): Promise<[bigint, bigint]>;
|
|
1667
|
-
declare function calculateUserOperationMaxGasCost(useroperation: UserOperationV6 | UserOperationV7): bigint;
|
|
1668
|
-
type DepositInfo = {
|
|
1669
|
-
deposit: bigint;
|
|
1670
|
-
staked: boolean;
|
|
1671
|
-
stake: bigint;
|
|
1672
|
-
unstakeDelaySec: bigint;
|
|
1673
|
-
withdrawTime: bigint;
|
|
1674
|
-
};
|
|
1675
|
-
declare function getBalanceOf(nodeRpcUrl: string, address: string, entrypointAddress: string): Promise<bigint>;
|
|
1676
|
-
declare function getDepositInfo(nodeRpcUrl: string, address: string, entrypointAddress: string): Promise<DepositInfo>;
|
|
1677
|
-
declare function getDelegatedAddress(accountAddress: string, providerRpc: string): Promise<string | null>;
|
|
1678
|
-
//#endregion
|
|
1679
1783
|
//#region src/utilsTenderly.d.ts
|
|
1680
1784
|
type OverrideType = Record<string, Record<string, string | Record<string, string>>>;
|
|
1681
1785
|
declare function shareTenderlySimulationAndCreateLink(tenderlyAccountSlug: string, tenderlyProjectSlug: string, tenderlyAccessKey: string, tenderlySimulationId: string): Promise<void>;
|
|
@@ -1750,8 +1854,8 @@ declare function callTenderlySimulateBundle(tenderlyAccountSlug: string, tenderl
|
|
|
1750
1854
|
}[];
|
|
1751
1855
|
}[]): Promise<TenderlySimulationResult>;
|
|
1752
1856
|
declare namespace abstractionkit_d_exports {
|
|
1753
|
-
export { ALLOWANCE_MODULE_V0_1_0_ADDRESS, AbiInputValue, AbstractionKitError, Allowance, AllowanceModule, AnyUserOperation, Authorization7702, Authorization7702Hex, BaseUserOperationDummyValues, Bundler, CALIBUR_CANDIDE_V0_1_0_SINGLETON_ADDRESS, CALIBUR_UNISWAP_V1_0_0_SINGLETON_ADDRESS, Calibur7702Account, CaliburCreateUserOperationOverrides, CaliburKey, CaliburKeySettings, CaliburKeySettingsResult, CaliburKeyType, CaliburSignatureOverrides, CandidePaymaster, CandidePaymasterContext, CreateUserOperationV6Overrides, CreateUserOperationV7Overrides, CreateUserOperationV9Overrides, DEFAULT_SECP256R1_PRECOMPILE_ADDRESS, DepositInfo, ECDSAPublicAddress, EIP712_MULTI_CHAIN_OPERATIONS_PRIMARY_TYPE, EIP712_MULTI_CHAIN_OPERATIONS_TYPE, EIP712_RECOVERY_MODULE_TYPE, EIP712_SAFE_OPERATION_PRIMARY_TYPE, EIP712_SAFE_OPERATION_V6_TYPE, EIP712_SAFE_OPERATION_V7_TYPE, ENTRYPOINT_V6, ENTRYPOINT_V7, ENTRYPOINT_V8, ENTRYPOINT_V9, EOADummySignerSignaturePair, EXECUTE_RECOVERY_PRIMARY_TYPE, Erc7677Context, Erc7677Paymaster, Erc7677PaymasterConstructorOptions, Erc7677PaymasterFields, Erc7677Provider, Erc7677StubDataResult, ExperimentalAllowAllParallelPaymaster, Signer as ExternalSigner, FromSafeWebauthnParams, GasEstimationResult, GasOption, GasPaymasterUserOperationOverrides, InitCodeOverrides, JsonRpcError, JsonRpcParam, JsonRpcResponse, JsonRpcResult, MetaTransaction, MultiOpSignContext, Operation, ParallelPaymasterInitValues, PolygonChain, PrependTokenPaymasterApproveAccount, RecoveryRequest, RecoveryRequestTypedDataDomain, RecoveryRequestTypedMessageValue, RecoverySignaturePair, SAFE_MESSAGE_MODULE_TYPE, SAFE_MESSAGE_PRIMARY_TYPE, SafeAccountFactory, SafeAccountV0_2_0, SafeAccountV0_3_0, SafeAccountV1_5_0_M_0_3_0, SafeMessageTypedDataDomain, SafeMessageTypedMessageValue, SafeModuleExecutorFunctionSelector, SafeMultiChainSigAccountV1, SafeUserOperationTypedDataDomain, SameUserOp, SendUseroperationResponse, SignContext, SignHashFn, SignTypedDataFn, Signer$1 as Signer, SignerSignaturePair, SigningScheme, Simple7702Account, Simple7702AccountV09, SmartAccount, SmartAccountFactory, SocialRecoveryModule, SocialRecoveryModuleGracePeriodSelector, SponsorInfo, SponsorMetadata, StateOverrideSet, TokenQuote, TypedData, UserOperationByHashResult, UserOperationReceipt, UserOperationReceiptResult, UserOperationV6, UserOperationV7, UserOperationV8, UserOperationV9, WebAuthnSignatureData, WebauthnAssertionFetcher, WebauthnDummySignerSignaturePair, WebauthnPublicKey, WebauthnSignatureData, WorldIdPermissionlessPaymaster, ZeroAddress, calculateUserOperationMaxGasCost, callTenderlySimulateBundle, createAndSignEip7702DelegationAuthorization, createAndSignEip7702RawTransaction, createAndSignLegacyRawTransaction, createCallData, createEip7702DelegationAuthorizationHash, createEip7702TransactionHash, createUserOperationHash, createWorldIdSignal, fetchAccountNonce,
|
|
1857
|
+
export { ALLOWANCE_MODULE_V0_1_0_ADDRESS, AbiInputValue, AbstractionKitError, Allowance, AllowanceModule, AnyUserOperation, Authorization7702, Authorization7702Hex, BaseRpcTransport, BaseUserOperationDummyValues, Bundler, CALIBUR_CANDIDE_V0_1_0_SINGLETON_ADDRESS, CALIBUR_UNISWAP_V1_0_0_SINGLETON_ADDRESS, Calibur7702Account, CaliburCreateUserOperationOverrides, CaliburKey, CaliburKeySettings, CaliburKeySettingsResult, CaliburKeyType, CaliburSignatureOverrides, CandidePaymaster, CandidePaymasterContext, CreateUserOperationV6Overrides, CreateUserOperationV7Overrides, CreateUserOperationV9Overrides, DEFAULT_SECP256R1_PRECOMPILE_ADDRESS, DepositInfo, ECDSAPublicAddress, EIP712_MULTI_CHAIN_OPERATIONS_PRIMARY_TYPE, EIP712_MULTI_CHAIN_OPERATIONS_TYPE, EIP712_RECOVERY_MODULE_TYPE, EIP712_SAFE_OPERATION_PRIMARY_TYPE, EIP712_SAFE_OPERATION_V6_TYPE, EIP712_SAFE_OPERATION_V7_TYPE, ENTRYPOINT_V6, ENTRYPOINT_V7, ENTRYPOINT_V8, ENTRYPOINT_V9, EOADummySignerSignaturePair, EXECUTE_RECOVERY_PRIMARY_TYPE, Erc7677Context, Erc7677Paymaster, Erc7677PaymasterConstructorOptions, Erc7677PaymasterFields, Erc7677Provider, Erc7677StubDataResult, EthCallTransaction, EventfulTransport, ExperimentalAllowAllParallelPaymaster, Signer as ExternalSigner, FromSafeWebauthnParams, GasEstimationResult, GasOption, GasPaymasterUserOperationOverrides, HttpTransport, HttpTransportOptions, InitCodeOverrides, JsonRpcEnvelope, JsonRpcError, JsonRpcNode, JsonRpcParam, JsonRpcResponse, JsonRpcResult, MetaTransaction, MultiOpSignContext, Operation, ParallelPaymasterInitValues, PolygonChain, PrependTokenPaymasterApproveAccount, ProviderRpcError, RecoveryRequest, RecoveryRequestTypedDataDomain, RecoveryRequestTypedMessageValue, RecoverySignaturePair, RequestArgs, RequestOptions, SAFE_MESSAGE_MODULE_TYPE, SAFE_MESSAGE_PRIMARY_TYPE, SafeAccountFactory, SafeAccountV0_2_0, SafeAccountV0_3_0, SafeAccountV1_5_0_M_0_3_0, SafeMessageTypedDataDomain, SafeMessageTypedMessageValue, SafeModuleExecutorFunctionSelector, SafeMultiChainSigAccountV1, SafeUserOperationTypedDataDomain, SameUserOp, SendUseroperationResponse, SignContext, SignHashFn, SignTypedDataFn, Signer$1 as Signer, SignerSignaturePair, SigningScheme, Simple7702Account, Simple7702AccountV09, SmartAccount, SmartAccountFactory, SocialRecoveryModule, SocialRecoveryModuleGracePeriodSelector, SponsorInfo, SponsorMetadata, StateOverrideSet, TokenQuote, Transport, TransportRpcError, TypedData, UserOperationByHashResult, UserOperationReceipt, UserOperationReceiptResult, UserOperationV6, UserOperationV7, UserOperationV8, UserOperationV9, WebAuthnSignatureData, WebauthnAssertionFetcher, WebauthnDummySignerSignaturePair, WebauthnPublicKey, WebauthnSignatureData, WorldIdPermissionlessPaymaster, ZeroAddress, calculateUserOperationMaxGasCost, callTenderlySimulateBundle, createAndSignEip7702DelegationAuthorization, createAndSignEip7702RawTransaction, createAndSignLegacyRawTransaction, createCallData, createEip7702DelegationAuthorizationHash, createEip7702TransactionHash, createUserOperationHash, createWorldIdSignal, fetchAccountNonce, fromEthersWallet, fromPrivateKey, fromSafeWebauthn, fromViem, fromViemWalletClient, getFunctionSelector, getSafeMessageEip712Data, isEventfulTransport, isHttpTransport, pubkeyCoordinatesFromJson, pubkeyCoordinatesToJson, sendJsonRpcRequest, shareTenderlySimulationAndCreateLink, signHash, simulateSenderCallDataWithTenderly, simulateSenderCallDataWithTenderlyAndCreateShareLink, simulateUserOperationCallDataWithTenderly, simulateUserOperationCallDataWithTenderlyAndCreateShareLink, simulateUserOperationWithTenderly, simulateUserOperationWithTenderlyAndCreateShareLink, webauthnSignatureFromAssertion };
|
|
1754
1858
|
}
|
|
1755
1859
|
//#endregion
|
|
1756
|
-
export { ALLOWANCE_MODULE_V0_1_0_ADDRESS, type AbiInputValue, AbstractionKitError, type Allowance, AllowanceModule, type AnyUserOperation, type Authorization7702, type Authorization7702Hex, BaseUserOperationDummyValues, Bundler, CALIBUR_CANDIDE_V0_1_0_SINGLETON_ADDRESS, CALIBUR_UNISWAP_V1_0_0_SINGLETON_ADDRESS, Calibur7702Account, type CaliburCreateUserOperationOverrides, type CaliburKey, type CaliburKeySettings, type CaliburKeySettingsResult, CaliburKeyType, type CaliburSignatureOverrides, CandidePaymaster, type CandidePaymasterContext, type CreateUserOperationV6Overrides, type CreateUserOperationV7Overrides, type CreateUserOperationV9Overrides, DEFAULT_SECP256R1_PRECOMPILE_ADDRESS, type DepositInfo, type ECDSAPublicAddress, EIP712_MULTI_CHAIN_OPERATIONS_PRIMARY_TYPE, EIP712_MULTI_CHAIN_OPERATIONS_TYPE, EIP712_RECOVERY_MODULE_TYPE, EIP712_SAFE_OPERATION_PRIMARY_TYPE, EIP712_SAFE_OPERATION_V6_TYPE, EIP712_SAFE_OPERATION_V7_TYPE, ENTRYPOINT_V6, ENTRYPOINT_V7, ENTRYPOINT_V8, ENTRYPOINT_V9, EOADummySignerSignaturePair, EXECUTE_RECOVERY_PRIMARY_TYPE, type Erc7677Context, Erc7677Paymaster, type Erc7677PaymasterConstructorOptions, type Erc7677PaymasterFields, type Erc7677Provider, type Erc7677StubDataResult, ExperimentalAllowAllParallelPaymaster, type Signer as ExternalSigner, type FromSafeWebauthnParams, type GasEstimationResult, GasOption, type GasPaymasterUserOperationOverrides, type InitCodeOverrides, type JsonRpcError, type JsonRpcParam, type JsonRpcResponse, type JsonRpcResult, type MetaTransaction, type MultiOpSignContext, Operation, type ParallelPaymasterInitValues, PolygonChain, type PrependTokenPaymasterApproveAccount, type RecoveryRequest, type RecoveryRequestTypedDataDomain, type RecoveryRequestTypedMessageValue, type RecoverySignaturePair, SAFE_MESSAGE_MODULE_TYPE, SAFE_MESSAGE_PRIMARY_TYPE, SafeAccountFactory, SafeAccountV0_2_0, SafeAccountV0_3_0, SafeAccountV1_5_0_M_0_3_0, type SafeMessageTypedDataDomain, type SafeMessageTypedMessageValue, SafeModuleExecutorFunctionSelector, SafeMultiChainSigAccountV1, type SafeUserOperationTypedDataDomain, type SameUserOp, SendUseroperationResponse, type SignContext, type SignHashFn, type SignTypedDataFn, type Signer$1 as Signer, type SignerSignaturePair, type SigningScheme, Simple7702Account, Simple7702AccountV09, SmartAccount, SmartAccountFactory, SocialRecoveryModule, SocialRecoveryModuleGracePeriodSelector, type SponsorInfo, type SponsorMetadata, type StateOverrideSet, type TokenQuote, type TypedData, type UserOperationByHashResult, type UserOperationReceipt, type UserOperationReceiptResult, type UserOperationV6, type UserOperationV7, type UserOperationV8, type UserOperationV9, type WebAuthnSignatureData, type WebauthnAssertionFetcher, WebauthnDummySignerSignaturePair, type WebauthnPublicKey, type WebauthnSignatureData, WorldIdPermissionlessPaymaster, ZeroAddress, abstractionkit_d_exports as abstractionkit, calculateUserOperationMaxGasCost, callTenderlySimulateBundle, createAndSignEip7702DelegationAuthorization, createAndSignEip7702RawTransaction, createAndSignLegacyRawTransaction, createCallData, createEip7702DelegationAuthorizationHash, createEip7702TransactionHash, createUserOperationHash, createWorldIdSignal, fetchAccountNonce,
|
|
1860
|
+
export { ALLOWANCE_MODULE_V0_1_0_ADDRESS, type AbiInputValue, AbstractionKitError, type Allowance, AllowanceModule, type AnyUserOperation, type Authorization7702, type Authorization7702Hex, BaseRpcTransport, BaseUserOperationDummyValues, Bundler, CALIBUR_CANDIDE_V0_1_0_SINGLETON_ADDRESS, CALIBUR_UNISWAP_V1_0_0_SINGLETON_ADDRESS, Calibur7702Account, type CaliburCreateUserOperationOverrides, type CaliburKey, type CaliburKeySettings, type CaliburKeySettingsResult, CaliburKeyType, type CaliburSignatureOverrides, CandidePaymaster, type CandidePaymasterContext, type CreateUserOperationV6Overrides, type CreateUserOperationV7Overrides, type CreateUserOperationV9Overrides, DEFAULT_SECP256R1_PRECOMPILE_ADDRESS, type DepositInfo, type ECDSAPublicAddress, EIP712_MULTI_CHAIN_OPERATIONS_PRIMARY_TYPE, EIP712_MULTI_CHAIN_OPERATIONS_TYPE, EIP712_RECOVERY_MODULE_TYPE, EIP712_SAFE_OPERATION_PRIMARY_TYPE, EIP712_SAFE_OPERATION_V6_TYPE, EIP712_SAFE_OPERATION_V7_TYPE, ENTRYPOINT_V6, ENTRYPOINT_V7, ENTRYPOINT_V8, ENTRYPOINT_V9, EOADummySignerSignaturePair, EXECUTE_RECOVERY_PRIMARY_TYPE, type Erc7677Context, Erc7677Paymaster, type Erc7677PaymasterConstructorOptions, type Erc7677PaymasterFields, type Erc7677Provider, type Erc7677StubDataResult, type EthCallTransaction, type EventfulTransport, ExperimentalAllowAllParallelPaymaster, type Signer as ExternalSigner, type FromSafeWebauthnParams, type GasEstimationResult, GasOption, type GasPaymasterUserOperationOverrides, HttpTransport, type HttpTransportOptions, type InitCodeOverrides, type JsonRpcEnvelope, type JsonRpcError, JsonRpcNode, type JsonRpcParam, type JsonRpcResponse, type JsonRpcResult, type MetaTransaction, type MultiOpSignContext, Operation, type ParallelPaymasterInitValues, PolygonChain, type PrependTokenPaymasterApproveAccount, type ProviderRpcError, type RecoveryRequest, type RecoveryRequestTypedDataDomain, type RecoveryRequestTypedMessageValue, type RecoverySignaturePair, type RequestArgs, type RequestOptions, SAFE_MESSAGE_MODULE_TYPE, SAFE_MESSAGE_PRIMARY_TYPE, SafeAccountFactory, SafeAccountV0_2_0, SafeAccountV0_3_0, SafeAccountV1_5_0_M_0_3_0, type SafeMessageTypedDataDomain, type SafeMessageTypedMessageValue, SafeModuleExecutorFunctionSelector, SafeMultiChainSigAccountV1, type SafeUserOperationTypedDataDomain, type SameUserOp, SendUseroperationResponse, type SignContext, type SignHashFn, type SignTypedDataFn, type Signer$1 as Signer, type SignerSignaturePair, type SigningScheme, Simple7702Account, Simple7702AccountV09, SmartAccount, SmartAccountFactory, SocialRecoveryModule, SocialRecoveryModuleGracePeriodSelector, type SponsorInfo, type SponsorMetadata, type StateOverrideSet, type TokenQuote, type Transport, TransportRpcError, type TypedData, type UserOperationByHashResult, type UserOperationReceipt, type UserOperationReceiptResult, type UserOperationV6, type UserOperationV7, type UserOperationV8, type UserOperationV9, type WebAuthnSignatureData, type WebauthnAssertionFetcher, WebauthnDummySignerSignaturePair, type WebauthnPublicKey, type WebauthnSignatureData, WorldIdPermissionlessPaymaster, ZeroAddress, abstractionkit_d_exports as abstractionkit, calculateUserOperationMaxGasCost, callTenderlySimulateBundle, createAndSignEip7702DelegationAuthorization, createAndSignEip7702RawTransaction, createAndSignLegacyRawTransaction, createCallData, createEip7702DelegationAuthorizationHash, createEip7702TransactionHash, createUserOperationHash, createWorldIdSignal, fetchAccountNonce, fromEthersWallet, fromPrivateKey, fromSafeWebauthn, fromViem, fromViemWalletClient, getFunctionSelector, getSafeMessageEip712Data, isEventfulTransport, isHttpTransport, pubkeyCoordinatesFromJson, pubkeyCoordinatesToJson, sendJsonRpcRequest, shareTenderlySimulationAndCreateLink, signHash, simulateSenderCallDataWithTenderly, simulateSenderCallDataWithTenderlyAndCreateShareLink, simulateUserOperationCallDataWithTenderly, simulateUserOperationCallDataWithTenderlyAndCreateShareLink, simulateUserOperationWithTenderly, simulateUserOperationWithTenderlyAndCreateShareLink, webauthnSignatureFromAssertion };
|
|
1757
1861
|
//# sourceMappingURL=index.d.mts.map
|