@account-kit/smart-contracts 4.6.1 → 4.8.0

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 (151) hide show
  1. package/dist/esm/src/ma-v2/abis/accountFactoryAbi.d.ts +492 -0
  2. package/dist/esm/src/ma-v2/abis/accountFactoryAbi.js +639 -0
  3. package/dist/esm/src/ma-v2/abis/accountFactoryAbi.js.map +1 -0
  4. package/dist/esm/src/ma-v2/abis/modularAccountAbi.d.ts +954 -0
  5. package/dist/esm/src/ma-v2/abis/modularAccountAbi.js +1242 -0
  6. package/dist/esm/src/ma-v2/abis/modularAccountAbi.js.map +1 -0
  7. package/dist/esm/src/ma-v2/abis/semiModularAccountBytecodeAbi.d.ts +991 -0
  8. package/dist/esm/src/ma-v2/abis/semiModularAccountBytecodeAbi.js +1289 -0
  9. package/dist/esm/src/ma-v2/abis/semiModularAccountBytecodeAbi.js.map +1 -0
  10. package/dist/esm/src/ma-v2/abis/semiModularAccountStorageAbi.d.ts +1001 -0
  11. package/dist/esm/src/ma-v2/abis/semiModularAccountStorageAbi.js +1302 -0
  12. package/dist/esm/src/ma-v2/abis/semiModularAccountStorageAbi.js.map +1 -0
  13. package/dist/esm/src/ma-v2/account/nativeSMASigner.d.ts +238 -0
  14. package/dist/esm/src/ma-v2/account/nativeSMASigner.js +88 -0
  15. package/dist/esm/src/ma-v2/account/nativeSMASigner.js.map +1 -0
  16. package/dist/esm/src/ma-v2/account/semiModularAccountV2.d.ts +41 -0
  17. package/dist/esm/src/ma-v2/account/semiModularAccountV2.js +148 -0
  18. package/dist/esm/src/ma-v2/account/semiModularAccountV2.js.map +1 -0
  19. package/dist/esm/src/ma-v2/actions/common/types.d.ts +31 -0
  20. package/dist/esm/src/ma-v2/actions/common/types.js +6 -0
  21. package/dist/esm/src/ma-v2/actions/common/types.js.map +1 -0
  22. package/dist/esm/src/ma-v2/actions/common/utils.d.ts +76 -0
  23. package/dist/esm/src/ma-v2/actions/common/utils.js +100 -0
  24. package/dist/esm/src/ma-v2/actions/common/utils.js.map +1 -0
  25. package/dist/esm/src/ma-v2/actions/install-validation/installValidation.d.ts +71 -0
  26. package/dist/esm/src/ma-v2/actions/install-validation/installValidation.js +109 -0
  27. package/dist/esm/src/ma-v2/actions/install-validation/installValidation.js.map +1 -0
  28. package/dist/esm/src/ma-v2/client/client.d.ts +6 -0
  29. package/dist/esm/src/ma-v2/client/client.js +40 -0
  30. package/dist/esm/src/ma-v2/client/client.js.map +1 -0
  31. package/dist/esm/src/ma-v2/index.d.ts +26 -0
  32. package/dist/esm/src/ma-v2/index.js +24 -0
  33. package/dist/esm/src/ma-v2/index.js.map +1 -0
  34. package/dist/esm/src/ma-v2/modules/allowlist-module/abis/allowlistModuleAbi.d.ts +556 -0
  35. package/dist/esm/src/ma-v2/modules/allowlist-module/abis/allowlistModuleAbi.js +716 -0
  36. package/dist/esm/src/ma-v2/modules/allowlist-module/abis/allowlistModuleAbi.js.map +1 -0
  37. package/dist/esm/src/ma-v2/modules/allowlist-module/module.d.ts +579 -0
  38. package/dist/esm/src/ma-v2/modules/allowlist-module/module.js +56 -0
  39. package/dist/esm/src/ma-v2/modules/allowlist-module/module.js.map +1 -0
  40. package/dist/esm/src/ma-v2/modules/native-token-limit-module/abis/nativeTokenLimitModuleAbi.d.ts +312 -0
  41. package/dist/esm/src/ma-v2/modules/native-token-limit-module/abis/nativeTokenLimitModuleAbi.js +404 -0
  42. package/dist/esm/src/ma-v2/modules/native-token-limit-module/abis/nativeTokenLimitModuleAbi.js.map +1 -0
  43. package/dist/esm/src/ma-v2/modules/native-token-limit-module/module.d.ts +322 -0
  44. package/dist/esm/src/ma-v2/modules/native-token-limit-module/module.js +14 -0
  45. package/dist/esm/src/ma-v2/modules/native-token-limit-module/module.js.map +1 -0
  46. package/dist/esm/src/ma-v2/modules/paymaster-guard-module/abis/paymasterGuardModuleAbi.d.ts +186 -0
  47. package/dist/esm/src/ma-v2/modules/paymaster-guard-module/abis/paymasterGuardModuleAbi.js +242 -0
  48. package/dist/esm/src/ma-v2/modules/paymaster-guard-module/abis/paymasterGuardModuleAbi.js.map +1 -0
  49. package/dist/esm/src/ma-v2/modules/paymaster-guard-module/module.d.ts +196 -0
  50. package/dist/esm/src/ma-v2/modules/paymaster-guard-module/module.js +25 -0
  51. package/dist/esm/src/ma-v2/modules/paymaster-guard-module/module.js.map +1 -0
  52. package/dist/esm/src/ma-v2/modules/single-signer-validation/abis/singleSignerValidationModuleAbi.d.ts +45 -0
  53. package/dist/esm/src/ma-v2/modules/single-signer-validation/abis/singleSignerValidationModuleAbi.js +331 -0
  54. package/dist/esm/src/ma-v2/modules/single-signer-validation/abis/singleSignerValidationModuleAbi.js.map +1 -0
  55. package/dist/esm/src/ma-v2/modules/single-signer-validation/module.d.ts +10 -0
  56. package/dist/esm/src/ma-v2/modules/single-signer-validation/module.js +16 -0
  57. package/dist/esm/src/ma-v2/modules/single-signer-validation/module.js.map +1 -0
  58. package/dist/esm/src/ma-v2/modules/single-signer-validation/signer.d.ts +239 -0
  59. package/dist/esm/src/ma-v2/modules/single-signer-validation/signer.js +93 -0
  60. package/dist/esm/src/ma-v2/modules/single-signer-validation/signer.js.map +1 -0
  61. package/dist/esm/src/ma-v2/modules/time-range-module/abis/timeRangeModuleAbi.d.ts +229 -0
  62. package/dist/esm/src/ma-v2/modules/time-range-module/abis/timeRangeModuleAbi.js +296 -0
  63. package/dist/esm/src/ma-v2/modules/time-range-module/abis/timeRangeModuleAbi.js.map +1 -0
  64. package/dist/esm/src/ma-v2/modules/time-range-module/module.d.ts +245 -0
  65. package/dist/esm/src/ma-v2/modules/time-range-module/module.js +42 -0
  66. package/dist/esm/src/ma-v2/modules/time-range-module/module.js.map +1 -0
  67. package/dist/esm/src/ma-v2/modules/utils.d.ts +91 -0
  68. package/dist/esm/src/ma-v2/modules/utils.js +188 -0
  69. package/dist/esm/src/ma-v2/modules/utils.js.map +1 -0
  70. package/dist/esm/src/ma-v2/modules/webauthn-validation/abis/webauthnValidationAbi.d.ts +287 -0
  71. package/dist/esm/src/ma-v2/modules/webauthn-validation/abis/webauthnValidationAbi.js +374 -0
  72. package/dist/esm/src/ma-v2/modules/webauthn-validation/abis/webauthnValidationAbi.js.map +1 -0
  73. package/dist/esm/src/ma-v2/utils.d.ts +16 -0
  74. package/dist/esm/src/ma-v2/utils.js +105 -0
  75. package/dist/esm/src/ma-v2/utils.js.map +1 -0
  76. package/dist/types/src/ma-v2/abis/accountFactoryAbi.d.ts +493 -0
  77. package/dist/types/src/ma-v2/abis/accountFactoryAbi.d.ts.map +1 -0
  78. package/dist/types/src/ma-v2/abis/modularAccountAbi.d.ts +955 -0
  79. package/dist/types/src/ma-v2/abis/modularAccountAbi.d.ts.map +1 -0
  80. package/dist/types/src/ma-v2/abis/semiModularAccountBytecodeAbi.d.ts +992 -0
  81. package/dist/types/src/ma-v2/abis/semiModularAccountBytecodeAbi.d.ts.map +1 -0
  82. package/dist/types/src/ma-v2/abis/semiModularAccountStorageAbi.d.ts +1002 -0
  83. package/dist/types/src/ma-v2/abis/semiModularAccountStorageAbi.d.ts.map +1 -0
  84. package/dist/types/src/ma-v2/account/nativeSMASigner.d.ts +239 -0
  85. package/dist/types/src/ma-v2/account/nativeSMASigner.d.ts.map +1 -0
  86. package/dist/types/src/ma-v2/account/semiModularAccountV2.d.ts +42 -0
  87. package/dist/types/src/ma-v2/account/semiModularAccountV2.d.ts.map +1 -0
  88. package/dist/types/src/ma-v2/actions/common/types.d.ts +32 -0
  89. package/dist/types/src/ma-v2/actions/common/types.d.ts.map +1 -0
  90. package/dist/types/src/ma-v2/actions/common/utils.d.ts +77 -0
  91. package/dist/types/src/ma-v2/actions/common/utils.d.ts.map +1 -0
  92. package/dist/types/src/ma-v2/actions/install-validation/installValidation.d.ts +72 -0
  93. package/dist/types/src/ma-v2/actions/install-validation/installValidation.d.ts.map +1 -0
  94. package/dist/types/src/ma-v2/client/client.d.ts +7 -0
  95. package/dist/types/src/ma-v2/client/client.d.ts.map +1 -0
  96. package/dist/types/src/ma-v2/index.d.ts +27 -0
  97. package/dist/types/src/ma-v2/index.d.ts.map +1 -0
  98. package/dist/types/src/ma-v2/modules/allowlist-module/abis/allowlistModuleAbi.d.ts +557 -0
  99. package/dist/types/src/ma-v2/modules/allowlist-module/abis/allowlistModuleAbi.d.ts.map +1 -0
  100. package/dist/types/src/ma-v2/modules/allowlist-module/module.d.ts +580 -0
  101. package/dist/types/src/ma-v2/modules/allowlist-module/module.d.ts.map +1 -0
  102. package/dist/types/src/ma-v2/modules/native-token-limit-module/abis/nativeTokenLimitModuleAbi.d.ts +313 -0
  103. package/dist/types/src/ma-v2/modules/native-token-limit-module/abis/nativeTokenLimitModuleAbi.d.ts.map +1 -0
  104. package/dist/types/src/ma-v2/modules/native-token-limit-module/module.d.ts +323 -0
  105. package/dist/types/src/ma-v2/modules/native-token-limit-module/module.d.ts.map +1 -0
  106. package/dist/types/src/ma-v2/modules/paymaster-guard-module/abis/paymasterGuardModuleAbi.d.ts +187 -0
  107. package/dist/types/src/ma-v2/modules/paymaster-guard-module/abis/paymasterGuardModuleAbi.d.ts.map +1 -0
  108. package/dist/types/src/ma-v2/modules/paymaster-guard-module/module.d.ts +197 -0
  109. package/dist/types/src/ma-v2/modules/paymaster-guard-module/module.d.ts.map +1 -0
  110. package/dist/types/src/ma-v2/modules/single-signer-validation/abis/singleSignerValidationModuleAbi.d.ts +46 -0
  111. package/dist/types/src/ma-v2/modules/single-signer-validation/abis/singleSignerValidationModuleAbi.d.ts.map +1 -0
  112. package/dist/types/src/ma-v2/modules/single-signer-validation/module.d.ts +11 -0
  113. package/dist/types/src/ma-v2/modules/single-signer-validation/module.d.ts.map +1 -0
  114. package/dist/types/src/ma-v2/modules/single-signer-validation/signer.d.ts +240 -0
  115. package/dist/types/src/ma-v2/modules/single-signer-validation/signer.d.ts.map +1 -0
  116. package/dist/types/src/ma-v2/modules/time-range-module/abis/timeRangeModuleAbi.d.ts +230 -0
  117. package/dist/types/src/ma-v2/modules/time-range-module/abis/timeRangeModuleAbi.d.ts.map +1 -0
  118. package/dist/types/src/ma-v2/modules/time-range-module/module.d.ts +246 -0
  119. package/dist/types/src/ma-v2/modules/time-range-module/module.d.ts.map +1 -0
  120. package/dist/types/src/ma-v2/modules/utils.d.ts +92 -0
  121. package/dist/types/src/ma-v2/modules/utils.d.ts.map +1 -0
  122. package/dist/types/src/ma-v2/modules/webauthn-validation/abis/webauthnValidationAbi.d.ts +288 -0
  123. package/dist/types/src/ma-v2/modules/webauthn-validation/abis/webauthnValidationAbi.d.ts.map +1 -0
  124. package/dist/types/src/ma-v2/utils.d.ts +17 -0
  125. package/dist/types/src/ma-v2/utils.d.ts.map +1 -0
  126. package/package.json +10 -5
  127. package/src/ma-v2/abis/accountFactoryAbi.ts +638 -0
  128. package/src/ma-v2/abis/modularAccountAbi.ts +1241 -0
  129. package/src/ma-v2/abis/semiModularAccountBytecodeAbi.ts +1288 -0
  130. package/src/ma-v2/abis/semiModularAccountStorageAbi.ts +1301 -0
  131. package/src/ma-v2/account/nativeSMASigner.ts +121 -0
  132. package/src/ma-v2/account/semiModularAccountV2.ts +289 -0
  133. package/src/ma-v2/actions/common/types.ts +37 -0
  134. package/src/ma-v2/actions/common/utils.ts +103 -0
  135. package/src/ma-v2/actions/install-validation/installValidation.ts +213 -0
  136. package/src/ma-v2/client/client.ts +74 -0
  137. package/src/ma-v2/index.ts +47 -0
  138. package/src/ma-v2/modules/allowlist-module/abis/allowlistModuleAbi.ts +715 -0
  139. package/src/ma-v2/modules/allowlist-module/module.ts +87 -0
  140. package/src/ma-v2/modules/native-token-limit-module/abis/nativeTokenLimitModuleAbi.ts +403 -0
  141. package/src/ma-v2/modules/native-token-limit-module/module.ts +21 -0
  142. package/src/ma-v2/modules/paymaster-guard-module/abis/paymasterGuardModuleAbi.ts +241 -0
  143. package/src/ma-v2/modules/paymaster-guard-module/module.ts +35 -0
  144. package/src/ma-v2/modules/single-signer-validation/abis/singleSignerValidationModuleAbi.ts +330 -0
  145. package/src/ma-v2/modules/single-signer-validation/module.ts +24 -0
  146. package/src/ma-v2/modules/single-signer-validation/signer.ts +127 -0
  147. package/src/ma-v2/modules/time-range-module/abis/timeRangeModuleAbi.ts +295 -0
  148. package/src/ma-v2/modules/time-range-module/module.ts +63 -0
  149. package/src/ma-v2/modules/utils.ts +213 -0
  150. package/src/ma-v2/modules/webauthn-validation/abis/webauthnValidationAbi.ts +373 -0
  151. package/src/ma-v2/utils.ts +138 -0
@@ -0,0 +1,240 @@
1
+ import type { SmartAccountSigner } from "@aa-sdk/core";
2
+ import { type Hex, type SignableMessage, type TypedDataDefinition, type Chain, type Address } from "viem";
3
+ /**
4
+ * Creates an object with methods for generating a dummy signature, signing user operation hashes, signing messages, and signing typed data.
5
+ *
6
+ * @example
7
+
8
+ * ```ts
9
+ * import { singleSignerMessageSigner } from "@account-kit/smart-contracts";
10
+ * import { LocalAccountSigner } from "@aa-sdk/core";
11
+ *
12
+ * const MNEMONIC = "...":
13
+ *
14
+ * const account = createSMAV2Account({ config });
15
+ *
16
+ * const signer = LocalAccountSigner.mnemonicToAccountSigner(MNEMONIC);
17
+ *
18
+ * const messageSigner = singleSignerMessageSigner(signer, chain, account.address, account.signerEntity.entityId);
19
+ * ```
20
+ *
21
+ * @param {SmartAccountSigner} signer Signer to use for signing operations
22
+ * @param {Chain} chain Chain object for the signer
23
+ * @param {Address} accountAddress address of the smart account using this signer
24
+ * @param {number} entityId the entity id of the signing validation
25
+ * @returns {object} an object with methods for signing operations and managing signatures
26
+ */
27
+ export declare const singleSignerMessageSigner: (signer: SmartAccountSigner, chain: Chain, accountAddress: Address, entityId: number) => {
28
+ getDummySignature: () => Hex;
29
+ signUserOperationHash: (uoHash: Hex) => Promise<Hex>;
30
+ signMessage({ message }: {
31
+ message: SignableMessage;
32
+ }): Promise<Hex>;
33
+ signTypedData: <const typedData extends Record<string, unknown> | {
34
+ [x: string]: readonly import("viem").TypedDataParameter[];
35
+ [x: `string[${string}]`]: undefined;
36
+ [x: `function[${string}]`]: undefined;
37
+ [x: `address[${string}]`]: undefined;
38
+ [x: `uint64[${string}]`]: undefined;
39
+ [x: `bytes32[${string}]`]: undefined;
40
+ [x: `bytes[${string}]`]: undefined;
41
+ [x: `uint256[${string}]`]: undefined;
42
+ [x: `bytes4[${string}]`]: undefined;
43
+ [x: `bool[${string}]`]: undefined;
44
+ [x: `bytes1[${string}]`]: undefined;
45
+ [x: `uint32[${string}]`]: undefined;
46
+ [x: `bytes2[${string}]`]: undefined;
47
+ [x: `bytes3[${string}]`]: undefined;
48
+ [x: `bytes5[${string}]`]: undefined;
49
+ [x: `bytes6[${string}]`]: undefined;
50
+ [x: `bytes11[${string}]`]: undefined;
51
+ [x: `bytes7[${string}]`]: undefined;
52
+ [x: `bytes9[${string}]`]: undefined;
53
+ [x: `bytes27[${string}]`]: undefined;
54
+ [x: `bytes22[${string}]`]: undefined;
55
+ [x: `bytes8[${string}]`]: undefined;
56
+ [x: `bytes10[${string}]`]: undefined;
57
+ [x: `bytes12[${string}]`]: undefined;
58
+ [x: `bytes13[${string}]`]: undefined;
59
+ [x: `bytes14[${string}]`]: undefined;
60
+ [x: `bytes15[${string}]`]: undefined;
61
+ [x: `bytes16[${string}]`]: undefined;
62
+ [x: `bytes17[${string}]`]: undefined;
63
+ [x: `bytes18[${string}]`]: undefined;
64
+ [x: `bytes19[${string}]`]: undefined;
65
+ [x: `bytes20[${string}]`]: undefined;
66
+ [x: `bytes21[${string}]`]: undefined;
67
+ [x: `bytes23[${string}]`]: undefined;
68
+ [x: `bytes24[${string}]`]: undefined;
69
+ [x: `bytes25[${string}]`]: undefined;
70
+ [x: `bytes26[${string}]`]: undefined;
71
+ [x: `bytes28[${string}]`]: undefined;
72
+ [x: `bytes29[${string}]`]: undefined;
73
+ [x: `bytes30[${string}]`]: undefined;
74
+ [x: `bytes31[${string}]`]: undefined;
75
+ [x: `int[${string}]`]: undefined;
76
+ [x: `int8[${string}]`]: undefined;
77
+ [x: `int16[${string}]`]: undefined;
78
+ [x: `int24[${string}]`]: undefined;
79
+ [x: `int32[${string}]`]: undefined;
80
+ [x: `int40[${string}]`]: undefined;
81
+ [x: `int48[${string}]`]: undefined;
82
+ [x: `int56[${string}]`]: undefined;
83
+ [x: `int64[${string}]`]: undefined;
84
+ [x: `int72[${string}]`]: undefined;
85
+ [x: `int80[${string}]`]: undefined;
86
+ [x: `int88[${string}]`]: undefined;
87
+ [x: `int96[${string}]`]: undefined;
88
+ [x: `int104[${string}]`]: undefined;
89
+ [x: `int112[${string}]`]: undefined;
90
+ [x: `int120[${string}]`]: undefined;
91
+ [x: `int128[${string}]`]: undefined;
92
+ [x: `int136[${string}]`]: undefined;
93
+ [x: `int144[${string}]`]: undefined;
94
+ [x: `int152[${string}]`]: undefined;
95
+ [x: `int160[${string}]`]: undefined;
96
+ [x: `int168[${string}]`]: undefined;
97
+ [x: `int176[${string}]`]: undefined;
98
+ [x: `int184[${string}]`]: undefined;
99
+ [x: `int192[${string}]`]: undefined;
100
+ [x: `int200[${string}]`]: undefined;
101
+ [x: `int208[${string}]`]: undefined;
102
+ [x: `int216[${string}]`]: undefined;
103
+ [x: `int224[${string}]`]: undefined;
104
+ [x: `int232[${string}]`]: undefined;
105
+ [x: `int240[${string}]`]: undefined;
106
+ [x: `int248[${string}]`]: undefined;
107
+ [x: `int256[${string}]`]: undefined;
108
+ [x: `uint[${string}]`]: undefined;
109
+ [x: `uint8[${string}]`]: undefined;
110
+ [x: `uint16[${string}]`]: undefined;
111
+ [x: `uint24[${string}]`]: undefined;
112
+ [x: `uint40[${string}]`]: undefined;
113
+ [x: `uint48[${string}]`]: undefined;
114
+ [x: `uint56[${string}]`]: undefined;
115
+ [x: `uint72[${string}]`]: undefined;
116
+ [x: `uint80[${string}]`]: undefined;
117
+ [x: `uint88[${string}]`]: undefined;
118
+ [x: `uint96[${string}]`]: undefined;
119
+ [x: `uint104[${string}]`]: undefined;
120
+ [x: `uint112[${string}]`]: undefined;
121
+ [x: `uint120[${string}]`]: undefined;
122
+ [x: `uint128[${string}]`]: undefined;
123
+ [x: `uint136[${string}]`]: undefined;
124
+ [x: `uint144[${string}]`]: undefined;
125
+ [x: `uint152[${string}]`]: undefined;
126
+ [x: `uint160[${string}]`]: undefined;
127
+ [x: `uint168[${string}]`]: undefined;
128
+ [x: `uint176[${string}]`]: undefined;
129
+ [x: `uint184[${string}]`]: undefined;
130
+ [x: `uint192[${string}]`]: undefined;
131
+ [x: `uint200[${string}]`]: undefined;
132
+ [x: `uint208[${string}]`]: undefined;
133
+ [x: `uint216[${string}]`]: undefined;
134
+ [x: `uint224[${string}]`]: undefined;
135
+ [x: `uint232[${string}]`]: undefined;
136
+ [x: `uint240[${string}]`]: undefined;
137
+ [x: `uint248[${string}]`]: undefined;
138
+ string?: undefined;
139
+ address?: undefined;
140
+ uint64?: undefined;
141
+ bytes32?: undefined;
142
+ bytes?: undefined;
143
+ uint256?: undefined;
144
+ bytes4?: undefined;
145
+ bool?: undefined;
146
+ bytes1?: undefined;
147
+ uint32?: undefined;
148
+ bytes2?: undefined;
149
+ bytes3?: undefined;
150
+ bytes5?: undefined;
151
+ bytes6?: undefined;
152
+ bytes11?: undefined;
153
+ bytes7?: undefined;
154
+ bytes9?: undefined;
155
+ bytes27?: undefined;
156
+ bytes22?: undefined;
157
+ bytes8?: undefined;
158
+ bytes10?: undefined;
159
+ bytes12?: undefined;
160
+ bytes13?: undefined;
161
+ bytes14?: undefined;
162
+ bytes15?: undefined;
163
+ bytes16?: undefined;
164
+ bytes17?: undefined;
165
+ bytes18?: undefined;
166
+ bytes19?: undefined;
167
+ bytes20?: undefined;
168
+ bytes21?: undefined;
169
+ bytes23?: undefined;
170
+ bytes24?: undefined;
171
+ bytes25?: undefined;
172
+ bytes26?: undefined;
173
+ bytes28?: undefined;
174
+ bytes29?: undefined;
175
+ bytes30?: undefined;
176
+ bytes31?: undefined;
177
+ int8?: undefined;
178
+ int16?: undefined;
179
+ int24?: undefined;
180
+ int32?: undefined;
181
+ int40?: undefined;
182
+ int48?: undefined;
183
+ int56?: undefined;
184
+ int64?: undefined;
185
+ int72?: undefined;
186
+ int80?: undefined;
187
+ int88?: undefined;
188
+ int96?: undefined;
189
+ int104?: undefined;
190
+ int112?: undefined;
191
+ int120?: undefined;
192
+ int128?: undefined;
193
+ int136?: undefined;
194
+ int144?: undefined;
195
+ int152?: undefined;
196
+ int160?: undefined;
197
+ int168?: undefined;
198
+ int176?: undefined;
199
+ int184?: undefined;
200
+ int192?: undefined;
201
+ int200?: undefined;
202
+ int208?: undefined;
203
+ int216?: undefined;
204
+ int224?: undefined;
205
+ int232?: undefined;
206
+ int240?: undefined;
207
+ int248?: undefined;
208
+ int256?: undefined;
209
+ uint8?: undefined;
210
+ uint16?: undefined;
211
+ uint24?: undefined;
212
+ uint40?: undefined;
213
+ uint48?: undefined;
214
+ uint56?: undefined;
215
+ uint72?: undefined;
216
+ uint80?: undefined;
217
+ uint88?: undefined;
218
+ uint96?: undefined;
219
+ uint104?: undefined;
220
+ uint112?: undefined;
221
+ uint120?: undefined;
222
+ uint128?: undefined;
223
+ uint136?: undefined;
224
+ uint144?: undefined;
225
+ uint152?: undefined;
226
+ uint160?: undefined;
227
+ uint168?: undefined;
228
+ uint176?: undefined;
229
+ uint184?: undefined;
230
+ uint192?: undefined;
231
+ uint200?: undefined;
232
+ uint208?: undefined;
233
+ uint216?: undefined;
234
+ uint224?: undefined;
235
+ uint232?: undefined;
236
+ uint240?: undefined;
237
+ uint248?: undefined;
238
+ }, primaryType extends "EIP712Domain" | keyof typedData = keyof typedData>(typedDataDefinition: TypedDataDefinition<typedData, primaryType>) => Promise<Hex>;
239
+ };
240
+ //# sourceMappingURL=signer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"signer.d.ts","sourceRoot":"","sources":["../../../../../../src/ma-v2/modules/single-signer-validation/signer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AACvD,OAAO,EAIL,KAAK,GAAG,EACR,KAAK,eAAe,EAEpB,KAAK,mBAAmB,EACxB,KAAK,KAAK,EACV,KAAK,OAAO,EACb,MAAM,MAAM,CAAC;AAId;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,yBAAyB,WAC5B,kBAAkB,SACnB,KAAK,kBACI,OAAO,YACb,MAAM;6BAGS,GAAG;oCAUM,GAAG,KAAG,QAAQ,GAAG,CAAC;;iBAUR,eAAe;QAAK,QAAQ,GAAG,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oJA8BvE,QAAQ,GAAG,CAAC;CA8BlB,CAAC"}
@@ -0,0 +1,230 @@
1
+ export declare const timeRangeModuleAbi: readonly [{
2
+ readonly type: "function";
3
+ readonly name: "moduleId";
4
+ readonly inputs: readonly [];
5
+ readonly outputs: readonly [{
6
+ readonly name: "";
7
+ readonly type: "string";
8
+ readonly internalType: "string";
9
+ }];
10
+ readonly stateMutability: "pure";
11
+ }, {
12
+ readonly type: "function";
13
+ readonly name: "onInstall";
14
+ readonly inputs: readonly [{
15
+ readonly name: "data";
16
+ readonly type: "bytes";
17
+ readonly internalType: "bytes";
18
+ }];
19
+ readonly outputs: readonly [];
20
+ readonly stateMutability: "nonpayable";
21
+ }, {
22
+ readonly type: "function";
23
+ readonly name: "onUninstall";
24
+ readonly inputs: readonly [{
25
+ readonly name: "data";
26
+ readonly type: "bytes";
27
+ readonly internalType: "bytes";
28
+ }];
29
+ readonly outputs: readonly [];
30
+ readonly stateMutability: "nonpayable";
31
+ }, {
32
+ readonly type: "function";
33
+ readonly name: "preRuntimeValidationHook";
34
+ readonly inputs: readonly [{
35
+ readonly name: "entityId";
36
+ readonly type: "uint32";
37
+ readonly internalType: "uint32";
38
+ }, {
39
+ readonly name: "";
40
+ readonly type: "address";
41
+ readonly internalType: "address";
42
+ }, {
43
+ readonly name: "";
44
+ readonly type: "uint256";
45
+ readonly internalType: "uint256";
46
+ }, {
47
+ readonly name: "";
48
+ readonly type: "bytes";
49
+ readonly internalType: "bytes";
50
+ }, {
51
+ readonly name: "";
52
+ readonly type: "bytes";
53
+ readonly internalType: "bytes";
54
+ }];
55
+ readonly outputs: readonly [];
56
+ readonly stateMutability: "view";
57
+ }, {
58
+ readonly type: "function";
59
+ readonly name: "preSignatureValidationHook";
60
+ readonly inputs: readonly [{
61
+ readonly name: "";
62
+ readonly type: "uint32";
63
+ readonly internalType: "uint32";
64
+ }, {
65
+ readonly name: "";
66
+ readonly type: "address";
67
+ readonly internalType: "address";
68
+ }, {
69
+ readonly name: "";
70
+ readonly type: "bytes32";
71
+ readonly internalType: "bytes32";
72
+ }, {
73
+ readonly name: "";
74
+ readonly type: "bytes";
75
+ readonly internalType: "bytes";
76
+ }];
77
+ readonly outputs: readonly [];
78
+ readonly stateMutability: "pure";
79
+ }, {
80
+ readonly type: "function";
81
+ readonly name: "preUserOpValidationHook";
82
+ readonly inputs: readonly [{
83
+ readonly name: "entityId";
84
+ readonly type: "uint32";
85
+ readonly internalType: "uint32";
86
+ }, {
87
+ readonly name: "userOp";
88
+ readonly type: "tuple";
89
+ readonly internalType: "struct PackedUserOperation";
90
+ readonly components: readonly [{
91
+ readonly name: "sender";
92
+ readonly type: "address";
93
+ readonly internalType: "address";
94
+ }, {
95
+ readonly name: "nonce";
96
+ readonly type: "uint256";
97
+ readonly internalType: "uint256";
98
+ }, {
99
+ readonly name: "initCode";
100
+ readonly type: "bytes";
101
+ readonly internalType: "bytes";
102
+ }, {
103
+ readonly name: "callData";
104
+ readonly type: "bytes";
105
+ readonly internalType: "bytes";
106
+ }, {
107
+ readonly name: "accountGasLimits";
108
+ readonly type: "bytes32";
109
+ readonly internalType: "bytes32";
110
+ }, {
111
+ readonly name: "preVerificationGas";
112
+ readonly type: "uint256";
113
+ readonly internalType: "uint256";
114
+ }, {
115
+ readonly name: "gasFees";
116
+ readonly type: "bytes32";
117
+ readonly internalType: "bytes32";
118
+ }, {
119
+ readonly name: "paymasterAndData";
120
+ readonly type: "bytes";
121
+ readonly internalType: "bytes";
122
+ }, {
123
+ readonly name: "signature";
124
+ readonly type: "bytes";
125
+ readonly internalType: "bytes";
126
+ }];
127
+ }, {
128
+ readonly name: "";
129
+ readonly type: "bytes32";
130
+ readonly internalType: "bytes32";
131
+ }];
132
+ readonly outputs: readonly [{
133
+ readonly name: "";
134
+ readonly type: "uint256";
135
+ readonly internalType: "uint256";
136
+ }];
137
+ readonly stateMutability: "view";
138
+ }, {
139
+ readonly type: "function";
140
+ readonly name: "setTimeRange";
141
+ readonly inputs: readonly [{
142
+ readonly name: "entityId";
143
+ readonly type: "uint32";
144
+ readonly internalType: "uint32";
145
+ }, {
146
+ readonly name: "validUntil";
147
+ readonly type: "uint48";
148
+ readonly internalType: "uint48";
149
+ }, {
150
+ readonly name: "validAfter";
151
+ readonly type: "uint48";
152
+ readonly internalType: "uint48";
153
+ }];
154
+ readonly outputs: readonly [];
155
+ readonly stateMutability: "nonpayable";
156
+ }, {
157
+ readonly type: "function";
158
+ readonly name: "supportsInterface";
159
+ readonly inputs: readonly [{
160
+ readonly name: "interfaceId";
161
+ readonly type: "bytes4";
162
+ readonly internalType: "bytes4";
163
+ }];
164
+ readonly outputs: readonly [{
165
+ readonly name: "";
166
+ readonly type: "bool";
167
+ readonly internalType: "bool";
168
+ }];
169
+ readonly stateMutability: "view";
170
+ }, {
171
+ readonly type: "function";
172
+ readonly name: "timeRanges";
173
+ readonly inputs: readonly [{
174
+ readonly name: "entityId";
175
+ readonly type: "uint32";
176
+ readonly internalType: "uint32";
177
+ }, {
178
+ readonly name: "account";
179
+ readonly type: "address";
180
+ readonly internalType: "address";
181
+ }];
182
+ readonly outputs: readonly [{
183
+ readonly name: "validUntil";
184
+ readonly type: "uint48";
185
+ readonly internalType: "uint48";
186
+ }, {
187
+ readonly name: "validAfter";
188
+ readonly type: "uint48";
189
+ readonly internalType: "uint48";
190
+ }];
191
+ readonly stateMutability: "view";
192
+ }, {
193
+ readonly type: "event";
194
+ readonly name: "TimeRangeSet";
195
+ readonly inputs: readonly [{
196
+ readonly name: "entityId";
197
+ readonly type: "uint32";
198
+ readonly indexed: true;
199
+ readonly internalType: "uint32";
200
+ }, {
201
+ readonly name: "account";
202
+ readonly type: "address";
203
+ readonly indexed: true;
204
+ readonly internalType: "address";
205
+ }, {
206
+ readonly name: "validUntil";
207
+ readonly type: "uint48";
208
+ readonly indexed: false;
209
+ readonly internalType: "uint48";
210
+ }, {
211
+ readonly name: "validAfter";
212
+ readonly type: "uint48";
213
+ readonly indexed: false;
214
+ readonly internalType: "uint48";
215
+ }];
216
+ readonly anonymous: false;
217
+ }, {
218
+ readonly type: "error";
219
+ readonly name: "NotImplemented";
220
+ readonly inputs: readonly [];
221
+ }, {
222
+ readonly type: "error";
223
+ readonly name: "TimeRangeNotValid";
224
+ readonly inputs: readonly [];
225
+ }, {
226
+ readonly type: "error";
227
+ readonly name: "UnexpectedDataPassed";
228
+ readonly inputs: readonly [];
229
+ }];
230
+ //# sourceMappingURL=timeRangeModuleAbi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"timeRangeModuleAbi.d.ts","sourceRoot":"","sources":["../../../../../../../src/ma-v2/modules/time-range-module/abis/timeRangeModuleAbi.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsSrB,CAAC"}