abstractionkit 0.3.0 → 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/dist/index.d.cts CHANGED
@@ -88,8 +88,10 @@ type JsonRpcResponse = {
88
88
  type ChainIdResult = string;
89
89
  type SupportedEntryPointsResult = string[];
90
90
  type SingleTransactionTenderlySimulationResult = {
91
- transaction: any;
92
- simulation: any;
91
+ transaction: Record<string, unknown>;
92
+ simulation: {
93
+ id: string;
94
+ } & Record<string, unknown>;
93
95
  };
94
96
  type TenderlySimulationResult = SingleTransactionTenderlySimulationResult[];
95
97
  type JsonRpcResult = ChainIdResult | SupportedEntryPointsResult | GasEstimationResult | UserOperationByHashResult | UserOperationReceipt | UserOperationReceiptResult | SupportedERC20TokensAndMetadata | PmUserOperationV7Result | PmUserOperationV6Result | TenderlySimulationResult;
@@ -102,6 +104,8 @@ type GasEstimationResult = {
102
104
  callGasLimit: bigint;
103
105
  preVerificationGas: bigint;
104
106
  verificationGasLimit: bigint;
107
+ paymasterVerificationGasLimit?: bigint;
108
+ paymasterPostOpGasLimit?: bigint;
105
109
  };
106
110
  type UserOperationByHashResult = {
107
111
  userOperation: UserOperationV6 | UserOperationV7;
@@ -238,6 +242,48 @@ interface ParallelPaymasterInitValues {
238
242
  paymasterData: string;
239
243
  }
240
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
241
287
  //#region src/Bundler.d.ts
242
288
  declare class Bundler {
243
289
  readonly rpcUrl: string;
@@ -325,6 +371,8 @@ declare class BaseSimple7702Account extends SmartAccount {
325
371
  dummySignature?: string;
326
372
  }): Promise<[bigint, bigint, bigint]>;
327
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>;
328
376
  protected baseSendUserOperation(userOperation: UserOperationV8 | UserOperationV9, bundlerRpc: string): Promise<SendUseroperationResponse>;
329
377
  prependTokenPaymasterApproveToCallData(callData: string, tokenAddress: string, paymasterAddress: string, approveAmount: bigint): string;
330
378
  static prependTokenPaymasterApproveToCallDataStatic(callData: string, tokenAddress: string, paymasterAddress: string, approveAmount: bigint): string;
@@ -341,6 +389,7 @@ declare class Simple7702Account extends BaseSimple7702Account {
341
389
  dummySignature?: string;
342
390
  }): Promise<[bigint, bigint, bigint]>;
343
391
  signUserOperation(useroperation: UserOperationV8, privateKey: string, chainId: bigint): string;
392
+ signUserOperationWithSigner(useroperation: UserOperationV8, signer: Signer, chainId: bigint): Promise<string>;
344
393
  sendUserOperation(userOperation: UserOperationV8, bundlerRpc: string): Promise<SendUseroperationResponse>;
345
394
  }
346
395
  //#endregion
@@ -357,6 +406,7 @@ declare class Simple7702AccountV09 extends BaseSimple7702Account {
357
406
  dummySignature?: string;
358
407
  }): Promise<[bigint, bigint, bigint]>;
359
408
  signUserOperation(useroperation: UserOperationV9, privateKey: string, chainId: bigint): string;
409
+ signUserOperationWithSigner(useroperation: UserOperationV9, signer: Signer, chainId: bigint): Promise<string>;
360
410
  sendUserOperation(userOperation: UserOperationV9, bundlerRpc: string): Promise<SendUseroperationResponse>;
361
411
  }
362
412
  //#endregion
@@ -386,7 +436,7 @@ interface CreateBaseUserOperationOverrides {
386
436
  multisendContractAddress?: string;
387
437
  gasLevel?: GasOption;
388
438
  polygonGasStation?: PolygonChain;
389
- expectedSigners?: Signer[];
439
+ expectedSigners?: Signer$1[];
390
440
  isMultiChainSignature?: boolean;
391
441
  parallelPaymasterInitValues?: {
392
442
  paymaster: string;
@@ -490,14 +540,14 @@ interface WebauthnPublicKey {
490
540
  x: bigint;
491
541
  y: bigint;
492
542
  }
493
- type Signer = ECDSAPublicAddress | WebauthnPublicKey;
543
+ type Signer$1 = ECDSAPublicAddress | WebauthnPublicKey;
494
544
  interface WebauthnSignatureData {
495
545
  authenticatorData: ArrayBuffer;
496
546
  clientDataFields: string;
497
547
  rs: [bigint, bigint];
498
548
  }
499
549
  interface SignerSignaturePair {
500
- signer: Signer;
550
+ signer: Signer$1;
501
551
  signature: string;
502
552
  isContractSignature?: boolean;
503
553
  }
@@ -509,6 +559,18 @@ interface UserOperationToSign {
509
559
  validAfter?: bigint;
510
560
  validUntil?: bigint;
511
561
  }
562
+ interface UserOperationToSignWithOverrides extends UserOperationToSign {
563
+ overrides?: {
564
+ isInit?: boolean;
565
+ webAuthnSharedSigner?: string;
566
+ eip7212WebAuthnPrecompileVerifier?: string;
567
+ eip7212WebAuthnContractVerifier?: string;
568
+ webAuthnSignerFactory?: string;
569
+ webAuthnSignerSingleton?: string;
570
+ webAuthnSignerProxyCreationCode?: string;
571
+ safe4337ModuleAddress?: string;
572
+ };
573
+ }
512
574
  interface MultiChainSignatureMerkleTreeRootTypedDataDomain {
513
575
  verifyingContract: string;
514
576
  }
@@ -609,7 +671,7 @@ declare class SafeAccount extends SmartAccount {
609
671
  name: string;
610
672
  type: string;
611
673
  }[]>;
612
- messageValue: SafeUserOperationV6TypedMessageValue | SafeUserOperationV6TypedMessageValue;
674
+ messageValue: SafeUserOperationV6TypedMessageValue | SafeUserOperationV7TypedMessageValue | SafeUserOperationV9TypedMessageValue;
613
675
  };
614
676
  static getUserOperationEip712Data_V6(useroperation: UserOperationV6, chainId: bigint, overrides?: {
615
677
  validAfter?: bigint;
@@ -661,7 +723,7 @@ declare class SafeAccount extends SmartAccount {
661
723
  name: string;
662
724
  type: string;
663
725
  }[]>;
664
- messageValue: SafeUserOperationV6TypedMessageValue;
726
+ messageValue: SafeUserOperationV9TypedMessageValue;
665
727
  };
666
728
  static getUserOperationEip712Hash_V9(useroperation: UserOperationV9, chainId: bigint, overrides?: {
667
729
  validAfter?: bigint;
@@ -675,16 +737,16 @@ declare class SafeAccount extends SmartAccount {
675
737
  isMultiChainSignature?: boolean;
676
738
  }): string;
677
739
  sendUserOperation(userOperation: UserOperationV6 | UserOperationV7 | UserOperationV9, bundlerRpc: string): Promise<SendUseroperationResponse>;
678
- protected static createAccountAddressAndFactoryAddressAndData(owners: Signer[], overrides: BaseInitOverrides, safe4337ModuleAddress: string, safeModuleSetupAddress: string): [string, string, string];
679
- protected static createBaseInitializerCallData(owners: Signer[], threshold: number, safe4337ModuleAddress: string, safeModuleSetupAddress: string, multisendContractAddress?: string, webAuthnSharedSigner?: string, eip7212WebAuthnPrecompileVerifierForSharedSigner?: string, eip7212WebAuthnContractVerifierForSharedSigner?: string): string;
680
- 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];
681
743
  prependTokenPaymasterApproveToCallData(callData: string, tokenAddress: string, paymasterAddress: string, approveAmount: bigint, overrides?: {
682
744
  multisendContractAddress?: string;
683
745
  }): string;
684
746
  baseEstimateUserOperationGas(userOperation: UserOperationV6 | UserOperationV7, bundlerRpc: string, overrides?: {
685
747
  stateOverrideSet?: StateOverrideSet;
686
748
  dummySignerSignaturePairs?: SignerSignaturePair[];
687
- expectedSigners?: Signer[];
749
+ expectedSigners?: Signer$1[];
688
750
  webAuthnSharedSigner?: string;
689
751
  webAuthnSignerFactory?: string;
690
752
  webAuthnSignerSingleton?: string;
@@ -694,11 +756,17 @@ declare class SafeAccount extends SmartAccount {
694
756
  isMultiChainSignature?: boolean;
695
757
  }): Promise<[bigint, bigint, bigint]>;
696
758
  protected createBaseUserOperationAndFactoryAddressAndFactoryData(transactions: MetaTransaction[], isV06: boolean, providerRpc?: string, bundlerRpc?: string, overrides?: CreateBaseUserOperationOverrides): Promise<[BaseUserOperation, string | null, string | null]>;
697
- 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?: {
698
760
  validAfter?: bigint;
699
761
  validUntil?: bigint;
700
762
  isMultiChainSignature?: boolean;
701
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>;
702
770
  static createWebAuthnSignerVerifierAddress(x: bigint, y: bigint, overrides?: {
703
771
  eip7212WebAuthnPrecompileVerifier?: string;
704
772
  eip7212WebAuthnContractVerifier?: string;
@@ -707,11 +775,11 @@ declare class SafeAccount extends SmartAccount {
707
775
  webAuthnSignerProxyCreationCode?: string;
708
776
  }): string;
709
777
  static formatSignaturesToUseroperationSignature(signerSignaturePairs: SignerSignaturePair[], overrides?: WebAuthnSignatureOverrides): string;
710
- static getSignerLowerCaseAddress(signer: Signer, overrides?: WebAuthnSignatureOverrides): string;
778
+ static getSignerLowerCaseAddress(signer: Signer$1, overrides?: WebAuthnSignatureOverrides): string;
711
779
  static sortSignatures(signerSignaturePairs: SignerSignaturePair[], overrides?: WebAuthnSignatureOverrides): void;
712
780
  static buildSignaturesFromSingerSignaturePairs(signerSignaturePairs: SignerSignaturePair[], webAuthnSignatureOverrides?: WebAuthnSignatureOverrides): string;
713
781
  static createWebAuthnSignature(signatureData: WebauthnSignatureData): string;
714
- createSwapOwnerMetaTransactions(nodeRpcUrl: string, newOwner: Signer, oldOwner: Signer, overrides?: {
782
+ createSwapOwnerMetaTransactions(nodeRpcUrl: string, newOwner: Signer$1, oldOwner: Signer$1, overrides?: {
715
783
  prevOwner?: string;
716
784
  eip7212WebAuthnPrecompileVerifier?: string;
717
785
  eip7212WebAuthnContractVerifier?: string;
@@ -719,7 +787,7 @@ declare class SafeAccount extends SmartAccount {
719
787
  webAuthnSignerSingleton?: string;
720
788
  webAuthnSignerProxyCreationCode?: string;
721
789
  }): Promise<MetaTransaction[]>;
722
- createRemoveOwnerMetaTransaction(nodeRpcUrl: string, ownerToDelete: Signer, threshold: number, overrides?: {
790
+ createRemoveOwnerMetaTransaction(nodeRpcUrl: string, ownerToDelete: Signer$1, threshold: number, overrides?: {
723
791
  prevOwner?: string;
724
792
  eip7212WebAuthnPrecompileVerifier?: string;
725
793
  eip7212WebAuthnContractVerifier?: string;
@@ -727,7 +795,7 @@ declare class SafeAccount extends SmartAccount {
727
795
  webAuthnSignerSingleton?: string;
728
796
  webAuthnSignerProxyCreationCode?: string;
729
797
  }): Promise<MetaTransaction>;
730
- createAddOwnerWithThresholdMetaTransactions(newOwner: Signer, threshold: number, overrides?: {
798
+ createAddOwnerWithThresholdMetaTransactions(newOwner: Signer$1, threshold: number, overrides?: {
731
799
  nodeRpcUrl?: string;
732
800
  eip7212WebAuthnPrecompileVerifier?: string;
733
801
  eip7212WebAuthnContractVerifier?: string;
@@ -752,7 +820,7 @@ declare class SafeAccount extends SmartAccount {
752
820
  pageSize?: bigint;
753
821
  }): Promise<[string[], string]>;
754
822
  isModuleEnabled(nodeRpcUrl: string, moduleAddress: string): Promise<boolean>;
755
- static createDummySignerSignaturePairForExpectedSigners(expectedSigners: Signer[], webAuthnSignatureOverrides?: WebAuthnSignatureOverrides): SignerSignaturePair[];
823
+ static createDummySignerSignaturePairForExpectedSigners(expectedSigners: Signer$1[], webAuthnSignatureOverrides?: WebAuthnSignatureOverrides): SignerSignaturePair[];
756
824
  static verifyWebAuthnSignatureForMessageHash(nodeRpcUrl: string, signer: WebauthnPublicKey, messageHash: string, signature: string, overrides?: {
757
825
  eip7212WebAuthnPrecompileVerifier?: string;
758
826
  eip7212WebAuthnContractVerifier?: string;
@@ -805,8 +873,8 @@ declare class SafeMultiChainSigAccountV1 extends SafeAccount {
805
873
  onChainIdentifier?: string;
806
874
  safeAccountSingleton?: SafeAccountSingleton;
807
875
  });
808
- static createAccountAddress(owners: Signer[], overrides?: InitCodeOverrides): string;
809
- 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;
810
878
  static getUserOperationEip712Hash(useroperation: UserOperationV9, chainId: bigint, overrides?: {
811
879
  validAfter?: bigint;
812
880
  validUntil?: bigint;
@@ -826,7 +894,7 @@ declare class SafeMultiChainSigAccountV1 extends SafeAccount {
826
894
  }[]>;
827
895
  messageValue: SafeUserOperationV9TypedMessageValue;
828
896
  };
829
- static createInitializerCallData(owners: Signer[], threshold: number, overrides?: {
897
+ static createInitializerCallData(owners: Signer$1[], threshold: number, overrides?: {
830
898
  safe4337ModuleAddress?: string;
831
899
  safeModuleSetupAddress?: string;
832
900
  multisendContractAddress?: string;
@@ -834,13 +902,18 @@ declare class SafeMultiChainSigAccountV1 extends SafeAccount {
834
902
  eip7212WebAuthnPrecompileVerifierForSharedSigner?: string;
835
903
  eip7212WebAuthnContractVerifierForSharedSigner?: string;
836
904
  }): string;
837
- static createFactoryAddressAndData(owners: Signer[], overrides?: InitCodeOverrides): [string, string];
905
+ static createFactoryAddressAndData(owners: Signer$1[], overrides?: InitCodeOverrides): [string, string];
838
906
  createUserOperation(transactions: MetaTransaction[], providerRpc?: string, bundlerRpc?: string, overrides?: CreateUserOperationV9Overrides): Promise<UserOperationV9>;
839
907
  signUserOperation(userOperation: UserOperationV9, privateKeys: string[], chainId: bigint, overrides?: {
840
908
  validAfter?: bigint;
841
909
  validUntil?: bigint;
842
910
  }): string;
911
+ signUserOperationWithSigners(userOperation: UserOperationV9, signers: ReadonlyArray<Signer>, chainId: bigint, overrides?: {
912
+ validAfter?: bigint;
913
+ validUntil?: bigint;
914
+ }): Promise<string>;
843
915
  signUserOperations(userOperationsToSign: UserOperationToSign[], privateKeys: string[]): string[];
916
+ signUserOperationsWithSigners(userOperationsToSign: UserOperationToSign[], signers: ReadonlyArray<Signer<MultiOpSignContext<UserOperationV9>>>): Promise<string[]>;
844
917
  static getMultiChainSingleSignatureUserOperationsEip712Hash(userOperationsToSignsToSign: UserOperationToSign[], overrides?: {
845
918
  safe4337ModuleAddress?: string;
846
919
  }): string;
@@ -855,7 +928,7 @@ declare class SafeMultiChainSigAccountV1 extends SafeAccount {
855
928
  }[]>;
856
929
  messageValue: MultiChainSignatureMerkleTreeRootTypedMessageValue;
857
930
  };
858
- static formatSignaturesToUseroperationsSignatures(userOperationsToSign: UserOperationToSign[], signerSignaturePairs: SignerSignaturePair[], overrides?: WebAuthnSignatureOverrides): string[];
931
+ static formatSignaturesToUseroperationsSignatures(userOperationsToSign: UserOperationToSignWithOverrides[], signerSignaturePairs: SignerSignaturePair[]): string[];
859
932
  static createWebAuthnSignerVerifierAddress(x: bigint, y: bigint, overrides?: {
860
933
  eip7212WebAuthnPrecompileVerifier?: string;
861
934
  eip7212WebAuthnContractVerifier?: string;
@@ -868,7 +941,7 @@ declare class SafeMultiChainSigAccountV1 extends SafeAccount {
868
941
  eip7212WebAuthnContractVerifier?: string;
869
942
  webAuthnSignerFactory?: string;
870
943
  }): MetaTransaction;
871
- static createDummySignerSignaturePairForExpectedSigners(expectedSigners: Signer[], webAuthnSignatureOverrides?: WebAuthnSignatureOverrides): SignerSignaturePair[];
944
+ static createDummySignerSignaturePairForExpectedSigners(expectedSigners: Signer$1[], webAuthnSignatureOverrides?: WebAuthnSignatureOverrides): SignerSignaturePair[];
872
945
  static verifyWebAuthnSignatureForMessageHash(nodeRpcUrl: string, signer: WebauthnPublicKey, messageHash: string, signature: string, overrides?: {
873
946
  eip7212WebAuthnPrecompileVerifier?: string;
874
947
  eip7212WebAuthnContractVerifier?: string;
@@ -890,6 +963,11 @@ interface SmartAccountWithEntrypoint {
890
963
  interface PrependTokenPaymasterApproveAccount extends SmartAccountWithEntrypoint {
891
964
  prependTokenPaymasterApproveToCallData(callData: string, tokenAddress: string, paymasterAddress: string, approveAmount: bigint): string;
892
965
  }
966
+ type Erc7677Provider = "pimlico" | "candide" | null;
967
+ interface Erc7677PaymasterConstructorOptions {
968
+ chainId?: bigint;
969
+ provider?: "auto" | Erc7677Provider;
970
+ }
893
971
  interface BasePaymasterUserOperationOverrides {
894
972
  entrypoint?: string;
895
973
  resetApproval?: boolean;
@@ -965,7 +1043,6 @@ interface CaliburSignatureOverrides {
965
1043
  hookData?: string;
966
1044
  keyHash?: string;
967
1045
  }
968
- type SignerFunction = (hash: string) => Promise<string>;
969
1046
  //#endregion
970
1047
  //#region src/account/Calibur/Calibur7702Account.d.ts
971
1048
  declare class Calibur7702Account extends SmartAccount implements PrependTokenPaymasterApproveAccount {
@@ -983,7 +1060,8 @@ declare class Calibur7702Account extends SmartAccount implements PrependTokenPay
983
1060
  static createAccountCallData(transactions: SimpleMetaTransaction[], revertOnFailure?: boolean): string;
984
1061
  createUserOperation(transactions: SimpleMetaTransaction[], providerRpc?: string, bundlerRpc?: string, overrides?: CaliburCreateUserOperationOverrides): Promise<UserOperationV8>;
985
1062
  signUserOperation(userOperation: UserOperationV8, privateKey: string, chainId: bigint, overrides?: CaliburSignatureOverrides): string;
986
- signUserOperationWithSigner(userOperation: UserOperationV8, signer: SignerFunction, chainId: bigint, overrides?: CaliburSignatureOverrides): Promise<string>;
1063
+ static readonly ACCEPTED_SIGNING_SCHEMES: readonly SigningScheme[];
1064
+ signUserOperationWithSigner(userOperation: UserOperationV8, signer: Signer, chainId: bigint, overrides?: CaliburSignatureOverrides): Promise<string>;
987
1065
  formatWebAuthnSignature(keyHash: string, webAuthnAuth: WebAuthnSignatureData, overrides?: CaliburSignatureOverrides): string;
988
1066
  sendUserOperation(userOperation: UserOperationV8, bundlerRpc: string): Promise<SendUseroperationResponse>;
989
1067
  static createSecp256k1Key(address: string): CaliburKey;
@@ -1016,6 +1094,51 @@ declare class Calibur7702Account extends SmartAccount implements PrependTokenPay
1016
1094
  static prependTokenPaymasterApproveToCallDataStatic(callData: string, tokenAddress: string, paymasterAddress: string, approveAmount: bigint): string;
1017
1095
  }
1018
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
1019
1142
  //#region src/account/Safe/modules/SafeModule.d.ts
1020
1143
  declare abstract class SafeModule {
1021
1144
  readonly moduleAddress: string;
@@ -1144,7 +1267,7 @@ declare class SafeAccountV0_2_0 extends SafeAccount {
1144
1267
  onChainIdentifierParams?: OnChainIdentifierParamsType;
1145
1268
  onChainIdentifier?: string;
1146
1269
  });
1147
- static createAccountAddress(owners: Signer[], overrides?: {
1270
+ static createAccountAddress(owners: Signer$1[], overrides?: {
1148
1271
  threshold?: number;
1149
1272
  c2Nonce?: bigint;
1150
1273
  safe4337ModuleAddress?: string;
@@ -1156,7 +1279,7 @@ declare class SafeAccountV0_2_0 extends SafeAccount {
1156
1279
  eip7212WebAuthnPrecompileVerifierForSharedSigner?: string;
1157
1280
  eip7212WebAuthnContractVerifierForSharedSigner?: string;
1158
1281
  }): string;
1159
- static initializeNewAccount(owners: Signer[], overrides?: InitCodeOverrides): SafeAccountV0_2_0;
1282
+ static initializeNewAccount(owners: Signer$1[], overrides?: InitCodeOverrides): SafeAccountV0_2_0;
1160
1283
  static getUserOperationEip712Hash(useroperation: UserOperationV6, chainId: bigint, overrides?: {
1161
1284
  validAfter?: bigint;
1162
1285
  validUntil?: bigint;
@@ -1176,8 +1299,8 @@ declare class SafeAccountV0_2_0 extends SafeAccount {
1176
1299
  }[]>;
1177
1300
  messageValue: SafeUserOperationV6TypedMessageValue;
1178
1301
  };
1179
- static createAccountAddressAndInitCode(owners: Signer[], overrides?: InitCodeOverrides): [string, string];
1180
- 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?: {
1181
1304
  safe4337ModuleAddress?: string;
1182
1305
  safeModuleSetupAddress?: string;
1183
1306
  multisendContractAddress?: string;
@@ -1185,7 +1308,7 @@ declare class SafeAccountV0_2_0 extends SafeAccount {
1185
1308
  eip7212WebAuthnPrecompileVerifierForSharedSigner?: string;
1186
1309
  eip7212WebAuthnContractVerifierForSharedSigner?: string;
1187
1310
  }): string;
1188
- static createInitCode(owners: Signer[], overrides?: InitCodeOverrides): string;
1311
+ static createInitCode(owners: Signer$1[], overrides?: InitCodeOverrides): string;
1189
1312
  createUserOperation(transactions: MetaTransaction[], providerRpc?: string, bundlerRpc?: string, overrides?: CreateUserOperationV6Overrides): Promise<UserOperationV6>;
1190
1313
  createMigrateToSafeAccountV0_3_0MetaTransactions(nodeRpcUrl: string, overrides?: {
1191
1314
  safeV06ModuleAddress?: string;
@@ -1196,7 +1319,7 @@ declare class SafeAccountV0_2_0 extends SafeAccount {
1196
1319
  estimateUserOperationGas(userOperation: UserOperationV6, bundlerRpc: string, overrides?: {
1197
1320
  stateOverrideSet?: StateOverrideSet;
1198
1321
  dummySignerSignaturePairs?: SignerSignaturePair[];
1199
- expectedSigners?: Signer[];
1322
+ expectedSigners?: Signer$1[];
1200
1323
  webAuthnSharedSigner?: string;
1201
1324
  webAuthnSignerFactory?: string;
1202
1325
  webAuthnSignerSingleton?: string;
@@ -1208,6 +1331,11 @@ declare class SafeAccountV0_2_0 extends SafeAccount {
1208
1331
  validAfter?: bigint;
1209
1332
  validUntil?: bigint;
1210
1333
  }): string;
1334
+ signUserOperationWithSigners(useroperation: UserOperationV6, signers: ReadonlyArray<Signer>, chainId: bigint, overrides?: {
1335
+ validAfter?: bigint;
1336
+ validUntil?: bigint;
1337
+ isMultiChainSignature?: boolean;
1338
+ }): Promise<string>;
1211
1339
  }
1212
1340
  //#endregion
1213
1341
  //#region src/account/Safe/SafeAccountV0_3_0.d.ts
@@ -1222,8 +1350,8 @@ declare class SafeAccountV0_3_0 extends SafeAccount {
1222
1350
  onChainIdentifier?: string;
1223
1351
  safeAccountSingleton?: SafeAccountSingleton;
1224
1352
  });
1225
- static createAccountAddress(owners: Signer[], overrides?: InitCodeOverrides): string;
1226
- 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;
1227
1355
  static getUserOperationEip712Hash(useroperation: UserOperationV7, chainId: bigint, overrides?: {
1228
1356
  validAfter?: bigint;
1229
1357
  validUntil?: bigint;
@@ -1243,7 +1371,7 @@ declare class SafeAccountV0_3_0 extends SafeAccount {
1243
1371
  }[]>;
1244
1372
  messageValue: SafeUserOperationV7TypedMessageValue;
1245
1373
  };
1246
- static createInitializerCallData(owners: Signer[], threshold: number, overrides?: {
1374
+ static createInitializerCallData(owners: Signer$1[], threshold: number, overrides?: {
1247
1375
  safe4337ModuleAddress?: string;
1248
1376
  safeModuleSetupAddress?: string;
1249
1377
  multisendContractAddress?: string;
@@ -1251,12 +1379,12 @@ declare class SafeAccountV0_3_0 extends SafeAccount {
1251
1379
  eip7212WebAuthnPrecompileVerifierForSharedSigner?: string;
1252
1380
  eip7212WebAuthnContractVerifierForSharedSigner?: string;
1253
1381
  }): string;
1254
- static createFactoryAddressAndData(owners: Signer[], overrides?: InitCodeOverrides): [string, string];
1382
+ static createFactoryAddressAndData(owners: Signer$1[], overrides?: InitCodeOverrides): [string, string];
1255
1383
  createUserOperation(transactions: MetaTransaction[], providerRpc?: string, bundlerRpc?: string, overrides?: CreateUserOperationV7Overrides): Promise<UserOperationV7>;
1256
1384
  estimateUserOperationGas(userOperation: UserOperationV7, bundlerRpc: string, overrides?: {
1257
1385
  stateOverrideSet?: StateOverrideSet;
1258
1386
  dummySignerSignaturePairs?: SignerSignaturePair[];
1259
- expectedSigners?: Signer[];
1387
+ expectedSigners?: Signer$1[];
1260
1388
  webAuthnSharedSigner?: string;
1261
1389
  webAuthnSignerFactory?: string;
1262
1390
  webAuthnSignerSingleton?: string;
@@ -1268,6 +1396,11 @@ declare class SafeAccountV0_3_0 extends SafeAccount {
1268
1396
  validAfter?: bigint;
1269
1397
  validUntil?: bigint;
1270
1398
  }): string;
1399
+ signUserOperationWithSigners(useroperation: UserOperationV7, signers: ReadonlyArray<Signer>, chainId: bigint, overrides?: {
1400
+ validAfter?: bigint;
1401
+ validUntil?: bigint;
1402
+ isMultiChainSignature?: boolean;
1403
+ }): Promise<string>;
1271
1404
  }
1272
1405
  //#endregion
1273
1406
  //#region src/account/Safe/SafeAccountV1_5_0_M_0_3_0.d.ts
@@ -1286,14 +1419,14 @@ declare class SafeAccountV1_5_0_M_0_3_0 extends SafeAccountV0_3_0 {
1286
1419
  safeFactoryAddress?: string;
1287
1420
  singletonInitHash?: string;
1288
1421
  }): string;
1289
- static initializeNewAccount(owners: Signer[], overrides?: InitCodeOverrides): SafeAccountV1_5_0_M_0_3_0;
1290
- static createAccountAddress(owners: Signer[], overrides?: InitCodeOverrides): string;
1291
- 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];
1292
1425
  createUserOperation(transactions: MetaTransaction[], providerRpc?: string, bundlerRpc?: string, overrides?: CreateUserOperationV7Overrides): Promise<UserOperationV7>;
1293
1426
  estimateUserOperationGas(userOperation: UserOperationV7, bundlerRpc: string, overrides?: {
1294
1427
  stateOverrideSet?: StateOverrideSet;
1295
1428
  dummySignerSignaturePairs?: SignerSignaturePair[];
1296
- expectedSigners?: Signer[];
1429
+ expectedSigners?: Signer$1[];
1297
1430
  webAuthnSharedSigner?: string;
1298
1431
  webAuthnSignerFactory?: string;
1299
1432
  webAuthnSignerSingleton?: string;
@@ -1313,7 +1446,7 @@ declare class SafeAccountV1_5_0_M_0_3_0 extends SafeAccountV0_3_0 {
1313
1446
  eip7212WebAuthnContractVerifier?: string;
1314
1447
  webAuthnSignerFactory?: string;
1315
1448
  }): MetaTransaction;
1316
- static createDummySignerSignaturePairForExpectedSigners(expectedSigners: Signer[], webAuthnSignatureOverrides?: WebAuthnSignatureOverrides): SignerSignaturePair[];
1449
+ static createDummySignerSignaturePairForExpectedSigners(expectedSigners: Signer$1[], webAuthnSignatureOverrides?: WebAuthnSignatureOverrides): SignerSignaturePair[];
1317
1450
  static verifyWebAuthnSignatureForMessageHash(nodeRpcUrl: string, signer: WebauthnPublicKey, messageHash: string, signature: string, overrides?: {
1318
1451
  eip7212WebAuthnPrecompileVerifier?: string;
1319
1452
  eip7212WebAuthnContractVerifier?: string;
@@ -1376,6 +1509,44 @@ declare class CandidePaymaster extends Paymaster {
1376
1509
  fetchSupportedERC20TokensAndPaymasterMetadata(entrypoint?: string): Promise<SupportedERC20TokensAndMetadataWithExchangeRate>;
1377
1510
  }
1378
1511
  //#endregion
1512
+ //#region src/paymaster/Erc7677Paymaster.d.ts
1513
+ type Erc7677Context = Record<string, unknown>;
1514
+ interface Erc7677PaymasterFields {
1515
+ paymaster?: string;
1516
+ paymasterData?: string;
1517
+ paymasterVerificationGasLimit?: bigint | string;
1518
+ paymasterPostOpGasLimit?: bigint | string;
1519
+ paymasterAndData?: string;
1520
+ }
1521
+ interface Erc7677StubDataResult extends Erc7677PaymasterFields {
1522
+ isFinal?: boolean;
1523
+ [key: string]: unknown;
1524
+ }
1525
+ declare class Erc7677Paymaster extends Paymaster {
1526
+ readonly rpcUrl: string;
1527
+ private chainId;
1528
+ readonly provider: Erc7677Provider;
1529
+ private candideCache;
1530
+ static detectProvider(rpcUrl: string): Erc7677Provider;
1531
+ constructor(rpcUrl: string, options?: Erc7677PaymasterConstructorOptions);
1532
+ private getChainId;
1533
+ private resolveEntrypoint;
1534
+ getPaymasterStubData(userOperation: AnyUserOperation, entrypoint: string, chainIdHex: string, context?: Erc7677Context): Promise<Erc7677StubDataResult>;
1535
+ getPaymasterData(userOperation: AnyUserOperation, entrypoint: string, chainIdHex: string, context?: Erc7677Context): Promise<Erc7677PaymasterFields>;
1536
+ sendRPCRequest(method: string, params?: unknown[]): Promise<unknown>;
1537
+ createPaymasterUserOperation<T extends AnyUserOperation>(smartAccount: SmartAccountWithEntrypoint, userOperation: T, bundlerRpc: string, context?: Erc7677Context, overrides?: GasPaymasterUserOperationOverrides): Promise<SameUserOp<T>>;
1538
+ private applyPaymasterFields;
1539
+ private estimateAndApplyGasLimits;
1540
+ private fetchPimlicoTokenQuote;
1541
+ private fetchCandideSupportedTokens;
1542
+ private fetchCandideTokenQuote;
1543
+ private candideStubFromMetadata;
1544
+ private getStubData;
1545
+ private fetchProviderTokenQuote;
1546
+ private tokenPaymasterFlow;
1547
+ private sponsoredFlow;
1548
+ }
1549
+ //#endregion
1379
1550
  //#region src/paymaster/AllowAllPaymaster.d.ts
1380
1551
  declare class ExperimentalAllowAllParallelPaymaster extends Paymaster {
1381
1552
  readonly address: string;
@@ -1429,34 +1600,34 @@ declare function simulateUserOperationWithTenderly(tenderlyAccountSlug: string,
1429
1600
  interface BaseUserOperationToSimulate {
1430
1601
  sender: string;
1431
1602
  callData: string;
1432
- nonce: any;
1433
- callGasLimit: any;
1434
- verificationGasLimit: any;
1435
- preVerificationGas: any;
1436
- maxFeePerGas: any;
1437
- maxPriorityFeePerGas: any;
1438
- signature: any;
1603
+ nonce: bigint;
1604
+ callGasLimit: bigint;
1605
+ verificationGasLimit: bigint;
1606
+ preVerificationGas: bigint;
1607
+ maxFeePerGas: bigint;
1608
+ maxPriorityFeePerGas: bigint;
1609
+ signature: string;
1439
1610
  }
1440
1611
  interface UserOperationV6ToSimulate extends BaseUserOperationToSimulate {
1441
1612
  initCode: string | null;
1442
- paymasterAndData: any;
1613
+ paymasterAndData: string;
1443
1614
  }
1444
1615
  interface UserOperationV7ToSimulate extends BaseUserOperationToSimulate {
1445
1616
  factory: string | null;
1446
1617
  factoryData: string | null;
1447
- paymaster: any;
1448
- paymasterVerificationGasLimit: any;
1449
- paymasterPostOpGasLimit: any;
1450
- paymasterData: any;
1618
+ paymaster: string | null;
1619
+ paymasterVerificationGasLimit: bigint | null;
1620
+ paymasterPostOpGasLimit: bigint | null;
1621
+ paymasterData: string | null;
1451
1622
  }
1452
1623
  interface UserOperationV8ToSimulate extends BaseUserOperationToSimulate {
1453
1624
  factory: string | null;
1454
1625
  factoryData: string | null;
1455
- paymaster: any;
1456
- paymasterVerificationGasLimit: any;
1457
- paymasterPostOpGasLimit: any;
1458
- paymasterData: any;
1459
- eip7702Auth: any;
1626
+ paymaster: string | null;
1627
+ paymasterVerificationGasLimit: bigint | null;
1628
+ paymasterPostOpGasLimit: bigint | null;
1629
+ paymasterData: string | null;
1630
+ eip7702Auth: Authorization7702Hex | null;
1460
1631
  }
1461
1632
  interface UserOperationV9ToSimulate extends UserOperationV8ToSimulate {}
1462
1633
  declare function simulateUserOperationCallDataWithTenderlyAndCreateShareLink(tenderlyAccountSlug: string, tenderlyProjectSlug: string, tenderlyAccessKey: string, chainId: bigint, entrypointAddress: string, userOperation: UserOperationV6ToSimulate | UserOperationV7ToSimulate | UserOperationV8ToSimulate | UserOperationV9ToSimulate, blockNumber?: number | null, stateOverrides?: OverrideType | null): Promise<{
@@ -1554,8 +1725,8 @@ declare class AbstractionKitError extends Error {
1554
1725
  stringify(): string;
1555
1726
  }
1556
1727
  declare namespace abstractionkit_d_exports {
1557
- 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, ExperimentalAllowAllParallelPaymaster, GasEstimationResult, GasOption, 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, Signer, SignerFunction, SignerSignaturePair, Simple7702Account, Simple7702AccountV09, SmartAccount, SmartAccountFactory, SocialRecoveryModule, SocialRecoveryModuleGracePeriodSelector, SponsorMetadata, StateOverrideSet, 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, getBalanceOf, getDelegatedAddress, getDepositInfo, getFunctionSelector, getSafeMessageEip712Data, sendJsonRpcRequest, shareTenderlySimulationAndCreateLink, signHash, simulateSenderCallDataWithTenderly, simulateSenderCallDataWithTenderlyAndCreateShareLink, simulateUserOperationCallDataWithTenderly, simulateUserOperationCallDataWithTenderlyAndCreateShareLink, simulateUserOperationWithTenderly, simulateUserOperationWithTenderlyAndCreateShareLink };
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 };
1558
1729
  }
1559
1730
  //#endregion
1560
- 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, ExperimentalAllowAllParallelPaymaster, type GasEstimationResult, GasOption, 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 Signer, type SignerFunction, type SignerSignaturePair, Simple7702Account, Simple7702AccountV09, SmartAccount, SmartAccountFactory, SocialRecoveryModule, SocialRecoveryModuleGracePeriodSelector, type SponsorMetadata, type StateOverrideSet, 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, getBalanceOf, getDelegatedAddress, getDepositInfo, getFunctionSelector, getSafeMessageEip712Data, sendJsonRpcRequest, shareTenderlySimulationAndCreateLink, signHash, simulateSenderCallDataWithTenderly, simulateSenderCallDataWithTenderlyAndCreateShareLink, simulateUserOperationCallDataWithTenderly, simulateUserOperationCallDataWithTenderlyAndCreateShareLink, simulateUserOperationWithTenderly, simulateUserOperationWithTenderlyAndCreateShareLink };
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 };
1561
1732
  //# sourceMappingURL=index.d.cts.map