zksync-sso 0.0.0-beta.9 → 0.1.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 (223) hide show
  1. package/dist/_cjs/abi/{Factory.js → AAFactory.js} +112 -63
  2. package/dist/_cjs/abi/AAFactory.js.map +1 -0
  3. package/dist/_cjs/abi/GuardianRecoveryModule.js +818 -0
  4. package/dist/_cjs/abi/GuardianRecoveryModule.js.map +1 -0
  5. package/dist/_cjs/abi/{SessionKeyModule.js → SessionKeyValidator.js} +251 -90
  6. package/dist/_cjs/abi/SessionKeyValidator.js.map +1 -0
  7. package/dist/_cjs/abi/WebAuthValidator.js +361 -0
  8. package/dist/_cjs/abi/WebAuthValidator.js.map +1 -0
  9. package/dist/_cjs/abi/index.js +9 -5
  10. package/dist/_cjs/abi/index.js.map +1 -1
  11. package/dist/_cjs/client/ecdsa/account.js +38 -0
  12. package/dist/_cjs/client/ecdsa/account.js.map +1 -0
  13. package/dist/_cjs/client/ecdsa/actions/account.js +83 -0
  14. package/dist/_cjs/client/ecdsa/actions/account.js.map +1 -0
  15. package/dist/_cjs/client/ecdsa/client.js +35 -0
  16. package/dist/_cjs/client/ecdsa/client.js.map +1 -0
  17. package/dist/_cjs/client/ecdsa/decorators/ecdsa.js +22 -0
  18. package/dist/_cjs/client/ecdsa/decorators/ecdsa.js.map +1 -0
  19. package/dist/_cjs/client/ecdsa/decorators/wallet.js +47 -0
  20. package/dist/_cjs/client/ecdsa/decorators/wallet.js.map +1 -0
  21. package/dist/_cjs/client/ecdsa/index.js +23 -0
  22. package/dist/_cjs/client/ecdsa/index.js.map +1 -0
  23. package/dist/_cjs/client/ecdsa/types.js +63 -0
  24. package/dist/_cjs/client/ecdsa/types.js.map +1 -0
  25. package/dist/_cjs/client/index.js +9 -4
  26. package/dist/_cjs/client/index.js.map +1 -1
  27. package/dist/_cjs/client/passkey/actions/account.js +35 -31
  28. package/dist/_cjs/client/passkey/actions/account.js.map +1 -1
  29. package/dist/_cjs/client/passkey/actions/passkey.js +26 -6
  30. package/dist/_cjs/client/passkey/actions/passkey.js.map +1 -1
  31. package/dist/_cjs/client/passkey/client.js +1 -1
  32. package/dist/_cjs/client/passkey/client.js.map +1 -1
  33. package/dist/_cjs/client/passkey/decorators/passkey.js +19 -0
  34. package/dist/_cjs/client/passkey/decorators/passkey.js.map +1 -1
  35. package/dist/_cjs/client/recovery/account.js +46 -0
  36. package/dist/_cjs/client/recovery/account.js.map +1 -0
  37. package/dist/_cjs/client/recovery/actions/recovery.js +114 -0
  38. package/dist/_cjs/client/recovery/actions/recovery.js.map +1 -0
  39. package/dist/_cjs/client/recovery/actions/sendEip712Transaction.js +45 -0
  40. package/dist/_cjs/client/recovery/actions/sendEip712Transaction.js.map +1 -0
  41. package/dist/_cjs/client/recovery/client.js +49 -0
  42. package/dist/_cjs/client/recovery/client.js.map +1 -0
  43. package/dist/_cjs/client/recovery/decorators/publicActionsRewrite.js +33 -0
  44. package/dist/_cjs/client/recovery/decorators/publicActionsRewrite.js.map +1 -0
  45. package/dist/_cjs/client/recovery/decorators/recovery.js +15 -0
  46. package/dist/_cjs/client/recovery/decorators/recovery.js.map +1 -0
  47. package/dist/_cjs/client/recovery/decorators/wallet.js +39 -0
  48. package/dist/_cjs/client/recovery/decorators/wallet.js.map +1 -0
  49. package/dist/_cjs/client/recovery/index.js +19 -0
  50. package/dist/_cjs/client/recovery/index.js.map +1 -0
  51. package/dist/_cjs/client/session/actions/session.js +3 -3
  52. package/dist/_cjs/client/session/actions/session.js.map +1 -1
  53. package/dist/_cjs/client-auth-server/Signer.js +1 -0
  54. package/dist/_cjs/client-auth-server/Signer.js.map +1 -1
  55. package/dist/_cjs/client-auth-server/WalletProvider.js +1 -0
  56. package/dist/_cjs/client-auth-server/WalletProvider.js.map +1 -1
  57. package/dist/_cjs/connector/index.js +1 -0
  58. package/dist/_cjs/connector/index.js.map +1 -1
  59. package/dist/_cjs/utils/encoding.js +6 -3
  60. package/dist/_cjs/utils/encoding.js.map +1 -1
  61. package/dist/_cjs/utils/passkey.js +4 -2
  62. package/dist/_cjs/utils/passkey.js.map +1 -1
  63. package/dist/_esm/abi/{Factory.js → AAFactory.js} +111 -62
  64. package/dist/_esm/abi/AAFactory.js.map +1 -0
  65. package/dist/_esm/abi/GuardianRecoveryModule.js +815 -0
  66. package/dist/_esm/abi/GuardianRecoveryModule.js.map +1 -0
  67. package/dist/_esm/abi/{SessionKeyModule.js → SessionKeyValidator.js} +250 -89
  68. package/dist/_esm/abi/SessionKeyValidator.js.map +1 -0
  69. package/dist/_esm/abi/WebAuthValidator.js +358 -0
  70. package/dist/_esm/abi/WebAuthValidator.js.map +1 -0
  71. package/dist/_esm/abi/index.js +4 -2
  72. package/dist/_esm/abi/index.js.map +1 -1
  73. package/dist/_esm/client/ecdsa/account.js +35 -0
  74. package/dist/_esm/client/ecdsa/account.js.map +1 -0
  75. package/dist/_esm/client/ecdsa/actions/account.js +81 -0
  76. package/dist/_esm/client/ecdsa/actions/account.js.map +1 -0
  77. package/dist/_esm/client/ecdsa/client.js +32 -0
  78. package/dist/_esm/client/ecdsa/client.js.map +1 -0
  79. package/dist/_esm/client/ecdsa/decorators/ecdsa.js +19 -0
  80. package/dist/_esm/client/ecdsa/decorators/ecdsa.js.map +1 -0
  81. package/dist/_esm/client/ecdsa/decorators/wallet.js +47 -0
  82. package/dist/_esm/client/ecdsa/decorators/wallet.js.map +1 -0
  83. package/dist/_esm/client/ecdsa/index.js +7 -0
  84. package/dist/_esm/client/ecdsa/index.js.map +1 -0
  85. package/dist/_esm/client/ecdsa/types.js +61 -0
  86. package/dist/_esm/client/ecdsa/types.js.map +1 -0
  87. package/dist/_esm/client/index.js +3 -0
  88. package/dist/_esm/client/index.js.map +1 -1
  89. package/dist/_esm/client/passkey/actions/account.js +37 -33
  90. package/dist/_esm/client/passkey/actions/account.js.map +1 -1
  91. package/dist/_esm/client/passkey/actions/passkey.js +29 -10
  92. package/dist/_esm/client/passkey/actions/passkey.js.map +1 -1
  93. package/dist/_esm/client/passkey/client.js +1 -1
  94. package/dist/_esm/client/passkey/client.js.map +1 -1
  95. package/dist/_esm/client/passkey/decorators/passkey.js +19 -0
  96. package/dist/_esm/client/passkey/decorators/passkey.js.map +1 -1
  97. package/dist/_esm/client/recovery/account.js +43 -0
  98. package/dist/_esm/client/recovery/account.js.map +1 -0
  99. package/dist/_esm/client/recovery/actions/recovery.js +111 -0
  100. package/dist/_esm/client/recovery/actions/recovery.js.map +1 -0
  101. package/dist/_esm/client/recovery/actions/sendEip712Transaction.js +93 -0
  102. package/dist/_esm/client/recovery/actions/sendEip712Transaction.js.map +1 -0
  103. package/dist/_esm/client/recovery/client.js +45 -0
  104. package/dist/_esm/client/recovery/client.js.map +1 -0
  105. package/dist/_esm/client/recovery/decorators/publicActionsRewrite.js +31 -0
  106. package/dist/_esm/client/recovery/decorators/publicActionsRewrite.js.map +1 -0
  107. package/dist/_esm/client/recovery/decorators/recovery.js +13 -0
  108. package/dist/_esm/client/recovery/decorators/recovery.js.map +1 -0
  109. package/dist/_esm/client/recovery/decorators/wallet.js +38 -0
  110. package/dist/_esm/client/recovery/decorators/wallet.js.map +1 -0
  111. package/dist/_esm/client/recovery/index.js +3 -0
  112. package/dist/_esm/client/recovery/index.js.map +1 -0
  113. package/dist/_esm/client/session/actions/session.js +3 -3
  114. package/dist/_esm/client/session/actions/session.js.map +1 -1
  115. package/dist/_esm/client-auth-server/Signer.js +1 -0
  116. package/dist/_esm/client-auth-server/Signer.js.map +1 -1
  117. package/dist/_esm/client-auth-server/WalletProvider.js +1 -0
  118. package/dist/_esm/client-auth-server/WalletProvider.js.map +1 -1
  119. package/dist/_esm/connector/index.js +1 -0
  120. package/dist/_esm/connector/index.js.map +1 -1
  121. package/dist/_esm/utils/encoding.js +7 -4
  122. package/dist/_esm/utils/encoding.js.map +1 -1
  123. package/dist/_esm/utils/passkey.js +5 -3
  124. package/dist/_esm/utils/passkey.js.map +1 -1
  125. package/dist/_types/abi/{Factory.d.ts → AAFactory.d.ts} +95 -58
  126. package/dist/_types/abi/AAFactory.d.ts.map +1 -0
  127. package/dist/_types/abi/GuardianRecoveryModule.d.ts +630 -0
  128. package/dist/_types/abi/GuardianRecoveryModule.d.ts.map +1 -0
  129. package/dist/_types/abi/{SessionKeyModule.d.ts → SessionKeyValidator.d.ts} +193 -75
  130. package/dist/_types/abi/{SessionKeyModule.d.ts.map → SessionKeyValidator.d.ts.map} +1 -1
  131. package/dist/_types/abi/WebAuthValidator.d.ts +277 -0
  132. package/dist/_types/abi/WebAuthValidator.d.ts.map +1 -0
  133. package/dist/_types/abi/index.d.ts +4 -2
  134. package/dist/_types/abi/index.d.ts.map +1 -1
  135. package/dist/_types/client/ecdsa/account.d.ts +14 -0
  136. package/dist/_types/client/ecdsa/account.d.ts.map +1 -0
  137. package/dist/_types/client/ecdsa/actions/account.d.ts +38 -0
  138. package/dist/_types/client/ecdsa/actions/account.d.ts.map +1 -0
  139. package/dist/_types/client/ecdsa/client.d.ts +25 -0
  140. package/dist/_types/client/ecdsa/client.d.ts.map +1 -0
  141. package/dist/_types/client/ecdsa/decorators/ecdsa.d.ts +16 -0
  142. package/dist/_types/client/ecdsa/decorators/ecdsa.d.ts.map +1 -0
  143. package/dist/_types/client/ecdsa/decorators/wallet.d.ts +5 -0
  144. package/dist/_types/client/ecdsa/decorators/wallet.d.ts.map +1 -0
  145. package/dist/_types/client/ecdsa/index.d.ts +7 -0
  146. package/dist/_types/client/ecdsa/index.d.ts.map +1 -0
  147. package/dist/_types/client/ecdsa/types.d.ts +10 -0
  148. package/dist/_types/client/ecdsa/types.d.ts.map +1 -0
  149. package/dist/_types/client/index.d.ts +3 -0
  150. package/dist/_types/client/index.d.ts.map +1 -1
  151. package/dist/_types/client/passkey/actions/account.d.ts +3 -1
  152. package/dist/_types/client/passkey/actions/account.d.ts.map +1 -1
  153. package/dist/_types/client/passkey/actions/passkey.d.ts +13 -4
  154. package/dist/_types/client/passkey/actions/passkey.d.ts.map +1 -1
  155. package/dist/_types/client/passkey/client.d.ts +1 -0
  156. package/dist/_types/client/passkey/client.d.ts.map +1 -1
  157. package/dist/_types/client/passkey/decorators/passkey.d.ts +4 -0
  158. package/dist/_types/client/passkey/decorators/passkey.d.ts.map +1 -1
  159. package/dist/_types/client/recovery/account.d.ts +14 -0
  160. package/dist/_types/client/recovery/account.d.ts.map +1 -0
  161. package/dist/_types/client/recovery/actions/recovery.d.ts +50 -0
  162. package/dist/_types/client/recovery/actions/recovery.d.ts.map +1 -0
  163. package/dist/_types/client/recovery/actions/sendEip712Transaction.d.ts +60 -0
  164. package/dist/_types/client/recovery/actions/sendEip712Transaction.d.ts.map +1 -0
  165. package/dist/_types/client/recovery/client.d.ts +23 -0
  166. package/dist/_types/client/recovery/client.d.ts.map +1 -0
  167. package/dist/_types/client/recovery/decorators/publicActionsRewrite.d.ts +4 -0
  168. package/dist/_types/client/recovery/decorators/publicActionsRewrite.d.ts.map +1 -0
  169. package/dist/_types/client/recovery/decorators/recovery.d.ts +8 -0
  170. package/dist/_types/client/recovery/decorators/recovery.d.ts.map +1 -0
  171. package/dist/_types/client/recovery/decorators/wallet.d.ts +5 -0
  172. package/dist/_types/client/recovery/decorators/wallet.d.ts.map +1 -0
  173. package/dist/_types/client/recovery/index.d.ts +3 -0
  174. package/dist/_types/client/recovery/index.d.ts.map +1 -0
  175. package/dist/_types/client-auth-server/Signer.d.ts +526 -526
  176. package/dist/_types/client-auth-server/Signer.d.ts.map +1 -1
  177. package/dist/_types/client-auth-server/WalletProvider.d.ts +526 -526
  178. package/dist/_types/client-auth-server/WalletProvider.d.ts.map +1 -1
  179. package/dist/_types/client-auth-server/interface.d.ts +1 -0
  180. package/dist/_types/client-auth-server/interface.d.ts.map +1 -1
  181. package/dist/_types/connector/index.d.ts.map +1 -1
  182. package/dist/_types/utils/encoding.d.ts +1 -0
  183. package/dist/_types/utils/encoding.d.ts.map +1 -1
  184. package/dist/_types/utils/passkey.d.ts +2 -2
  185. package/dist/_types/utils/passkey.d.ts.map +1 -1
  186. package/package.json +11 -1
  187. package/src/abi/{Factory.ts → AAFactory.ts} +110 -61
  188. package/src/abi/GuardianRecoveryModule.ts +814 -0
  189. package/src/abi/{SessionKeyModule.ts → SessionKeyValidator.ts} +249 -88
  190. package/src/abi/WebAuthValidator.ts +357 -0
  191. package/src/abi/index.ts +4 -2
  192. package/src/client/ecdsa/account.ts +56 -0
  193. package/src/client/ecdsa/actions/account.ts +145 -0
  194. package/src/client/ecdsa/client.ts +90 -0
  195. package/src/client/ecdsa/decorators/ecdsa.ts +32 -0
  196. package/src/client/ecdsa/decorators/wallet.ts +73 -0
  197. package/src/client/ecdsa/index.ts +6 -0
  198. package/src/client/ecdsa/types.ts +108 -0
  199. package/src/client/index.ts +3 -0
  200. package/src/client/passkey/actions/account.ts +43 -34
  201. package/src/client/passkey/actions/passkey.ts +46 -15
  202. package/src/client/passkey/client.ts +5 -1
  203. package/src/client/passkey/decorators/passkey.ts +26 -0
  204. package/src/client/recovery/account.ts +61 -0
  205. package/src/client/recovery/actions/recovery.ts +176 -0
  206. package/src/client/recovery/actions/sendEip712Transaction.ts +149 -0
  207. package/src/client/recovery/client.ts +102 -0
  208. package/src/client/recovery/decorators/publicActionsRewrite.ts +38 -0
  209. package/src/client/recovery/decorators/recovery.ts +22 -0
  210. package/src/client/recovery/decorators/wallet.ts +52 -0
  211. package/src/client/recovery/index.ts +2 -0
  212. package/src/client/session/actions/session.ts +3 -3
  213. package/src/client-auth-server/Signer.ts +1 -0
  214. package/src/client-auth-server/WalletProvider.ts +1 -0
  215. package/src/client-auth-server/interface.ts +1 -0
  216. package/src/connector/index.ts +1 -0
  217. package/src/utils/encoding.ts +8 -5
  218. package/src/utils/passkey.ts +6 -3
  219. package/dist/_cjs/abi/Factory.js.map +0 -1
  220. package/dist/_cjs/abi/SessionKeyModule.js.map +0 -1
  221. package/dist/_esm/abi/Factory.js.map +0 -1
  222. package/dist/_esm/abi/SessionKeyModule.js.map +0 -1
  223. package/dist/_types/abi/Factory.d.ts.map +0 -1
@@ -1,23 +1,171 @@
1
- export declare const SessionKeyModuleAbi: readonly [{
2
- readonly anonymous: false;
1
+ export declare const SessionKeyValidatorAbi: readonly [{
2
+ readonly inputs: readonly [{
3
+ readonly internalType: "uint256";
4
+ readonly name: "value";
5
+ readonly type: "uint256";
6
+ }];
7
+ readonly name: "ADDRESS_CAST_OVERFLOW";
8
+ readonly type: "error";
9
+ }, {
10
+ readonly inputs: readonly [{
11
+ readonly internalType: "bytes";
12
+ readonly name: "input";
13
+ readonly type: "bytes";
14
+ }];
15
+ readonly name: "INVALID_PAYMASTER_INPUT";
16
+ readonly type: "error";
17
+ }, {
3
18
  readonly inputs: readonly [{
4
- readonly indexed: true;
5
19
  readonly internalType: "address";
6
- readonly name: "account";
20
+ readonly name: "notInitialized";
7
21
  readonly type: "address";
8
22
  }];
9
- readonly name: "Disabled";
10
- readonly type: "event";
23
+ readonly name: "NOT_FROM_INITIALIZED_ACCOUNT";
24
+ readonly type: "error";
25
+ }, {
26
+ readonly inputs: readonly [{
27
+ readonly internalType: "uint256";
28
+ readonly name: "chainId";
29
+ readonly type: "uint256";
30
+ }];
31
+ readonly name: "NO_TIMESTAMP_ASSERTER";
32
+ readonly type: "error";
33
+ }, {
34
+ readonly inputs: readonly [{
35
+ readonly internalType: "uint256";
36
+ readonly name: "allowance";
37
+ readonly type: "uint256";
38
+ }, {
39
+ readonly internalType: "uint256";
40
+ readonly name: "maxAllowance";
41
+ readonly type: "uint256";
42
+ }, {
43
+ readonly internalType: "uint64";
44
+ readonly name: "period";
45
+ readonly type: "uint64";
46
+ }];
47
+ readonly name: "SESSION_ALLOWANCE_EXCEEDED";
48
+ readonly type: "error";
49
+ }, {
50
+ readonly inputs: readonly [{
51
+ readonly internalType: "bytes32";
52
+ readonly name: "sessionHash";
53
+ readonly type: "bytes32";
54
+ }];
55
+ readonly name: "SESSION_ALREADY_EXISTS";
56
+ readonly type: "error";
11
57
  }, {
12
- readonly anonymous: false;
13
58
  readonly inputs: readonly [{
14
- readonly indexed: true;
15
59
  readonly internalType: "address";
16
- readonly name: "account";
60
+ readonly name: "target";
17
61
  readonly type: "address";
62
+ }, {
63
+ readonly internalType: "bytes4";
64
+ readonly name: "selector";
65
+ readonly type: "bytes4";
18
66
  }];
19
- readonly name: "Inited";
20
- readonly type: "event";
67
+ readonly name: "SESSION_CALL_POLICY_VIOLATED";
68
+ readonly type: "error";
69
+ }, {
70
+ readonly inputs: readonly [{
71
+ readonly internalType: "bytes32";
72
+ readonly name: "param";
73
+ readonly type: "bytes32";
74
+ }, {
75
+ readonly internalType: "bytes32";
76
+ readonly name: "refValue";
77
+ readonly type: "bytes32";
78
+ }, {
79
+ readonly internalType: "uint8";
80
+ readonly name: "condition";
81
+ readonly type: "uint8";
82
+ }];
83
+ readonly name: "SESSION_CONDITION_FAILED";
84
+ readonly type: "error";
85
+ }, {
86
+ readonly inputs: readonly [{
87
+ readonly internalType: "uint256";
88
+ readonly name: "expiresAt";
89
+ readonly type: "uint256";
90
+ }];
91
+ readonly name: "SESSION_EXPIRES_TOO_SOON";
92
+ readonly type: "error";
93
+ }, {
94
+ readonly inputs: readonly [{
95
+ readonly internalType: "uint256";
96
+ readonly name: "actualLength";
97
+ readonly type: "uint256";
98
+ }, {
99
+ readonly internalType: "uint256";
100
+ readonly name: "expectedMinimumLength";
101
+ readonly type: "uint256";
102
+ }];
103
+ readonly name: "SESSION_INVALID_DATA_LENGTH";
104
+ readonly type: "error";
105
+ }, {
106
+ readonly inputs: readonly [{
107
+ readonly internalType: "address";
108
+ readonly name: "recovered";
109
+ readonly type: "address";
110
+ }, {
111
+ readonly internalType: "address";
112
+ readonly name: "expected";
113
+ readonly type: "address";
114
+ }];
115
+ readonly name: "SESSION_INVALID_SIGNER";
116
+ readonly type: "error";
117
+ }, {
118
+ readonly inputs: readonly [{
119
+ readonly internalType: "uint256";
120
+ readonly name: "lifetimeUsage";
121
+ readonly type: "uint256";
122
+ }, {
123
+ readonly internalType: "uint256";
124
+ readonly name: "maxUsage";
125
+ readonly type: "uint256";
126
+ }];
127
+ readonly name: "SESSION_LIFETIME_USAGE_EXCEEDED";
128
+ readonly type: "error";
129
+ }, {
130
+ readonly inputs: readonly [{
131
+ readonly internalType: "uint256";
132
+ readonly name: "usedValue";
133
+ readonly type: "uint256";
134
+ }, {
135
+ readonly internalType: "uint256";
136
+ readonly name: "maxValuePerUse";
137
+ readonly type: "uint256";
138
+ }];
139
+ readonly name: "SESSION_MAX_VALUE_EXCEEDED";
140
+ readonly type: "error";
141
+ }, {
142
+ readonly inputs: readonly [];
143
+ readonly name: "SESSION_NOT_ACTIVE";
144
+ readonly type: "error";
145
+ }, {
146
+ readonly inputs: readonly [{
147
+ readonly internalType: "address";
148
+ readonly name: "target";
149
+ readonly type: "address";
150
+ }];
151
+ readonly name: "SESSION_TRANSFER_POLICY_VIOLATED";
152
+ readonly type: "error";
153
+ }, {
154
+ readonly inputs: readonly [];
155
+ readonly name: "SESSION_UNLIMITED_FEES";
156
+ readonly type: "error";
157
+ }, {
158
+ readonly inputs: readonly [];
159
+ readonly name: "SESSION_ZERO_SIGNER";
160
+ readonly type: "error";
161
+ }, {
162
+ readonly inputs: readonly [{
163
+ readonly internalType: "uint256";
164
+ readonly name: "openSessions";
165
+ readonly type: "uint256";
166
+ }];
167
+ readonly name: "UNINSTALL_WITH_OPEN_SESSIONS";
168
+ readonly type: "error";
21
169
  }, {
22
170
  readonly anonymous: false;
23
171
  readonly inputs: readonly [{
@@ -177,20 +325,6 @@ export declare const SessionKeyModuleAbi: readonly [{
177
325
  }];
178
326
  readonly name: "SessionRevoked";
179
327
  readonly type: "event";
180
- }, {
181
- readonly inputs: readonly [{
182
- readonly internalType: "bytes";
183
- readonly name: "sessionData";
184
- readonly type: "bytes";
185
- }];
186
- readonly name: "addValidationKey";
187
- readonly outputs: readonly [{
188
- readonly internalType: "bool";
189
- readonly name: "";
190
- readonly type: "bool";
191
- }];
192
- readonly stateMutability: "nonpayable";
193
- readonly type: "function";
194
328
  }, {
195
329
  readonly inputs: readonly [{
196
330
  readonly components: readonly [{
@@ -325,23 +459,13 @@ export declare const SessionKeyModuleAbi: readonly [{
325
459
  readonly outputs: readonly [];
326
460
  readonly stateMutability: "nonpayable";
327
461
  readonly type: "function";
328
- }, {
329
- readonly inputs: readonly [];
330
- readonly name: "disable";
331
- readonly outputs: readonly [];
332
- readonly stateMutability: "nonpayable";
333
- readonly type: "function";
334
462
  }, {
335
463
  readonly inputs: readonly [{
336
- readonly internalType: "bytes32";
337
- readonly name: "signedHash";
338
- readonly type: "bytes32";
339
- }, {
340
- readonly internalType: "bytes";
341
- readonly name: "signature";
342
- readonly type: "bytes";
464
+ readonly internalType: "address";
465
+ readonly name: "smartAccount";
466
+ readonly type: "address";
343
467
  }];
344
- readonly name: "handleValidation";
468
+ readonly name: "isInitialized";
345
469
  readonly outputs: readonly [{
346
470
  readonly internalType: "bool";
347
471
  readonly name: "";
@@ -355,33 +479,19 @@ export declare const SessionKeyModuleAbi: readonly [{
355
479
  readonly name: "data";
356
480
  readonly type: "bytes";
357
481
  }];
358
- readonly name: "init";
482
+ readonly name: "onInstall";
359
483
  readonly outputs: readonly [];
360
484
  readonly stateMutability: "nonpayable";
361
485
  readonly type: "function";
362
486
  }, {
363
487
  readonly inputs: readonly [{
364
- readonly internalType: "address";
365
- readonly name: "smartAccount";
366
- readonly type: "address";
367
- }];
368
- readonly name: "isInitialized";
369
- readonly outputs: readonly [{
370
- readonly internalType: "bool";
371
- readonly name: "";
372
- readonly type: "bool";
373
- }];
374
- readonly stateMutability: "view";
375
- readonly type: "function";
376
- }, {
377
- readonly inputs: readonly [];
378
- readonly name: "name";
379
- readonly outputs: readonly [{
380
- readonly internalType: "string";
381
- readonly name: "";
382
- readonly type: "string";
488
+ readonly internalType: "bytes";
489
+ readonly name: "data";
490
+ readonly type: "bytes";
383
491
  }];
384
- readonly stateMutability: "pure";
492
+ readonly name: "onUninstall";
493
+ readonly outputs: readonly [];
494
+ readonly stateMutability: "nonpayable";
385
495
  readonly type: "function";
386
496
  }, {
387
497
  readonly inputs: readonly [{
@@ -649,6 +759,24 @@ export declare const SessionKeyModuleAbi: readonly [{
649
759
  }];
650
760
  readonly stateMutability: "pure";
651
761
  readonly type: "function";
762
+ }, {
763
+ readonly inputs: readonly [{
764
+ readonly internalType: "bytes32";
765
+ readonly name: "";
766
+ readonly type: "bytes32";
767
+ }, {
768
+ readonly internalType: "bytes";
769
+ readonly name: "";
770
+ readonly type: "bytes";
771
+ }];
772
+ readonly name: "validateSignature";
773
+ readonly outputs: readonly [{
774
+ readonly internalType: "bool";
775
+ readonly name: "";
776
+ readonly type: "bool";
777
+ }];
778
+ readonly stateMutability: "pure";
779
+ readonly type: "function";
652
780
  }, {
653
781
  readonly inputs: readonly [{
654
782
  readonly internalType: "bytes32";
@@ -723,24 +851,14 @@ export declare const SessionKeyModuleAbi: readonly [{
723
851
  readonly internalType: "struct Transaction";
724
852
  readonly name: "transaction";
725
853
  readonly type: "tuple";
726
- }, {
727
- readonly internalType: "bytes";
728
- readonly name: "hookData";
729
- readonly type: "bytes";
730
854
  }];
731
- readonly name: "validationHook";
732
- readonly outputs: readonly [];
733
- readonly stateMutability: "nonpayable";
734
- readonly type: "function";
735
- }, {
736
- readonly inputs: readonly [];
737
- readonly name: "version";
855
+ readonly name: "validateTransaction";
738
856
  readonly outputs: readonly [{
739
- readonly internalType: "string";
857
+ readonly internalType: "bool";
740
858
  readonly name: "";
741
- readonly type: "string";
859
+ readonly type: "bool";
742
860
  }];
743
- readonly stateMutability: "pure";
861
+ readonly stateMutability: "nonpayable";
744
862
  readonly type: "function";
745
863
  }];
746
- //# sourceMappingURL=SessionKeyModule.d.ts.map
864
+ //# sourceMappingURL=SessionKeyValidator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SessionKeyModule.d.ts","sourceRoot":"","sources":["../../../src/abi/SessionKeyModule.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAs8BtB,CAAC"}
1
+ {"version":3,"file":"SessionKeyValidator.d.ts","sourceRoot":"","sources":["../../../src/abi/SessionKeyValidator.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAumCzB,CAAC"}
@@ -0,0 +1,277 @@
1
+ export declare const WebAuthValidatorAbi: readonly [{
2
+ readonly inputs: readonly [];
3
+ readonly name: "ACCOUNT_EXISTS";
4
+ readonly type: "error";
5
+ }, {
6
+ readonly inputs: readonly [];
7
+ readonly name: "BAD_CREDENTIAL_ID_LENGTH";
8
+ readonly type: "error";
9
+ }, {
10
+ readonly inputs: readonly [];
11
+ readonly name: "BAD_DOMAIN_LENGTH";
12
+ readonly type: "error";
13
+ }, {
14
+ readonly inputs: readonly [];
15
+ readonly name: "EMPTY_KEY";
16
+ readonly type: "error";
17
+ }, {
18
+ readonly inputs: readonly [];
19
+ readonly name: "KEY_EXISTS";
20
+ readonly type: "error";
21
+ }, {
22
+ readonly inputs: readonly [{
23
+ readonly internalType: "address";
24
+ readonly name: "account";
25
+ readonly type: "address";
26
+ }];
27
+ readonly name: "NOT_KEY_OWNER";
28
+ readonly type: "error";
29
+ }, {
30
+ readonly anonymous: false;
31
+ readonly inputs: readonly [{
32
+ readonly indexed: true;
33
+ readonly internalType: "address";
34
+ readonly name: "keyOwner";
35
+ readonly type: "address";
36
+ }, {
37
+ readonly indexed: false;
38
+ readonly internalType: "string";
39
+ readonly name: "originDomain";
40
+ readonly type: "string";
41
+ }, {
42
+ readonly indexed: false;
43
+ readonly internalType: "bytes";
44
+ readonly name: "credentialId";
45
+ readonly type: "bytes";
46
+ }];
47
+ readonly name: "PasskeyCreated";
48
+ readonly type: "event";
49
+ }, {
50
+ readonly anonymous: false;
51
+ readonly inputs: readonly [{
52
+ readonly indexed: true;
53
+ readonly internalType: "address";
54
+ readonly name: "keyOwner";
55
+ readonly type: "address";
56
+ }, {
57
+ readonly indexed: false;
58
+ readonly internalType: "string";
59
+ readonly name: "originDomain";
60
+ readonly type: "string";
61
+ }, {
62
+ readonly indexed: false;
63
+ readonly internalType: "bytes";
64
+ readonly name: "credentialId";
65
+ readonly type: "bytes";
66
+ }];
67
+ readonly name: "PasskeyRemoved";
68
+ readonly type: "event";
69
+ }, {
70
+ readonly inputs: readonly [{
71
+ readonly internalType: "bytes";
72
+ readonly name: "credentialId";
73
+ readonly type: "bytes";
74
+ }, {
75
+ readonly internalType: "bytes32[2]";
76
+ readonly name: "rawPublicKey";
77
+ readonly type: "bytes32[2]";
78
+ }, {
79
+ readonly internalType: "string";
80
+ readonly name: "originDomain";
81
+ readonly type: "string";
82
+ }];
83
+ readonly name: "addValidationKey";
84
+ readonly outputs: readonly [];
85
+ readonly stateMutability: "nonpayable";
86
+ readonly type: "function";
87
+ }, {
88
+ readonly inputs: readonly [{
89
+ readonly internalType: "string";
90
+ readonly name: "originDomain";
91
+ readonly type: "string";
92
+ }, {
93
+ readonly internalType: "bytes";
94
+ readonly name: "credentialId";
95
+ readonly type: "bytes";
96
+ }, {
97
+ readonly internalType: "address";
98
+ readonly name: "accountAddress";
99
+ readonly type: "address";
100
+ }];
101
+ readonly name: "getAccountKey";
102
+ readonly outputs: readonly [{
103
+ readonly internalType: "bytes32[2]";
104
+ readonly name: "";
105
+ readonly type: "bytes32[2]";
106
+ }];
107
+ readonly stateMutability: "view";
108
+ readonly type: "function";
109
+ }, {
110
+ readonly inputs: readonly [{
111
+ readonly internalType: "bytes";
112
+ readonly name: "data";
113
+ readonly type: "bytes";
114
+ }];
115
+ readonly name: "onInstall";
116
+ readonly outputs: readonly [];
117
+ readonly stateMutability: "nonpayable";
118
+ readonly type: "function";
119
+ }, {
120
+ readonly inputs: readonly [{
121
+ readonly internalType: "bytes";
122
+ readonly name: "data";
123
+ readonly type: "bytes";
124
+ }];
125
+ readonly name: "onUninstall";
126
+ readonly outputs: readonly [];
127
+ readonly stateMutability: "nonpayable";
128
+ readonly type: "function";
129
+ }, {
130
+ readonly inputs: readonly [{
131
+ readonly internalType: "string";
132
+ readonly name: "originDomain";
133
+ readonly type: "string";
134
+ }, {
135
+ readonly internalType: "bytes";
136
+ readonly name: "credentialId";
137
+ readonly type: "bytes";
138
+ }];
139
+ readonly name: "registeredAddress";
140
+ readonly outputs: readonly [{
141
+ readonly internalType: "address";
142
+ readonly name: "accountAddress";
143
+ readonly type: "address";
144
+ }];
145
+ readonly stateMutability: "view";
146
+ readonly type: "function";
147
+ }, {
148
+ readonly inputs: readonly [{
149
+ readonly internalType: "bytes";
150
+ readonly name: "credentialId";
151
+ readonly type: "bytes";
152
+ }, {
153
+ readonly internalType: "string";
154
+ readonly name: "domain";
155
+ readonly type: "string";
156
+ }];
157
+ readonly name: "removeValidationKey";
158
+ readonly outputs: readonly [];
159
+ readonly stateMutability: "nonpayable";
160
+ readonly type: "function";
161
+ }, {
162
+ readonly inputs: readonly [{
163
+ readonly internalType: "bytes4";
164
+ readonly name: "interfaceId";
165
+ readonly type: "bytes4";
166
+ }];
167
+ readonly name: "supportsInterface";
168
+ readonly outputs: readonly [{
169
+ readonly internalType: "bool";
170
+ readonly name: "";
171
+ readonly type: "bool";
172
+ }];
173
+ readonly stateMutability: "pure";
174
+ readonly type: "function";
175
+ }, {
176
+ readonly inputs: readonly [{
177
+ readonly internalType: "bytes32";
178
+ readonly name: "signedHash";
179
+ readonly type: "bytes32";
180
+ }, {
181
+ readonly internalType: "bytes";
182
+ readonly name: "signature";
183
+ readonly type: "bytes";
184
+ }];
185
+ readonly name: "validateSignature";
186
+ readonly outputs: readonly [{
187
+ readonly internalType: "bool";
188
+ readonly name: "";
189
+ readonly type: "bool";
190
+ }];
191
+ readonly stateMutability: "view";
192
+ readonly type: "function";
193
+ }, {
194
+ readonly inputs: readonly [{
195
+ readonly internalType: "bytes32";
196
+ readonly name: "signedHash";
197
+ readonly type: "bytes32";
198
+ }, {
199
+ readonly components: readonly [{
200
+ readonly internalType: "uint256";
201
+ readonly name: "txType";
202
+ readonly type: "uint256";
203
+ }, {
204
+ readonly internalType: "uint256";
205
+ readonly name: "from";
206
+ readonly type: "uint256";
207
+ }, {
208
+ readonly internalType: "uint256";
209
+ readonly name: "to";
210
+ readonly type: "uint256";
211
+ }, {
212
+ readonly internalType: "uint256";
213
+ readonly name: "gasLimit";
214
+ readonly type: "uint256";
215
+ }, {
216
+ readonly internalType: "uint256";
217
+ readonly name: "gasPerPubdataByteLimit";
218
+ readonly type: "uint256";
219
+ }, {
220
+ readonly internalType: "uint256";
221
+ readonly name: "maxFeePerGas";
222
+ readonly type: "uint256";
223
+ }, {
224
+ readonly internalType: "uint256";
225
+ readonly name: "maxPriorityFeePerGas";
226
+ readonly type: "uint256";
227
+ }, {
228
+ readonly internalType: "uint256";
229
+ readonly name: "paymaster";
230
+ readonly type: "uint256";
231
+ }, {
232
+ readonly internalType: "uint256";
233
+ readonly name: "nonce";
234
+ readonly type: "uint256";
235
+ }, {
236
+ readonly internalType: "uint256";
237
+ readonly name: "value";
238
+ readonly type: "uint256";
239
+ }, {
240
+ readonly internalType: "uint256[4]";
241
+ readonly name: "reserved";
242
+ readonly type: "uint256[4]";
243
+ }, {
244
+ readonly internalType: "bytes";
245
+ readonly name: "data";
246
+ readonly type: "bytes";
247
+ }, {
248
+ readonly internalType: "bytes";
249
+ readonly name: "signature";
250
+ readonly type: "bytes";
251
+ }, {
252
+ readonly internalType: "bytes32[]";
253
+ readonly name: "factoryDeps";
254
+ readonly type: "bytes32[]";
255
+ }, {
256
+ readonly internalType: "bytes";
257
+ readonly name: "paymasterInput";
258
+ readonly type: "bytes";
259
+ }, {
260
+ readonly internalType: "bytes";
261
+ readonly name: "reservedDynamic";
262
+ readonly type: "bytes";
263
+ }];
264
+ readonly internalType: "struct Transaction";
265
+ readonly name: "transaction";
266
+ readonly type: "tuple";
267
+ }];
268
+ readonly name: "validateTransaction";
269
+ readonly outputs: readonly [{
270
+ readonly internalType: "bool";
271
+ readonly name: "";
272
+ readonly type: "bool";
273
+ }];
274
+ readonly stateMutability: "view";
275
+ readonly type: "function";
276
+ }];
277
+ //# sourceMappingURL=WebAuthValidator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WebAuthValidator.d.ts","sourceRoot":"","sources":["../../../src/abi/WebAuthValidator.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoWtB,CAAC"}
@@ -1,3 +1,5 @@
1
- export { FactoryAbi } from "./Factory.js";
2
- export { SessionKeyModuleAbi } from "./SessionKeyModule.js";
1
+ export { AAFactoryAbi } from "./AAFactory.js";
2
+ export { GuardianRecoveryModuleAbi } from "./GuardianRecoveryModule.js";
3
+ export { SessionKeyValidatorAbi } from "./SessionKeyValidator.js";
4
+ export { WebAuthValidatorAbi } from "./WebAuthValidator.js";
3
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/abi/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/abi/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC"}
@@ -0,0 +1,14 @@
1
+ import type { Address } from "abitype";
2
+ import type { CustomSource, LocalAccount } from "viem";
3
+ import { type Signer } from "./types.js";
4
+ export type ToEcdsaAccountParameters = {
5
+ /** Address of the deployed SSO Wallet */
6
+ address: Address;
7
+ /** Owner of the EOA */
8
+ owner: Signer;
9
+ };
10
+ export type EcdsaAccount = LocalAccount<"ssoEcdsaAccount"> & {
11
+ sign: NonNullable<CustomSource["sign"]>;
12
+ };
13
+ export declare function toEcdsaAccount(parameters: ToEcdsaAccountParameters): Promise<EcdsaAccount>;
14
+ //# sourceMappingURL=account.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../../../src/client/ecdsa/account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AAKvD,OAAO,EAAE,KAAK,MAAM,EAAW,MAAM,YAAY,CAAC;AAElD,MAAM,MAAM,wBAAwB,GAAG;IACrC,yCAAyC;IACzC,OAAO,EAAE,OAAO,CAAC;IACjB,uBAAuB;IACvB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,YAAY,CAAC,iBAAiB,CAAC,GAAG;IAC3D,IAAI,EAAE,WAAW,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,CAAC;CACzC,CAAC;AAEF,wBAAsB,cAAc,CAClC,UAAU,EAAE,wBAAwB,GACnC,OAAO,CAAC,YAAY,CAAC,CAkCvB"}
@@ -0,0 +1,38 @@
1
+ import type { Account, Address, Chain, Client, Hash, Hex, Prettify, TransactionReceipt, Transport } from "viem";
2
+ import { type CustomPaymasterHandler } from "../../../paymaster/index.js";
3
+ import type { SessionConfig } from "../../../utils/session.js";
4
+ export type DeployAccountArgs = {
5
+ owner: Address;
6
+ contracts: {
7
+ accountFactory: Address;
8
+ session: Address;
9
+ };
10
+ initialSession?: SessionConfig;
11
+ salt?: Uint8Array;
12
+ prefix?: string;
13
+ onTransactionSent?: (hash: Hash) => void;
14
+ paymasterHandler?: CustomPaymasterHandler;
15
+ paymaster?: {
16
+ address: Address;
17
+ paymasterInput?: Hex;
18
+ };
19
+ };
20
+ export type DeployAccountReturnType = {
21
+ address: Address;
22
+ transactionReceipt: TransactionReceipt;
23
+ };
24
+ export type FetchAccountArgs = {
25
+ prefix?: string;
26
+ owner: Address;
27
+ contracts: {
28
+ accountFactory: Address;
29
+ session: Address;
30
+ };
31
+ };
32
+ export type FetchAccountReturnType = {
33
+ address: Address;
34
+ owner: Address;
35
+ };
36
+ export declare const deployAccount: <transport extends Transport, chain extends Chain, account extends Account>(client: Client<transport, chain, account>, args: Prettify<DeployAccountArgs>) => Promise<DeployAccountReturnType>;
37
+ export declare const fetchAccount: <transport extends Transport, chain extends Chain, account extends Account>(client: Client<transport, chain, account>, args: Prettify<FetchAccountArgs>) => Promise<FetchAccountReturnType>;
38
+ //# sourceMappingURL=account.d.ts.map