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