abstractionkit 0.3.1 → 0.3.2
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 +70 -0
- package/dist/index.cjs +431 -20
- package/dist/index.d.cts +152 -40
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +152 -40
- package/dist/index.d.mts.map +1 -1
- package/dist/index.iife.js +431 -20
- package/dist/index.mjs +428 -21
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -240,6 +240,48 @@ interface ParallelPaymasterInitValues {
|
|
|
240
240
|
paymasterData: string;
|
|
241
241
|
}
|
|
242
242
|
//#endregion
|
|
243
|
+
//#region src/signer/types.d.ts
|
|
244
|
+
interface TypedData {
|
|
245
|
+
domain: {
|
|
246
|
+
name?: string;
|
|
247
|
+
version?: string;
|
|
248
|
+
chainId?: number | bigint;
|
|
249
|
+
verifyingContract?: `0x${string}`;
|
|
250
|
+
salt?: `0x${string}`;
|
|
251
|
+
};
|
|
252
|
+
types: Record<string, Array<{
|
|
253
|
+
name: string;
|
|
254
|
+
type: string;
|
|
255
|
+
}>>;
|
|
256
|
+
primaryType: string;
|
|
257
|
+
message: Record<string, unknown>;
|
|
258
|
+
}
|
|
259
|
+
type SigningScheme = "hash" | "typedData";
|
|
260
|
+
interface SignContext<T extends BaseUserOperation = BaseUserOperation> {
|
|
261
|
+
readonly userOperation: T;
|
|
262
|
+
readonly chainId: bigint;
|
|
263
|
+
readonly entryPoint: string;
|
|
264
|
+
}
|
|
265
|
+
interface MultiOpSignContext<T extends BaseUserOperation = BaseUserOperation> {
|
|
266
|
+
readonly userOperations: ReadonlyArray<{
|
|
267
|
+
readonly userOperation: T;
|
|
268
|
+
readonly chainId: bigint;
|
|
269
|
+
}>;
|
|
270
|
+
readonly entryPoint: string;
|
|
271
|
+
}
|
|
272
|
+
interface SignerBase {
|
|
273
|
+
readonly address: `0x${string}`;
|
|
274
|
+
}
|
|
275
|
+
type SignHashFn<C = SignContext> = (hash: `0x${string}`, context: C) => Promise<`0x${string}`>;
|
|
276
|
+
type SignTypedDataFn<C = SignContext> = (data: TypedData, context: C) => Promise<`0x${string}`>;
|
|
277
|
+
type Signer<C = SignContext> = SignerBase & ({
|
|
278
|
+
signHash: SignHashFn<C>;
|
|
279
|
+
signTypedData?: SignTypedDataFn<C>;
|
|
280
|
+
} | {
|
|
281
|
+
signHash?: SignHashFn<C>;
|
|
282
|
+
signTypedData: SignTypedDataFn<C>;
|
|
283
|
+
});
|
|
284
|
+
//#endregion
|
|
243
285
|
//#region src/Bundler.d.ts
|
|
244
286
|
declare class Bundler {
|
|
245
287
|
readonly rpcUrl: string;
|
|
@@ -327,6 +369,8 @@ declare class BaseSimple7702Account extends SmartAccount {
|
|
|
327
369
|
dummySignature?: string;
|
|
328
370
|
}): Promise<[bigint, bigint, bigint]>;
|
|
329
371
|
protected baseSignUserOperation(useroperation: UserOperationV8 | UserOperationV9, privateKey: string, chainId: bigint): string;
|
|
372
|
+
static readonly ACCEPTED_SIGNING_SCHEMES: readonly SigningScheme[];
|
|
373
|
+
protected baseSignUserOperationWithSigner<T extends UserOperationV8 | UserOperationV9>(useroperation: T, signer: Signer, chainId: bigint): Promise<string>;
|
|
330
374
|
protected baseSendUserOperation(userOperation: UserOperationV8 | UserOperationV9, bundlerRpc: string): Promise<SendUseroperationResponse>;
|
|
331
375
|
prependTokenPaymasterApproveToCallData(callData: string, tokenAddress: string, paymasterAddress: string, approveAmount: bigint): string;
|
|
332
376
|
static prependTokenPaymasterApproveToCallDataStatic(callData: string, tokenAddress: string, paymasterAddress: string, approveAmount: bigint): string;
|
|
@@ -343,6 +387,7 @@ declare class Simple7702Account extends BaseSimple7702Account {
|
|
|
343
387
|
dummySignature?: string;
|
|
344
388
|
}): Promise<[bigint, bigint, bigint]>;
|
|
345
389
|
signUserOperation(useroperation: UserOperationV8, privateKey: string, chainId: bigint): string;
|
|
390
|
+
signUserOperationWithSigner(useroperation: UserOperationV8, signer: Signer, chainId: bigint): Promise<string>;
|
|
346
391
|
sendUserOperation(userOperation: UserOperationV8, bundlerRpc: string): Promise<SendUseroperationResponse>;
|
|
347
392
|
}
|
|
348
393
|
//#endregion
|
|
@@ -359,6 +404,7 @@ declare class Simple7702AccountV09 extends BaseSimple7702Account {
|
|
|
359
404
|
dummySignature?: string;
|
|
360
405
|
}): Promise<[bigint, bigint, bigint]>;
|
|
361
406
|
signUserOperation(useroperation: UserOperationV9, privateKey: string, chainId: bigint): string;
|
|
407
|
+
signUserOperationWithSigner(useroperation: UserOperationV9, signer: Signer, chainId: bigint): Promise<string>;
|
|
362
408
|
sendUserOperation(userOperation: UserOperationV9, bundlerRpc: string): Promise<SendUseroperationResponse>;
|
|
363
409
|
}
|
|
364
410
|
//#endregion
|
|
@@ -388,7 +434,7 @@ interface CreateBaseUserOperationOverrides {
|
|
|
388
434
|
multisendContractAddress?: string;
|
|
389
435
|
gasLevel?: GasOption;
|
|
390
436
|
polygonGasStation?: PolygonChain;
|
|
391
|
-
expectedSigners?: Signer[];
|
|
437
|
+
expectedSigners?: Signer$1[];
|
|
392
438
|
isMultiChainSignature?: boolean;
|
|
393
439
|
parallelPaymasterInitValues?: {
|
|
394
440
|
paymaster: string;
|
|
@@ -492,14 +538,14 @@ interface WebauthnPublicKey {
|
|
|
492
538
|
x: bigint;
|
|
493
539
|
y: bigint;
|
|
494
540
|
}
|
|
495
|
-
type Signer = ECDSAPublicAddress | WebauthnPublicKey;
|
|
541
|
+
type Signer$1 = ECDSAPublicAddress | WebauthnPublicKey;
|
|
496
542
|
interface WebauthnSignatureData {
|
|
497
543
|
authenticatorData: ArrayBuffer;
|
|
498
544
|
clientDataFields: string;
|
|
499
545
|
rs: [bigint, bigint];
|
|
500
546
|
}
|
|
501
547
|
interface SignerSignaturePair {
|
|
502
|
-
signer: Signer;
|
|
548
|
+
signer: Signer$1;
|
|
503
549
|
signature: string;
|
|
504
550
|
isContractSignature?: boolean;
|
|
505
551
|
}
|
|
@@ -623,7 +669,7 @@ declare class SafeAccount extends SmartAccount {
|
|
|
623
669
|
name: string;
|
|
624
670
|
type: string;
|
|
625
671
|
}[]>;
|
|
626
|
-
messageValue: SafeUserOperationV6TypedMessageValue |
|
|
672
|
+
messageValue: SafeUserOperationV6TypedMessageValue | SafeUserOperationV7TypedMessageValue | SafeUserOperationV9TypedMessageValue;
|
|
627
673
|
};
|
|
628
674
|
static getUserOperationEip712Data_V6(useroperation: UserOperationV6, chainId: bigint, overrides?: {
|
|
629
675
|
validAfter?: bigint;
|
|
@@ -675,7 +721,7 @@ declare class SafeAccount extends SmartAccount {
|
|
|
675
721
|
name: string;
|
|
676
722
|
type: string;
|
|
677
723
|
}[]>;
|
|
678
|
-
messageValue:
|
|
724
|
+
messageValue: SafeUserOperationV9TypedMessageValue;
|
|
679
725
|
};
|
|
680
726
|
static getUserOperationEip712Hash_V9(useroperation: UserOperationV9, chainId: bigint, overrides?: {
|
|
681
727
|
validAfter?: bigint;
|
|
@@ -689,16 +735,16 @@ declare class SafeAccount extends SmartAccount {
|
|
|
689
735
|
isMultiChainSignature?: boolean;
|
|
690
736
|
}): string;
|
|
691
737
|
sendUserOperation(userOperation: UserOperationV6 | UserOperationV7 | UserOperationV9, bundlerRpc: string): Promise<SendUseroperationResponse>;
|
|
692
|
-
protected static createAccountAddressAndFactoryAddressAndData(owners: Signer[], overrides: BaseInitOverrides, safe4337ModuleAddress: string, safeModuleSetupAddress: string): [string, string, string];
|
|
693
|
-
protected static createBaseInitializerCallData(owners: Signer[], threshold: number, safe4337ModuleAddress: string, safeModuleSetupAddress: string, multisendContractAddress?: string, webAuthnSharedSigner?: string, eip7212WebAuthnPrecompileVerifierForSharedSigner?: string, eip7212WebAuthnContractVerifierForSharedSigner?: string): string;
|
|
694
|
-
protected static createFactoryAddressAndData(owners: Signer[], overrides: BaseInitOverrides | undefined, safe4337ModuleAddress: string, safeModuleSetupAddress: string): [string, string];
|
|
738
|
+
protected static createAccountAddressAndFactoryAddressAndData(owners: Signer$1[], overrides: BaseInitOverrides, safe4337ModuleAddress: string, safeModuleSetupAddress: string): [string, string, string];
|
|
739
|
+
protected static createBaseInitializerCallData(owners: Signer$1[], threshold: number, safe4337ModuleAddress: string, safeModuleSetupAddress: string, multisendContractAddress?: string, webAuthnSharedSigner?: string, eip7212WebAuthnPrecompileVerifierForSharedSigner?: string, eip7212WebAuthnContractVerifierForSharedSigner?: string): string;
|
|
740
|
+
protected static createFactoryAddressAndData(owners: Signer$1[], overrides: BaseInitOverrides | undefined, safe4337ModuleAddress: string, safeModuleSetupAddress: string): [string, string];
|
|
695
741
|
prependTokenPaymasterApproveToCallData(callData: string, tokenAddress: string, paymasterAddress: string, approveAmount: bigint, overrides?: {
|
|
696
742
|
multisendContractAddress?: string;
|
|
697
743
|
}): string;
|
|
698
744
|
baseEstimateUserOperationGas(userOperation: UserOperationV6 | UserOperationV7, bundlerRpc: string, overrides?: {
|
|
699
745
|
stateOverrideSet?: StateOverrideSet;
|
|
700
746
|
dummySignerSignaturePairs?: SignerSignaturePair[];
|
|
701
|
-
expectedSigners?: Signer[];
|
|
747
|
+
expectedSigners?: Signer$1[];
|
|
702
748
|
webAuthnSharedSigner?: string;
|
|
703
749
|
webAuthnSignerFactory?: string;
|
|
704
750
|
webAuthnSignerSingleton?: string;
|
|
@@ -708,11 +754,17 @@ declare class SafeAccount extends SmartAccount {
|
|
|
708
754
|
isMultiChainSignature?: boolean;
|
|
709
755
|
}): Promise<[bigint, bigint, bigint]>;
|
|
710
756
|
protected createBaseUserOperationAndFactoryAddressAndFactoryData(transactions: MetaTransaction[], isV06: boolean, providerRpc?: string, bundlerRpc?: string, overrides?: CreateBaseUserOperationOverrides): Promise<[BaseUserOperation, string | null, string | null]>;
|
|
711
|
-
static baseSignSingleUserOperation(useroperation: UserOperationV6 | UserOperationV7, privateKeys: string[], chainId: bigint, entrypointAddress: string, safe4337ModuleAddress: string, overrides?: {
|
|
757
|
+
protected static baseSignSingleUserOperation(useroperation: UserOperationV6 | UserOperationV7, privateKeys: string[], chainId: bigint, entrypointAddress: string, safe4337ModuleAddress: string, overrides?: {
|
|
712
758
|
validAfter?: bigint;
|
|
713
759
|
validUntil?: bigint;
|
|
714
760
|
isMultiChainSignature?: boolean;
|
|
715
761
|
}): string;
|
|
762
|
+
static readonly ACCEPTED_SIGNING_SCHEMES: readonly SigningScheme[];
|
|
763
|
+
protected static baseSignUserOperationWithSigners<T extends UserOperationV6 | UserOperationV7 | UserOperationV9, C>(useroperation: T, signers: ReadonlyArray<Signer<C>>, chainId: bigint, entrypointAddress: string, safe4337ModuleAddress: string, context: C, overrides?: {
|
|
764
|
+
validAfter?: bigint;
|
|
765
|
+
validUntil?: bigint;
|
|
766
|
+
isMultiChainSignature?: boolean;
|
|
767
|
+
}): Promise<string>;
|
|
716
768
|
static createWebAuthnSignerVerifierAddress(x: bigint, y: bigint, overrides?: {
|
|
717
769
|
eip7212WebAuthnPrecompileVerifier?: string;
|
|
718
770
|
eip7212WebAuthnContractVerifier?: string;
|
|
@@ -721,11 +773,11 @@ declare class SafeAccount extends SmartAccount {
|
|
|
721
773
|
webAuthnSignerProxyCreationCode?: string;
|
|
722
774
|
}): string;
|
|
723
775
|
static formatSignaturesToUseroperationSignature(signerSignaturePairs: SignerSignaturePair[], overrides?: WebAuthnSignatureOverrides): string;
|
|
724
|
-
static getSignerLowerCaseAddress(signer: Signer, overrides?: WebAuthnSignatureOverrides): string;
|
|
776
|
+
static getSignerLowerCaseAddress(signer: Signer$1, overrides?: WebAuthnSignatureOverrides): string;
|
|
725
777
|
static sortSignatures(signerSignaturePairs: SignerSignaturePair[], overrides?: WebAuthnSignatureOverrides): void;
|
|
726
778
|
static buildSignaturesFromSingerSignaturePairs(signerSignaturePairs: SignerSignaturePair[], webAuthnSignatureOverrides?: WebAuthnSignatureOverrides): string;
|
|
727
779
|
static createWebAuthnSignature(signatureData: WebauthnSignatureData): string;
|
|
728
|
-
createSwapOwnerMetaTransactions(nodeRpcUrl: string, newOwner: Signer, oldOwner: Signer, overrides?: {
|
|
780
|
+
createSwapOwnerMetaTransactions(nodeRpcUrl: string, newOwner: Signer$1, oldOwner: Signer$1, overrides?: {
|
|
729
781
|
prevOwner?: string;
|
|
730
782
|
eip7212WebAuthnPrecompileVerifier?: string;
|
|
731
783
|
eip7212WebAuthnContractVerifier?: string;
|
|
@@ -733,7 +785,7 @@ declare class SafeAccount extends SmartAccount {
|
|
|
733
785
|
webAuthnSignerSingleton?: string;
|
|
734
786
|
webAuthnSignerProxyCreationCode?: string;
|
|
735
787
|
}): Promise<MetaTransaction[]>;
|
|
736
|
-
createRemoveOwnerMetaTransaction(nodeRpcUrl: string, ownerToDelete: Signer, threshold: number, overrides?: {
|
|
788
|
+
createRemoveOwnerMetaTransaction(nodeRpcUrl: string, ownerToDelete: Signer$1, threshold: number, overrides?: {
|
|
737
789
|
prevOwner?: string;
|
|
738
790
|
eip7212WebAuthnPrecompileVerifier?: string;
|
|
739
791
|
eip7212WebAuthnContractVerifier?: string;
|
|
@@ -741,7 +793,7 @@ declare class SafeAccount extends SmartAccount {
|
|
|
741
793
|
webAuthnSignerSingleton?: string;
|
|
742
794
|
webAuthnSignerProxyCreationCode?: string;
|
|
743
795
|
}): Promise<MetaTransaction>;
|
|
744
|
-
createAddOwnerWithThresholdMetaTransactions(newOwner: Signer, threshold: number, overrides?: {
|
|
796
|
+
createAddOwnerWithThresholdMetaTransactions(newOwner: Signer$1, threshold: number, overrides?: {
|
|
745
797
|
nodeRpcUrl?: string;
|
|
746
798
|
eip7212WebAuthnPrecompileVerifier?: string;
|
|
747
799
|
eip7212WebAuthnContractVerifier?: string;
|
|
@@ -766,7 +818,7 @@ declare class SafeAccount extends SmartAccount {
|
|
|
766
818
|
pageSize?: bigint;
|
|
767
819
|
}): Promise<[string[], string]>;
|
|
768
820
|
isModuleEnabled(nodeRpcUrl: string, moduleAddress: string): Promise<boolean>;
|
|
769
|
-
static createDummySignerSignaturePairForExpectedSigners(expectedSigners: Signer[], webAuthnSignatureOverrides?: WebAuthnSignatureOverrides): SignerSignaturePair[];
|
|
821
|
+
static createDummySignerSignaturePairForExpectedSigners(expectedSigners: Signer$1[], webAuthnSignatureOverrides?: WebAuthnSignatureOverrides): SignerSignaturePair[];
|
|
770
822
|
static verifyWebAuthnSignatureForMessageHash(nodeRpcUrl: string, signer: WebauthnPublicKey, messageHash: string, signature: string, overrides?: {
|
|
771
823
|
eip7212WebAuthnPrecompileVerifier?: string;
|
|
772
824
|
eip7212WebAuthnContractVerifier?: string;
|
|
@@ -819,8 +871,8 @@ declare class SafeMultiChainSigAccountV1 extends SafeAccount {
|
|
|
819
871
|
onChainIdentifier?: string;
|
|
820
872
|
safeAccountSingleton?: SafeAccountSingleton;
|
|
821
873
|
});
|
|
822
|
-
static createAccountAddress(owners: Signer[], overrides?: InitCodeOverrides): string;
|
|
823
|
-
static initializeNewAccount(owners: Signer[], overrides?: InitCodeOverrides): SafeMultiChainSigAccountV1;
|
|
874
|
+
static createAccountAddress(owners: Signer$1[], overrides?: InitCodeOverrides): string;
|
|
875
|
+
static initializeNewAccount(owners: Signer$1[], overrides?: InitCodeOverrides): SafeMultiChainSigAccountV1;
|
|
824
876
|
static getUserOperationEip712Hash(useroperation: UserOperationV9, chainId: bigint, overrides?: {
|
|
825
877
|
validAfter?: bigint;
|
|
826
878
|
validUntil?: bigint;
|
|
@@ -840,7 +892,7 @@ declare class SafeMultiChainSigAccountV1 extends SafeAccount {
|
|
|
840
892
|
}[]>;
|
|
841
893
|
messageValue: SafeUserOperationV9TypedMessageValue;
|
|
842
894
|
};
|
|
843
|
-
static createInitializerCallData(owners: Signer[], threshold: number, overrides?: {
|
|
895
|
+
static createInitializerCallData(owners: Signer$1[], threshold: number, overrides?: {
|
|
844
896
|
safe4337ModuleAddress?: string;
|
|
845
897
|
safeModuleSetupAddress?: string;
|
|
846
898
|
multisendContractAddress?: string;
|
|
@@ -848,13 +900,18 @@ declare class SafeMultiChainSigAccountV1 extends SafeAccount {
|
|
|
848
900
|
eip7212WebAuthnPrecompileVerifierForSharedSigner?: string;
|
|
849
901
|
eip7212WebAuthnContractVerifierForSharedSigner?: string;
|
|
850
902
|
}): string;
|
|
851
|
-
static createFactoryAddressAndData(owners: Signer[], overrides?: InitCodeOverrides): [string, string];
|
|
903
|
+
static createFactoryAddressAndData(owners: Signer$1[], overrides?: InitCodeOverrides): [string, string];
|
|
852
904
|
createUserOperation(transactions: MetaTransaction[], providerRpc?: string, bundlerRpc?: string, overrides?: CreateUserOperationV9Overrides): Promise<UserOperationV9>;
|
|
853
905
|
signUserOperation(userOperation: UserOperationV9, privateKeys: string[], chainId: bigint, overrides?: {
|
|
854
906
|
validAfter?: bigint;
|
|
855
907
|
validUntil?: bigint;
|
|
856
908
|
}): string;
|
|
909
|
+
signUserOperationWithSigners(userOperation: UserOperationV9, signers: ReadonlyArray<Signer>, chainId: bigint, overrides?: {
|
|
910
|
+
validAfter?: bigint;
|
|
911
|
+
validUntil?: bigint;
|
|
912
|
+
}): Promise<string>;
|
|
857
913
|
signUserOperations(userOperationsToSign: UserOperationToSign[], privateKeys: string[]): string[];
|
|
914
|
+
signUserOperationsWithSigners(userOperationsToSign: UserOperationToSign[], signers: ReadonlyArray<Signer<MultiOpSignContext<UserOperationV9>>>): Promise<string[]>;
|
|
858
915
|
static getMultiChainSingleSignatureUserOperationsEip712Hash(userOperationsToSignsToSign: UserOperationToSign[], overrides?: {
|
|
859
916
|
safe4337ModuleAddress?: string;
|
|
860
917
|
}): string;
|
|
@@ -882,7 +939,7 @@ declare class SafeMultiChainSigAccountV1 extends SafeAccount {
|
|
|
882
939
|
eip7212WebAuthnContractVerifier?: string;
|
|
883
940
|
webAuthnSignerFactory?: string;
|
|
884
941
|
}): MetaTransaction;
|
|
885
|
-
static createDummySignerSignaturePairForExpectedSigners(expectedSigners: Signer[], webAuthnSignatureOverrides?: WebAuthnSignatureOverrides): SignerSignaturePair[];
|
|
942
|
+
static createDummySignerSignaturePairForExpectedSigners(expectedSigners: Signer$1[], webAuthnSignatureOverrides?: WebAuthnSignatureOverrides): SignerSignaturePair[];
|
|
886
943
|
static verifyWebAuthnSignatureForMessageHash(nodeRpcUrl: string, signer: WebauthnPublicKey, messageHash: string, signature: string, overrides?: {
|
|
887
944
|
eip7212WebAuthnPrecompileVerifier?: string;
|
|
888
945
|
eip7212WebAuthnContractVerifier?: string;
|
|
@@ -984,7 +1041,6 @@ interface CaliburSignatureOverrides {
|
|
|
984
1041
|
hookData?: string;
|
|
985
1042
|
keyHash?: string;
|
|
986
1043
|
}
|
|
987
|
-
type SignerFunction = (hash: string) => Promise<string>;
|
|
988
1044
|
//#endregion
|
|
989
1045
|
//#region src/account/Calibur/Calibur7702Account.d.ts
|
|
990
1046
|
declare class Calibur7702Account extends SmartAccount implements PrependTokenPaymasterApproveAccount {
|
|
@@ -1002,7 +1058,8 @@ declare class Calibur7702Account extends SmartAccount implements PrependTokenPay
|
|
|
1002
1058
|
static createAccountCallData(transactions: SimpleMetaTransaction[], revertOnFailure?: boolean): string;
|
|
1003
1059
|
createUserOperation(transactions: SimpleMetaTransaction[], providerRpc?: string, bundlerRpc?: string, overrides?: CaliburCreateUserOperationOverrides): Promise<UserOperationV8>;
|
|
1004
1060
|
signUserOperation(userOperation: UserOperationV8, privateKey: string, chainId: bigint, overrides?: CaliburSignatureOverrides): string;
|
|
1005
|
-
|
|
1061
|
+
static readonly ACCEPTED_SIGNING_SCHEMES: readonly SigningScheme[];
|
|
1062
|
+
signUserOperationWithSigner(userOperation: UserOperationV8, signer: Signer, chainId: bigint, overrides?: CaliburSignatureOverrides): Promise<string>;
|
|
1006
1063
|
formatWebAuthnSignature(keyHash: string, webAuthnAuth: WebAuthnSignatureData, overrides?: CaliburSignatureOverrides): string;
|
|
1007
1064
|
sendUserOperation(userOperation: UserOperationV8, bundlerRpc: string): Promise<SendUseroperationResponse>;
|
|
1008
1065
|
static createSecp256k1Key(address: string): CaliburKey;
|
|
@@ -1035,6 +1092,51 @@ declare class Calibur7702Account extends SmartAccount implements PrependTokenPay
|
|
|
1035
1092
|
static prependTokenPaymasterApproveToCallDataStatic(callData: string, tokenAddress: string, paymasterAddress: string, approveAmount: bigint): string;
|
|
1036
1093
|
}
|
|
1037
1094
|
//#endregion
|
|
1095
|
+
//#region src/signer/adapters.d.ts
|
|
1096
|
+
interface ViemLocalAccountLike {
|
|
1097
|
+
address: `0x${string}`;
|
|
1098
|
+
sign: (args: {
|
|
1099
|
+
hash: `0x${string}`;
|
|
1100
|
+
}) => Promise<`0x${string}`>;
|
|
1101
|
+
signTypedData: (args: {
|
|
1102
|
+
domain: TypedData["domain"];
|
|
1103
|
+
types: Record<string, Array<{
|
|
1104
|
+
name: string;
|
|
1105
|
+
type: string;
|
|
1106
|
+
}>>;
|
|
1107
|
+
primaryType: string;
|
|
1108
|
+
message: Record<string, unknown>;
|
|
1109
|
+
}) => Promise<`0x${string}`>;
|
|
1110
|
+
}
|
|
1111
|
+
interface ViemWalletClientLike {
|
|
1112
|
+
account?: {
|
|
1113
|
+
address: `0x${string}`;
|
|
1114
|
+
} | undefined;
|
|
1115
|
+
signTypedData: unknown;
|
|
1116
|
+
}
|
|
1117
|
+
interface EthersWalletLike {
|
|
1118
|
+
address: string;
|
|
1119
|
+
signingKey: {
|
|
1120
|
+
sign: (hash: string) => {
|
|
1121
|
+
serialized: string;
|
|
1122
|
+
};
|
|
1123
|
+
};
|
|
1124
|
+
signTypedData: (domain: {
|
|
1125
|
+
name?: string;
|
|
1126
|
+
version?: string;
|
|
1127
|
+
chainId?: number | bigint;
|
|
1128
|
+
verifyingContract?: string;
|
|
1129
|
+
salt?: string;
|
|
1130
|
+
}, types: Record<string, Array<{
|
|
1131
|
+
name: string;
|
|
1132
|
+
type: string;
|
|
1133
|
+
}>>, message: Record<string, unknown>) => Promise<string>;
|
|
1134
|
+
}
|
|
1135
|
+
declare function fromPrivateKey(privateKey: string): Signer<unknown>;
|
|
1136
|
+
declare function fromViem(account: ViemLocalAccountLike): Signer<unknown>;
|
|
1137
|
+
declare function fromViemWalletClient(client: ViemWalletClientLike): Signer<unknown>;
|
|
1138
|
+
declare function fromEthersWallet(wallet: EthersWalletLike): Signer<unknown>;
|
|
1139
|
+
//#endregion
|
|
1038
1140
|
//#region src/account/Safe/modules/SafeModule.d.ts
|
|
1039
1141
|
declare abstract class SafeModule {
|
|
1040
1142
|
readonly moduleAddress: string;
|
|
@@ -1163,7 +1265,7 @@ declare class SafeAccountV0_2_0 extends SafeAccount {
|
|
|
1163
1265
|
onChainIdentifierParams?: OnChainIdentifierParamsType;
|
|
1164
1266
|
onChainIdentifier?: string;
|
|
1165
1267
|
});
|
|
1166
|
-
static createAccountAddress(owners: Signer[], overrides?: {
|
|
1268
|
+
static createAccountAddress(owners: Signer$1[], overrides?: {
|
|
1167
1269
|
threshold?: number;
|
|
1168
1270
|
c2Nonce?: bigint;
|
|
1169
1271
|
safe4337ModuleAddress?: string;
|
|
@@ -1175,7 +1277,7 @@ declare class SafeAccountV0_2_0 extends SafeAccount {
|
|
|
1175
1277
|
eip7212WebAuthnPrecompileVerifierForSharedSigner?: string;
|
|
1176
1278
|
eip7212WebAuthnContractVerifierForSharedSigner?: string;
|
|
1177
1279
|
}): string;
|
|
1178
|
-
static initializeNewAccount(owners: Signer[], overrides?: InitCodeOverrides): SafeAccountV0_2_0;
|
|
1280
|
+
static initializeNewAccount(owners: Signer$1[], overrides?: InitCodeOverrides): SafeAccountV0_2_0;
|
|
1179
1281
|
static getUserOperationEip712Hash(useroperation: UserOperationV6, chainId: bigint, overrides?: {
|
|
1180
1282
|
validAfter?: bigint;
|
|
1181
1283
|
validUntil?: bigint;
|
|
@@ -1195,8 +1297,8 @@ declare class SafeAccountV0_2_0 extends SafeAccount {
|
|
|
1195
1297
|
}[]>;
|
|
1196
1298
|
messageValue: SafeUserOperationV6TypedMessageValue;
|
|
1197
1299
|
};
|
|
1198
|
-
static createAccountAddressAndInitCode(owners: Signer[], overrides?: InitCodeOverrides): [string, string];
|
|
1199
|
-
static createInitializerCallData(owners: Signer[], threshold: number, overrides?: {
|
|
1300
|
+
static createAccountAddressAndInitCode(owners: Signer$1[], overrides?: InitCodeOverrides): [string, string];
|
|
1301
|
+
static createInitializerCallData(owners: Signer$1[], threshold: number, overrides?: {
|
|
1200
1302
|
safe4337ModuleAddress?: string;
|
|
1201
1303
|
safeModuleSetupAddress?: string;
|
|
1202
1304
|
multisendContractAddress?: string;
|
|
@@ -1204,7 +1306,7 @@ declare class SafeAccountV0_2_0 extends SafeAccount {
|
|
|
1204
1306
|
eip7212WebAuthnPrecompileVerifierForSharedSigner?: string;
|
|
1205
1307
|
eip7212WebAuthnContractVerifierForSharedSigner?: string;
|
|
1206
1308
|
}): string;
|
|
1207
|
-
static createInitCode(owners: Signer[], overrides?: InitCodeOverrides): string;
|
|
1309
|
+
static createInitCode(owners: Signer$1[], overrides?: InitCodeOverrides): string;
|
|
1208
1310
|
createUserOperation(transactions: MetaTransaction[], providerRpc?: string, bundlerRpc?: string, overrides?: CreateUserOperationV6Overrides): Promise<UserOperationV6>;
|
|
1209
1311
|
createMigrateToSafeAccountV0_3_0MetaTransactions(nodeRpcUrl: string, overrides?: {
|
|
1210
1312
|
safeV06ModuleAddress?: string;
|
|
@@ -1215,7 +1317,7 @@ declare class SafeAccountV0_2_0 extends SafeAccount {
|
|
|
1215
1317
|
estimateUserOperationGas(userOperation: UserOperationV6, bundlerRpc: string, overrides?: {
|
|
1216
1318
|
stateOverrideSet?: StateOverrideSet;
|
|
1217
1319
|
dummySignerSignaturePairs?: SignerSignaturePair[];
|
|
1218
|
-
expectedSigners?: Signer[];
|
|
1320
|
+
expectedSigners?: Signer$1[];
|
|
1219
1321
|
webAuthnSharedSigner?: string;
|
|
1220
1322
|
webAuthnSignerFactory?: string;
|
|
1221
1323
|
webAuthnSignerSingleton?: string;
|
|
@@ -1227,6 +1329,11 @@ declare class SafeAccountV0_2_0 extends SafeAccount {
|
|
|
1227
1329
|
validAfter?: bigint;
|
|
1228
1330
|
validUntil?: bigint;
|
|
1229
1331
|
}): string;
|
|
1332
|
+
signUserOperationWithSigners(useroperation: UserOperationV6, signers: ReadonlyArray<Signer>, chainId: bigint, overrides?: {
|
|
1333
|
+
validAfter?: bigint;
|
|
1334
|
+
validUntil?: bigint;
|
|
1335
|
+
isMultiChainSignature?: boolean;
|
|
1336
|
+
}): Promise<string>;
|
|
1230
1337
|
}
|
|
1231
1338
|
//#endregion
|
|
1232
1339
|
//#region src/account/Safe/SafeAccountV0_3_0.d.ts
|
|
@@ -1241,8 +1348,8 @@ declare class SafeAccountV0_3_0 extends SafeAccount {
|
|
|
1241
1348
|
onChainIdentifier?: string;
|
|
1242
1349
|
safeAccountSingleton?: SafeAccountSingleton;
|
|
1243
1350
|
});
|
|
1244
|
-
static createAccountAddress(owners: Signer[], overrides?: InitCodeOverrides): string;
|
|
1245
|
-
static initializeNewAccount(owners: Signer[], overrides?: InitCodeOverrides): SafeAccountV0_3_0;
|
|
1351
|
+
static createAccountAddress(owners: Signer$1[], overrides?: InitCodeOverrides): string;
|
|
1352
|
+
static initializeNewAccount(owners: Signer$1[], overrides?: InitCodeOverrides): SafeAccountV0_3_0;
|
|
1246
1353
|
static getUserOperationEip712Hash(useroperation: UserOperationV7, chainId: bigint, overrides?: {
|
|
1247
1354
|
validAfter?: bigint;
|
|
1248
1355
|
validUntil?: bigint;
|
|
@@ -1262,7 +1369,7 @@ declare class SafeAccountV0_3_0 extends SafeAccount {
|
|
|
1262
1369
|
}[]>;
|
|
1263
1370
|
messageValue: SafeUserOperationV7TypedMessageValue;
|
|
1264
1371
|
};
|
|
1265
|
-
static createInitializerCallData(owners: Signer[], threshold: number, overrides?: {
|
|
1372
|
+
static createInitializerCallData(owners: Signer$1[], threshold: number, overrides?: {
|
|
1266
1373
|
safe4337ModuleAddress?: string;
|
|
1267
1374
|
safeModuleSetupAddress?: string;
|
|
1268
1375
|
multisendContractAddress?: string;
|
|
@@ -1270,12 +1377,12 @@ declare class SafeAccountV0_3_0 extends SafeAccount {
|
|
|
1270
1377
|
eip7212WebAuthnPrecompileVerifierForSharedSigner?: string;
|
|
1271
1378
|
eip7212WebAuthnContractVerifierForSharedSigner?: string;
|
|
1272
1379
|
}): string;
|
|
1273
|
-
static createFactoryAddressAndData(owners: Signer[], overrides?: InitCodeOverrides): [string, string];
|
|
1380
|
+
static createFactoryAddressAndData(owners: Signer$1[], overrides?: InitCodeOverrides): [string, string];
|
|
1274
1381
|
createUserOperation(transactions: MetaTransaction[], providerRpc?: string, bundlerRpc?: string, overrides?: CreateUserOperationV7Overrides): Promise<UserOperationV7>;
|
|
1275
1382
|
estimateUserOperationGas(userOperation: UserOperationV7, bundlerRpc: string, overrides?: {
|
|
1276
1383
|
stateOverrideSet?: StateOverrideSet;
|
|
1277
1384
|
dummySignerSignaturePairs?: SignerSignaturePair[];
|
|
1278
|
-
expectedSigners?: Signer[];
|
|
1385
|
+
expectedSigners?: Signer$1[];
|
|
1279
1386
|
webAuthnSharedSigner?: string;
|
|
1280
1387
|
webAuthnSignerFactory?: string;
|
|
1281
1388
|
webAuthnSignerSingleton?: string;
|
|
@@ -1287,6 +1394,11 @@ declare class SafeAccountV0_3_0 extends SafeAccount {
|
|
|
1287
1394
|
validAfter?: bigint;
|
|
1288
1395
|
validUntil?: bigint;
|
|
1289
1396
|
}): string;
|
|
1397
|
+
signUserOperationWithSigners(useroperation: UserOperationV7, signers: ReadonlyArray<Signer>, chainId: bigint, overrides?: {
|
|
1398
|
+
validAfter?: bigint;
|
|
1399
|
+
validUntil?: bigint;
|
|
1400
|
+
isMultiChainSignature?: boolean;
|
|
1401
|
+
}): Promise<string>;
|
|
1290
1402
|
}
|
|
1291
1403
|
//#endregion
|
|
1292
1404
|
//#region src/account/Safe/SafeAccountV1_5_0_M_0_3_0.d.ts
|
|
@@ -1305,14 +1417,14 @@ declare class SafeAccountV1_5_0_M_0_3_0 extends SafeAccountV0_3_0 {
|
|
|
1305
1417
|
safeFactoryAddress?: string;
|
|
1306
1418
|
singletonInitHash?: string;
|
|
1307
1419
|
}): string;
|
|
1308
|
-
static initializeNewAccount(owners: Signer[], overrides?: InitCodeOverrides): SafeAccountV1_5_0_M_0_3_0;
|
|
1309
|
-
static createAccountAddress(owners: Signer[], overrides?: InitCodeOverrides): string;
|
|
1310
|
-
static createFactoryAddressAndData(owners: Signer[], overrides?: InitCodeOverrides): [string, string];
|
|
1420
|
+
static initializeNewAccount(owners: Signer$1[], overrides?: InitCodeOverrides): SafeAccountV1_5_0_M_0_3_0;
|
|
1421
|
+
static createAccountAddress(owners: Signer$1[], overrides?: InitCodeOverrides): string;
|
|
1422
|
+
static createFactoryAddressAndData(owners: Signer$1[], overrides?: InitCodeOverrides): [string, string];
|
|
1311
1423
|
createUserOperation(transactions: MetaTransaction[], providerRpc?: string, bundlerRpc?: string, overrides?: CreateUserOperationV7Overrides): Promise<UserOperationV7>;
|
|
1312
1424
|
estimateUserOperationGas(userOperation: UserOperationV7, bundlerRpc: string, overrides?: {
|
|
1313
1425
|
stateOverrideSet?: StateOverrideSet;
|
|
1314
1426
|
dummySignerSignaturePairs?: SignerSignaturePair[];
|
|
1315
|
-
expectedSigners?: Signer[];
|
|
1427
|
+
expectedSigners?: Signer$1[];
|
|
1316
1428
|
webAuthnSharedSigner?: string;
|
|
1317
1429
|
webAuthnSignerFactory?: string;
|
|
1318
1430
|
webAuthnSignerSingleton?: string;
|
|
@@ -1332,7 +1444,7 @@ declare class SafeAccountV1_5_0_M_0_3_0 extends SafeAccountV0_3_0 {
|
|
|
1332
1444
|
eip7212WebAuthnContractVerifier?: string;
|
|
1333
1445
|
webAuthnSignerFactory?: string;
|
|
1334
1446
|
}): MetaTransaction;
|
|
1335
|
-
static createDummySignerSignaturePairForExpectedSigners(expectedSigners: Signer[], webAuthnSignatureOverrides?: WebAuthnSignatureOverrides): SignerSignaturePair[];
|
|
1447
|
+
static createDummySignerSignaturePairForExpectedSigners(expectedSigners: Signer$1[], webAuthnSignatureOverrides?: WebAuthnSignatureOverrides): SignerSignaturePair[];
|
|
1336
1448
|
static verifyWebAuthnSignatureForMessageHash(nodeRpcUrl: string, signer: WebauthnPublicKey, messageHash: string, signature: string, overrides?: {
|
|
1337
1449
|
eip7212WebAuthnPrecompileVerifier?: string;
|
|
1338
1450
|
eip7212WebAuthnContractVerifier?: string;
|
|
@@ -1611,8 +1723,8 @@ declare class AbstractionKitError extends Error {
|
|
|
1611
1723
|
stringify(): string;
|
|
1612
1724
|
}
|
|
1613
1725
|
declare namespace abstractionkit_d_exports {
|
|
1614
|
-
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, GasEstimationResult, GasOption, GasPaymasterUserOperationOverrides, InitCodeOverrides, JsonRpcError, JsonRpcParam, JsonRpcResponse, JsonRpcResult, MetaTransaction, 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,
|
|
1726
|
+
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, 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, SponsorMetadata, StateOverrideSet, TypedData, UserOperationByHashResult, UserOperationReceipt, UserOperationReceiptResult, UserOperationV6, UserOperationV7, UserOperationV8, UserOperationV9, WebAuthnSignatureData, WebauthnDummySignerSignaturePair, WebauthnPublicKey, WebauthnSignatureData, WorldIdPermissionlessPaymaster, ZeroAddress, calculateUserOperationMaxGasCost, callTenderlySimulateBundle, createAndSignEip7702DelegationAuthorization, createAndSignEip7702RawTransaction, createAndSignLegacyRawTransaction, createCallData, createEip7702DelegationAuthorizationHash, createEip7702TransactionHash, createUserOperationHash, createWorldIdSignal, fetchAccountNonce, fetchGasPrice, fromEthersWallet, fromPrivateKey, fromViem, fromViemWalletClient, getBalanceOf, getDelegatedAddress, getDepositInfo, getFunctionSelector, getSafeMessageEip712Data, sendJsonRpcRequest, shareTenderlySimulationAndCreateLink, signHash, simulateSenderCallDataWithTenderly, simulateSenderCallDataWithTenderlyAndCreateShareLink, simulateUserOperationCallDataWithTenderly, simulateUserOperationCallDataWithTenderlyAndCreateShareLink, simulateUserOperationWithTenderly, simulateUserOperationWithTenderlyAndCreateShareLink };
|
|
1615
1727
|
}
|
|
1616
1728
|
//#endregion
|
|
1617
|
-
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 GasEstimationResult, GasOption, type GasPaymasterUserOperationOverrides, type InitCodeOverrides, type JsonRpcError, type JsonRpcParam, type JsonRpcResponse, type JsonRpcResult, type MetaTransaction, 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
|
|
1729
|
+
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 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 SponsorMetadata, type StateOverrideSet, type TypedData, type UserOperationByHashResult, type UserOperationReceipt, type UserOperationReceiptResult, type UserOperationV6, type UserOperationV7, type UserOperationV8, type UserOperationV9, type WebAuthnSignatureData, WebauthnDummySignerSignaturePair, type WebauthnPublicKey, type WebauthnSignatureData, WorldIdPermissionlessPaymaster, ZeroAddress, abstractionkit_d_exports as abstractionkit, calculateUserOperationMaxGasCost, callTenderlySimulateBundle, createAndSignEip7702DelegationAuthorization, createAndSignEip7702RawTransaction, createAndSignLegacyRawTransaction, createCallData, createEip7702DelegationAuthorizationHash, createEip7702TransactionHash, createUserOperationHash, createWorldIdSignal, fetchAccountNonce, fetchGasPrice, fromEthersWallet, fromPrivateKey, fromViem, fromViemWalletClient, getBalanceOf, getDelegatedAddress, getDepositInfo, getFunctionSelector, getSafeMessageEip712Data, sendJsonRpcRequest, shareTenderlySimulationAndCreateLink, signHash, simulateSenderCallDataWithTenderly, simulateSenderCallDataWithTenderlyAndCreateShareLink, simulateUserOperationCallDataWithTenderly, simulateUserOperationCallDataWithTenderlyAndCreateShareLink, simulateUserOperationWithTenderly, simulateUserOperationWithTenderlyAndCreateShareLink };
|
|
1618
1730
|
//# sourceMappingURL=index.d.mts.map
|