@linealqorum/js 0.0.0-stage → 0.0.1

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/package.json +16 -5
  2. package/src/artifact-service.js +94 -0
  3. package/src/artifacts/artifacts.d.ts +13 -0
  4. package/src/artifacts/build-info/solc-0_8_30-e703f2fe389268a2246aec69fef2175182b7b532.json +392 -0
  5. package/src/artifacts/build-info/solc-0_8_30-e703f2fe389268a2246aec69fef2175182b7b532.output.json +1 -0
  6. package/src/artifacts/contracts/Counter.sol/Counter.json +60 -0
  7. package/src/artifacts/contracts/Counter.sol/artifacts.d.ts +27 -0
  8. package/src/artifacts/contracts/core/BaseAccount.sol/BaseAccount.json +116 -0
  9. package/src/artifacts/contracts/core/BaseAccount.sol/artifacts.d.ts +27 -0
  10. package/src/artifacts/contracts/core/BasePaymaster.sol/BasePaymaster.json +281 -0
  11. package/src/artifacts/contracts/core/BasePaymaster.sol/artifacts.d.ts +27 -0
  12. package/src/artifacts/contracts/core/EntryPoint.sol/EntryPoint.json +1019 -0
  13. package/src/artifacts/contracts/core/EntryPoint.sol/artifacts.d.ts +27 -0
  14. package/src/artifacts/contracts/core/EntryPointSimulations.sol/EntryPointSimulations.json +1324 -0
  15. package/src/artifacts/contracts/core/EntryPointSimulations.sol/artifacts.d.ts +27 -0
  16. package/src/artifacts/contracts/core/Groth16Verifier.sol/Groth16Verifier.json +48 -0
  17. package/src/artifacts/contracts/core/Groth16Verifier.sol/artifacts.d.ts +27 -0
  18. package/src/artifacts/contracts/core/Helpers.sol/artifacts.d.ts +0 -0
  19. package/src/artifacts/contracts/core/LinealDeployer.sol/LinealDeployer.json +51 -0
  20. package/src/artifacts/contracts/core/LinealDeployer.sol/artifacts.d.ts +27 -0
  21. package/src/artifacts/contracts/core/NonceManager.sol/NonceManager.json +75 -0
  22. package/src/artifacts/contracts/core/NonceManager.sol/artifacts.d.ts +27 -0
  23. package/src/artifacts/contracts/core/SenderCreator.sol/SenderCreator.json +33 -0
  24. package/src/artifacts/contracts/core/SenderCreator.sol/artifacts.d.ts +27 -0
  25. package/src/artifacts/contracts/core/StakeManager.sol/StakeManager.json +299 -0
  26. package/src/artifacts/contracts/core/StakeManager.sol/artifacts.d.ts +27 -0
  27. package/src/artifacts/contracts/core/UserOperationLib.sol/UserOperationLib.json +53 -0
  28. package/src/artifacts/contracts/core/UserOperationLib.sol/artifacts.d.ts +27 -0
  29. package/src/artifacts/contracts/economy/Liquidity/LinealDex.sol/LinealDex.json +530 -0
  30. package/src/artifacts/contracts/economy/Liquidity/LinealDex.sol/artifacts.d.ts +27 -0
  31. package/src/artifacts/contracts/economy/Liquidity/LinealLiquidity.sol/LinealLiquidity.json +876 -0
  32. package/src/artifacts/contracts/economy/Liquidity/LinealLiquidity.sol/artifacts.d.ts +27 -0
  33. package/src/artifacts/contracts/economy/Liquidity/LinealMilestones.sol/ILinealCitizens.json +46 -0
  34. package/src/artifacts/contracts/economy/Liquidity/LinealMilestones.sol/LinealMilestones.json +986 -0
  35. package/src/artifacts/contracts/economy/Liquidity/LinealMilestones.sol/artifacts.d.ts +43 -0
  36. package/src/artifacts/contracts/economy/Liquidity/LinealSeed.sol/LinealSeed.json +808 -0
  37. package/src/artifacts/contracts/economy/Liquidity/LinealSeed.sol/artifacts.d.ts +27 -0
  38. package/src/artifacts/contracts/economy/accounts/LinealAccount.sol/LinealAccount.json +591 -0
  39. package/src/artifacts/contracts/economy/accounts/LinealAccount.sol/artifacts.d.ts +27 -0
  40. package/src/artifacts/contracts/economy/accounts/LinealAccountFactory.sol/LinealAccountFactory.json +101 -0
  41. package/src/artifacts/contracts/economy/accounts/LinealAccountFactory.sol/artifacts.d.ts +27 -0
  42. package/src/artifacts/contracts/economy/accounts/callback/TokenCallbackHandler.sol/TokenCallbackHandler.json +145 -0
  43. package/src/artifacts/contracts/economy/accounts/callback/TokenCallbackHandler.sol/artifacts.d.ts +27 -0
  44. package/src/artifacts/contracts/economy/banks/LinealBank.sol/IBankDeposit.json +56 -0
  45. package/src/artifacts/contracts/economy/banks/LinealBank.sol/ICitizensAccounts.json +33 -0
  46. package/src/artifacts/contracts/economy/banks/LinealBank.sol/IInstitutionIdentity.json +27 -0
  47. package/src/artifacts/contracts/economy/banks/LinealBank.sol/ILinealTransactions.json +53 -0
  48. package/src/artifacts/contracts/economy/banks/LinealBank.sol/LinealBank.json +1072 -0
  49. package/src/artifacts/contracts/economy/banks/LinealBank.sol/artifacts.d.ts +91 -0
  50. package/src/artifacts/contracts/economy/banks/LinealQantum.sol/LinealQantum.json +496 -0
  51. package/src/artifacts/contracts/economy/banks/LinealQantum.sol/artifacts.d.ts +27 -0
  52. package/src/artifacts/contracts/economy/banks/LinealTransaction.sol/ILinealBank.json +27 -0
  53. package/src/artifacts/contracts/economy/banks/LinealTransaction.sol/LinealTransactions.json +1352 -0
  54. package/src/artifacts/contracts/economy/banks/LinealTransaction.sol/artifacts.d.ts +43 -0
  55. package/src/artifacts/contracts/economy/interfaces/ICLPStablecoin.sol/ICLPStablecoin.json +459 -0
  56. package/src/artifacts/contracts/economy/interfaces/ICLPStablecoin.sol/artifacts.d.ts +27 -0
  57. package/src/artifacts/contracts/economy/interfaces/IDEXRouter.sol/IDEXRouter.json +117 -0
  58. package/src/artifacts/contracts/economy/interfaces/IDEXRouter.sol/artifacts.d.ts +27 -0
  59. package/src/artifacts/contracts/economy/interfaces/IFeeSplitter.sol/IFeeSplitter.json +40 -0
  60. package/src/artifacts/contracts/economy/interfaces/IFeeSplitter.sol/artifacts.d.ts +27 -0
  61. package/src/artifacts/contracts/economy/interfaces/IIncomeToken.sol/IIncomeToken.json +197 -0
  62. package/src/artifacts/contracts/economy/interfaces/IIncomeToken.sol/artifacts.d.ts +27 -0
  63. package/src/artifacts/contracts/economy/interfaces/ILinealIdentity.sol/ILinealIdentity.json +90 -0
  64. package/src/artifacts/contracts/economy/interfaces/ILinealIdentity.sol/artifacts.d.ts +27 -0
  65. package/src/artifacts/contracts/economy/interfaces/IMetricsAdapter.sol/IMetricsAdapter.json +32 -0
  66. package/src/artifacts/contracts/economy/interfaces/IMetricsAdapter.sol/artifacts.d.ts +27 -0
  67. package/src/artifacts/contracts/economy/interfaces/IQorumsToken.sol/IQorumsToken.json +267 -0
  68. package/src/artifacts/contracts/economy/interfaces/IQorumsToken.sol/artifacts.d.ts +27 -0
  69. package/src/artifacts/contracts/economy/paymasters/LinealPaymaster.sol/LinealPaymaster.json +487 -0
  70. package/src/artifacts/contracts/economy/paymasters/LinealPaymaster.sol/artifacts.d.ts +27 -0
  71. package/src/artifacts/contracts/economy/paymasters/LinealRouter.sol/LinealRouter.json +945 -0
  72. package/src/artifacts/contracts/economy/paymasters/LinealRouter.sol/artifacts.d.ts +27 -0
  73. package/src/artifacts/contracts/economy/token/LinealToken.sol/LinealToken.json +1567 -0
  74. package/src/artifacts/contracts/economy/token/LinealToken.sol/artifacts.d.ts +27 -0
  75. package/src/artifacts/contracts/governance/LinealQorum.sol/LinealQorum.json +567 -0
  76. package/src/artifacts/contracts/governance/LinealQorum.sol/artifacts.d.ts +27 -0
  77. package/src/artifacts/contracts/institution/LinealCitizens.sol/LinealCitizens.json +986 -0
  78. package/src/artifacts/contracts/institution/LinealCitizens.sol/artifacts.d.ts +27 -0
  79. package/src/artifacts/contracts/institution/LinealInstitution.sol/LinealInstitution.json +1607 -0
  80. package/src/artifacts/contracts/institution/LinealInstitution.sol/artifacts.d.ts +27 -0
  81. package/src/artifacts/contracts/institution/LinealTender.sol/LinealTender.json +1055 -0
  82. package/src/artifacts/contracts/institution/LinealTender.sol/artifacts.d.ts +27 -0
  83. package/src/artifacts/contracts/interfaces/IAccount.sol/IAccount.json +90 -0
  84. package/src/artifacts/contracts/interfaces/IAccount.sol/artifacts.d.ts +27 -0
  85. package/src/artifacts/contracts/interfaces/IAccountExecute.sol/IAccountExecute.json +79 -0
  86. package/src/artifacts/contracts/interfaces/IAccountExecute.sol/artifacts.d.ts +27 -0
  87. package/src/artifacts/contracts/interfaces/IAggregator.sol/IAggregator.json +211 -0
  88. package/src/artifacts/contracts/interfaces/IAggregator.sol/artifacts.d.ts +27 -0
  89. package/src/artifacts/contracts/interfaces/IEntryPoint.sol/IEntryPoint.json +809 -0
  90. package/src/artifacts/contracts/interfaces/IEntryPoint.sol/artifacts.d.ts +27 -0
  91. package/src/artifacts/contracts/interfaces/IEntryPointSimulations.sol/IEntryPointSimulations.json +1097 -0
  92. package/src/artifacts/contracts/interfaces/IEntryPointSimulations.sol/artifacts.d.ts +27 -0
  93. package/src/artifacts/contracts/interfaces/IMetricsAdapter.sol/IMetricsAdapter.json +32 -0
  94. package/src/artifacts/contracts/interfaces/IMetricsAdapter.sol/artifacts.d.ts +27 -0
  95. package/src/artifacts/contracts/interfaces/INonceManager.sol/INonceManager.json +51 -0
  96. package/src/artifacts/contracts/interfaces/INonceManager.sol/artifacts.d.ts +27 -0
  97. package/src/artifacts/contracts/interfaces/IPaymaster.sol/IPaymaster.json +123 -0
  98. package/src/artifacts/contracts/interfaces/IPaymaster.sol/artifacts.d.ts +27 -0
  99. package/src/artifacts/contracts/interfaces/IQorumsToken.sol/IQorumsToken.json +267 -0
  100. package/src/artifacts/contracts/interfaces/IQorumsToken.sol/artifacts.d.ts +27 -0
  101. package/src/artifacts/contracts/interfaces/IStakeManager.sol/IStakeManager.json +256 -0
  102. package/src/artifacts/contracts/interfaces/IStakeManager.sol/artifacts.d.ts +27 -0
  103. package/src/artifacts/contracts/interfaces/PackedUserOperation.sol/artifacts.d.ts +0 -0
  104. package/src/artifacts/contracts/kernel/LinealEconomy.sol/LinealEconomicKernel.json +743 -0
  105. package/src/artifacts/contracts/kernel/LinealEconomy.sol/artifacts.d.ts +27 -0
  106. package/src/artifacts/contracts/social/LinealStorage.sol/PostBoard.json +1317 -0
  107. package/src/artifacts/contracts/social/LinealStorage.sol/artifacts.d.ts +27 -0
  108. package/src/artifacts/contracts/test.sol/LinealSecureStorage.json +634 -0
  109. package/src/artifacts/contracts/test.sol/artifacts.d.ts +27 -0
  110. package/src/artifacts/contracts/utils/Exec.sol/Exec.json +13 -0
  111. package/src/artifacts/contracts/utils/Exec.sol/artifacts.d.ts +27 -0
  112. package/src/artifacts/contracts/utils/IOracle.sol/IOracle.json +60 -0
  113. package/src/artifacts/contracts/utils/IOracle.sol/artifacts.d.ts +27 -0
  114. package/src/artifacts/contracts/utils/OracleHelper.sol/OracleHelper.json +84 -0
  115. package/src/artifacts/contracts/utils/OracleHelper.sol/artifacts.d.ts +27 -0
  116. package/src/artifacts/contracts/utils/UniswapHelper.sol/UniswapHelper.json +132 -0
  117. package/src/artifacts/contracts/utils/UniswapHelper.sol/artifacts.d.ts +27 -0
  118. package/src/contract-service.js +53 -0
  119. package/src/database/mongodb.js +181 -0
  120. package/src/index.js +11 -0
  121. package/src/middleware/actionMiddleware.js +17 -0
  122. package/src/middleware/actionsMiddleware.js +18 -0
  123. package/src/middleware/authMachineMiddleware.js +34 -0
  124. package/src/middleware/middleware.js +36 -0
  125. package/src/middleware/onlyQorum.js +57 -0
  126. package/src/middleware/onlyServer.js +36 -0
  127. package/src/middleware/readStateMiddleware.js +19 -0
  128. package/src/middleware/unauthorizeMiddleware.js +37 -0
  129. package/src/middleware/userOperation.js +25 -0
  130. package/src/operation-service.js +71 -0
  131. package/src/schemas/abiFolderSchema.js +9 -0
  132. package/src/schemas/abiSchema.js +16 -0
  133. package/src/schemas/applicationSchema.js +32 -0
  134. package/src/schemas/authorizedWalletSchema.js +9 -0
  135. package/src/schemas/deploySchema.js +11 -0
  136. package/src/schemas/expenseSchema.js +17 -0
  137. package/src/schemas/feeSchema.js +17 -0
  138. package/src/schemas/fixedExpenseSchema.js +18 -0
  139. package/src/schemas/fixedFeeSchema.js +17 -0
  140. package/src/schemas/identitySchema.js +33 -0
  141. package/src/schemas/institutionSchema.js +28 -0
  142. package/src/schemas/onlyQorumSchema.js +27 -0
  143. package/src/schemas/onlyServerSchema.js +26 -0
  144. package/src/schemas/serverWalletSchema.js +9 -0
  145. package/src/schemas/subaccountSchema.js +31 -0
  146. package/src/schemas/tenderSchema.js +36 -0
  147. package/src/schemas/transactionSchema.js +29 -0
  148. package/src/schemas/userOperationSchema.js +15 -0
  149. package/src/schemas/valuationSchema.js +10 -0
  150. package/src/signer-client.js +280 -0
  151. package/README.md +0 -3
@@ -0,0 +1,809 @@
1
+ {
2
+ "_format": "hh3-artifact-1",
3
+ "contractName": "IEntryPoint",
4
+ "sourceName": "contracts/interfaces/IEntryPoint.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "bool",
10
+ "name": "success",
11
+ "type": "bool"
12
+ },
13
+ {
14
+ "internalType": "bytes",
15
+ "name": "ret",
16
+ "type": "bytes"
17
+ }
18
+ ],
19
+ "name": "DelegateAndRevert",
20
+ "type": "error"
21
+ },
22
+ {
23
+ "inputs": [
24
+ {
25
+ "internalType": "uint256",
26
+ "name": "opIndex",
27
+ "type": "uint256"
28
+ },
29
+ {
30
+ "internalType": "string",
31
+ "name": "reason",
32
+ "type": "string"
33
+ }
34
+ ],
35
+ "name": "FailedOp",
36
+ "type": "error"
37
+ },
38
+ {
39
+ "inputs": [
40
+ {
41
+ "internalType": "uint256",
42
+ "name": "opIndex",
43
+ "type": "uint256"
44
+ },
45
+ {
46
+ "internalType": "string",
47
+ "name": "reason",
48
+ "type": "string"
49
+ },
50
+ {
51
+ "internalType": "bytes",
52
+ "name": "inner",
53
+ "type": "bytes"
54
+ }
55
+ ],
56
+ "name": "FailedOpWithRevert",
57
+ "type": "error"
58
+ },
59
+ {
60
+ "inputs": [
61
+ {
62
+ "internalType": "bytes",
63
+ "name": "returnData",
64
+ "type": "bytes"
65
+ }
66
+ ],
67
+ "name": "PostOpReverted",
68
+ "type": "error"
69
+ },
70
+ {
71
+ "inputs": [
72
+ {
73
+ "internalType": "address",
74
+ "name": "sender",
75
+ "type": "address"
76
+ }
77
+ ],
78
+ "name": "SenderAddressResult",
79
+ "type": "error"
80
+ },
81
+ {
82
+ "inputs": [
83
+ {
84
+ "internalType": "address",
85
+ "name": "aggregator",
86
+ "type": "address"
87
+ }
88
+ ],
89
+ "name": "SignatureValidationFailed",
90
+ "type": "error"
91
+ },
92
+ {
93
+ "anonymous": false,
94
+ "inputs": [
95
+ {
96
+ "indexed": true,
97
+ "internalType": "bytes32",
98
+ "name": "userOpHash",
99
+ "type": "bytes32"
100
+ },
101
+ {
102
+ "indexed": true,
103
+ "internalType": "address",
104
+ "name": "sender",
105
+ "type": "address"
106
+ },
107
+ {
108
+ "indexed": false,
109
+ "internalType": "address",
110
+ "name": "factory",
111
+ "type": "address"
112
+ },
113
+ {
114
+ "indexed": false,
115
+ "internalType": "address",
116
+ "name": "paymaster",
117
+ "type": "address"
118
+ }
119
+ ],
120
+ "name": "AccountDeployed",
121
+ "type": "event"
122
+ },
123
+ {
124
+ "anonymous": false,
125
+ "inputs": [],
126
+ "name": "BeforeExecution",
127
+ "type": "event"
128
+ },
129
+ {
130
+ "anonymous": false,
131
+ "inputs": [
132
+ {
133
+ "indexed": true,
134
+ "internalType": "address",
135
+ "name": "account",
136
+ "type": "address"
137
+ },
138
+ {
139
+ "indexed": false,
140
+ "internalType": "uint256",
141
+ "name": "totalDeposit",
142
+ "type": "uint256"
143
+ }
144
+ ],
145
+ "name": "Deposited",
146
+ "type": "event"
147
+ },
148
+ {
149
+ "anonymous": false,
150
+ "inputs": [
151
+ {
152
+ "indexed": true,
153
+ "internalType": "bytes32",
154
+ "name": "userOpHash",
155
+ "type": "bytes32"
156
+ },
157
+ {
158
+ "indexed": true,
159
+ "internalType": "address",
160
+ "name": "sender",
161
+ "type": "address"
162
+ },
163
+ {
164
+ "indexed": false,
165
+ "internalType": "uint256",
166
+ "name": "nonce",
167
+ "type": "uint256"
168
+ },
169
+ {
170
+ "indexed": false,
171
+ "internalType": "bytes",
172
+ "name": "revertReason",
173
+ "type": "bytes"
174
+ }
175
+ ],
176
+ "name": "PostOpRevertReason",
177
+ "type": "event"
178
+ },
179
+ {
180
+ "anonymous": false,
181
+ "inputs": [
182
+ {
183
+ "indexed": true,
184
+ "internalType": "address",
185
+ "name": "aggregator",
186
+ "type": "address"
187
+ }
188
+ ],
189
+ "name": "SignatureAggregatorChanged",
190
+ "type": "event"
191
+ },
192
+ {
193
+ "anonymous": false,
194
+ "inputs": [
195
+ {
196
+ "indexed": true,
197
+ "internalType": "address",
198
+ "name": "account",
199
+ "type": "address"
200
+ },
201
+ {
202
+ "indexed": false,
203
+ "internalType": "uint256",
204
+ "name": "totalStaked",
205
+ "type": "uint256"
206
+ },
207
+ {
208
+ "indexed": false,
209
+ "internalType": "uint256",
210
+ "name": "unstakeDelaySec",
211
+ "type": "uint256"
212
+ }
213
+ ],
214
+ "name": "StakeLocked",
215
+ "type": "event"
216
+ },
217
+ {
218
+ "anonymous": false,
219
+ "inputs": [
220
+ {
221
+ "indexed": true,
222
+ "internalType": "address",
223
+ "name": "account",
224
+ "type": "address"
225
+ },
226
+ {
227
+ "indexed": false,
228
+ "internalType": "uint256",
229
+ "name": "withdrawTime",
230
+ "type": "uint256"
231
+ }
232
+ ],
233
+ "name": "StakeUnlocked",
234
+ "type": "event"
235
+ },
236
+ {
237
+ "anonymous": false,
238
+ "inputs": [
239
+ {
240
+ "indexed": true,
241
+ "internalType": "address",
242
+ "name": "account",
243
+ "type": "address"
244
+ },
245
+ {
246
+ "indexed": false,
247
+ "internalType": "address",
248
+ "name": "withdrawAddress",
249
+ "type": "address"
250
+ },
251
+ {
252
+ "indexed": false,
253
+ "internalType": "uint256",
254
+ "name": "amount",
255
+ "type": "uint256"
256
+ }
257
+ ],
258
+ "name": "StakeWithdrawn",
259
+ "type": "event"
260
+ },
261
+ {
262
+ "anonymous": false,
263
+ "inputs": [
264
+ {
265
+ "indexed": true,
266
+ "internalType": "bytes32",
267
+ "name": "userOpHash",
268
+ "type": "bytes32"
269
+ },
270
+ {
271
+ "indexed": true,
272
+ "internalType": "address",
273
+ "name": "sender",
274
+ "type": "address"
275
+ },
276
+ {
277
+ "indexed": true,
278
+ "internalType": "address",
279
+ "name": "paymaster",
280
+ "type": "address"
281
+ },
282
+ {
283
+ "indexed": false,
284
+ "internalType": "uint256",
285
+ "name": "nonce",
286
+ "type": "uint256"
287
+ },
288
+ {
289
+ "indexed": false,
290
+ "internalType": "bool",
291
+ "name": "success",
292
+ "type": "bool"
293
+ },
294
+ {
295
+ "indexed": false,
296
+ "internalType": "uint256",
297
+ "name": "actualGasCost",
298
+ "type": "uint256"
299
+ },
300
+ {
301
+ "indexed": false,
302
+ "internalType": "uint256",
303
+ "name": "actualGasUsed",
304
+ "type": "uint256"
305
+ }
306
+ ],
307
+ "name": "UserOperationEvent",
308
+ "type": "event"
309
+ },
310
+ {
311
+ "anonymous": false,
312
+ "inputs": [
313
+ {
314
+ "indexed": true,
315
+ "internalType": "bytes32",
316
+ "name": "userOpHash",
317
+ "type": "bytes32"
318
+ },
319
+ {
320
+ "indexed": true,
321
+ "internalType": "address",
322
+ "name": "sender",
323
+ "type": "address"
324
+ },
325
+ {
326
+ "indexed": false,
327
+ "internalType": "uint256",
328
+ "name": "nonce",
329
+ "type": "uint256"
330
+ }
331
+ ],
332
+ "name": "UserOperationPrefundTooLow",
333
+ "type": "event"
334
+ },
335
+ {
336
+ "anonymous": false,
337
+ "inputs": [
338
+ {
339
+ "indexed": true,
340
+ "internalType": "bytes32",
341
+ "name": "userOpHash",
342
+ "type": "bytes32"
343
+ },
344
+ {
345
+ "indexed": true,
346
+ "internalType": "address",
347
+ "name": "sender",
348
+ "type": "address"
349
+ },
350
+ {
351
+ "indexed": false,
352
+ "internalType": "uint256",
353
+ "name": "nonce",
354
+ "type": "uint256"
355
+ },
356
+ {
357
+ "indexed": false,
358
+ "internalType": "bytes",
359
+ "name": "revertReason",
360
+ "type": "bytes"
361
+ }
362
+ ],
363
+ "name": "UserOperationRevertReason",
364
+ "type": "event"
365
+ },
366
+ {
367
+ "anonymous": false,
368
+ "inputs": [
369
+ {
370
+ "indexed": true,
371
+ "internalType": "address",
372
+ "name": "account",
373
+ "type": "address"
374
+ },
375
+ {
376
+ "indexed": false,
377
+ "internalType": "address",
378
+ "name": "withdrawAddress",
379
+ "type": "address"
380
+ },
381
+ {
382
+ "indexed": false,
383
+ "internalType": "uint256",
384
+ "name": "amount",
385
+ "type": "uint256"
386
+ }
387
+ ],
388
+ "name": "Withdrawn",
389
+ "type": "event"
390
+ },
391
+ {
392
+ "inputs": [
393
+ {
394
+ "internalType": "uint32",
395
+ "name": "_unstakeDelaySec",
396
+ "type": "uint32"
397
+ }
398
+ ],
399
+ "name": "addStake",
400
+ "outputs": [],
401
+ "stateMutability": "payable",
402
+ "type": "function"
403
+ },
404
+ {
405
+ "inputs": [
406
+ {
407
+ "internalType": "address",
408
+ "name": "account",
409
+ "type": "address"
410
+ }
411
+ ],
412
+ "name": "balanceOf",
413
+ "outputs": [
414
+ {
415
+ "internalType": "uint256",
416
+ "name": "",
417
+ "type": "uint256"
418
+ }
419
+ ],
420
+ "stateMutability": "view",
421
+ "type": "function"
422
+ },
423
+ {
424
+ "inputs": [
425
+ {
426
+ "internalType": "address",
427
+ "name": "target",
428
+ "type": "address"
429
+ },
430
+ {
431
+ "internalType": "bytes",
432
+ "name": "data",
433
+ "type": "bytes"
434
+ }
435
+ ],
436
+ "name": "delegateAndRevert",
437
+ "outputs": [],
438
+ "stateMutability": "nonpayable",
439
+ "type": "function"
440
+ },
441
+ {
442
+ "inputs": [
443
+ {
444
+ "internalType": "address",
445
+ "name": "account",
446
+ "type": "address"
447
+ }
448
+ ],
449
+ "name": "depositTo",
450
+ "outputs": [],
451
+ "stateMutability": "payable",
452
+ "type": "function"
453
+ },
454
+ {
455
+ "inputs": [
456
+ {
457
+ "internalType": "address",
458
+ "name": "account",
459
+ "type": "address"
460
+ }
461
+ ],
462
+ "name": "getDepositInfo",
463
+ "outputs": [
464
+ {
465
+ "components": [
466
+ {
467
+ "internalType": "uint256",
468
+ "name": "deposit",
469
+ "type": "uint256"
470
+ },
471
+ {
472
+ "internalType": "bool",
473
+ "name": "staked",
474
+ "type": "bool"
475
+ },
476
+ {
477
+ "internalType": "uint112",
478
+ "name": "stake",
479
+ "type": "uint112"
480
+ },
481
+ {
482
+ "internalType": "uint32",
483
+ "name": "unstakeDelaySec",
484
+ "type": "uint32"
485
+ },
486
+ {
487
+ "internalType": "uint48",
488
+ "name": "withdrawTime",
489
+ "type": "uint48"
490
+ }
491
+ ],
492
+ "internalType": "struct IStakeManager.DepositInfo",
493
+ "name": "info",
494
+ "type": "tuple"
495
+ }
496
+ ],
497
+ "stateMutability": "view",
498
+ "type": "function"
499
+ },
500
+ {
501
+ "inputs": [
502
+ {
503
+ "internalType": "address",
504
+ "name": "sender",
505
+ "type": "address"
506
+ },
507
+ {
508
+ "internalType": "uint192",
509
+ "name": "key",
510
+ "type": "uint192"
511
+ }
512
+ ],
513
+ "name": "getNonce",
514
+ "outputs": [
515
+ {
516
+ "internalType": "uint256",
517
+ "name": "nonce",
518
+ "type": "uint256"
519
+ }
520
+ ],
521
+ "stateMutability": "view",
522
+ "type": "function"
523
+ },
524
+ {
525
+ "inputs": [
526
+ {
527
+ "internalType": "bytes",
528
+ "name": "initCode",
529
+ "type": "bytes"
530
+ }
531
+ ],
532
+ "name": "getSenderAddress",
533
+ "outputs": [],
534
+ "stateMutability": "nonpayable",
535
+ "type": "function"
536
+ },
537
+ {
538
+ "inputs": [
539
+ {
540
+ "components": [
541
+ {
542
+ "internalType": "address",
543
+ "name": "sender",
544
+ "type": "address"
545
+ },
546
+ {
547
+ "internalType": "uint256",
548
+ "name": "nonce",
549
+ "type": "uint256"
550
+ },
551
+ {
552
+ "internalType": "bytes",
553
+ "name": "initCode",
554
+ "type": "bytes"
555
+ },
556
+ {
557
+ "internalType": "bytes",
558
+ "name": "callData",
559
+ "type": "bytes"
560
+ },
561
+ {
562
+ "internalType": "bytes32",
563
+ "name": "accountGasLimits",
564
+ "type": "bytes32"
565
+ },
566
+ {
567
+ "internalType": "uint256",
568
+ "name": "preVerificationGas",
569
+ "type": "uint256"
570
+ },
571
+ {
572
+ "internalType": "bytes32",
573
+ "name": "gasFees",
574
+ "type": "bytes32"
575
+ },
576
+ {
577
+ "internalType": "bytes",
578
+ "name": "paymasterAndData",
579
+ "type": "bytes"
580
+ },
581
+ {
582
+ "internalType": "bytes",
583
+ "name": "signature",
584
+ "type": "bytes"
585
+ }
586
+ ],
587
+ "internalType": "struct PackedUserOperation",
588
+ "name": "userOp",
589
+ "type": "tuple"
590
+ }
591
+ ],
592
+ "name": "getUserOpHash",
593
+ "outputs": [
594
+ {
595
+ "internalType": "bytes32",
596
+ "name": "",
597
+ "type": "bytes32"
598
+ }
599
+ ],
600
+ "stateMutability": "view",
601
+ "type": "function"
602
+ },
603
+ {
604
+ "inputs": [
605
+ {
606
+ "components": [
607
+ {
608
+ "components": [
609
+ {
610
+ "internalType": "address",
611
+ "name": "sender",
612
+ "type": "address"
613
+ },
614
+ {
615
+ "internalType": "uint256",
616
+ "name": "nonce",
617
+ "type": "uint256"
618
+ },
619
+ {
620
+ "internalType": "bytes",
621
+ "name": "initCode",
622
+ "type": "bytes"
623
+ },
624
+ {
625
+ "internalType": "bytes",
626
+ "name": "callData",
627
+ "type": "bytes"
628
+ },
629
+ {
630
+ "internalType": "bytes32",
631
+ "name": "accountGasLimits",
632
+ "type": "bytes32"
633
+ },
634
+ {
635
+ "internalType": "uint256",
636
+ "name": "preVerificationGas",
637
+ "type": "uint256"
638
+ },
639
+ {
640
+ "internalType": "bytes32",
641
+ "name": "gasFees",
642
+ "type": "bytes32"
643
+ },
644
+ {
645
+ "internalType": "bytes",
646
+ "name": "paymasterAndData",
647
+ "type": "bytes"
648
+ },
649
+ {
650
+ "internalType": "bytes",
651
+ "name": "signature",
652
+ "type": "bytes"
653
+ }
654
+ ],
655
+ "internalType": "struct PackedUserOperation[]",
656
+ "name": "userOps",
657
+ "type": "tuple[]"
658
+ },
659
+ {
660
+ "internalType": "contract IAggregator",
661
+ "name": "aggregator",
662
+ "type": "address"
663
+ },
664
+ {
665
+ "internalType": "bytes",
666
+ "name": "signature",
667
+ "type": "bytes"
668
+ }
669
+ ],
670
+ "internalType": "struct IEntryPoint.UserOpsPerAggregator[]",
671
+ "name": "opsPerAggregator",
672
+ "type": "tuple[]"
673
+ },
674
+ {
675
+ "internalType": "address payable",
676
+ "name": "beneficiary",
677
+ "type": "address"
678
+ }
679
+ ],
680
+ "name": "handleAggregatedOps",
681
+ "outputs": [],
682
+ "stateMutability": "nonpayable",
683
+ "type": "function"
684
+ },
685
+ {
686
+ "inputs": [
687
+ {
688
+ "components": [
689
+ {
690
+ "internalType": "address",
691
+ "name": "sender",
692
+ "type": "address"
693
+ },
694
+ {
695
+ "internalType": "uint256",
696
+ "name": "nonce",
697
+ "type": "uint256"
698
+ },
699
+ {
700
+ "internalType": "bytes",
701
+ "name": "initCode",
702
+ "type": "bytes"
703
+ },
704
+ {
705
+ "internalType": "bytes",
706
+ "name": "callData",
707
+ "type": "bytes"
708
+ },
709
+ {
710
+ "internalType": "bytes32",
711
+ "name": "accountGasLimits",
712
+ "type": "bytes32"
713
+ },
714
+ {
715
+ "internalType": "uint256",
716
+ "name": "preVerificationGas",
717
+ "type": "uint256"
718
+ },
719
+ {
720
+ "internalType": "bytes32",
721
+ "name": "gasFees",
722
+ "type": "bytes32"
723
+ },
724
+ {
725
+ "internalType": "bytes",
726
+ "name": "paymasterAndData",
727
+ "type": "bytes"
728
+ },
729
+ {
730
+ "internalType": "bytes",
731
+ "name": "signature",
732
+ "type": "bytes"
733
+ }
734
+ ],
735
+ "internalType": "struct PackedUserOperation[]",
736
+ "name": "ops",
737
+ "type": "tuple[]"
738
+ },
739
+ {
740
+ "internalType": "address payable",
741
+ "name": "beneficiary",
742
+ "type": "address"
743
+ }
744
+ ],
745
+ "name": "handleOps",
746
+ "outputs": [],
747
+ "stateMutability": "nonpayable",
748
+ "type": "function"
749
+ },
750
+ {
751
+ "inputs": [
752
+ {
753
+ "internalType": "uint192",
754
+ "name": "key",
755
+ "type": "uint192"
756
+ }
757
+ ],
758
+ "name": "incrementNonce",
759
+ "outputs": [],
760
+ "stateMutability": "nonpayable",
761
+ "type": "function"
762
+ },
763
+ {
764
+ "inputs": [],
765
+ "name": "unlockStake",
766
+ "outputs": [],
767
+ "stateMutability": "nonpayable",
768
+ "type": "function"
769
+ },
770
+ {
771
+ "inputs": [
772
+ {
773
+ "internalType": "address payable",
774
+ "name": "withdrawAddress",
775
+ "type": "address"
776
+ }
777
+ ],
778
+ "name": "withdrawStake",
779
+ "outputs": [],
780
+ "stateMutability": "nonpayable",
781
+ "type": "function"
782
+ },
783
+ {
784
+ "inputs": [
785
+ {
786
+ "internalType": "address payable",
787
+ "name": "withdrawAddress",
788
+ "type": "address"
789
+ },
790
+ {
791
+ "internalType": "uint256",
792
+ "name": "withdrawAmount",
793
+ "type": "uint256"
794
+ }
795
+ ],
796
+ "name": "withdrawTo",
797
+ "outputs": [],
798
+ "stateMutability": "nonpayable",
799
+ "type": "function"
800
+ }
801
+ ],
802
+ "bytecode": "0x",
803
+ "deployedBytecode": "0x",
804
+ "linkReferences": {},
805
+ "deployedLinkReferences": {},
806
+ "immutableReferences": {},
807
+ "inputSourceName": "project/contracts/interfaces/IEntryPoint.sol",
808
+ "buildInfoId": "solc-0_8_30-e703f2fe389268a2246aec69fef2175182b7b532"
809
+ }