abstractionkit 0.1.4 → 0.1.6

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.
Files changed (47) hide show
  1. package/dist/Bundler.d.ts +7 -8
  2. package/dist/Bundler.d.ts.map +1 -1
  3. package/dist/abstractionkit.d.ts +8 -8
  4. package/dist/abstractionkit.d.ts.map +1 -1
  5. package/dist/account/Safe/SafeAccount.d.ts +24 -20
  6. package/dist/account/Safe/SafeAccount.d.ts.map +1 -1
  7. package/dist/account/Safe/SafeAccountV0_2_0.d.ts +17 -0
  8. package/dist/account/Safe/SafeAccountV0_2_0.d.ts.map +1 -0
  9. package/dist/account/Safe/SafeAccountWebAuth.d.ts +31 -0
  10. package/dist/account/Safe/SafeAccountWebAuth.d.ts.map +1 -0
  11. package/dist/account/Safe/modules/SafeModule.d.ts +5 -0
  12. package/dist/account/Safe/modules/SafeModule.d.ts.map +1 -0
  13. package/dist/account/Safe/modules/SocialRecoveryModule.d.ts +6 -0
  14. package/dist/account/Safe/modules/SocialRecoveryModule.d.ts.map +1 -0
  15. package/dist/account/Safe/multisend.d.ts +3 -2
  16. package/dist/account/Safe/multisend.d.ts.map +1 -1
  17. package/dist/account/Safe/types.d.ts +51 -16
  18. package/dist/account/Safe/types.d.ts.map +1 -1
  19. package/dist/account/SendUseroperationResponse.d.ts +2 -2
  20. package/dist/account/SendUseroperationResponse.d.ts.map +1 -1
  21. package/dist/account/SmartAccount.d.ts +2 -3
  22. package/dist/account/SmartAccount.d.ts.map +1 -1
  23. package/dist/constants.d.ts +2 -2
  24. package/dist/constants.d.ts.map +1 -1
  25. package/dist/errors.d.ts +24 -0
  26. package/dist/errors.d.ts.map +1 -0
  27. package/dist/factory/SmartAccountFactory.d.ts +1 -2
  28. package/dist/factory/SmartAccountFactory.d.ts.map +1 -1
  29. package/dist/index.js +1 -1
  30. package/dist/index.m.js +1 -1
  31. package/dist/index.modern.mjs +1 -1
  32. package/dist/index.umd.js +1 -1
  33. package/dist/paymaster/CandidePaymaster.d.ts +21 -0
  34. package/dist/paymaster/CandidePaymaster.d.ts.map +1 -0
  35. package/dist/paymaster/Paymaster.d.ts +3 -6
  36. package/dist/paymaster/Paymaster.d.ts.map +1 -1
  37. package/dist/paymaster/types.d.ts +17 -0
  38. package/dist/paymaster/types.d.ts.map +1 -0
  39. package/dist/types.d.ts +49 -59
  40. package/dist/types.d.ts.map +1 -1
  41. package/dist/utils.d.ts +7 -7
  42. package/dist/utils.d.ts.map +1 -1
  43. package/package.json +1 -1
  44. package/dist/factory/SimpleAccountFactory.d.ts +0 -5
  45. package/dist/factory/SimpleAccountFactory.d.ts.map +0 -1
  46. package/dist/paymaster/CandideValidationPaymaster.d.ts +0 -13
  47. package/dist/paymaster/CandideValidationPaymaster.d.ts.map +0 -1
package/dist/Bundler.d.ts CHANGED
@@ -1,13 +1,12 @@
1
- import type { UserOperation, BundlerJsonRpcError, GasEstimationResult, UserOperationByHashResult, UserOperationReceiptResult, StateOverrideSet } from "./types";
2
- import { BytesLike } from "ethers";
1
+ import type { UserOperation, GasEstimationResult, UserOperationByHashResult, UserOperationReceiptResult, StateOverrideSet } from "./types";
3
2
  export declare class Bundler {
4
3
  readonly rpcUrl: string;
5
4
  constructor(rpcUrl: string);
6
- chainId(): Promise<string | BundlerJsonRpcError>;
7
- supportedEntryPoints(): Promise<string[] | BundlerJsonRpcError>;
8
- estimateUserOperationGas(useroperation: UserOperation, entrypointAddress: string, state_override_set?: StateOverrideSet): Promise<GasEstimationResult | BundlerJsonRpcError>;
9
- sendUserOperation(useroperation: UserOperation, entrypointAddress: string): Promise<string | BundlerJsonRpcError>;
10
- getUserOperationReceipt(useroperationhash: BytesLike): Promise<UserOperationReceiptResult | BundlerJsonRpcError>;
11
- getUserOperationByHash(useroperationhash: BytesLike): Promise<UserOperationByHashResult | BundlerJsonRpcError>;
5
+ chainId(): Promise<string>;
6
+ supportedEntryPoints(): Promise<string[]>;
7
+ estimateUserOperationGas(useroperation: UserOperation, entrypointAddress: string, state_override_set?: StateOverrideSet): Promise<GasEstimationResult>;
8
+ sendUserOperation(useroperation: UserOperation, entrypointAddress: string): Promise<string>;
9
+ getUserOperationReceipt(useroperationhash: string): Promise<UserOperationReceiptResult>;
10
+ getUserOperationByHash(useroperationhash: string): Promise<UserOperationByHashResult>;
12
11
  }
13
12
  //# sourceMappingURL=Bundler.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Bundler.d.ts","sourceRoot":"","sources":["../src/Bundler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,aAAa,EACb,mBAAmB,EACnB,mBAAmB,EACnB,yBAAyB,EAEzB,0BAA0B,EAC1B,gBAAgB,EAEhB,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAGnC,qBAAa,OAAO;IACnB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;gBAEZ,MAAM,EAAE,MAAM;IAIpB,OAAO,IAAI,OAAO,CAAC,MAAM,GAAE,mBAAmB,CAAC;IAa/C,oBAAoB,IAAI,OAAO,CACpC,MAAM,EAAE,GAAG,mBAAmB,CAC9B;IAcK,wBAAwB,CAC7B,aAAa,EAAE,aAAa,EAC5B,iBAAiB,EAAE,MAAM,EACzB,kBAAkB,CAAC,EAAE,gBAAgB,GACnC,OAAO,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;IAsB/C,iBAAiB,CACtB,aAAa,EAAE,aAAa,EAC5B,iBAAiB,EAAE,MAAM,GACvB,OAAO,CAAC,MAAM,GAAG,mBAAmB,CAAC;IAclC,uBAAuB,CAC5B,iBAAiB,EAAE,SAAS,GAC1B,OAAO,CAAC,0BAA0B,GAAG,mBAAmB,CAAC;IAyBtD,sBAAsB,CAC3B,iBAAiB,EAAE,SAAS,GAC1B,OAAO,CAAC,yBAAyB,GAAG,mBAAmB,CAAC;CAa3D"}
1
+ {"version":3,"file":"Bundler.d.ts","sourceRoot":"","sources":["../src/Bundler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,aAAa,EACb,mBAAmB,EACnB,yBAAyB,EAEzB,0BAA0B,EAC1B,gBAAgB,EAEhB,MAAM,SAAS,CAAC;AAIjB,qBAAa,OAAO;IACnB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;gBAEZ,MAAM,EAAE,MAAM;IAQpB,OAAO,IAAI,OAAO,CAAC,MAAM,CAAC;IAgC1B,oBAAoB,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC;IA4BzC,wBAAwB,CAC7B,aAAa,EAAE,aAAa,EAC5B,iBAAiB,EAAE,MAAM,EACzB,kBAAkB,CAAC,EAAE,gBAAgB,GACnC,OAAO,CAAC,mBAAmB,CAAC;IA2CzB,iBAAiB,CACtB,aAAa,EAAE,aAAa,EAC5B,iBAAiB,EAAE,MAAM,GACvB,OAAO,CAAC,MAAM,CAAC;IA0BZ,uBAAuB,CAC5B,iBAAiB,EAAE,MAAM,GACvB,OAAO,CAAC,0BAA0B,CAAC;IAyDhC,sBAAsB,CAC3B,iBAAiB,EAAE,MAAM,GACvB,OAAO,CAAC,yBAAyB,CAAC;CA+BrC"}
@@ -1,14 +1,14 @@
1
1
  export { SmartAccount } from "./account/SmartAccount";
2
- export { MetaTransaction } from "./account/Safe/types";
3
- export { SafeAccount } from "./account/Safe/SafeAccount";
2
+ export { SafeAccountV0_2_0 } from "./account/Safe/SafeAccountV0_2_0";
3
+ export { SafeAccountWebAuth } from "./account/Safe/SafeAccountWebAuth";
4
4
  export { SendUseroperationResponse } from "./account/SendUseroperationResponse";
5
5
  export { SmartAccountFactory } from "./factory/SmartAccountFactory";
6
6
  export { SafeAccountFactory } from "./factory/SafeAccountFactory";
7
- export { SimpleAccountFactory } from "./factory/SimpleAccountFactory";
8
7
  export { Bundler } from "./Bundler";
9
- export { CandideValidationPaymaster } from "./paymaster/CandideValidationPaymaster";
10
- export { createUserOperationHash, createCallData, getFunctionSelector, fetchAccountNonce } from "./utils";
11
- export { UserOperationEmptyValues, UserOperationDummyValues } from "./constants";
12
- export { Operation } from "./types";
13
- export type { UserOperation, AbiInputValue, JsonRpcParam, JsonRpcResponse, JsonRpcResult, BundlerJsonRpcError, GasEstimationResult, UserOperationByHashResult, UserOperationReceipt, UserOperationReceiptResult, JsonRpcError, } from "./types";
8
+ export { CandidePaymaster } from "./paymaster/CandidePaymaster";
9
+ export { createUserOperationHash, createCallData, getFunctionSelector, fetchAccountNonce, calculateUserOperationMaxGasCost, } from "./utils";
10
+ export { CreateUserOperationOverrides, InitCodeOverrides, SafeModuleExecutorFunctionSelector, SafeUserOperationTypedDataDomain, SafeUserOperationTypedDataValues, WebauthPublicKey, DummySignature, WebauthSignatureData, SignerSignaturePair } from "./account/Safe/types";
11
+ export { CandidePaymasterContext, PrependTokenPaymasterApproveAccount, } from "./paymaster/types";
12
+ export { UserOperation, AbiInputValue, JsonRpcParam, JsonRpcResponse, JsonRpcResult, GasEstimationResult, UserOperationByHashResult, UserOperationReceipt, UserOperationReceiptResult, JsonRpcError, StateOverrideSet, Operation, MetaTransaction, } from "./types";
13
+ export { ZeroAddress, UserOperationDummyValues } from "./constants";
14
14
  //# sourceMappingURL=abstractionkit.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"abstractionkit.d.ts","sourceRoot":"","sources":["../src/abstractionkit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAEzD,OAAO,EAAE,yBAAyB,EAAE,MAAM,qCAAqC,CAAC;AAEhF,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAClE,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAEtE,OAAO,EAAE,OAAO,EAAE,MA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OAAO,EACN,uBAAuB,EACvB,mCAAmC,GACnC,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EACN,aAAa,EACb,aAAa,EACb,YAAY,EACZ,eAAe,EACf,aAAa,EACb,mBAAmB,EACnB,yBAAyB,EACzB,oBAAoB,EACpB,0BAA0B,EAC1B,YAAY,EACZ,gBAAgB,EAChB,SAAS,EACT,eAAe,GACf,MAAM,SAAS,CAAC;AAEjB,OAAO,EAAE,WAAW,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC"}
@@ -1,33 +1,37 @@
1
- import { BytesLike } from "ethers";
2
1
  import { SmartAccount } from "../SmartAccount";
3
- import { BundlerJsonRpcError, JsonRpcError, Operation, UserOperation } from "../../types";
4
- import { SafeAccountFactory } from "../../factory/SafeAccountFactory";
5
- import { CreateUserOperationOverrides, InitCodeOverrides, MetaTransaction, SafeModuleExecutorFunctionSelector } from "./types";
2
+ import { MetaTransaction, Operation, UserOperation } from "../../types";
3
+ import { SafeModuleExecutorFunctionSelector } from "./types";
6
4
  import { SendUseroperationResponse } from "../SendUseroperationResponse";
7
5
  export declare class SafeAccount extends SmartAccount {
8
6
  static readonly DEFAULT_ENTRYPOINT_ADDRESS = "0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789";
9
- static readonly DEFAULT_SAFE_4337_MODULE_ADDRESS = "0xD556564bAcF6FEAC2E26ff70695f8250Cea8C29E";
10
- static readonly DEFAULT_SINGLETON_ADDRESS = "0x41675C099F32341bf84BFc5382aF534df5C7461a";
11
- static readonly DEFAULT_ADD_MODULE_LIB_ADDRESS = "0xea2B4251c7C1cDFFc04D35d990AF6Fd0309928B3";
7
+ static readonly DEFAULT_SAFE_4337_MODULE_ADDRESS = "0xa581c4A4DB7175302464fF3C06380BC3270b4037";
8
+ static readonly DEFAULT_SINGLETON_ADDRESS = "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762";
9
+ static readonly DEFAULT_ADD_MODULE_LIB_ADDRESS = "0x8EcD4ec46D4D2a6B64fE960B3D64e8B94B2234eb";
12
10
  static readonly DEFAULT_MULTISEND_CONTRACT_ADDRESS = "0x38869bf66a61cF6bDB996A6aE40D5853Fd43B526";
13
- static readonly proxyByteCode: BytesLike;
11
+ static readonly proxyByteCode: string;
14
12
  static readonly initializerFunctionSelector: string;
15
13
  static readonly initializerFunctionInputAbi: string[];
16
14
  static readonly DEFAULT_EXECUTOR_FUCNTION_SELECTOR = SafeModuleExecutorFunctionSelector.executeUserOpWithErrorString;
17
15
  static readonly executorFunctionInputAbi: string[];
16
+ static readonly EIP712_SAFE_OPERATION_TYPE: {
17
+ SafeOp: {
18
+ type: string;
19
+ name: string;
20
+ }[];
21
+ };
18
22
  readonly entrypointAddress: string;
19
23
  readonly safe4337ModuleAddress: string;
20
- constructor(accountAddress: string, entrypointAddress?: string, safe4337ModuleAddress?: string);
21
- static createAccountAddressAndInitCode(owners: string[], overrides?: InitCodeOverrides): [string, BytesLike];
22
- static createInitializerCallData(owners: string[], threshold: number, safe4337ModuleAddress?: string, addModuleLibAddress?: string): BytesLike;
23
- static createInitCode(owners: string[], threshold?: number, c2Nonce?: bigint, singletonAddress?: string, safeAccountFactory?: SafeAccountFactory, safe4337ModuleAddress?: string, addModuleLibAddress?: string): BytesLike;
24
- static createProxyAddress(initializerCallData: BytesLike, c2Nonce: bigint, safeFactoryAddress: string, singletonAddress: string): string;
25
- static createAccountCallDataSingleTransaction(tx: MetaTransaction): BytesLike;
26
- static createAccountCallDataBatchTransactions(metaTransactions: MetaTransaction[], multisendContractAddress?: string): BytesLike;
27
- static createAccountCallData(to: string, value: bigint, data: BytesLike, operation: Operation, safeModuleExecutorFunctionSelector?: SafeModuleExecutorFunctionSelector): BytesLike;
28
- static estimateUserOperationGas(user_operation: UserOperation, entrypointAddress: string, bundlerRpc: string): Promise<[bigint, bigint, bigint] | BundlerJsonRpcError>;
29
- signUserOperation(useroperation: UserOperation, privateKeys: string[], chainId: bigint, validAfter?: bigint, validUntil?: bigint): string;
30
- createUserOperation(transactions: MetaTransaction[], providerRpc: string, bundlerRpc: string, overrids?: CreateUserOperationOverrides): Promise<UserOperation | JsonRpcError | BundlerJsonRpcError>;
31
- sendUserOperation(user_operation: UserOperation, bundlerRpc: string): Promise<SendUseroperationResponse | BundlerJsonRpcError>;
24
+ protected initCode: string | null;
25
+ constructor(accountAddress: string, safe4337ModuleAddress?: string, entrypointAddress?: string);
26
+ static createProxyAddress(initializerCallData: string, c2Nonce: bigint, safeFactoryAddress: string, singletonAddress: string): string;
27
+ static createAccountCallDataSingleTransaction(metaTransaction: MetaTransaction): string;
28
+ static createAccountCallDataBatchTransactions(metaTransactions: MetaTransaction[], multisendContractAddress?: string): string;
29
+ static createAccountCallData(to: string, value: bigint, data: string, operation: Operation, safeModuleExecutorFunctionSelector?: SafeModuleExecutorFunctionSelector): string;
30
+ static decodeAccountCallData(callData: string): [string, bigint, string, number];
31
+ static prependTokenPaymasterApproveToCallDataStatic(callData: string, tokenAddress: string, paymasterAddress: string, approveAmount: bigint, multisendContractAddress?: string): string;
32
+ static formatEip712SignaturesToUseroperationSignature(signersAddresses: string[], signatures: string[], validAfter?: bigint, validUntil?: bigint): string;
33
+ static getUserOperationEip712Hash(useroperation: UserOperation, chainId: bigint, validAfter: bigint | undefined, validUntil: bigint | undefined, entrypointAddress: string): string;
34
+ static formatEip712SingleSignatureToUseroperationSignature(signature: string, validAfter?: bigint, validUntil?: bigint): string;
35
+ sendUserOperation(userOperation: UserOperation, bundlerRpc: string): Promise<SendUseroperationResponse>;
32
36
  }
33
37
  //# sourceMappingURL=SafeAccount.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SafeAccount.d.ts","sourceRoot":"","sources":["../../../src/account/Safe/SafeAccount.ts"],"names":[],"mappings":"AAAA,OAAO,EAMN,SAAS,EAGT,MAAM,QAAQ,CAAC;AAChB,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,mBAAmB,EAAE,YAAY,EAAE,SAAS,EAAE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AAM,EAC3B,OAAO,EAAE,MAAM,EACf,kBAAkB,EAAE,MAAM,EAC1B,gBAAgB,EAAE,MAAM,GACtB,MAAM;WA6BK,sCAAsC,CACnD,eAAe,EAAE,eAAe,GAC9B,MAAM;WAgBK,sCAAsC,CACnD,gBAAgB,EAAE,eAAe,EAAE,EACnC,wBAAwB,GAAE,MAAuD,GAC/E,MAAM;WA2BK,qBAAqB,CAClC,EAAE,EAAE,MAAM,EACV,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,MAAM,EACZ,SAAS,EAAE,SAAS,EACpB,kCAAkC,GAAE,kCAAmF,GACrH,MAAM;WAcK,qBAAqB,CAClC,QAAQ,EAAE,MAAM,GACd,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC;WA4CrB,4CAA4C,CACzD,QAAQ,EAAE,MAAM,EAChB,YAAY,EAAE,MAAM,EACpB,gBAAgB,EAAE,MAAM,EACxB,aAAa,EAAE,MAAM,EACrB,wBAAwB,GAAE,MAAuD,GAC/E,MAAM;WAyEK,8CAA8C,CAC3D,gBAAgB,EAAE,MAAM,EAAE,EAC1B,UAAU,EAAE,MAAM,EAAE,EACpB,UAAU,GAAE,MAAW,EACvB,UAAU,GAAE,MAAW,GACrB,MAAM;WA4BK,0BAA0B,CACvC,aAAa,EAAE,aAAa,EAC5B,OAAO,EAAC,MAAM,EACd,UAAU,oBAAa,EACvB,UAAU,oBAAa,EACvB,iBAAiB,EAAE,MAAM,GACtB,MAAM;WAoCI,mDAAmD,CAChE,SAAS,EAAE,MAAM,EACjB,UAAU,GAAE,MAAW,EACvB,UAAU,GAAE,MAAW,GACrB,MAAM;IAoBI,iBAAiB,CAC7B,aAAa,EAAE,aAAa,EAC5B,UAAU,EAAE,MAAM,GAChB,OAAO,CAAC,yBAAyB,CAAC;CAarC"}
@@ -0,0 +1,17 @@
1
+ import { SafeAccount } from "./SafeAccount";
2
+ import { MetaTransaction, StateOverrideSet, UserOperation } from "../../types";
3
+ import { CreateUserOperationOverrides, InitCodeOverrides } from "./types";
4
+ import { SafeAccountFactory } from "src/factory/SafeAccountFactory";
5
+ export declare class SafeAccountV0_2_0 extends SafeAccount {
6
+ constructor(accountAddress: string, safe4337ModuleAddress?: string, entrypointAddress?: string);
7
+ static initializeNewAccount(owners: string[], overrides?: InitCodeOverrides): SafeAccountV0_2_0;
8
+ static createAccountAddress(owners: string[], overrides?: InitCodeOverrides): string;
9
+ static createAccountAddressAndInitCode(owners: string[], overrides?: InitCodeOverrides): [string, string];
10
+ protected static createInitializerCallData(owners: string[], threshold: number, safe4337ModuleAddress?: string, addModuleLibAddress?: string): string;
11
+ static createInitCode(owners: string[], threshold?: number, c2Nonce?: bigint, singletonAddress?: string, safeAccountFactory?: SafeAccountFactory, safe4337ModuleAddress?: string, addModuleLibAddress?: string): string;
12
+ prependTokenPaymasterApproveToCallData(callData: string, tokenAddress: string, paymasterAddress: string, approveAmount: bigint, multisendContractAddress?: string): string;
13
+ estimateUserOperationGas(userOperation: UserOperation, bundlerRpc: string, state_override_set?: StateOverrideSet, numberOfSigners?: number): Promise<[bigint, bigint, bigint]>;
14
+ createUserOperation(transactions: MetaTransaction[], providerRpc?: string, bundlerRpc?: string, overrids?: CreateUserOperationOverrides): Promise<UserOperation>;
15
+ signUserOperation(useroperation: UserOperation, privateKeys: string[], chainId: bigint, validAfter?: bigint, validUntil?: bigint): string;
16
+ }
17
+ //# sourceMappingURL=SafeAccountV0_2_0.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SafeAccountV0_2_0.d.ts","sourceRoot":"","sources":["../../../src/account/Safe/SafeAccountV0_2_0.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EACN,eAAe,EACf,gBAAgB,EAChB,aAAa,EACb,MAAM,aAAa,CAAC;AAOrB,OAAO,EACN,4BAA4B,EAC5B,iBAAiB,EACjB,MAAM,SAAS,CAAC;AAGjB,OAAO,EAAE,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AE,MAAM,EACpB,UAAU,CAAC,EAAE,MAAM,EACnB,QAAQ,GAAE,4BAAiC,GACzC,OAAO,CAAC,aAAa,CAAC;IA+LlB,iBAAiB,CACvB,aAAa,EAAE,aAAa,EAC5B,WAAW,EAAE,MAAM,EAAE,EACrB,OAAO,EAAE,MAAM,EACf,UAAU,GAAE,MAAW,EACvB,UAAU,GAAE,MAAW,GACrB,MAAM;CAwCT"}
@@ -0,0 +1,31 @@
1
+ import { SafeAccount } from "./SafeAccount";
2
+ import { MetaTransaction, StateOverrideSet, UserOperation } from "../../types";
3
+ import { CreateUserOperationOverrides, DummySignature, InitCodeOverrides, Signer, SignerSignaturePair, WebauthSignatureData } from "./types";
4
+ import { SafeAccountFactory } from "src/factory/SafeAccountFactory";
5
+ export declare class SafeAccountWebAuth extends SafeAccount {
6
+ static readonly DEFAULT_WEB_AUTHN_SIGNATURE_VALIDATOR_SINGLETON: string;
7
+ static readonly DEFAULT_WEB_AUTHN_SIGNER_FACTORY: string;
8
+ static readonly DEFAULT_WEB_AUTHN_VERIFIER: string;
9
+ static readonly DEFAULT_SIGNATURE_VALIDATOR = "0x21E4747C7215fe6E343376034F08261bBD9ac497";
10
+ static readonly DEFAULT_WEB_AUTHN_SIGNER_CREATION_CODE = "0x608060405234801561001057600080fd5b5060405161017238038061017283398101604081905261002f916100b9565b6001600160a01b0381166100945760405162461bcd60e51b815260206004820152602260248201527f496e76616c69642073696e676c65746f6e20616464726573732070726f766964604482015261195960f21b606482015260840160405180910390fd5b600080546001600160a01b0319166001600160a01b03929092169190911790556100e9565b6000602082840312156100cb57600080fd5b81516001600160a01b03811681146100e257600080fd5b9392505050565b607b806100f76000396000f3fe608060405260008054632cf35bc960e11b8235016027576001600160f41b0381168252602082f35b3682833781823684845af490503d82833e806040573d82fd5b503d81f3fea264697066735822122062f4785a59897477a798d8218290ac5cf89f803649d66b453fa58689dd461e3164736f6c63430008140033";
11
+ private isInitWebAuthn;
12
+ private x;
13
+ private y;
14
+ constructor(accountAddress: string, safe4337ModuleAddress?: string, entrypointAddress?: string);
15
+ static initializeNewAccount(owners: Signer[], overrides?: InitCodeOverrides): SafeAccountWebAuth;
16
+ static createAccountAddress(owners: Signer[], overrides?: InitCodeOverrides): string;
17
+ static createAccountAddressAndInitCode(owners: Signer[], overrides?: InitCodeOverrides): [string, string];
18
+ protected static createInitializerCallData(owners: Signer[], threshold: number, safe4337ModuleAddress?: string, addModuleLibAddress?: string): string;
19
+ static createInitCode(owners: Signer[], threshold?: number, c2Nonce?: bigint, singletonAddress?: string, safeAccountFactory?: SafeAccountFactory, safe4337ModuleAddress?: string, addModuleLibAddress?: string): string;
20
+ prependTokenPaymasterApproveToCallData(callData: string, tokenAddress: string, paymasterAddress: string, approveAmount: bigint, multisendContractAddress?: string): string;
21
+ estimateUserOperationGas(userOperation: UserOperation, bundlerRpc: string, state_override_set?: StateOverrideSet, numberOfSigners?: number, dummySingatures?: DummySignature[] | null): Promise<[bigint, bigint, bigint]>;
22
+ createUserOperation(transactions: MetaTransaction[], providerRpc?: string, bundlerRpc?: string, overrids?: CreateUserOperationOverrides): Promise<UserOperation>;
23
+ signUserOperation(useroperation: UserOperation, privateKeys: string[], chainId: bigint, validAfter?: bigint, validUntil?: bigint): string;
24
+ static createWebAuthnSignerVerifierAddress(x: bigint, y: bigint): string;
25
+ static formatSignaturesToUseroperationSignature(signatures: SignerSignaturePair[], isInit?: boolean | null, validAfter?: bigint, validUntil?: bigint): string;
26
+ static getLowerCaseAddress(signer: Signer): string;
27
+ static sortSignatures(signatures: SignerSignaturePair[]): void;
28
+ static buildSignatures(signatures: SignerSignaturePair[], isInit?: boolean | null): string;
29
+ static createWebAuthnSignature(signatureData: WebauthSignatureData): string;
30
+ }
31
+ //# sourceMappingURL=SafeAccountWebAuth.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SafeAccountWebAuth.d.ts","sourceRoot":"","sources":["../../../src/account/Safe/SafeAccountWebAuth.ts"],"names":[],"mappings":"AASA,OAAO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WAIjD,eAAe,CAAC,UAAU,EAAE,mBAAmB,EAAE,EAAE,MAAM,GAAC,OAAO,GAAE,IAAW,GAAG,MAAM;WA4CvF,uBAAuB,CAAC,aAAa,EAAC,oBAAoB,GAAE,MAAM;CAWhF"}
@@ -0,0 +1,5 @@
1
+ export declare abstract class SafeModule {
2
+ readonly moduleAddress: string;
3
+ constructor(moduleAddress: string);
4
+ }
5
+ //# sourceMappingURL=SafeModule.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SafeModule.d.ts","sourceRoot":"","sources":["../../../../src/account/Safe/modules/SafeModule.ts"],"names":[],"mappings":"AAAA,8BAAsB,UAAU;IAC/B,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;gBAEnB,aAAa,EAAE,MAAM;CAGjC"}
@@ -0,0 +1,6 @@
1
+ import { SafeModule } from "./SafeModule";
2
+ export declare class SafeRecoveryModule extends SafeModule {
3
+ constructor(accountAddress: string);
4
+ }
5
+ export declare function fetchAccountNonce(rpcUrl: string, entryPoint: string, account: string, key?: number): Promise<bigint>;
6
+ //# sourceMappingURL=SocialRecoveryModule.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SocialRecoveryModule.d.ts","sourceRoot":"","sources":["../../../../src/account/Safe/modules/SocialRecoveryModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,qBAAa,kBAAmB,SAAQ,UAAU;gBAEhD,cAAc,EAAE,MAAM;CAGtB;AAEE,wBAAsB,iBAAiB,CACnC,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,MAAM,EACf,GAAG,GAAE,MAAU,GAChB,OAAO,CAAC,MAAM,CAAC,CAqDjB"}
@@ -1,3 +1,4 @@
1
- import { MetaTransaction } from "./types";
2
- export declare function encodeMultiSendCallData(txs: MetaTransaction[]): string;
1
+ import { MetaTransaction } from "src/types";
2
+ export declare function encodeMultiSendCallData(metaTransactions: MetaTransaction[]): string;
3
+ export declare function decodeMultiSendCallData(callData: string): string;
3
4
  //# sourceMappingURL=multisend.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"multisend.d.ts","sourceRoot":"","sources":["../../../src/account/Safe/multisend.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAc1C,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,eAAe,EAAE,GAAG,MAAM,CAEtE"}
1
+ {"version":3,"file":"multisend.d.ts","sourceRoot":"","sources":["../../../src/account/Safe/multisend.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAa,MAAM,WAAW,CAAC;AAuBvD,wBAAgB,uBAAuB,CACtC,gBAAgB,EAAE,eAAe,EAAE,GACjC,MAAM,CAIR;AAED,wBAAgB,uBAAuB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAIhE"}
@@ -1,26 +1,21 @@
1
- import { BytesLike } from "ethers";
2
- import type { Operation } from "../../types";
3
- export interface MetaTransactionInput {
4
- to: string;
5
- value?: bigint;
6
- data?: BytesLike;
7
- operation?: Operation;
8
- }
9
- export interface MetaTransaction {
10
- to: string;
11
- value: bigint;
12
- data: BytesLike;
13
- operation?: Operation;
14
- }
1
+ import type { StateOverrideSet } from "../../types";
15
2
  export interface CreateUserOperationOverrides {
16
3
  nonce?: bigint;
17
- initCode?: BytesLike;
18
- callData?: BytesLike;
4
+ initCode?: string;
5
+ callData?: string;
19
6
  callGasLimit?: bigint;
20
7
  verificationGasLimit?: bigint;
21
8
  preVerificationGas?: bigint;
22
9
  maxFeePerGas?: bigint;
23
10
  maxPriorityFeePerGas?: bigint;
11
+ callGasLimitPercentageMultiplier?: number;
12
+ verificationGasLimitPercentageMultiplier?: number;
13
+ preVerificationGasPercentageMultiplier?: number;
14
+ maxFeePerGasPercentageMultiplier?: number;
15
+ maxPriorityFeePerGasPercentageMultiplier?: number;
16
+ numberOfSigners?: number;
17
+ state_override_set?: StateOverrideSet;
18
+ dummySingatures?: DummySignature[] | null;
24
19
  }
25
20
  export interface InitCodeOverrides {
26
21
  threshold?: number;
@@ -34,4 +29,44 @@ export declare enum SafeModuleExecutorFunctionSelector {
34
29
  executeUserOpWithErrorString = "0x541d63c8",
35
30
  executeUserOp = "0x7bb37428"
36
31
  }
32
+ export interface SafeUserOperationTypedDataDomain {
33
+ chainId: bigint;
34
+ verifyingContract: string;
35
+ }
36
+ export interface SafeUserOperationTypedDataValues {
37
+ safe: string;
38
+ nonce: bigint;
39
+ initCode: string;
40
+ callData: string;
41
+ callGasLimit: bigint;
42
+ verificationGasLimit: bigint;
43
+ preVerificationGas: bigint;
44
+ maxFeePerGas: bigint;
45
+ maxPriorityFeePerGas: bigint;
46
+ paymasterAndData: string;
47
+ validAfter: bigint;
48
+ validUntil: bigint;
49
+ entryPoint: string;
50
+ }
51
+ export type ECDSAPublicAddress = string;
52
+ export interface WebauthPublicKey {
53
+ x: bigint;
54
+ y: bigint;
55
+ }
56
+ export type Signer = ECDSAPublicAddress | WebauthPublicKey;
57
+ export declare enum DummySignature {
58
+ eoa = "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
59
+ webauth = "5715d3b8fc6e09d43d24175720e98c1ed970661400000000000000000000000000000000000000000000000000000000000000410000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0762c7349c04b09b85aa0b0d21ba70df2195d60c653877df252a16c3f62559fa02d0dbe584b8a794bcf5fc5263f42cf8d50d200c3bc15fe375508e24ca97002ad000000000000000000000000000000000000000000000000000000000000002549960de5880e8c687434170f6476605b8fe4aeb9a28632c7995cf3ba831d9763050000000e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a1226f726967696e223a22687474703a2f2f6c6f63616c686f73743a35313733222c2263726f73734f726967696e223a66616c73652c226f746865725f6b6579735f63616e5f62655f61646465645f68657265223a22646f206e6f7420636f6d7061726520636c69656e74446174614a534f4e20616761696e737420612074656d706c6174652e205365652068747470733a2f2f676f6f2e676c2f7961625065782200000000000000000000000000000000000000000000000000000000000000"
60
+ }
61
+ export type ECDSASignature = string;
62
+ export interface WebauthSignatureData {
63
+ authenticatorData: ArrayBuffer;
64
+ clientDataFields: string;
65
+ rs: [bigint, bigint];
66
+ }
67
+ export interface SignerSignaturePair {
68
+ signer: Signer;
69
+ signature: string;
70
+ isContractSignature?: boolean;
71
+ }
37
72
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/account/Safe/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACnC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C,MAAM,WAAW,oBAAoB;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,SAAS,CAAC,EAAE,SAAS,CAAC;CACzB;AAED,MAAM,WAAW,eAAe;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,SAAS,CAAC;IAChB,SAAS,CAAC,EAAE,SAAS,CAAC;CACzB;AAED,MAAM,WAAW,4BAA4B;IAC5C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED,MAAM,WAAW,iBAAiB;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C,MAAM,EAAE,MAAM,CAAA;IACd,SAAS,EAAE,MAAM,CAAA;IACjB,mBAAmB,CAAC,EAAE,OAAO,CAAA;CAC7B"}
@@ -1,11 +1,11 @@
1
1
  import { Bundler } from "src/Bundler";
2
- import { BundlerJsonRpcError, UserOperationReceiptResult } from "src/types";
2
+ import { UserOperationReceiptResult } from "src/types";
3
3
  export declare class SendUseroperationResponse {
4
4
  readonly userOperationHash: string;
5
5
  readonly bundler: Bundler;
6
6
  readonly entrypointAddress: string;
7
7
  constructor(userOperationHash: string, bundler: Bundler, entrypointAddress: string);
8
8
  private delay;
9
- included(timeoutInSeconds?: number, requestIntervalInSeconds?: number): Promise<UserOperationReceiptResult | BundlerJsonRpcError>;
9
+ included(timeoutInSeconds?: number, requestIntervalInSeconds?: number): Promise<UserOperationReceiptResult>;
10
10
  }
11
11
  //# sourceMappingURL=SendUseroperationResponse.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SendUseroperationResponse.d.ts","sourceRoot":"","sources":["../../src/account/SendUseroperationResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,EAEN,mBAAmB,EACnB,0BAA0B,EAC1B,MAAM,WAAW,CAAC;AAEnB,qBAAa,yBAAyB;IACrC,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;IACnC,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;gBAGlC,iBAAiB,EAAE,MAAM,EACzB,OAAO,EAAE,OAAO,EAChB,iBAAiB,EAAE,MAAM;IAO1B,OAAO,CAAC,KAAK;IAIP,QAAQ,CACb,gBAAgB,GAAE,MAAW,EAC7B,wBAAwB,GAAE,MAAU,GAClC,OAAO,CAAC,0BAA0B,GAAG,mBAAmB,CAAC;CAiC5D"}
1
+ {"version":3,"file":"SendUseroperationResponse.d.ts","sourceRoot":"","sources":["../../src/account/SendUseroperationResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAEtC,OAAO,EAAE,0BAA0B,EAAE,MAAM,WAAW,CAAC;AAEvD,qBAAa,yBAAyB;IACrC,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;IACnC,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;gBAGlC,iBAAiB,EAAE,MAAM,EACzB,OAAO,EAAE,OAAO,EAChB,iBAAiB,EAAE,MAAM;IAO1B,OAAO,CAAC,KAAK;IAWP,QAAQ,CACb,gBAAgB,GAAE,MAAY,EAC9B,wBAAwB,GAAE,MAAU,GAClC,OAAO,CAAC,0BAA0B,CAAC;CA2BtC"}
@@ -1,7 +1,6 @@
1
- import { BytesLike } from "ethers";
2
- export declare class SmartAccount {
1
+ export declare abstract class SmartAccount {
3
2
  readonly accountAddress: string;
4
- static readonly proxyByteCode: BytesLike;
3
+ static readonly proxyByteCode: string;
5
4
  static readonly initializerFunctionSelector: string;
6
5
  static readonly initializerFunctionInputAbi: string[];
7
6
  static readonly executorFunctionSelector: string;
@@ -1 +1 @@
1
- {"version":3,"file":"SmartAccount.d.ts","sourceRoot":"","sources":["../../src/account/SmartAccount.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEnC,qBAAa,YAAY;IACxB,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,MAAM,CAAC,QAAQ,CAAC,aAAa,EAAE,SAAS,CAAC;IACzC,MAAM,CAAC,QAAQ,CAAC,2BAA2B,EAAE,MAAM,CAAC;IACpD,MAAM,CAAC,QAAQ,CAAC,2BAA2B,EAAE,MAAM,EAAE,CAAC;IACtD,MAAM,CAAC,QAAQ,CAAC,wBAAwB,EAAE,MAAM,CAAC;IACjD,MAAM,CAAC,QAAQ,CAAC,wBAAwB,EAAE,MAAM,EAAE,CAAC;gBAEvC,cAAc,EAAE,MAAM;CAGlC"}
1
+ {"version":3,"file":"SmartAccount.d.ts","sourceRoot":"","sources":["../../src/account/SmartAccount.ts"],"names":[],"mappings":"AAAA,8BAAsB,YAAY;IACjC,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,MAAM,CAAC,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IACtC,MAAM,CAAC,QAAQ,CAAC,2BAA2B,EAAE,MAAM,CAAC;IACpD,MAAM,CAAC,QAAQ,CAAC,2BAA2B,EAAE,MAAM,EAAE,CAAC;IACtD,MAAM,CAAC,QAAQ,CAAC,wBAAwB,EAAE,MAAM,CAAC;IACjD,MAAM,CAAC,QAAQ,CAAC,wBAAwB,EAAE,MAAM,EAAE,CAAC;gBAEvC,cAAc,EAAE,MAAM;CAGlC"}
@@ -1,4 +1,4 @@
1
- import type { UserOperation } from "./types";
2
- export declare const UserOperationEmptyValues: UserOperation;
1
+ import { type UserOperation } from "./types";
2
+ export declare const ZeroAddress = "0x0000000000000000000000000000000000000000";
3
3
  export declare const UserOperationDummyValues: UserOperation;
4
4
  //# sourceMappingURL=constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,eAAO,MAAM,wBAAwB,EAAE,aAYtC,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,aAYtC,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,eAAO,MAAM,WAAW,+CAA+C,CAAC;AAExE,eAAO,MAAM,wBAAwB,EAAE,aAatC,CAAC"}
@@ -0,0 +1,24 @@
1
+ import { Dictionary } from "./types";
2
+ export type BasicErrorCode = "UNKNOWN_ERROR" | "TIMEOUT" | "BAD_DATA" | "BUNDLER_ERROR" | "PAYMASTER_ERROR";
3
+ export type BundlerErrorCode = "INVALID_FIELDS" | "SIMULATE_VALIDATION" | "SIMULATE_PAYMASTER_VALIDATION" | "OPCODE_VALIDATION" | "EXPIRE_SHORTLY" | "REPUTATION" | "INSUFFICIENT_STAKE" | "UNSUPPORTED_SIGNATURE_AGGREGATOR" | "INVALID_SIGNATURE" | "INVALID_USEROPERATION_HASH" | "EXECUTION_REVERTED";
4
+ export type JsonRpcErrorCode = "PARSE_ERROR" | "INVALID_REQUEST" | "METHOD_NOT_FOUND" | "INVALID_PARAMS" | "INTERNAL_ERROR" | "SERVER_ERROR";
5
+ export declare const BundlerErrorCodeDict: Dictionary<BundlerErrorCode>;
6
+ export declare const JsonRpcErrorDict: Dictionary<JsonRpcErrorCode>;
7
+ type Jsonable = string | number | boolean | null | undefined | readonly Jsonable[] | {
8
+ readonly [key: string]: Jsonable;
9
+ } | {
10
+ toJSON(): Jsonable;
11
+ };
12
+ export declare class AbstractionKitError extends Error {
13
+ readonly code: BundlerErrorCode | BasicErrorCode | JsonRpcErrorCode;
14
+ readonly context?: Jsonable;
15
+ readonly errno?: number;
16
+ constructor(code: BundlerErrorCode | BasicErrorCode | JsonRpcErrorCode, message: string, options?: {
17
+ cause?: Error;
18
+ errno?: number;
19
+ context?: Jsonable;
20
+ });
21
+ }
22
+ export declare function ensureError(value: unknown): Error;
23
+ export {};
24
+ //# sourceMappingURL=errors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAErC,MAAM,MAAM,cAAc,GACvB,eAAe,GACf,SAAS,GACT,UAAU,GACV,eAAe,GACf,iBAAiB,CAAC;AAErB,MAAM,MAAM,gBAAgB,GACzB,gBAAgB,GAChB,qBAAqB,GACrB,+BAA+B,GAC/B,mBAAmB,GACnB,gBAAgB,GAChB,YAAY,GACZ,oBAAoB,GACpB,kCAAkC,GAClC,mBAAmB,GACnB,4BAA4B,GAC5B,oBAAoB,CAAC;AAExB,MAAM,MAAM,gBAAgB,GACzB,aAAa,GACb,iBAAiB,GACjB,kBAAkB,GAClB,gBAAgB,GAChB,gBAAgB,GAChB,cAAc,CAAC;AAElB,eAAO,MAAM,oBAAoB,EAAE,UAAU,CAAC,gBAAgB,CAY7D,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,UAAU,CAAC,gBAAgB,CAMzD,CAAC;AAEF,KAAK,QAAQ,GACV,MAAM,GACN,MAAM,GACN,OAAO,GACP,IAAI,GACJ,SAAS,GACT,SAAS,QAAQ,EAAE,GACnB;IAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,GAAG,QAAQ,CAAA;CAAE,GACpC;IAAE,MAAM,IAAI,QAAQ,CAAA;CAAE,CAAC;AAE1B,qBAAa,mBAAoB,SAAQ,KAAK;IAC7C,SAAgB,IAAI,EAAE,gBAAgB,GAAG,cAAc,GAAG,gBAAgB,CAAC;IAC3E,SAAgB,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnC,SAAgB,KAAK,CAAC,EAAE,MAAM,CAAC;gBAG9B,IAAI,EAAE,gBAAgB,GAAG,cAAc,GAAG,gBAAgB,EAC1D,OAAO,EAAE,MAAM,EACf,OAAO,GAAE;QAAE,KAAK,CAAC,EAAE,KAAK,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,QAAQ,CAAA;KAAO;CAWpE;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,CAcjD"}
@@ -1,10 +1,9 @@
1
- import type { BytesLike } from "ethers";
2
1
  import type { AbiInputValue } from "../types";
3
2
  export declare class SmartAccountFactory {
4
3
  readonly address: string;
5
4
  readonly generatorFunctionSelector: string;
6
5
  readonly generatorFunctionInputAbi: string[];
7
6
  constructor(address: string, generatorFunctionSelector: string, generatorFunctionInputAbi: string[]);
8
- getFactoryGeneratorFunctionCallData(generatorFunctionInputParameters: AbiInputValue[]): BytesLike;
7
+ getFactoryGeneratorFunctionCallData(generatorFunctionInputParameters: AbiInputValue[]): string;
9
8
  }
10
9
  //# sourceMappingURL=SmartAccountFactory.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SmartAccountFactory.d.ts","sourceRoot":"","sources":["../../src/factory/SmartAccountFactory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACxC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAG9C,qBAAa,mBAAmB;IAC/B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,yBAAyB,EAAE,MAAM,CAAC;IAC3C,QAAQ,CAAC,yBAAyB,EAAE,MAAM,EAAE,CAAC;gBAG5C,OAAO,EAAE,MAAM,EACf,yBAAyB,EAAE,MAAM,EACjC,yBAAyB,EAAE,MAAM,EAAE;IAOpC,mCAAmC,CAClC,gCAAgC,EAAE,aAAa,EAAE,GAC/C,SAAS;CAUZ"}
1
+ {"version":3,"file":"SmartAccountFactory.d.ts","sourceRoot":"","sources":["../../src/factory/SmartAccountFactory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAG9C,qBAAa,mBAAmB;IAC/B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,yBAAyB,EAAE,MAAM,CAAC;IAC3C,QAAQ,CAAC,yBAAyB,EAAE,MAAM,EAAE,CAAC;gBAG5C,OAAO,EAAE,MAAM,EACf,yBAAyB,EAAE,MAAM,EACjC,yBAAyB,EAAE,MAAM,EAAE;IAOpC,mCAAmC,CAClC,gCAAgC,EAAE,aAAa,EAAE,GAC/C,MAAM;CAUT"}