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.cts
CHANGED
|
@@ -242,6 +242,48 @@ interface ParallelPaymasterInitValues {
|
|
|
242
242
|
paymasterData: string;
|
|
243
243
|
}
|
|
244
244
|
//#endregion
|
|
245
|
+
//#region src/signer/types.d.ts
|
|
246
|
+
interface TypedData {
|
|
247
|
+
domain: {
|
|
248
|
+
name?: string;
|
|
249
|
+
version?: string;
|
|
250
|
+
chainId?: number | bigint;
|
|
251
|
+
verifyingContract?: `0x${string}`;
|
|
252
|
+
salt?: `0x${string}`;
|
|
253
|
+
};
|
|
254
|
+
types: Record<string, Array<{
|
|
255
|
+
name: string;
|
|
256
|
+
type: string;
|
|
257
|
+
}>>;
|
|
258
|
+
primaryType: string;
|
|
259
|
+
message: Record<string, unknown>;
|
|
260
|
+
}
|
|
261
|
+
type SigningScheme = "hash" | "typedData";
|
|
262
|
+
interface SignContext<T extends BaseUserOperation = BaseUserOperation> {
|
|
263
|
+
readonly userOperation: T;
|
|
264
|
+
readonly chainId: bigint;
|
|
265
|
+
readonly entryPoint: string;
|
|
266
|
+
}
|
|
267
|
+
interface MultiOpSignContext<T extends BaseUserOperation = BaseUserOperation> {
|
|
268
|
+
readonly userOperations: ReadonlyArray<{
|
|
269
|
+
readonly userOperation: T;
|
|
270
|
+
readonly chainId: bigint;
|
|
271
|
+
}>;
|
|
272
|
+
readonly entryPoint: string;
|
|
273
|
+
}
|
|
274
|
+
interface SignerBase {
|
|
275
|
+
readonly address: `0x${string}`;
|
|
276
|
+
}
|
|
277
|
+
type SignHashFn<C = SignContext> = (hash: `0x${string}`, context: C) => Promise<`0x${string}`>;
|
|
278
|
+
type SignTypedDataFn<C = SignContext> = (data: TypedData, context: C) => Promise<`0x${string}`>;
|
|
279
|
+
type Signer<C = SignContext> = SignerBase & ({
|
|
280
|
+
signHash: SignHashFn<C>;
|
|
281
|
+
signTypedData?: SignTypedDataFn<C>;
|
|
282
|
+
} | {
|
|
283
|
+
signHash?: SignHashFn<C>;
|
|
284
|
+
signTypedData: SignTypedDataFn<C>;
|
|
285
|
+
});
|
|
286
|
+
//#endregion
|
|
245
287
|
//#region src/Bundler.d.ts
|
|
246
288
|
declare class Bundler {
|
|
247
289
|
readonly rpcUrl: string;
|
|
@@ -329,6 +371,8 @@ declare class BaseSimple7702Account extends SmartAccount {
|
|
|
329
371
|
dummySignature?: string;
|
|
330
372
|
}): Promise<[bigint, bigint, bigint]>;
|
|
331
373
|
protected baseSignUserOperation(useroperation: UserOperationV8 | UserOperationV9, privateKey: string, chainId: bigint): string;
|
|
374
|
+
static readonly ACCEPTED_SIGNING_SCHEMES: readonly SigningScheme[];
|
|
375
|
+
protected baseSignUserOperationWithSigner<T extends UserOperationV8 | UserOperationV9>(useroperation: T, signer: Signer, chainId: bigint): Promise<string>;
|
|
332
376
|
protected baseSendUserOperation(userOperation: UserOperationV8 | UserOperationV9, bundlerRpc: string): Promise<SendUseroperationResponse>;
|
|
333
377
|
prependTokenPaymasterApproveToCallData(callData: string, tokenAddress: string, paymasterAddress: string, approveAmount: bigint): string;
|
|
334
378
|
static prependTokenPaymasterApproveToCallDataStatic(callData: string, tokenAddress: string, paymasterAddress: string, approveAmount: bigint): string;
|
|
@@ -345,6 +389,7 @@ declare class Simple7702Account extends BaseSimple7702Account {
|
|
|
345
389
|
dummySignature?: string;
|
|
346
390
|
}): Promise<[bigint, bigint, bigint]>;
|
|
347
391
|
signUserOperation(useroperation: UserOperationV8, privateKey: string, chainId: bigint): string;
|
|
392
|
+
signUserOperationWithSigner(useroperation: UserOperationV8, signer: Signer, chainId: bigint): Promise<string>;
|
|
348
393
|
sendUserOperation(userOperation: UserOperationV8, bundlerRpc: string): Promise<SendUseroperationResponse>;
|
|
349
394
|
}
|
|
350
395
|
//#endregion
|
|
@@ -361,6 +406,7 @@ declare class Simple7702AccountV09 extends BaseSimple7702Account {
|
|
|
361
406
|
dummySignature?: string;
|
|
362
407
|
}): Promise<[bigint, bigint, bigint]>;
|
|
363
408
|
signUserOperation(useroperation: UserOperationV9, privateKey: string, chainId: bigint): string;
|
|
409
|
+
signUserOperationWithSigner(useroperation: UserOperationV9, signer: Signer, chainId: bigint): Promise<string>;
|
|
364
410
|
sendUserOperation(userOperation: UserOperationV9, bundlerRpc: string): Promise<SendUseroperationResponse>;
|
|
365
411
|
}
|
|
366
412
|
//#endregion
|
|
@@ -390,7 +436,7 @@ interface CreateBaseUserOperationOverrides {
|
|
|
390
436
|
multisendContractAddress?: string;
|
|
391
437
|
gasLevel?: GasOption;
|
|
392
438
|
polygonGasStation?: PolygonChain;
|
|
393
|
-
expectedSigners?: Signer[];
|
|
439
|
+
expectedSigners?: Signer$1[];
|
|
394
440
|
isMultiChainSignature?: boolean;
|
|
395
441
|
parallelPaymasterInitValues?: {
|
|
396
442
|
paymaster: string;
|
|
@@ -494,14 +540,14 @@ interface WebauthnPublicKey {
|
|
|
494
540
|
x: bigint;
|
|
495
541
|
y: bigint;
|
|
496
542
|
}
|
|
497
|
-
type Signer = ECDSAPublicAddress | WebauthnPublicKey;
|
|
543
|
+
type Signer$1 = ECDSAPublicAddress | WebauthnPublicKey;
|
|
498
544
|
interface WebauthnSignatureData {
|
|
499
545
|
authenticatorData: ArrayBuffer;
|
|
500
546
|
clientDataFields: string;
|
|
501
547
|
rs: [bigint, bigint];
|
|
502
548
|
}
|
|
503
549
|
interface SignerSignaturePair {
|
|
504
|
-
signer: Signer;
|
|
550
|
+
signer: Signer$1;
|
|
505
551
|
signature: string;
|
|
506
552
|
isContractSignature?: boolean;
|
|
507
553
|
}
|
|
@@ -625,7 +671,7 @@ declare class SafeAccount extends SmartAccount {
|
|
|
625
671
|
name: string;
|
|
626
672
|
type: string;
|
|
627
673
|
}[]>;
|
|
628
|
-
messageValue: SafeUserOperationV6TypedMessageValue |
|
|
674
|
+
messageValue: SafeUserOperationV6TypedMessageValue | SafeUserOperationV7TypedMessageValue | SafeUserOperationV9TypedMessageValue;
|
|
629
675
|
};
|
|
630
676
|
static getUserOperationEip712Data_V6(useroperation: UserOperationV6, chainId: bigint, overrides?: {
|
|
631
677
|
validAfter?: bigint;
|
|
@@ -677,7 +723,7 @@ declare class SafeAccount extends SmartAccount {
|
|
|
677
723
|
name: string;
|
|
678
724
|
type: string;
|
|
679
725
|
}[]>;
|
|
680
|
-
messageValue:
|
|
726
|
+
messageValue: SafeUserOperationV9TypedMessageValue;
|
|
681
727
|
};
|
|
682
728
|
static getUserOperationEip712Hash_V9(useroperation: UserOperationV9, chainId: bigint, overrides?: {
|
|
683
729
|
validAfter?: bigint;
|
|
@@ -691,16 +737,16 @@ declare class SafeAccount extends SmartAccount {
|
|
|
691
737
|
isMultiChainSignature?: boolean;
|
|
692
738
|
}): string;
|
|
693
739
|
sendUserOperation(userOperation: UserOperationV6 | UserOperationV7 | UserOperationV9, bundlerRpc: string): Promise<SendUseroperationResponse>;
|
|
694
|
-
protected static createAccountAddressAndFactoryAddressAndData(owners: Signer[], overrides: BaseInitOverrides, safe4337ModuleAddress: string, safeModuleSetupAddress: string): [string, string, string];
|
|
695
|
-
protected static createBaseInitializerCallData(owners: Signer[], threshold: number, safe4337ModuleAddress: string, safeModuleSetupAddress: string, multisendContractAddress?: string, webAuthnSharedSigner?: string, eip7212WebAuthnPrecompileVerifierForSharedSigner?: string, eip7212WebAuthnContractVerifierForSharedSigner?: string): string;
|
|
696
|
-
protected static createFactoryAddressAndData(owners: Signer[], overrides: BaseInitOverrides | undefined, safe4337ModuleAddress: string, safeModuleSetupAddress: string): [string, string];
|
|
740
|
+
protected static createAccountAddressAndFactoryAddressAndData(owners: Signer$1[], overrides: BaseInitOverrides, safe4337ModuleAddress: string, safeModuleSetupAddress: string): [string, string, string];
|
|
741
|
+
protected static createBaseInitializerCallData(owners: Signer$1[], threshold: number, safe4337ModuleAddress: string, safeModuleSetupAddress: string, multisendContractAddress?: string, webAuthnSharedSigner?: string, eip7212WebAuthnPrecompileVerifierForSharedSigner?: string, eip7212WebAuthnContractVerifierForSharedSigner?: string): string;
|
|
742
|
+
protected static createFactoryAddressAndData(owners: Signer$1[], overrides: BaseInitOverrides | undefined, safe4337ModuleAddress: string, safeModuleSetupAddress: string): [string, string];
|
|
697
743
|
prependTokenPaymasterApproveToCallData(callData: string, tokenAddress: string, paymasterAddress: string, approveAmount: bigint, overrides?: {
|
|
698
744
|
multisendContractAddress?: string;
|
|
699
745
|
}): string;
|
|
700
746
|
baseEstimateUserOperationGas(userOperation: UserOperationV6 | UserOperationV7, bundlerRpc: string, overrides?: {
|
|
701
747
|
stateOverrideSet?: StateOverrideSet;
|
|
702
748
|
dummySignerSignaturePairs?: SignerSignaturePair[];
|
|
703
|
-
expectedSigners?: Signer[];
|
|
749
|
+
expectedSigners?: Signer$1[];
|
|
704
750
|
webAuthnSharedSigner?: string;
|
|
705
751
|
webAuthnSignerFactory?: string;
|
|
706
752
|
webAuthnSignerSingleton?: string;
|
|
@@ -710,11 +756,17 @@ declare class SafeAccount extends SmartAccount {
|
|
|
710
756
|
isMultiChainSignature?: boolean;
|
|
711
757
|
}): Promise<[bigint, bigint, bigint]>;
|
|
712
758
|
protected createBaseUserOperationAndFactoryAddressAndFactoryData(transactions: MetaTransaction[], isV06: boolean, providerRpc?: string, bundlerRpc?: string, overrides?: CreateBaseUserOperationOverrides): Promise<[BaseUserOperation, string | null, string | null]>;
|
|
713
|
-
static baseSignSingleUserOperation(useroperation: UserOperationV6 | UserOperationV7, privateKeys: string[], chainId: bigint, entrypointAddress: string, safe4337ModuleAddress: string, overrides?: {
|
|
759
|
+
protected static baseSignSingleUserOperation(useroperation: UserOperationV6 | UserOperationV7, privateKeys: string[], chainId: bigint, entrypointAddress: string, safe4337ModuleAddress: string, overrides?: {
|
|
714
760
|
validAfter?: bigint;
|
|
715
761
|
validUntil?: bigint;
|
|
716
762
|
isMultiChainSignature?: boolean;
|
|
717
763
|
}): string;
|
|
764
|
+
static readonly ACCEPTED_SIGNING_SCHEMES: readonly SigningScheme[];
|
|
765
|
+
protected static baseSignUserOperationWithSigners<T extends UserOperationV6 | UserOperationV7 | UserOperationV9, C>(useroperation: T, signers: ReadonlyArray<Signer<C>>, chainId: bigint, entrypointAddress: string, safe4337ModuleAddress: string, context: C, overrides?: {
|
|
766
|
+
validAfter?: bigint;
|
|
767
|
+
validUntil?: bigint;
|
|
768
|
+
isMultiChainSignature?: boolean;
|
|
769
|
+
}): Promise<string>;
|
|
718
770
|
static createWebAuthnSignerVerifierAddress(x: bigint, y: bigint, overrides?: {
|
|
719
771
|
eip7212WebAuthnPrecompileVerifier?: string;
|
|
720
772
|
eip7212WebAuthnContractVerifier?: string;
|
|
@@ -723,11 +775,11 @@ declare class SafeAccount extends SmartAccount {
|
|
|
723
775
|
webAuthnSignerProxyCreationCode?: string;
|
|
724
776
|
}): string;
|
|
725
777
|
static formatSignaturesToUseroperationSignature(signerSignaturePairs: SignerSignaturePair[], overrides?: WebAuthnSignatureOverrides): string;
|
|
726
|
-
static getSignerLowerCaseAddress(signer: Signer, overrides?: WebAuthnSignatureOverrides): string;
|
|
778
|
+
static getSignerLowerCaseAddress(signer: Signer$1, overrides?: WebAuthnSignatureOverrides): string;
|
|
727
779
|
static sortSignatures(signerSignaturePairs: SignerSignaturePair[], overrides?: WebAuthnSignatureOverrides): void;
|
|
728
780
|
static buildSignaturesFromSingerSignaturePairs(signerSignaturePairs: SignerSignaturePair[], webAuthnSignatureOverrides?: WebAuthnSignatureOverrides): string;
|
|
729
781
|
static createWebAuthnSignature(signatureData: WebauthnSignatureData): string;
|
|
730
|
-
createSwapOwnerMetaTransactions(nodeRpcUrl: string, newOwner: Signer, oldOwner: Signer, overrides?: {
|
|
782
|
+
createSwapOwnerMetaTransactions(nodeRpcUrl: string, newOwner: Signer$1, oldOwner: Signer$1, overrides?: {
|
|
731
783
|
prevOwner?: string;
|
|
732
784
|
eip7212WebAuthnPrecompileVerifier?: string;
|
|
733
785
|
eip7212WebAuthnContractVerifier?: string;
|
|
@@ -735,7 +787,7 @@ declare class SafeAccount extends SmartAccount {
|
|
|
735
787
|
webAuthnSignerSingleton?: string;
|
|
736
788
|
webAuthnSignerProxyCreationCode?: string;
|
|
737
789
|
}): Promise<MetaTransaction[]>;
|
|
738
|
-
createRemoveOwnerMetaTransaction(nodeRpcUrl: string, ownerToDelete: Signer, threshold: number, overrides?: {
|
|
790
|
+
createRemoveOwnerMetaTransaction(nodeRpcUrl: string, ownerToDelete: Signer$1, threshold: number, overrides?: {
|
|
739
791
|
prevOwner?: string;
|
|
740
792
|
eip7212WebAuthnPrecompileVerifier?: string;
|
|
741
793
|
eip7212WebAuthnContractVerifier?: string;
|
|
@@ -743,7 +795,7 @@ declare class SafeAccount extends SmartAccount {
|
|
|
743
795
|
webAuthnSignerSingleton?: string;
|
|
744
796
|
webAuthnSignerProxyCreationCode?: string;
|
|
745
797
|
}): Promise<MetaTransaction>;
|
|
746
|
-
createAddOwnerWithThresholdMetaTransactions(newOwner: Signer, threshold: number, overrides?: {
|
|
798
|
+
createAddOwnerWithThresholdMetaTransactions(newOwner: Signer$1, threshold: number, overrides?: {
|
|
747
799
|
nodeRpcUrl?: string;
|
|
748
800
|
eip7212WebAuthnPrecompileVerifier?: string;
|
|
749
801
|
eip7212WebAuthnContractVerifier?: string;
|
|
@@ -768,7 +820,7 @@ declare class SafeAccount extends SmartAccount {
|
|
|
768
820
|
pageSize?: bigint;
|
|
769
821
|
}): Promise<[string[], string]>;
|
|
770
822
|
isModuleEnabled(nodeRpcUrl: string, moduleAddress: string): Promise<boolean>;
|
|
771
|
-
static createDummySignerSignaturePairForExpectedSigners(expectedSigners: Signer[], webAuthnSignatureOverrides?: WebAuthnSignatureOverrides): SignerSignaturePair[];
|
|
823
|
+
static createDummySignerSignaturePairForExpectedSigners(expectedSigners: Signer$1[], webAuthnSignatureOverrides?: WebAuthnSignatureOverrides): SignerSignaturePair[];
|
|
772
824
|
static verifyWebAuthnSignatureForMessageHash(nodeRpcUrl: string, signer: WebauthnPublicKey, messageHash: string, signature: string, overrides?: {
|
|
773
825
|
eip7212WebAuthnPrecompileVerifier?: string;
|
|
774
826
|
eip7212WebAuthnContractVerifier?: string;
|
|
@@ -821,8 +873,8 @@ declare class SafeMultiChainSigAccountV1 extends SafeAccount {
|
|
|
821
873
|
onChainIdentifier?: string;
|
|
822
874
|
safeAccountSingleton?: SafeAccountSingleton;
|
|
823
875
|
});
|
|
824
|
-
static createAccountAddress(owners: Signer[], overrides?: InitCodeOverrides): string;
|
|
825
|
-
static initializeNewAccount(owners: Signer[], overrides?: InitCodeOverrides): SafeMultiChainSigAccountV1;
|
|
876
|
+
static createAccountAddress(owners: Signer$1[], overrides?: InitCodeOverrides): string;
|
|
877
|
+
static initializeNewAccount(owners: Signer$1[], overrides?: InitCodeOverrides): SafeMultiChainSigAccountV1;
|
|
826
878
|
static getUserOperationEip712Hash(useroperation: UserOperationV9, chainId: bigint, overrides?: {
|
|
827
879
|
validAfter?: bigint;
|
|
828
880
|
validUntil?: bigint;
|
|
@@ -842,7 +894,7 @@ declare class SafeMultiChainSigAccountV1 extends SafeAccount {
|
|
|
842
894
|
}[]>;
|
|
843
895
|
messageValue: SafeUserOperationV9TypedMessageValue;
|
|
844
896
|
};
|
|
845
|
-
static createInitializerCallData(owners: Signer[], threshold: number, overrides?: {
|
|
897
|
+
static createInitializerCallData(owners: Signer$1[], threshold: number, overrides?: {
|
|
846
898
|
safe4337ModuleAddress?: string;
|
|
847
899
|
safeModuleSetupAddress?: string;
|
|
848
900
|
multisendContractAddress?: string;
|
|
@@ -850,13 +902,18 @@ declare class SafeMultiChainSigAccountV1 extends SafeAccount {
|
|
|
850
902
|
eip7212WebAuthnPrecompileVerifierForSharedSigner?: string;
|
|
851
903
|
eip7212WebAuthnContractVerifierForSharedSigner?: string;
|
|
852
904
|
}): string;
|
|
853
|
-
static createFactoryAddressAndData(owners: Signer[], overrides?: InitCodeOverrides): [string, string];
|
|
905
|
+
static createFactoryAddressAndData(owners: Signer$1[], overrides?: InitCodeOverrides): [string, string];
|
|
854
906
|
createUserOperation(transactions: MetaTransaction[], providerRpc?: string, bundlerRpc?: string, overrides?: CreateUserOperationV9Overrides): Promise<UserOperationV9>;
|
|
855
907
|
signUserOperation(userOperation: UserOperationV9, privateKeys: string[], chainId: bigint, overrides?: {
|
|
856
908
|
validAfter?: bigint;
|
|
857
909
|
validUntil?: bigint;
|
|
858
910
|
}): string;
|
|
911
|
+
signUserOperationWithSigners(userOperation: UserOperationV9, signers: ReadonlyArray<Signer>, chainId: bigint, overrides?: {
|
|
912
|
+
validAfter?: bigint;
|
|
913
|
+
validUntil?: bigint;
|
|
914
|
+
}): Promise<string>;
|
|
859
915
|
signUserOperations(userOperationsToSign: UserOperationToSign[], privateKeys: string[]): string[];
|
|
916
|
+
signUserOperationsWithSigners(userOperationsToSign: UserOperationToSign[], signers: ReadonlyArray<Signer<MultiOpSignContext<UserOperationV9>>>): Promise<string[]>;
|
|
860
917
|
static getMultiChainSingleSignatureUserOperationsEip712Hash(userOperationsToSignsToSign: UserOperationToSign[], overrides?: {
|
|
861
918
|
safe4337ModuleAddress?: string;
|
|
862
919
|
}): string;
|
|
@@ -884,7 +941,7 @@ declare class SafeMultiChainSigAccountV1 extends SafeAccount {
|
|
|
884
941
|
eip7212WebAuthnContractVerifier?: string;
|
|
885
942
|
webAuthnSignerFactory?: string;
|
|
886
943
|
}): MetaTransaction;
|
|
887
|
-
static createDummySignerSignaturePairForExpectedSigners(expectedSigners: Signer[], webAuthnSignatureOverrides?: WebAuthnSignatureOverrides): SignerSignaturePair[];
|
|
944
|
+
static createDummySignerSignaturePairForExpectedSigners(expectedSigners: Signer$1[], webAuthnSignatureOverrides?: WebAuthnSignatureOverrides): SignerSignaturePair[];
|
|
888
945
|
static verifyWebAuthnSignatureForMessageHash(nodeRpcUrl: string, signer: WebauthnPublicKey, messageHash: string, signature: string, overrides?: {
|
|
889
946
|
eip7212WebAuthnPrecompileVerifier?: string;
|
|
890
947
|
eip7212WebAuthnContractVerifier?: string;
|
|
@@ -986,7 +1043,6 @@ interface CaliburSignatureOverrides {
|
|
|
986
1043
|
hookData?: string;
|
|
987
1044
|
keyHash?: string;
|
|
988
1045
|
}
|
|
989
|
-
type SignerFunction = (hash: string) => Promise<string>;
|
|
990
1046
|
//#endregion
|
|
991
1047
|
//#region src/account/Calibur/Calibur7702Account.d.ts
|
|
992
1048
|
declare class Calibur7702Account extends SmartAccount implements PrependTokenPaymasterApproveAccount {
|
|
@@ -1004,7 +1060,8 @@ declare class Calibur7702Account extends SmartAccount implements PrependTokenPay
|
|
|
1004
1060
|
static createAccountCallData(transactions: SimpleMetaTransaction[], revertOnFailure?: boolean): string;
|
|
1005
1061
|
createUserOperation(transactions: SimpleMetaTransaction[], providerRpc?: string, bundlerRpc?: string, overrides?: CaliburCreateUserOperationOverrides): Promise<UserOperationV8>;
|
|
1006
1062
|
signUserOperation(userOperation: UserOperationV8, privateKey: string, chainId: bigint, overrides?: CaliburSignatureOverrides): string;
|
|
1007
|
-
|
|
1063
|
+
static readonly ACCEPTED_SIGNING_SCHEMES: readonly SigningScheme[];
|
|
1064
|
+
signUserOperationWithSigner(userOperation: UserOperationV8, signer: Signer, chainId: bigint, overrides?: CaliburSignatureOverrides): Promise<string>;
|
|
1008
1065
|
formatWebAuthnSignature(keyHash: string, webAuthnAuth: WebAuthnSignatureData, overrides?: CaliburSignatureOverrides): string;
|
|
1009
1066
|
sendUserOperation(userOperation: UserOperationV8, bundlerRpc: string): Promise<SendUseroperationResponse>;
|
|
1010
1067
|
static createSecp256k1Key(address: string): CaliburKey;
|
|
@@ -1037,6 +1094,51 @@ declare class Calibur7702Account extends SmartAccount implements PrependTokenPay
|
|
|
1037
1094
|
static prependTokenPaymasterApproveToCallDataStatic(callData: string, tokenAddress: string, paymasterAddress: string, approveAmount: bigint): string;
|
|
1038
1095
|
}
|
|
1039
1096
|
//#endregion
|
|
1097
|
+
//#region src/signer/adapters.d.ts
|
|
1098
|
+
interface ViemLocalAccountLike {
|
|
1099
|
+
address: `0x${string}`;
|
|
1100
|
+
sign: (args: {
|
|
1101
|
+
hash: `0x${string}`;
|
|
1102
|
+
}) => Promise<`0x${string}`>;
|
|
1103
|
+
signTypedData: (args: {
|
|
1104
|
+
domain: TypedData["domain"];
|
|
1105
|
+
types: Record<string, Array<{
|
|
1106
|
+
name: string;
|
|
1107
|
+
type: string;
|
|
1108
|
+
}>>;
|
|
1109
|
+
primaryType: string;
|
|
1110
|
+
message: Record<string, unknown>;
|
|
1111
|
+
}) => Promise<`0x${string}`>;
|
|
1112
|
+
}
|
|
1113
|
+
interface ViemWalletClientLike {
|
|
1114
|
+
account?: {
|
|
1115
|
+
address: `0x${string}`;
|
|
1116
|
+
} | undefined;
|
|
1117
|
+
signTypedData: unknown;
|
|
1118
|
+
}
|
|
1119
|
+
interface EthersWalletLike {
|
|
1120
|
+
address: string;
|
|
1121
|
+
signingKey: {
|
|
1122
|
+
sign: (hash: string) => {
|
|
1123
|
+
serialized: string;
|
|
1124
|
+
};
|
|
1125
|
+
};
|
|
1126
|
+
signTypedData: (domain: {
|
|
1127
|
+
name?: string;
|
|
1128
|
+
version?: string;
|
|
1129
|
+
chainId?: number | bigint;
|
|
1130
|
+
verifyingContract?: string;
|
|
1131
|
+
salt?: string;
|
|
1132
|
+
}, types: Record<string, Array<{
|
|
1133
|
+
name: string;
|
|
1134
|
+
type: string;
|
|
1135
|
+
}>>, message: Record<string, unknown>) => Promise<string>;
|
|
1136
|
+
}
|
|
1137
|
+
declare function fromPrivateKey(privateKey: string): Signer<unknown>;
|
|
1138
|
+
declare function fromViem(account: ViemLocalAccountLike): Signer<unknown>;
|
|
1139
|
+
declare function fromViemWalletClient(client: ViemWalletClientLike): Signer<unknown>;
|
|
1140
|
+
declare function fromEthersWallet(wallet: EthersWalletLike): Signer<unknown>;
|
|
1141
|
+
//#endregion
|
|
1040
1142
|
//#region src/account/Safe/modules/SafeModule.d.ts
|
|
1041
1143
|
declare abstract class SafeModule {
|
|
1042
1144
|
readonly moduleAddress: string;
|
|
@@ -1165,7 +1267,7 @@ declare class SafeAccountV0_2_0 extends SafeAccount {
|
|
|
1165
1267
|
onChainIdentifierParams?: OnChainIdentifierParamsType;
|
|
1166
1268
|
onChainIdentifier?: string;
|
|
1167
1269
|
});
|
|
1168
|
-
static createAccountAddress(owners: Signer[], overrides?: {
|
|
1270
|
+
static createAccountAddress(owners: Signer$1[], overrides?: {
|
|
1169
1271
|
threshold?: number;
|
|
1170
1272
|
c2Nonce?: bigint;
|
|
1171
1273
|
safe4337ModuleAddress?: string;
|
|
@@ -1177,7 +1279,7 @@ declare class SafeAccountV0_2_0 extends SafeAccount {
|
|
|
1177
1279
|
eip7212WebAuthnPrecompileVerifierForSharedSigner?: string;
|
|
1178
1280
|
eip7212WebAuthnContractVerifierForSharedSigner?: string;
|
|
1179
1281
|
}): string;
|
|
1180
|
-
static initializeNewAccount(owners: Signer[], overrides?: InitCodeOverrides): SafeAccountV0_2_0;
|
|
1282
|
+
static initializeNewAccount(owners: Signer$1[], overrides?: InitCodeOverrides): SafeAccountV0_2_0;
|
|
1181
1283
|
static getUserOperationEip712Hash(useroperation: UserOperationV6, chainId: bigint, overrides?: {
|
|
1182
1284
|
validAfter?: bigint;
|
|
1183
1285
|
validUntil?: bigint;
|
|
@@ -1197,8 +1299,8 @@ declare class SafeAccountV0_2_0 extends SafeAccount {
|
|
|
1197
1299
|
}[]>;
|
|
1198
1300
|
messageValue: SafeUserOperationV6TypedMessageValue;
|
|
1199
1301
|
};
|
|
1200
|
-
static createAccountAddressAndInitCode(owners: Signer[], overrides?: InitCodeOverrides): [string, string];
|
|
1201
|
-
static createInitializerCallData(owners: Signer[], threshold: number, overrides?: {
|
|
1302
|
+
static createAccountAddressAndInitCode(owners: Signer$1[], overrides?: InitCodeOverrides): [string, string];
|
|
1303
|
+
static createInitializerCallData(owners: Signer$1[], threshold: number, overrides?: {
|
|
1202
1304
|
safe4337ModuleAddress?: string;
|
|
1203
1305
|
safeModuleSetupAddress?: string;
|
|
1204
1306
|
multisendContractAddress?: string;
|
|
@@ -1206,7 +1308,7 @@ declare class SafeAccountV0_2_0 extends SafeAccount {
|
|
|
1206
1308
|
eip7212WebAuthnPrecompileVerifierForSharedSigner?: string;
|
|
1207
1309
|
eip7212WebAuthnContractVerifierForSharedSigner?: string;
|
|
1208
1310
|
}): string;
|
|
1209
|
-
static createInitCode(owners: Signer[], overrides?: InitCodeOverrides): string;
|
|
1311
|
+
static createInitCode(owners: Signer$1[], overrides?: InitCodeOverrides): string;
|
|
1210
1312
|
createUserOperation(transactions: MetaTransaction[], providerRpc?: string, bundlerRpc?: string, overrides?: CreateUserOperationV6Overrides): Promise<UserOperationV6>;
|
|
1211
1313
|
createMigrateToSafeAccountV0_3_0MetaTransactions(nodeRpcUrl: string, overrides?: {
|
|
1212
1314
|
safeV06ModuleAddress?: string;
|
|
@@ -1217,7 +1319,7 @@ declare class SafeAccountV0_2_0 extends SafeAccount {
|
|
|
1217
1319
|
estimateUserOperationGas(userOperation: UserOperationV6, bundlerRpc: string, overrides?: {
|
|
1218
1320
|
stateOverrideSet?: StateOverrideSet;
|
|
1219
1321
|
dummySignerSignaturePairs?: SignerSignaturePair[];
|
|
1220
|
-
expectedSigners?: Signer[];
|
|
1322
|
+
expectedSigners?: Signer$1[];
|
|
1221
1323
|
webAuthnSharedSigner?: string;
|
|
1222
1324
|
webAuthnSignerFactory?: string;
|
|
1223
1325
|
webAuthnSignerSingleton?: string;
|
|
@@ -1229,6 +1331,11 @@ declare class SafeAccountV0_2_0 extends SafeAccount {
|
|
|
1229
1331
|
validAfter?: bigint;
|
|
1230
1332
|
validUntil?: bigint;
|
|
1231
1333
|
}): string;
|
|
1334
|
+
signUserOperationWithSigners(useroperation: UserOperationV6, signers: ReadonlyArray<Signer>, chainId: bigint, overrides?: {
|
|
1335
|
+
validAfter?: bigint;
|
|
1336
|
+
validUntil?: bigint;
|
|
1337
|
+
isMultiChainSignature?: boolean;
|
|
1338
|
+
}): Promise<string>;
|
|
1232
1339
|
}
|
|
1233
1340
|
//#endregion
|
|
1234
1341
|
//#region src/account/Safe/SafeAccountV0_3_0.d.ts
|
|
@@ -1243,8 +1350,8 @@ declare class SafeAccountV0_3_0 extends SafeAccount {
|
|
|
1243
1350
|
onChainIdentifier?: string;
|
|
1244
1351
|
safeAccountSingleton?: SafeAccountSingleton;
|
|
1245
1352
|
});
|
|
1246
|
-
static createAccountAddress(owners: Signer[], overrides?: InitCodeOverrides): string;
|
|
1247
|
-
static initializeNewAccount(owners: Signer[], overrides?: InitCodeOverrides): SafeAccountV0_3_0;
|
|
1353
|
+
static createAccountAddress(owners: Signer$1[], overrides?: InitCodeOverrides): string;
|
|
1354
|
+
static initializeNewAccount(owners: Signer$1[], overrides?: InitCodeOverrides): SafeAccountV0_3_0;
|
|
1248
1355
|
static getUserOperationEip712Hash(useroperation: UserOperationV7, chainId: bigint, overrides?: {
|
|
1249
1356
|
validAfter?: bigint;
|
|
1250
1357
|
validUntil?: bigint;
|
|
@@ -1264,7 +1371,7 @@ declare class SafeAccountV0_3_0 extends SafeAccount {
|
|
|
1264
1371
|
}[]>;
|
|
1265
1372
|
messageValue: SafeUserOperationV7TypedMessageValue;
|
|
1266
1373
|
};
|
|
1267
|
-
static createInitializerCallData(owners: Signer[], threshold: number, overrides?: {
|
|
1374
|
+
static createInitializerCallData(owners: Signer$1[], threshold: number, overrides?: {
|
|
1268
1375
|
safe4337ModuleAddress?: string;
|
|
1269
1376
|
safeModuleSetupAddress?: string;
|
|
1270
1377
|
multisendContractAddress?: string;
|
|
@@ -1272,12 +1379,12 @@ declare class SafeAccountV0_3_0 extends SafeAccount {
|
|
|
1272
1379
|
eip7212WebAuthnPrecompileVerifierForSharedSigner?: string;
|
|
1273
1380
|
eip7212WebAuthnContractVerifierForSharedSigner?: string;
|
|
1274
1381
|
}): string;
|
|
1275
|
-
static createFactoryAddressAndData(owners: Signer[], overrides?: InitCodeOverrides): [string, string];
|
|
1382
|
+
static createFactoryAddressAndData(owners: Signer$1[], overrides?: InitCodeOverrides): [string, string];
|
|
1276
1383
|
createUserOperation(transactions: MetaTransaction[], providerRpc?: string, bundlerRpc?: string, overrides?: CreateUserOperationV7Overrides): Promise<UserOperationV7>;
|
|
1277
1384
|
estimateUserOperationGas(userOperation: UserOperationV7, bundlerRpc: string, overrides?: {
|
|
1278
1385
|
stateOverrideSet?: StateOverrideSet;
|
|
1279
1386
|
dummySignerSignaturePairs?: SignerSignaturePair[];
|
|
1280
|
-
expectedSigners?: Signer[];
|
|
1387
|
+
expectedSigners?: Signer$1[];
|
|
1281
1388
|
webAuthnSharedSigner?: string;
|
|
1282
1389
|
webAuthnSignerFactory?: string;
|
|
1283
1390
|
webAuthnSignerSingleton?: string;
|
|
@@ -1289,6 +1396,11 @@ declare class SafeAccountV0_3_0 extends SafeAccount {
|
|
|
1289
1396
|
validAfter?: bigint;
|
|
1290
1397
|
validUntil?: bigint;
|
|
1291
1398
|
}): string;
|
|
1399
|
+
signUserOperationWithSigners(useroperation: UserOperationV7, signers: ReadonlyArray<Signer>, chainId: bigint, overrides?: {
|
|
1400
|
+
validAfter?: bigint;
|
|
1401
|
+
validUntil?: bigint;
|
|
1402
|
+
isMultiChainSignature?: boolean;
|
|
1403
|
+
}): Promise<string>;
|
|
1292
1404
|
}
|
|
1293
1405
|
//#endregion
|
|
1294
1406
|
//#region src/account/Safe/SafeAccountV1_5_0_M_0_3_0.d.ts
|
|
@@ -1307,14 +1419,14 @@ declare class SafeAccountV1_5_0_M_0_3_0 extends SafeAccountV0_3_0 {
|
|
|
1307
1419
|
safeFactoryAddress?: string;
|
|
1308
1420
|
singletonInitHash?: string;
|
|
1309
1421
|
}): string;
|
|
1310
|
-
static initializeNewAccount(owners: Signer[], overrides?: InitCodeOverrides): SafeAccountV1_5_0_M_0_3_0;
|
|
1311
|
-
static createAccountAddress(owners: Signer[], overrides?: InitCodeOverrides): string;
|
|
1312
|
-
static createFactoryAddressAndData(owners: Signer[], overrides?: InitCodeOverrides): [string, string];
|
|
1422
|
+
static initializeNewAccount(owners: Signer$1[], overrides?: InitCodeOverrides): SafeAccountV1_5_0_M_0_3_0;
|
|
1423
|
+
static createAccountAddress(owners: Signer$1[], overrides?: InitCodeOverrides): string;
|
|
1424
|
+
static createFactoryAddressAndData(owners: Signer$1[], overrides?: InitCodeOverrides): [string, string];
|
|
1313
1425
|
createUserOperation(transactions: MetaTransaction[], providerRpc?: string, bundlerRpc?: string, overrides?: CreateUserOperationV7Overrides): Promise<UserOperationV7>;
|
|
1314
1426
|
estimateUserOperationGas(userOperation: UserOperationV7, bundlerRpc: string, overrides?: {
|
|
1315
1427
|
stateOverrideSet?: StateOverrideSet;
|
|
1316
1428
|
dummySignerSignaturePairs?: SignerSignaturePair[];
|
|
1317
|
-
expectedSigners?: Signer[];
|
|
1429
|
+
expectedSigners?: Signer$1[];
|
|
1318
1430
|
webAuthnSharedSigner?: string;
|
|
1319
1431
|
webAuthnSignerFactory?: string;
|
|
1320
1432
|
webAuthnSignerSingleton?: string;
|
|
@@ -1334,7 +1446,7 @@ declare class SafeAccountV1_5_0_M_0_3_0 extends SafeAccountV0_3_0 {
|
|
|
1334
1446
|
eip7212WebAuthnContractVerifier?: string;
|
|
1335
1447
|
webAuthnSignerFactory?: string;
|
|
1336
1448
|
}): MetaTransaction;
|
|
1337
|
-
static createDummySignerSignaturePairForExpectedSigners(expectedSigners: Signer[], webAuthnSignatureOverrides?: WebAuthnSignatureOverrides): SignerSignaturePair[];
|
|
1449
|
+
static createDummySignerSignaturePairForExpectedSigners(expectedSigners: Signer$1[], webAuthnSignatureOverrides?: WebAuthnSignatureOverrides): SignerSignaturePair[];
|
|
1338
1450
|
static verifyWebAuthnSignatureForMessageHash(nodeRpcUrl: string, signer: WebauthnPublicKey, messageHash: string, signature: string, overrides?: {
|
|
1339
1451
|
eip7212WebAuthnPrecompileVerifier?: string;
|
|
1340
1452
|
eip7212WebAuthnContractVerifier?: string;
|
|
@@ -1613,8 +1725,8 @@ declare class AbstractionKitError extends Error {
|
|
|
1613
1725
|
stringify(): string;
|
|
1614
1726
|
}
|
|
1615
1727
|
declare namespace abstractionkit_d_exports {
|
|
1616
|
-
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,
|
|
1728
|
+
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 };
|
|
1617
1729
|
}
|
|
1618
1730
|
//#endregion
|
|
1619
|
-
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
|
|
1731
|
+
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 };
|
|
1620
1732
|
//# sourceMappingURL=index.d.cts.map
|