@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,496 @@
1
+ {
2
+ "_format": "hh3-artifact-1",
3
+ "contractName": "LinealQantum",
4
+ "sourceName": "contracts/economy/banks/LinealQantum.sol",
5
+ "abi": [
6
+ {
7
+ "anonymous": false,
8
+ "inputs": [
9
+ {
10
+ "indexed": true,
11
+ "internalType": "bytes32",
12
+ "name": "txHash",
13
+ "type": "bytes32"
14
+ },
15
+ {
16
+ "indexed": true,
17
+ "internalType": "address",
18
+ "name": "signer",
19
+ "type": "address"
20
+ }
21
+ ],
22
+ "name": "ActionConfirmed",
23
+ "type": "event"
24
+ },
25
+ {
26
+ "anonymous": false,
27
+ "inputs": [
28
+ {
29
+ "indexed": true,
30
+ "internalType": "bytes32",
31
+ "name": "txHash",
32
+ "type": "bytes32"
33
+ }
34
+ ],
35
+ "name": "ActionExecuted",
36
+ "type": "event"
37
+ },
38
+ {
39
+ "anonymous": false,
40
+ "inputs": [
41
+ {
42
+ "indexed": true,
43
+ "internalType": "bytes32",
44
+ "name": "txHash",
45
+ "type": "bytes32"
46
+ },
47
+ {
48
+ "indexed": true,
49
+ "internalType": "address",
50
+ "name": "proposer",
51
+ "type": "address"
52
+ },
53
+ {
54
+ "indexed": false,
55
+ "internalType": "string",
56
+ "name": "actionType",
57
+ "type": "string"
58
+ }
59
+ ],
60
+ "name": "ActionProposed",
61
+ "type": "event"
62
+ },
63
+ {
64
+ "anonymous": false,
65
+ "inputs": [
66
+ {
67
+ "indexed": false,
68
+ "internalType": "address",
69
+ "name": "newGuardian",
70
+ "type": "address"
71
+ }
72
+ ],
73
+ "name": "GuardianUpdated",
74
+ "type": "event"
75
+ },
76
+ {
77
+ "anonymous": false,
78
+ "inputs": [
79
+ {
80
+ "indexed": true,
81
+ "internalType": "address",
82
+ "name": "signer",
83
+ "type": "address"
84
+ },
85
+ {
86
+ "indexed": false,
87
+ "internalType": "bytes32",
88
+ "name": "commitment",
89
+ "type": "bytes32"
90
+ }
91
+ ],
92
+ "name": "QuantumCommitmentUpdated",
93
+ "type": "event"
94
+ },
95
+ {
96
+ "anonymous": false,
97
+ "inputs": [
98
+ {
99
+ "indexed": true,
100
+ "internalType": "bytes32",
101
+ "name": "recoveryHash",
102
+ "type": "bytes32"
103
+ },
104
+ {
105
+ "indexed": true,
106
+ "internalType": "address",
107
+ "name": "confirmer",
108
+ "type": "address"
109
+ },
110
+ {
111
+ "indexed": false,
112
+ "internalType": "uint256",
113
+ "name": "confirmations",
114
+ "type": "uint256"
115
+ }
116
+ ],
117
+ "name": "RecoveryConfirmed",
118
+ "type": "event"
119
+ },
120
+ {
121
+ "anonymous": false,
122
+ "inputs": [
123
+ {
124
+ "indexed": true,
125
+ "internalType": "bytes32",
126
+ "name": "recoveryHash",
127
+ "type": "bytes32"
128
+ }
129
+ ],
130
+ "name": "RecoveryExecuted",
131
+ "type": "event"
132
+ },
133
+ {
134
+ "anonymous": false,
135
+ "inputs": [
136
+ {
137
+ "indexed": true,
138
+ "internalType": "bytes32",
139
+ "name": "recoveryHash",
140
+ "type": "bytes32"
141
+ },
142
+ {
143
+ "indexed": true,
144
+ "internalType": "address",
145
+ "name": "proposer",
146
+ "type": "address"
147
+ }
148
+ ],
149
+ "name": "RecoveryProposed",
150
+ "type": "event"
151
+ },
152
+ {
153
+ "anonymous": false,
154
+ "inputs": [
155
+ {
156
+ "indexed": false,
157
+ "internalType": "address[]",
158
+ "name": "newSigners",
159
+ "type": "address[]"
160
+ },
161
+ {
162
+ "indexed": false,
163
+ "internalType": "uint256",
164
+ "name": "newRequired",
165
+ "type": "uint256"
166
+ }
167
+ ],
168
+ "name": "SignersRotated",
169
+ "type": "event"
170
+ },
171
+ {
172
+ "inputs": [],
173
+ "name": "RECOVERY_DELAY",
174
+ "outputs": [
175
+ {
176
+ "internalType": "uint256",
177
+ "name": "",
178
+ "type": "uint256"
179
+ }
180
+ ],
181
+ "stateMutability": "view",
182
+ "type": "function"
183
+ },
184
+ {
185
+ "inputs": [
186
+ {
187
+ "internalType": "address",
188
+ "name": "account",
189
+ "type": "address"
190
+ }
191
+ ],
192
+ "name": "_isSigner",
193
+ "outputs": [
194
+ {
195
+ "internalType": "bool",
196
+ "name": "",
197
+ "type": "bool"
198
+ }
199
+ ],
200
+ "stateMutability": "view",
201
+ "type": "function"
202
+ },
203
+ {
204
+ "inputs": [
205
+ {
206
+ "internalType": "string",
207
+ "name": "",
208
+ "type": "string"
209
+ }
210
+ ],
211
+ "name": "actionNonce",
212
+ "outputs": [
213
+ {
214
+ "internalType": "uint256",
215
+ "name": "",
216
+ "type": "uint256"
217
+ }
218
+ ],
219
+ "stateMutability": "view",
220
+ "type": "function"
221
+ },
222
+ {
223
+ "inputs": [
224
+ {
225
+ "internalType": "bytes32",
226
+ "name": "recoveryHash",
227
+ "type": "bytes32"
228
+ }
229
+ ],
230
+ "name": "confirmRecovery",
231
+ "outputs": [],
232
+ "stateMutability": "nonpayable",
233
+ "type": "function"
234
+ },
235
+ {
236
+ "inputs": [
237
+ {
238
+ "internalType": "bytes32",
239
+ "name": "",
240
+ "type": "bytes32"
241
+ }
242
+ ],
243
+ "name": "confirmationCount",
244
+ "outputs": [
245
+ {
246
+ "internalType": "uint256",
247
+ "name": "",
248
+ "type": "uint256"
249
+ }
250
+ ],
251
+ "stateMutability": "view",
252
+ "type": "function"
253
+ },
254
+ {
255
+ "inputs": [
256
+ {
257
+ "internalType": "bytes32",
258
+ "name": "recoveryHash",
259
+ "type": "bytes32"
260
+ }
261
+ ],
262
+ "name": "executeRecovery",
263
+ "outputs": [],
264
+ "stateMutability": "nonpayable",
265
+ "type": "function"
266
+ },
267
+ {
268
+ "inputs": [
269
+ {
270
+ "internalType": "string",
271
+ "name": "actionType",
272
+ "type": "string"
273
+ }
274
+ ],
275
+ "name": "getActionNonce",
276
+ "outputs": [
277
+ {
278
+ "internalType": "uint256",
279
+ "name": "",
280
+ "type": "uint256"
281
+ }
282
+ ],
283
+ "stateMutability": "view",
284
+ "type": "function"
285
+ },
286
+ {
287
+ "inputs": [],
288
+ "name": "guardian",
289
+ "outputs": [
290
+ {
291
+ "internalType": "address",
292
+ "name": "",
293
+ "type": "address"
294
+ }
295
+ ],
296
+ "stateMutability": "view",
297
+ "type": "function"
298
+ },
299
+ {
300
+ "inputs": [
301
+ {
302
+ "internalType": "bytes32",
303
+ "name": "",
304
+ "type": "bytes32"
305
+ },
306
+ {
307
+ "internalType": "address",
308
+ "name": "",
309
+ "type": "address"
310
+ }
311
+ ],
312
+ "name": "isConfirmed",
313
+ "outputs": [
314
+ {
315
+ "internalType": "bool",
316
+ "name": "",
317
+ "type": "bool"
318
+ }
319
+ ],
320
+ "stateMutability": "view",
321
+ "type": "function"
322
+ },
323
+ {
324
+ "inputs": [
325
+ {
326
+ "internalType": "bytes32",
327
+ "name": "",
328
+ "type": "bytes32"
329
+ }
330
+ ],
331
+ "name": "isExecuted",
332
+ "outputs": [
333
+ {
334
+ "internalType": "bool",
335
+ "name": "",
336
+ "type": "bool"
337
+ }
338
+ ],
339
+ "stateMutability": "view",
340
+ "type": "function"
341
+ },
342
+ {
343
+ "inputs": [
344
+ {
345
+ "internalType": "address[]",
346
+ "name": "_newSigners",
347
+ "type": "address[]"
348
+ },
349
+ {
350
+ "internalType": "uint256",
351
+ "name": "_newRequired",
352
+ "type": "uint256"
353
+ }
354
+ ],
355
+ "name": "proposeRecovery",
356
+ "outputs": [
357
+ {
358
+ "internalType": "bytes32",
359
+ "name": "recoveryHash",
360
+ "type": "bytes32"
361
+ }
362
+ ],
363
+ "stateMutability": "nonpayable",
364
+ "type": "function"
365
+ },
366
+ {
367
+ "inputs": [
368
+ {
369
+ "internalType": "address",
370
+ "name": "",
371
+ "type": "address"
372
+ }
373
+ ],
374
+ "name": "quantumCommitments",
375
+ "outputs": [
376
+ {
377
+ "internalType": "bytes32",
378
+ "name": "",
379
+ "type": "bytes32"
380
+ }
381
+ ],
382
+ "stateMutability": "view",
383
+ "type": "function"
384
+ },
385
+ {
386
+ "inputs": [],
387
+ "name": "recoveryQuorum",
388
+ "outputs": [
389
+ {
390
+ "internalType": "uint256",
391
+ "name": "",
392
+ "type": "uint256"
393
+ }
394
+ ],
395
+ "stateMutability": "view",
396
+ "type": "function"
397
+ },
398
+ {
399
+ "inputs": [],
400
+ "name": "requiredSignatures",
401
+ "outputs": [
402
+ {
403
+ "internalType": "uint256",
404
+ "name": "",
405
+ "type": "uint256"
406
+ }
407
+ ],
408
+ "stateMutability": "view",
409
+ "type": "function"
410
+ },
411
+ {
412
+ "inputs": [
413
+ {
414
+ "internalType": "address",
415
+ "name": "_newGuardian",
416
+ "type": "address"
417
+ }
418
+ ],
419
+ "name": "setGuardian",
420
+ "outputs": [],
421
+ "stateMutability": "nonpayable",
422
+ "type": "function"
423
+ },
424
+ {
425
+ "inputs": [
426
+ {
427
+ "internalType": "bytes32",
428
+ "name": "_hash",
429
+ "type": "bytes32"
430
+ }
431
+ ],
432
+ "name": "setQuantumCommitment",
433
+ "outputs": [],
434
+ "stateMutability": "nonpayable",
435
+ "type": "function"
436
+ },
437
+ {
438
+ "inputs": [
439
+ {
440
+ "internalType": "uint256",
441
+ "name": "",
442
+ "type": "uint256"
443
+ }
444
+ ],
445
+ "name": "signers",
446
+ "outputs": [
447
+ {
448
+ "internalType": "address",
449
+ "name": "",
450
+ "type": "address"
451
+ }
452
+ ],
453
+ "stateMutability": "view",
454
+ "type": "function"
455
+ },
456
+ {
457
+ "inputs": [
458
+ {
459
+ "internalType": "bytes32",
460
+ "name": "",
461
+ "type": "bytes32"
462
+ }
463
+ ],
464
+ "name": "usedNullifiers",
465
+ "outputs": [
466
+ {
467
+ "internalType": "bool",
468
+ "name": "",
469
+ "type": "bool"
470
+ }
471
+ ],
472
+ "stateMutability": "view",
473
+ "type": "function"
474
+ },
475
+ {
476
+ "inputs": [],
477
+ "name": "zkVerifier",
478
+ "outputs": [
479
+ {
480
+ "internalType": "contract Groth16Verifier",
481
+ "name": "",
482
+ "type": "address"
483
+ }
484
+ ],
485
+ "stateMutability": "view",
486
+ "type": "function"
487
+ }
488
+ ],
489
+ "bytecode": "0x",
490
+ "deployedBytecode": "0x",
491
+ "linkReferences": {},
492
+ "deployedLinkReferences": {},
493
+ "immutableReferences": {},
494
+ "inputSourceName": "project/contracts/economy/banks/LinealQantum.sol",
495
+ "buildInfoId": "solc-0_8_30-e703f2fe389268a2246aec69fef2175182b7b532"
496
+ }
@@ -0,0 +1,27 @@
1
+ // This file was autogenerated by Hardhat, do not edit it.
2
+ // prettier-ignore
3
+ // tslint:disable
4
+ // eslint-disable
5
+ // biome-ignore format: see above
6
+
7
+ export interface LinealQantum$Type {
8
+ readonly _format: "hh3-artifact-1";
9
+ readonly contractName: "LinealQantum";
10
+ readonly sourceName: "contracts/economy/banks/LinealQantum.sol";
11
+ readonly abi: [{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"txHash","type":"bytes32"},{"indexed":true,"internalType":"address","name":"signer","type":"address"}],"name":"ActionConfirmed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"txHash","type":"bytes32"}],"name":"ActionExecuted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"txHash","type":"bytes32"},{"indexed":true,"internalType":"address","name":"proposer","type":"address"},{"indexed":false,"internalType":"string","name":"actionType","type":"string"}],"name":"ActionProposed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newGuardian","type":"address"}],"name":"GuardianUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"signer","type":"address"},{"indexed":false,"internalType":"bytes32","name":"commitment","type":"bytes32"}],"name":"QuantumCommitmentUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"recoveryHash","type":"bytes32"},{"indexed":true,"internalType":"address","name":"confirmer","type":"address"},{"indexed":false,"internalType":"uint256","name":"confirmations","type":"uint256"}],"name":"RecoveryConfirmed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"recoveryHash","type":"bytes32"}],"name":"RecoveryExecuted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"recoveryHash","type":"bytes32"},{"indexed":true,"internalType":"address","name":"proposer","type":"address"}],"name":"RecoveryProposed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"newSigners","type":"address[]"},{"indexed":false,"internalType":"uint256","name":"newRequired","type":"uint256"}],"name":"SignersRotated","type":"event"},{"inputs":[],"name":"RECOVERY_DELAY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"_isSigner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"actionNonce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"recoveryHash","type":"bytes32"}],"name":"confirmRecovery","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"confirmationCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"recoveryHash","type":"bytes32"}],"name":"executeRecovery","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"actionType","type":"string"}],"name":"getActionNonce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"guardian","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"},{"internalType":"address","name":"","type":"address"}],"name":"isConfirmed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"isExecuted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_newSigners","type":"address[]"},{"internalType":"uint256","name":"_newRequired","type":"uint256"}],"name":"proposeRecovery","outputs":[{"internalType":"bytes32","name":"recoveryHash","type":"bytes32"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"quantumCommitments","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"recoveryQuorum","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"requiredSignatures","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_newGuardian","type":"address"}],"name":"setGuardian","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_hash","type":"bytes32"}],"name":"setQuantumCommitment","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"signers","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"usedNullifiers","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"zkVerifier","outputs":[{"internalType":"contract Groth16Verifier","name":"","type":"address"}],"stateMutability":"view","type":"function"}];
12
+ readonly bytecode: "0x";
13
+ readonly deployedBytecode: "0x";
14
+ readonly linkReferences: {};
15
+ readonly deployedLinkReferences: {};
16
+ readonly immutableReferences: {};
17
+ readonly inputSourceName: "project/contracts/economy/banks/LinealQantum.sol";
18
+ readonly buildInfoId: "solc-0_8_30-e703f2fe389268a2246aec69fef2175182b7b532";
19
+ };
20
+
21
+ import "hardhat/types/artifacts";
22
+ declare module "hardhat/types/artifacts" {
23
+ interface ArtifactMap {
24
+ ["LinealQantum"]: LinealQantum$Type;
25
+ ["contracts/economy/banks/LinealQantum.sol:LinealQantum"]: LinealQantum$Type;
26
+ }
27
+ }
@@ -0,0 +1,27 @@
1
+ {
2
+ "_format": "hh3-artifact-1",
3
+ "contractName": "ILinealBank",
4
+ "sourceName": "contracts/economy/banks/LinealTransaction.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "bytes32",
10
+ "name": "txId",
11
+ "type": "bytes32"
12
+ }
13
+ ],
14
+ "name": "executeTransactionRelease",
15
+ "outputs": [],
16
+ "stateMutability": "nonpayable",
17
+ "type": "function"
18
+ }
19
+ ],
20
+ "bytecode": "0x",
21
+ "deployedBytecode": "0x",
22
+ "linkReferences": {},
23
+ "deployedLinkReferences": {},
24
+ "immutableReferences": {},
25
+ "inputSourceName": "project/contracts/economy/banks/LinealTransaction.sol",
26
+ "buildInfoId": "solc-0_8_30-e703f2fe389268a2246aec69fef2175182b7b532"
27
+ }