@ercworldio/blockchain-shared 1.0.3-dev.1-PROJ-1296.0 → 1.0.3-dev.3

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 (96) hide show
  1. package/build/chains/networks_prod-bu.json +5 -2
  2. package/build/chains/networks_prod-dz.json +10 -9
  3. package/build/chains/networks_stg-bu.json +2 -1
  4. package/build/chains/networks_stg-dz.json +2 -1
  5. package/build/chains/networks_stg-sh.json +2 -1
  6. package/build/chains/networks_stg-yb.json +2 -1
  7. package/build/contracts/artifacts/Escrow.json +490 -1979
  8. package/build/contracts/typechain-types/@openzeppelin/contracts/interfaces/index.d.ts +1 -0
  9. package/build/contracts/typechain-types/@openzeppelin/contracts/interfaces/index.d.ts.map +1 -1
  10. package/build/contracts/typechain-types/@openzeppelin/contracts/utils/index.d.ts +6 -0
  11. package/build/contracts/typechain-types/@openzeppelin/contracts/utils/index.d.ts.map +1 -1
  12. package/build/contracts/typechain-types/contracts/escrow/Escrow.d.ts +76 -761
  13. package/build/contracts/typechain-types/contracts/escrow/Escrow.d.ts.map +1 -1
  14. package/build/contracts/typechain-types/contracts/escrow/EscrowAccessControl.d.ts +17 -65
  15. package/build/contracts/typechain-types/contracts/escrow/EscrowAccessControl.d.ts.map +1 -1
  16. package/build/contracts/typechain-types/contracts/index.d.ts +0 -2
  17. package/build/contracts/typechain-types/contracts/index.d.ts.map +1 -1
  18. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/interfaces/index.d.ts +1 -0
  19. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/interfaces/index.d.ts.map +1 -1
  20. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/interfaces/index.js +3 -1
  21. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/SafeERC20__factory.d.ts +1 -1
  22. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/SafeERC20__factory.d.ts.map +1 -1
  23. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/SafeERC20__factory.js +1 -1
  24. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/utils/index.d.ts +4 -0
  25. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/utils/index.d.ts.map +1 -1
  26. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/utils/index.js +7 -1
  27. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowAccessControl__factory.d.ts +12 -286
  28. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowAccessControl__factory.d.ts.map +1 -1
  29. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowAccessControl__factory.js +12 -374
  30. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowErrors__factory.d.ts +1 -137
  31. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowErrors__factory.d.ts.map +1 -1
  32. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowErrors__factory.js +1 -182
  33. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowSignature__factory.d.ts +1 -1
  34. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowSignature__factory.d.ts.map +1 -1
  35. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowSignature__factory.js +1 -1
  36. package/build/contracts/typechain-types/factories/contracts/escrow/Escrow__factory.d.ts +96 -1245
  37. package/build/contracts/typechain-types/factories/contracts/escrow/Escrow__factory.d.ts.map +1 -1
  38. package/build/contracts/typechain-types/factories/contracts/escrow/Escrow__factory.js +241 -1730
  39. package/build/contracts/typechain-types/factories/contracts/escrow/TokensWhitelist__factory.d.ts +1 -1
  40. package/build/contracts/typechain-types/factories/contracts/escrow/TokensWhitelist__factory.d.ts.map +1 -1
  41. package/build/contracts/typechain-types/factories/contracts/escrow/TokensWhitelist__factory.js +1 -1
  42. package/build/contracts/typechain-types/factories/contracts/index.d.ts +0 -1
  43. package/build/contracts/typechain-types/factories/contracts/index.d.ts.map +1 -1
  44. package/build/contracts/typechain-types/factories/contracts/index.js +1 -2
  45. package/build/contracts/typechain-types/factories/contracts/mock/erc20/ERC20Mock__factory.d.ts +1 -1
  46. package/build/contracts/typechain-types/factories/contracts/mock/erc20/ERC20Mock__factory.d.ts.map +1 -1
  47. package/build/contracts/typechain-types/factories/contracts/mock/erc20/ERC20Mock__factory.js +1 -1
  48. package/build/contracts/typechain-types/index.d.ts +10 -4
  49. package/build/contracts/typechain-types/index.d.ts.map +1 -1
  50. package/build/contracts/typechain-types/index.js +11 -5
  51. package/build/errors/errors.d.ts +3 -0
  52. package/build/errors/errors.d.ts.map +1 -1
  53. package/build/errors/errors.js +6 -0
  54. package/package.json +1 -1
  55. package/build/contracts/typechain-types/contracts/lib/Events.d.ts +0 -386
  56. package/build/contracts/typechain-types/contracts/lib/Events.d.ts.map +0 -1
  57. package/build/contracts/typechain-types/contracts/lib/Events.js +0 -2
  58. package/build/contracts/typechain-types/contracts/lib/MultisigLib.d.ts +0 -21
  59. package/build/contracts/typechain-types/contracts/lib/MultisigLib.d.ts.map +0 -1
  60. package/build/contracts/typechain-types/contracts/lib/MultisigLib.js +0 -2
  61. package/build/contracts/typechain-types/contracts/lib/index.d.ts +0 -3
  62. package/build/contracts/typechain-types/contracts/lib/index.d.ts.map +0 -1
  63. package/build/contracts/typechain-types/contracts/lib/index.js +0 -2
  64. package/build/contracts/typechain-types/factories/contracts/lib/Events__factory.d.ts +0 -373
  65. package/build/contracts/typechain-types/factories/contracts/lib/Events__factory.d.ts.map +0 -1
  66. package/build/contracts/typechain-types/factories/contracts/lib/Events__factory.js +0 -473
  67. package/build/contracts/typechain-types/factories/contracts/lib/MultisigLib__factory.d.ts +0 -55
  68. package/build/contracts/typechain-types/factories/contracts/lib/MultisigLib__factory.d.ts.map +0 -1
  69. package/build/contracts/typechain-types/factories/contracts/lib/MultisigLib__factory.js +0 -82
  70. package/build/contracts/typechain-types/factories/contracts/lib/index.d.ts +0 -3
  71. package/build/contracts/typechain-types/factories/contracts/lib/index.d.ts.map +0 -1
  72. package/build/contracts/typechain-types/factories/contracts/lib/index.js +0 -10
  73. package/build/entities/AdminOperationThresholds.d.ts +0 -12
  74. package/build/entities/AdminOperationThresholds.d.ts.map +0 -1
  75. package/build/entities/AdminOperationThresholds.js +0 -56
  76. package/build/entities/EscrowRoles.d.ts +0 -12
  77. package/build/entities/EscrowRoles.d.ts.map +0 -1
  78. package/build/entities/EscrowRoles.js +0 -57
  79. package/build/entities/GlobalTimelock.d.ts +0 -14
  80. package/build/entities/GlobalTimelock.d.ts.map +0 -1
  81. package/build/entities/GlobalTimelock.js +0 -64
  82. package/build/entities/GranularTimelock .d.ts +0 -12
  83. package/build/entities/GranularTimelock .d.ts.map +0 -1
  84. package/build/entities/GranularTimelock .js +0 -56
  85. package/build/entities/OperationType.d.ts +0 -18
  86. package/build/entities/OperationType.d.ts.map +0 -1
  87. package/build/entities/OperationType.js +0 -50
  88. package/build/entities/RoleHash.d.ts +0 -11
  89. package/build/entities/RoleHash.d.ts.map +0 -1
  90. package/build/entities/RoleHash.js +0 -52
  91. package/build/entities/Signatures.d.ts +0 -16
  92. package/build/entities/Signatures.d.ts.map +0 -1
  93. package/build/entities/Signatures.js +0 -72
  94. package/build/entities/TokenExecutionThresholds.d.ts +0 -16
  95. package/build/entities/TokenExecutionThresholds.d.ts.map +0 -1
  96. package/build/entities/TokenExecutionThresholds.js +0 -72
@@ -20,49 +20,6 @@
20
20
  "name": "AccessControlUnauthorizedAccount",
21
21
  "type": "error"
22
22
  },
23
- {
24
- "inputs": [
25
- {
26
- "internalType": "address",
27
- "name": "account",
28
- "type": "address"
29
- }
30
- ],
31
- "name": "AccountAlreadyHasSignerRole",
32
- "type": "error"
33
- },
34
- {
35
- "inputs": [],
36
- "name": "AdminMultisigConfigNotSet",
37
- "type": "error"
38
- },
39
- {
40
- "inputs": [
41
- {
42
- "internalType": "uint256",
43
- "name": "requestId",
44
- "type": "uint256"
45
- }
46
- ],
47
- "name": "AlreadyCreatedTransaction",
48
- "type": "error"
49
- },
50
- {
51
- "inputs": [
52
- {
53
- "internalType": "bytes32",
54
- "name": "commitmentHash",
55
- "type": "bytes32"
56
- }
57
- ],
58
- "name": "CommitmentNotFound",
59
- "type": "error"
60
- },
61
- {
62
- "inputs": [],
63
- "name": "ConfigGroupNotSet",
64
- "type": "error"
65
- },
66
23
  {
67
24
  "inputs": [],
68
25
  "name": "ContractBusy",
@@ -99,11 +56,6 @@
99
56
  "name": "ExceedsLimit",
100
57
  "type": "error"
101
58
  },
102
- {
103
- "inputs": [],
104
- "name": "ExceedsMax",
105
- "type": "error"
106
- },
107
59
  {
108
60
  "inputs": [],
109
61
  "name": "ExceedsMaxBatch",
@@ -135,149 +87,21 @@
135
87
  "name": "InsufficientBalance",
136
88
  "type": "error"
137
89
  },
138
- {
139
- "inputs": [
140
- {
141
- "internalType": "uint256",
142
- "name": "required",
143
- "type": "uint256"
144
- },
145
- {
146
- "internalType": "uint256",
147
- "name": "provided",
148
- "type": "uint256"
149
- }
150
- ],
151
- "name": "InsufficientExecutiveSigs",
152
- "type": "error"
153
- },
154
- {
155
- "inputs": [
156
- {
157
- "internalType": "uint256",
158
- "name": "required",
159
- "type": "uint256"
160
- },
161
- {
162
- "internalType": "uint256",
163
- "name": "provided",
164
- "type": "uint256"
165
- }
166
- ],
167
- "name": "InsufficientExecutiveSigs",
168
- "type": "error"
169
- },
170
- {
171
- "inputs": [
172
- {
173
- "internalType": "uint256",
174
- "name": "required",
175
- "type": "uint256"
176
- },
177
- {
178
- "internalType": "uint256",
179
- "name": "provided",
180
- "type": "uint256"
181
- }
182
- ],
183
- "name": "InsufficientManagerSigs",
184
- "type": "error"
185
- },
186
- {
187
- "inputs": [
188
- {
189
- "internalType": "uint256",
190
- "name": "required",
191
- "type": "uint256"
192
- },
193
- {
194
- "internalType": "uint256",
195
- "name": "provided",
196
- "type": "uint256"
197
- }
198
- ],
199
- "name": "InsufficientManagerSigs",
200
- "type": "error"
201
- },
202
90
  {
203
91
  "inputs": [],
204
92
  "name": "InsufficientReserves",
205
93
  "type": "error"
206
94
  },
207
- {
208
- "inputs": [],
209
- "name": "InvalidConfig",
210
- "type": "error"
211
- },
212
95
  {
213
96
  "inputs": [],
214
97
  "name": "InvalidInitialization",
215
98
  "type": "error"
216
99
  },
217
- {
218
- "inputs": [
219
- {
220
- "internalType": "uint256",
221
- "name": "sig_idx",
222
- "type": "uint256"
223
- }
224
- ],
225
- "name": "InvalidMultiSig",
226
- "type": "error"
227
- },
228
- {
229
- "inputs": [
230
- {
231
- "internalType": "uint256",
232
- "name": "sig_idx",
233
- "type": "uint256"
234
- }
235
- ],
236
- "name": "InvalidMultiSig",
237
- "type": "error"
238
- },
239
- {
240
- "inputs": [
241
- {
242
- "internalType": "uint256",
243
- "name": "expected",
244
- "type": "uint256"
245
- },
246
- {
247
- "internalType": "uint256",
248
- "name": "provided",
249
- "type": "uint256"
250
- }
251
- ],
252
- "name": "InvalidNonce",
253
- "type": "error"
254
- },
255
- {
256
- "inputs": [],
257
- "name": "InvalidOperation",
258
- "type": "error"
259
- },
260
100
  {
261
101
  "inputs": [],
262
102
  "name": "InvalidSignature",
263
103
  "type": "error"
264
104
  },
265
- {
266
- "inputs": [],
267
- "name": "InvalidSignatures",
268
- "type": "error"
269
- },
270
- {
271
- "inputs": [
272
- {
273
- "internalType": "address",
274
- "name": "tokenAddress",
275
- "type": "address"
276
- }
277
- ],
278
- "name": "MultisigConfigNotSet",
279
- "type": "error"
280
- },
281
105
  {
282
106
  "inputs": [],
283
107
  "name": "NotAdmin",
@@ -314,22 +138,6 @@
314
138
  "name": "RequestAlreadyFulfilled",
315
139
  "type": "error"
316
140
  },
317
- {
318
- "inputs": [
319
- {
320
- "internalType": "uint8",
321
- "name": "required_number",
322
- "type": "uint8"
323
- }
324
- ],
325
- "name": "RequireMultiSig",
326
- "type": "error"
327
- },
328
- {
329
- "inputs": [],
330
- "name": "RequireTreasuryReceiverRole",
331
- "type": "error"
332
- },
333
141
  {
334
142
  "inputs": [
335
143
  {
@@ -346,38 +154,6 @@
346
154
  "name": "SignatureAlreadyUsed",
347
155
  "type": "error"
348
156
  },
349
- {
350
- "inputs": [],
351
- "name": "TimelockConfigGroupNotSet",
352
- "type": "error"
353
- },
354
- {
355
- "inputs": [
356
- {
357
- "internalType": "address",
358
- "name": "tokenAddress",
359
- "type": "address"
360
- }
361
- ],
362
- "name": "TimelockConfigNotSet",
363
- "type": "error"
364
- },
365
- {
366
- "inputs": [
367
- {
368
- "internalType": "uint256",
369
- "name": "executeAt",
370
- "type": "uint256"
371
- },
372
- {
373
- "internalType": "uint256",
374
- "name": "currentTime",
375
- "type": "uint256"
376
- }
377
- ],
378
- "name": "TimelockNotExpired",
379
- "type": "error"
380
- },
381
157
  {
382
158
  "inputs": [
383
159
  {
@@ -457,12 +233,6 @@
457
233
  "internalType": "address",
458
234
  "name": "tokenAddress",
459
235
  "type": "address"
460
- },
461
- {
462
- "indexed": false,
463
- "internalType": "uint256",
464
- "name": "requestId",
465
- "type": "uint256"
466
236
  }
467
237
  ],
468
238
  "name": "AdminWithdraw",
@@ -473,37 +243,12 @@
473
243
  "inputs": [
474
244
  {
475
245
  "indexed": false,
476
- "internalType": "enum Types.OperationType",
477
- "name": "opType",
478
- "type": "uint8"
479
- },
480
- {
481
- "indexed": false,
482
- "internalType": "uint256",
483
- "name": "sigsManagerRequired",
484
- "type": "uint256"
246
+ "internalType": "address",
247
+ "name": "payer",
248
+ "type": "address"
485
249
  },
486
250
  {
487
251
  "indexed": false,
488
- "internalType": "uint256",
489
- "name": "sigsExecutiveRequired",
490
- "type": "uint256"
491
- }
492
- ],
493
- "name": "ConfigureAdminMultisig",
494
- "type": "event"
495
- },
496
- {
497
- "anonymous": false,
498
- "inputs": [
499
- {
500
- "indexed": false,
501
- "internalType": "enum Types.OperationType",
502
- "name": "opType",
503
- "type": "uint8"
504
- },
505
- {
506
- "indexed": true,
507
252
  "internalType": "address",
508
253
  "name": "tokenAddress",
509
254
  "type": "address"
@@ -511,35 +256,23 @@
511
256
  {
512
257
  "indexed": false,
513
258
  "internalType": "uint256",
514
- "name": "thresholdAmount",
259
+ "name": "amount",
515
260
  "type": "uint256"
516
261
  },
517
262
  {
518
263
  "indexed": false,
519
- "internalType": "uint8",
520
- "name": "sigsExecutiveBelow",
521
- "type": "uint8"
522
- },
523
- {
524
- "indexed": false,
525
- "internalType": "uint8",
526
- "name": "sigsExecutiveAbove",
527
- "type": "uint8"
528
- },
529
- {
530
- "indexed": false,
531
- "internalType": "uint8",
532
- "name": "sigsManagerBelow",
533
- "type": "uint8"
534
- },
535
- {
536
- "indexed": false,
537
- "internalType": "uint8",
538
- "name": "sigsManagerAbove",
539
- "type": "uint8"
264
+ "internalType": "string",
265
+ "name": "bonusCode",
266
+ "type": "string"
540
267
  }
541
268
  ],
542
- "name": "ConfigureTokenMultisig",
269
+ "name": "Deposit",
270
+ "type": "event"
271
+ },
272
+ {
273
+ "anonymous": false,
274
+ "inputs": [],
275
+ "name": "FundWallets",
543
276
  "type": "event"
544
277
  },
545
278
  {
@@ -548,50 +281,13 @@
548
281
  {
549
282
  "indexed": false,
550
283
  "internalType": "address",
551
- "name": "payer",
284
+ "name": "funder",
552
285
  "type": "address"
553
286
  },
554
287
  {
555
288
  "indexed": false,
556
289
  "internalType": "address",
557
- "name": "tokenAddress",
558
- "type": "address"
559
- },
560
- {
561
- "indexed": false,
562
- "internalType": "uint256",
563
- "name": "amount",
564
- "type": "uint256"
565
- },
566
- {
567
- "indexed": false,
568
- "internalType": "string",
569
- "name": "bonusCode",
570
- "type": "string"
571
- }
572
- ],
573
- "name": "Deposit",
574
- "type": "event"
575
- },
576
- {
577
- "anonymous": false,
578
- "inputs": [],
579
- "name": "FundWallets",
580
- "type": "event"
581
- },
582
- {
583
- "anonymous": false,
584
- "inputs": [
585
- {
586
- "indexed": false,
587
- "internalType": "address",
588
- "name": "funder",
589
- "type": "address"
590
- },
591
- {
592
- "indexed": false,
593
- "internalType": "address",
594
- "name": "token",
290
+ "name": "token",
595
291
  "type": "address"
596
292
  },
597
293
  {
@@ -723,56 +419,6 @@
723
419
  "name": "RoleRevoked",
724
420
  "type": "event"
725
421
  },
726
- {
727
- "anonymous": false,
728
- "inputs": [
729
- {
730
- "indexed": true,
731
- "internalType": "address",
732
- "name": "receiverAddress",
733
- "type": "address"
734
- },
735
- {
736
- "indexed": false,
737
- "internalType": "uint256",
738
- "name": "duration",
739
- "type": "uint256"
740
- }
741
- ],
742
- "name": "SetTimelockGranular",
743
- "type": "event"
744
- },
745
- {
746
- "anonymous": false,
747
- "inputs": [
748
- {
749
- "indexed": true,
750
- "internalType": "address",
751
- "name": "tokenAddress",
752
- "type": "address"
753
- },
754
- {
755
- "indexed": false,
756
- "internalType": "uint256",
757
- "name": "thresholdAmount",
758
- "type": "uint256"
759
- },
760
- {
761
- "indexed": false,
762
- "internalType": "uint256",
763
- "name": "durationBelow",
764
- "type": "uint256"
765
- },
766
- {
767
- "indexed": false,
768
- "internalType": "uint256",
769
- "name": "durationAbove",
770
- "type": "uint256"
771
- }
772
- ],
773
- "name": "SetTokenTimelock",
774
- "type": "event"
775
- },
776
422
  {
777
423
  "anonymous": false,
778
424
  "inputs": [
@@ -836,6 +482,25 @@
836
482
  "name": "TokenRemoved",
837
483
  "type": "event"
838
484
  },
485
+ {
486
+ "anonymous": false,
487
+ "inputs": [
488
+ {
489
+ "indexed": false,
490
+ "internalType": "uint256",
491
+ "name": "amount",
492
+ "type": "uint256"
493
+ },
494
+ {
495
+ "indexed": false,
496
+ "internalType": "uint256",
497
+ "name": "blockNumber",
498
+ "type": "uint256"
499
+ }
500
+ ],
501
+ "name": "TransactionCount",
502
+ "type": "event"
503
+ },
839
504
  {
840
505
  "anonymous": false,
841
506
  "inputs": [
@@ -879,90 +544,9 @@
879
544
  "name": "Withdrawal",
880
545
  "type": "event"
881
546
  },
882
- {
883
- "anonymous": false,
884
- "inputs": [
885
- {
886
- "indexed": true,
887
- "internalType": "bytes32",
888
- "name": "commitmentHash",
889
- "type": "bytes32"
890
- },
891
- {
892
- "indexed": true,
893
- "internalType": "uint256",
894
- "name": "requestId",
895
- "type": "uint256"
896
- }
897
- ],
898
- "name": "WithdrawalCancelled",
899
- "type": "event"
900
- },
901
- {
902
- "anonymous": false,
903
- "inputs": [
904
- {
905
- "indexed": true,
906
- "internalType": "bytes32",
907
- "name": "commitmentHash",
908
- "type": "bytes32"
909
- },
910
- {
911
- "indexed": true,
912
- "internalType": "uint256",
913
- "name": "requestId",
914
- "type": "uint256"
915
- }
916
- ],
917
- "name": "WithdrawalExecuted",
918
- "type": "event"
919
- },
920
- {
921
- "anonymous": false,
922
- "inputs": [
923
- {
924
- "indexed": true,
925
- "internalType": "bytes32",
926
- "name": "commitmentHash",
927
- "type": "bytes32"
928
- },
929
- {
930
- "indexed": true,
931
- "internalType": "uint256",
932
- "name": "requestId",
933
- "type": "uint256"
934
- },
935
- {
936
- "indexed": false,
937
- "internalType": "uint256",
938
- "name": "amount",
939
- "type": "uint256"
940
- },
941
- {
942
- "indexed": false,
943
- "internalType": "address",
944
- "name": "tokenAddress",
945
- "type": "address"
946
- },
947
- {
948
- "indexed": false,
949
- "internalType": "address",
950
- "name": "receiverAddress",
951
- "type": "address"
952
- },
953
- {
954
- "indexed": false,
955
- "internalType": "uint256",
956
- "name": "executeAt",
957
- "type": "uint256"
958
- }
959
- ],
960
- "name": "WithdrawalScheduled",
961
- "type": "event"
962
- },
963
547
  {
964
548
  "inputs": [],
965
- "name": "ADMIN_TREASURY_EXECUTIVE_ROLE",
549
+ "name": "DEFAULT_ADMIN_ROLE",
966
550
  "outputs": [
967
551
  {
968
552
  "internalType": "bytes32",
@@ -975,7 +559,7 @@
975
559
  },
976
560
  {
977
561
  "inputs": [],
978
- "name": "ADMIN_TREASURY_MANAGER_ROLE",
562
+ "name": "DOMAIN_SEPARATOR",
979
563
  "outputs": [
980
564
  {
981
565
  "internalType": "bytes32",
@@ -988,7 +572,7 @@
988
572
  },
989
573
  {
990
574
  "inputs": [],
991
- "name": "CONFIG_EXECUTIVE_ROLE",
575
+ "name": "FUNDS_MANAGER_ROLE",
992
576
  "outputs": [
993
577
  {
994
578
  "internalType": "bytes32",
@@ -1001,7 +585,7 @@
1001
585
  },
1002
586
  {
1003
587
  "inputs": [],
1004
- "name": "CONFIG_MANAGER_ROLE",
588
+ "name": "OPERATOR_ROLE",
1005
589
  "outputs": [
1006
590
  {
1007
591
  "internalType": "bytes32",
@@ -1013,167 +597,175 @@
1013
597
  "type": "function"
1014
598
  },
1015
599
  {
1016
- "inputs": [],
1017
- "name": "DEFAULT_ADMIN_ROLE",
1018
- "outputs": [
600
+ "inputs": [
1019
601
  {
1020
- "internalType": "bytes32",
1021
- "name": "",
1022
- "type": "bytes32"
1023
- }
1024
- ],
1025
- "stateMutability": "view",
1026
- "type": "function"
1027
- },
1028
- {
1029
- "inputs": [],
1030
- "name": "DOMAIN_SEPARATOR",
1031
- "outputs": [
602
+ "internalType": "address",
603
+ "name": "_operator",
604
+ "type": "address"
605
+ },
1032
606
  {
1033
- "internalType": "bytes32",
1034
- "name": "",
1035
- "type": "bytes32"
607
+ "internalType": "address",
608
+ "name": "_owner",
609
+ "type": "address"
610
+ },
611
+ {
612
+ "internalType": "address",
613
+ "name": "_fundsManager",
614
+ "type": "address"
1036
615
  }
1037
616
  ],
1038
- "stateMutability": "view",
617
+ "name": "__AccessControl_init",
618
+ "outputs": [],
619
+ "stateMutability": "nonpayable",
1039
620
  "type": "function"
1040
621
  },
1041
622
  {
1042
- "inputs": [],
1043
- "name": "FUNDS_MANAGER_ROLE",
1044
- "outputs": [
623
+ "inputs": [
1045
624
  {
1046
- "internalType": "bytes32",
1047
- "name": "",
1048
- "type": "bytes32"
625
+ "internalType": "string",
626
+ "name": "_name",
627
+ "type": "string"
628
+ },
629
+ {
630
+ "internalType": "string",
631
+ "name": "_version",
632
+ "type": "string"
1049
633
  }
1050
634
  ],
1051
- "stateMutability": "view",
635
+ "name": "__Signature_init",
636
+ "outputs": [],
637
+ "stateMutability": "nonpayable",
1052
638
  "type": "function"
1053
639
  },
1054
640
  {
1055
- "inputs": [],
1056
- "name": "OPERATOR_ROLE",
1057
- "outputs": [
641
+ "inputs": [
1058
642
  {
1059
- "internalType": "bytes32",
1060
- "name": "",
1061
- "type": "bytes32"
643
+ "internalType": "address[]",
644
+ "name": "_tokens",
645
+ "type": "address[]"
1062
646
  }
1063
647
  ],
1064
- "stateMutability": "view",
648
+ "name": "__TokensWhitelist_init",
649
+ "outputs": [],
650
+ "stateMutability": "nonpayable",
1065
651
  "type": "function"
1066
652
  },
1067
653
  {
1068
- "inputs": [],
1069
- "name": "TIMELOCK_CONFIG_EXECUTIVE_ROLE",
1070
- "outputs": [
654
+ "inputs": [
1071
655
  {
1072
- "internalType": "bytes32",
1073
- "name": "",
1074
- "type": "bytes32"
656
+ "internalType": "address[]",
657
+ "name": "tokens",
658
+ "type": "address[]"
1075
659
  }
1076
660
  ],
1077
- "stateMutability": "view",
661
+ "name": "addTokens",
662
+ "outputs": [],
663
+ "stateMutability": "nonpayable",
1078
664
  "type": "function"
1079
665
  },
1080
666
  {
1081
- "inputs": [],
1082
- "name": "TIMELOCK_CONFIG_MANAGER_ROLE",
1083
- "outputs": [
1084
- {
1085
- "internalType": "bytes32",
1086
- "name": "",
1087
- "type": "bytes32"
1088
- }
1089
- ],
1090
- "stateMutability": "view",
1091
- "type": "function"
1092
- },
1093
- {
1094
- "inputs": [],
1095
- "name": "TIMELOCK_DELAY",
1096
- "outputs": [
667
+ "inputs": [
1097
668
  {
1098
669
  "internalType": "uint256",
1099
- "name": "",
670
+ "name": "amount",
1100
671
  "type": "uint256"
1101
- }
1102
- ],
1103
- "stateMutability": "view",
1104
- "type": "function"
1105
- },
1106
- {
1107
- "inputs": [],
1108
- "name": "TREASURY_DISPATCH_ROLE",
1109
- "outputs": [
672
+ },
1110
673
  {
1111
- "internalType": "bytes32",
1112
- "name": "",
1113
- "type": "bytes32"
674
+ "internalType": "address",
675
+ "name": "token",
676
+ "type": "address"
677
+ },
678
+ {
679
+ "internalType": "address",
680
+ "name": "receiver",
681
+ "type": "address"
1114
682
  }
1115
683
  ],
1116
- "stateMutability": "view",
684
+ "name": "adminWithdraw",
685
+ "outputs": [],
686
+ "stateMutability": "nonpayable",
1117
687
  "type": "function"
1118
688
  },
1119
689
  {
1120
- "inputs": [],
1121
- "name": "TREASURY_EXECUTIVE_ROLE",
1122
- "outputs": [
690
+ "inputs": [
1123
691
  {
1124
- "internalType": "bytes32",
1125
- "name": "",
1126
- "type": "bytes32"
692
+ "components": [
693
+ {
694
+ "internalType": "address",
695
+ "name": "wallet",
696
+ "type": "address"
697
+ },
698
+ {
699
+ "internalType": "address",
700
+ "name": "token",
701
+ "type": "address"
702
+ }
703
+ ],
704
+ "internalType": "struct Types.SweepJob[]",
705
+ "name": "jobs",
706
+ "type": "tuple[]"
707
+ },
708
+ {
709
+ "internalType": "address payable",
710
+ "name": "receiver",
711
+ "type": "address"
1127
712
  }
1128
713
  ],
1129
- "stateMutability": "view",
1130
- "type": "function"
1131
- },
1132
- {
1133
- "inputs": [],
1134
- "name": "TREASURY_MANAGER_ROLE",
714
+ "name": "batchSweepERC20",
1135
715
  "outputs": [
1136
716
  {
1137
- "internalType": "bytes32",
717
+ "internalType": "bool",
1138
718
  "name": "",
1139
- "type": "bytes32"
719
+ "type": "bool"
1140
720
  }
1141
721
  ],
1142
- "stateMutability": "view",
722
+ "stateMutability": "nonpayable",
1143
723
  "type": "function"
1144
724
  },
1145
725
  {
1146
- "inputs": [],
1147
- "name": "TREASURY_RECEIVER_ROLE",
1148
- "outputs": [
726
+ "inputs": [
1149
727
  {
1150
- "internalType": "bytes32",
1151
- "name": "",
1152
- "type": "bytes32"
728
+ "components": [
729
+ {
730
+ "internalType": "uint256",
731
+ "name": "amount",
732
+ "type": "uint256"
733
+ },
734
+ {
735
+ "internalType": "uint256",
736
+ "name": "requestId",
737
+ "type": "uint256"
738
+ },
739
+ {
740
+ "internalType": "address",
741
+ "name": "tokenAddress",
742
+ "type": "address"
743
+ },
744
+ {
745
+ "internalType": "address",
746
+ "name": "receiverAddress",
747
+ "type": "address"
748
+ }
749
+ ],
750
+ "internalType": "struct Types.BatchWithdraw[]",
751
+ "name": "requests",
752
+ "type": "tuple[]"
1153
753
  }
1154
754
  ],
1155
- "stateMutability": "view",
755
+ "name": "batch_withdraw",
756
+ "outputs": [],
757
+ "stateMutability": "nonpayable",
1156
758
  "type": "function"
1157
759
  },
1158
760
  {
1159
761
  "inputs": [
1160
762
  {
1161
763
  "internalType": "address",
1162
- "name": "_operator",
1163
- "type": "address"
1164
- },
1165
- {
1166
- "internalType": "address",
1167
- "name": "_owner",
1168
- "type": "address"
1169
- },
1170
- {
1171
- "internalType": "address",
1172
- "name": "_fundsManager",
764
+ "name": "newAdmin",
1173
765
  "type": "address"
1174
766
  }
1175
767
  ],
1176
- "name": "__AccessControl_init",
768
+ "name": "changeAdmin",
1177
769
  "outputs": [],
1178
770
  "stateMutability": "nonpayable",
1179
771
  "type": "function"
@@ -1182,81 +774,103 @@
1182
774
  "inputs": [
1183
775
  {
1184
776
  "internalType": "string",
1185
- "name": "_name",
777
+ "name": "bonusCode",
1186
778
  "type": "string"
1187
779
  },
1188
780
  {
1189
- "internalType": "string",
1190
- "name": "_version",
1191
- "type": "string"
781
+ "components": [
782
+ {
783
+ "internalType": "uint8",
784
+ "name": "v",
785
+ "type": "uint8"
786
+ },
787
+ {
788
+ "internalType": "bytes32",
789
+ "name": "r",
790
+ "type": "bytes32"
791
+ },
792
+ {
793
+ "internalType": "bytes32",
794
+ "name": "s",
795
+ "type": "bytes32"
796
+ }
797
+ ],
798
+ "internalType": "struct Types.Signature",
799
+ "name": "signature",
800
+ "type": "tuple"
1192
801
  }
1193
802
  ],
1194
- "name": "__Signature_init",
803
+ "name": "deposit",
1195
804
  "outputs": [],
1196
- "stateMutability": "nonpayable",
805
+ "stateMutability": "payable",
1197
806
  "type": "function"
1198
807
  },
1199
808
  {
1200
809
  "inputs": [
1201
810
  {
1202
- "internalType": "address[]",
1203
- "name": "_tokens",
1204
- "type": "address[]"
1205
- }
1206
- ],
1207
- "name": "__TokensWhitelist_init",
1208
- "outputs": [],
1209
- "stateMutability": "nonpayable",
1210
- "type": "function"
1211
- },
1212
- {
1213
- "inputs": [
811
+ "internalType": "uint256",
812
+ "name": "amount",
813
+ "type": "uint256"
814
+ },
815
+ {
816
+ "internalType": "address",
817
+ "name": "tokenAddress",
818
+ "type": "address"
819
+ },
820
+ {
821
+ "internalType": "string",
822
+ "name": "bonusCode",
823
+ "type": "string"
824
+ },
1214
825
  {
1215
826
  "components": [
1216
- {
1217
- "internalType": "address",
1218
- "name": "tokenAddress",
1219
- "type": "address"
1220
- },
1221
- {
1222
- "internalType": "uint256",
1223
- "name": "thresholdAmount",
1224
- "type": "uint256"
1225
- },
1226
- {
1227
- "internalType": "uint8",
1228
- "name": "sigsExecutiveBelow",
1229
- "type": "uint8"
1230
- },
1231
827
  {
1232
828
  "internalType": "uint8",
1233
- "name": "sigsExecutiveAbove",
829
+ "name": "v",
1234
830
  "type": "uint8"
1235
831
  },
1236
832
  {
1237
- "internalType": "uint8",
1238
- "name": "sigsBelow",
1239
- "type": "uint8"
833
+ "internalType": "bytes32",
834
+ "name": "r",
835
+ "type": "bytes32"
1240
836
  },
1241
837
  {
1242
- "internalType": "uint8",
1243
- "name": "sigsAbove",
1244
- "type": "uint8"
838
+ "internalType": "bytes32",
839
+ "name": "s",
840
+ "type": "bytes32"
1245
841
  }
1246
842
  ],
1247
- "internalType": "struct Types.MultisigConfigInput[]",
1248
- "name": "configs",
1249
- "type": "tuple[]"
843
+ "internalType": "struct Types.Signature",
844
+ "name": "signature",
845
+ "type": "tuple"
1250
846
  }
1251
847
  ],
1252
- "name": "addTokens",
848
+ "name": "depositErc20",
849
+ "outputs": [],
850
+ "stateMutability": "nonpayable",
851
+ "type": "function"
852
+ },
853
+ {
854
+ "inputs": [
855
+ {
856
+ "internalType": "address[]",
857
+ "name": "wallets",
858
+ "type": "address[]"
859
+ },
860
+ {
861
+ "internalType": "uint256",
862
+ "name": "amount",
863
+ "type": "uint256"
864
+ }
865
+ ],
866
+ "name": "fundWallets",
1253
867
  "outputs": [],
1254
868
  "stateMutability": "nonpayable",
1255
869
  "type": "function"
1256
870
  },
1257
871
  {
1258
872
  "inputs": [],
1259
- "name": "adminTokenThresholdSettings",
873
+ "name": "getBalance",
1260
874
  "outputs": [
1261
875
  {
1262
876
  "internalType": "uint256",
@@ -1269,26 +883,45 @@
1269
883
  },
1270
884
  {
1271
885
  "inputs": [
886
+ {
887
+ "internalType": "address",
888
+ "name": "token",
889
+ "type": "address"
890
+ }
891
+ ],
892
+ "name": "getBalance",
893
+ "outputs": [
1272
894
  {
1273
895
  "internalType": "uint256",
1274
- "name": "requestId",
896
+ "name": "",
1275
897
  "type": "uint256"
1276
- },
898
+ }
899
+ ],
900
+ "stateMutability": "view",
901
+ "type": "function"
902
+ },
903
+ {
904
+ "inputs": [
1277
905
  {
1278
906
  "internalType": "uint256",
1279
- "name": "amount",
907
+ "name": "_amount",
1280
908
  "type": "uint256"
1281
909
  },
1282
910
  {
1283
911
  "internalType": "address",
1284
- "name": "token",
912
+ "name": "_senderAddress",
1285
913
  "type": "address"
1286
914
  },
1287
915
  {
1288
916
  "internalType": "address",
1289
- "name": "receiver",
917
+ "name": "_tokenAddress",
1290
918
  "type": "address"
1291
919
  },
920
+ {
921
+ "internalType": "uint256",
922
+ "name": "_nonce",
923
+ "type": "uint256"
924
+ },
1292
925
  {
1293
926
  "components": [
1294
927
  {
@@ -1307,185 +940,138 @@
1307
940
  "type": "bytes32"
1308
941
  }
1309
942
  ],
1310
- "internalType": "struct Types.Signature[]",
1311
- "name": "signatures",
1312
- "type": "tuple[]"
943
+ "internalType": "struct Types.Signature",
944
+ "name": "signature",
945
+ "type": "tuple"
1313
946
  }
1314
947
  ],
1315
- "name": "adminWithdraw",
1316
- "outputs": [],
1317
- "stateMutability": "nonpayable",
948
+ "name": "getDepositSigner",
949
+ "outputs": [
950
+ {
951
+ "internalType": "address",
952
+ "name": "",
953
+ "type": "address"
954
+ }
955
+ ],
956
+ "stateMutability": "view",
957
+ "type": "function"
958
+ },
959
+ {
960
+ "inputs": [],
961
+ "name": "getLastBlockNumber",
962
+ "outputs": [
963
+ {
964
+ "internalType": "uint256",
965
+ "name": "",
966
+ "type": "uint256"
967
+ }
968
+ ],
969
+ "stateMutability": "view",
1318
970
  "type": "function"
1319
971
  },
1320
972
  {
1321
973
  "inputs": [
1322
974
  {
1323
- "components": [
1324
- {
1325
- "internalType": "address",
1326
- "name": "wallet",
1327
- "type": "address"
1328
- },
1329
- {
1330
- "internalType": "address",
1331
- "name": "token",
1332
- "type": "address"
1333
- }
1334
- ],
1335
- "internalType": "struct Types.SweepJob[]",
1336
- "name": "jobs",
1337
- "type": "tuple[]"
975
+ "internalType": "address",
976
+ "name": "user",
977
+ "type": "address"
1338
978
  },
1339
979
  {
1340
- "internalType": "address payable",
1341
- "name": "receiver",
1342
- "type": "address"
980
+ "internalType": "enum Types.OperationType",
981
+ "name": "opType",
982
+ "type": "uint8"
1343
983
  }
1344
984
  ],
1345
- "name": "batchSweepERC20",
985
+ "name": "getNonce",
1346
986
  "outputs": [
1347
987
  {
1348
- "internalType": "bool",
1349
- "name": "",
1350
- "type": "bool"
988
+ "internalType": "uint256",
989
+ "name": "nonce",
990
+ "type": "uint256"
1351
991
  }
1352
992
  ],
1353
- "stateMutability": "nonpayable",
993
+ "stateMutability": "view",
1354
994
  "type": "function"
1355
995
  },
1356
996
  {
1357
997
  "inputs": [
1358
998
  {
1359
- "components": [
1360
- {
1361
- "internalType": "uint256",
1362
- "name": "amount",
1363
- "type": "uint256"
1364
- },
1365
- {
1366
- "internalType": "uint256",
1367
- "name": "requestId",
1368
- "type": "uint256"
1369
- },
1370
- {
1371
- "internalType": "address",
1372
- "name": "tokenAddress",
1373
- "type": "address"
1374
- },
1375
- {
1376
- "internalType": "address",
1377
- "name": "receiverAddress",
1378
- "type": "address"
1379
- },
1380
- {
1381
- "components": [
1382
- {
1383
- "internalType": "uint8",
1384
- "name": "v",
1385
- "type": "uint8"
1386
- },
1387
- {
1388
- "internalType": "bytes32",
1389
- "name": "r",
1390
- "type": "bytes32"
1391
- },
1392
- {
1393
- "internalType": "bytes32",
1394
- "name": "s",
1395
- "type": "bytes32"
1396
- }
1397
- ],
1398
- "internalType": "struct Types.Signature[]",
1399
- "name": "signatures",
1400
- "type": "tuple[]"
1401
- }
1402
- ],
1403
- "internalType": "struct Types.BatchWithdrawWithTimelock[]",
1404
- "name": "requests",
1405
- "type": "tuple[]"
999
+ "internalType": "uint256",
1000
+ "name": "index",
1001
+ "type": "uint256"
1406
1002
  }
1407
1003
  ],
1408
- "name": "batchWithdrawWithTimelock",
1409
- "outputs": [],
1410
- "stateMutability": "nonpayable",
1004
+ "name": "getRequestStatus",
1005
+ "outputs": [
1006
+ {
1007
+ "internalType": "bool",
1008
+ "name": "",
1009
+ "type": "bool"
1010
+ }
1011
+ ],
1012
+ "stateMutability": "view",
1411
1013
  "type": "function"
1412
1014
  },
1413
1015
  {
1414
1016
  "inputs": [
1017
+ {
1018
+ "internalType": "uint256",
1019
+ "name": "requestedAmount",
1020
+ "type": "uint256"
1021
+ },
1022
+ {
1023
+ "internalType": "address",
1024
+ "name": "token",
1025
+ "type": "address"
1026
+ }
1027
+ ],
1028
+ "name": "getReservesCoverage",
1029
+ "outputs": [
1415
1030
  {
1416
1031
  "components": [
1417
1032
  {
1418
- "internalType": "uint256",
1419
- "name": "amount",
1420
- "type": "uint256"
1033
+ "internalType": "enum Types.CoverageLevel",
1034
+ "name": "level",
1035
+ "type": "uint8"
1421
1036
  },
1422
1037
  {
1423
1038
  "internalType": "uint256",
1424
- "name": "requestId",
1039
+ "name": "coverageFactor",
1425
1040
  "type": "uint256"
1426
1041
  },
1427
1042
  {
1428
- "internalType": "address",
1429
- "name": "tokenAddress",
1430
- "type": "address"
1043
+ "internalType": "uint256",
1044
+ "name": "currentReserves",
1045
+ "type": "uint256"
1431
1046
  },
1432
1047
  {
1433
1048
  "internalType": "address",
1434
- "name": "receiverAddress",
1049
+ "name": "token",
1435
1050
  "type": "address"
1436
1051
  }
1437
1052
  ],
1438
- "internalType": "struct Types.BatchWithdraw[]",
1439
- "name": "requests",
1440
- "type": "tuple[]"
1053
+ "internalType": "struct Types.CoverageInfo",
1054
+ "name": "",
1055
+ "type": "tuple"
1441
1056
  }
1442
1057
  ],
1443
- "name": "batch_withdraw",
1444
- "outputs": [],
1445
- "stateMutability": "nonpayable",
1058
+ "stateMutability": "view",
1446
1059
  "type": "function"
1447
1060
  },
1448
1061
  {
1449
1062
  "inputs": [
1450
1063
  {
1451
- "internalType": "uint256",
1452
- "name": "amount",
1453
- "type": "uint256"
1454
- },
1455
- {
1456
- "internalType": "uint256",
1457
- "name": "requestId",
1458
- "type": "uint256"
1459
- },
1460
- {
1461
- "internalType": "address",
1462
- "name": "tokenAddress",
1463
- "type": "address"
1464
- },
1465
- {
1466
- "internalType": "address",
1467
- "name": "receiverAddress",
1468
- "type": "address"
1469
- },
1470
- {
1471
- "internalType": "uint256",
1472
- "name": "executeAt",
1473
- "type": "uint256"
1064
+ "internalType": "bytes32",
1065
+ "name": "role",
1066
+ "type": "bytes32"
1474
1067
  }
1475
1068
  ],
1476
- "name": "cancelWithdrawal",
1477
- "outputs": [],
1478
- "stateMutability": "nonpayable",
1479
- "type": "function"
1480
- },
1481
- {
1482
- "inputs": [],
1483
- "name": "configNonce",
1069
+ "name": "getRoleAdmin",
1484
1070
  "outputs": [
1485
1071
  {
1486
- "internalType": "uint256",
1072
+ "internalType": "bytes32",
1487
1073
  "name": "",
1488
- "type": "uint256"
1074
+ "type": "bytes32"
1489
1075
  }
1490
1076
  ],
1491
1077
  "stateMutability": "view",
@@ -1493,7 +1079,7 @@
1493
1079
  },
1494
1080
  {
1495
1081
  "inputs": [],
1496
- "name": "configThresholdSettings",
1082
+ "name": "getTotalTransactions",
1497
1083
  "outputs": [
1498
1084
  {
1499
1085
  "internalType": "uint256",
@@ -1505,56 +1091,51 @@
1505
1091
  "type": "function"
1506
1092
  },
1507
1093
  {
1508
- "inputs": [
1509
- {
1510
- "internalType": "string",
1511
- "name": "bonusCode",
1512
- "type": "string"
1513
- },
1094
+ "inputs": [],
1095
+ "name": "getTransactionStatus",
1096
+ "outputs": [
1514
1097
  {
1515
1098
  "components": [
1516
1099
  {
1517
- "internalType": "uint8",
1518
- "name": "v",
1519
- "type": "uint8"
1520
- },
1521
- {
1522
- "internalType": "bytes32",
1523
- "name": "r",
1524
- "type": "bytes32"
1100
+ "internalType": "uint256",
1101
+ "name": "totalCount",
1102
+ "type": "uint256"
1525
1103
  },
1526
1104
  {
1527
- "internalType": "bytes32",
1528
- "name": "s",
1529
- "type": "bytes32"
1105
+ "internalType": "uint256",
1106
+ "name": "lastBlockNumber",
1107
+ "type": "uint256"
1530
1108
  }
1531
1109
  ],
1532
- "internalType": "struct Types.Signature",
1533
- "name": "signature",
1110
+ "internalType": "struct Types.TransactionStatus",
1111
+ "name": "",
1534
1112
  "type": "tuple"
1535
1113
  }
1536
1114
  ],
1537
- "name": "deposit",
1538
- "outputs": [],
1539
- "stateMutability": "payable",
1115
+ "stateMutability": "view",
1540
1116
  "type": "function"
1541
1117
  },
1542
1118
  {
1543
1119
  "inputs": [
1544
1120
  {
1545
1121
  "internalType": "uint256",
1546
- "name": "amount",
1122
+ "name": "_amount",
1547
1123
  "type": "uint256"
1548
1124
  },
1549
1125
  {
1550
1126
  "internalType": "address",
1551
- "name": "tokenAddress",
1127
+ "name": "_receiverAddress",
1552
1128
  "type": "address"
1553
1129
  },
1554
1130
  {
1555
- "internalType": "string",
1556
- "name": "bonusCode",
1557
- "type": "string"
1131
+ "internalType": "address",
1132
+ "name": "_tokenAddress",
1133
+ "type": "address"
1134
+ },
1135
+ {
1136
+ "internalType": "uint256",
1137
+ "name": "_requestId",
1138
+ "type": "uint256"
1558
1139
  },
1559
1140
  {
1560
1141
  "components": [
@@ -1579,119 +1160,31 @@
1579
1160
  "type": "tuple"
1580
1161
  }
1581
1162
  ],
1582
- "name": "depositErc20",
1583
- "outputs": [],
1584
- "stateMutability": "nonpayable",
1585
- "type": "function"
1586
- },
1587
- {
1588
- "inputs": [
1589
- {
1590
- "internalType": "uint256",
1591
- "name": "amount",
1592
- "type": "uint256"
1593
- },
1594
- {
1595
- "internalType": "uint256",
1596
- "name": "requestId",
1597
- "type": "uint256"
1598
- },
1599
- {
1600
- "internalType": "address",
1601
- "name": "tokenAddress",
1602
- "type": "address"
1603
- },
1163
+ "name": "getWithdrawalSigner",
1164
+ "outputs": [
1604
1165
  {
1605
1166
  "internalType": "address",
1606
- "name": "receiverAddress",
1167
+ "name": "",
1607
1168
  "type": "address"
1608
- },
1609
- {
1610
- "internalType": "uint256",
1611
- "name": "executeAt",
1612
- "type": "uint256"
1613
1169
  }
1614
1170
  ],
1615
- "name": "executeWithdrawal",
1616
- "outputs": [],
1617
- "stateMutability": "nonpayable",
1171
+ "stateMutability": "view",
1618
1172
  "type": "function"
1619
1173
  },
1620
1174
  {
1621
1175
  "inputs": [
1622
1176
  {
1623
- "internalType": "address[]",
1624
- "name": "wallets",
1625
- "type": "address[]"
1626
- },
1627
- {
1628
- "internalType": "uint256",
1629
- "name": "amount",
1630
- "type": "uint256"
1631
- }
1632
- ],
1633
- "name": "fundWallets",
1634
- "outputs": [],
1635
- "stateMutability": "nonpayable",
1636
- "type": "function"
1637
- },
1638
- {
1639
- "inputs": [],
1640
- "name": "getAdminMultisigConfig",
1641
- "outputs": [
1642
- {
1643
- "components": [
1644
- {
1645
- "internalType": "uint8",
1646
- "name": "sigsManagerRequired",
1647
- "type": "uint8"
1648
- },
1649
- {
1650
- "internalType": "uint8",
1651
- "name": "sigsExecutiveRequired",
1652
- "type": "uint8"
1653
- },
1654
- {
1655
- "internalType": "bool",
1656
- "name": "configured",
1657
- "type": "bool"
1658
- }
1659
- ],
1660
- "internalType": "struct Types.AdminMultisigConfig",
1661
- "name": "",
1662
- "type": "tuple"
1663
- }
1664
- ],
1665
- "stateMutability": "view",
1666
- "type": "function"
1667
- },
1668
- {
1669
- "inputs": [],
1670
- "name": "getBalance",
1671
- "outputs": [
1672
- {
1673
- "internalType": "uint256",
1674
- "name": "",
1675
- "type": "uint256"
1676
- }
1677
- ],
1678
- "stateMutability": "view",
1679
- "type": "function"
1680
- },
1681
- {
1682
- "inputs": [
1683
- {
1684
- "internalType": "address",
1685
- "name": "token",
1686
- "type": "address"
1177
+ "internalType": "uint256[]",
1178
+ "name": "ids",
1179
+ "type": "uint256[]"
1687
1180
  }
1688
1181
  ],
1689
- "name": "getBalance",
1182
+ "name": "get_used_ids",
1690
1183
  "outputs": [
1691
1184
  {
1692
- "internalType": "uint256",
1693
- "name": "",
1694
- "type": "uint256"
1185
+ "internalType": "uint256[]",
1186
+ "name": "used_ids",
1187
+ "type": "uint256[]"
1695
1188
  }
1696
1189
  ],
1697
1190
  "stateMutability": "view",
@@ -1700,128 +1193,35 @@
1700
1193
  {
1701
1194
  "inputs": [
1702
1195
  {
1703
- "internalType": "uint256",
1704
- "name": "_amount",
1705
- "type": "uint256"
1706
- },
1707
- {
1708
- "internalType": "address",
1709
- "name": "_senderAddress",
1710
- "type": "address"
1711
- },
1712
- {
1713
- "internalType": "address",
1714
- "name": "_tokenAddress",
1715
- "type": "address"
1716
- },
1717
- {
1718
- "internalType": "uint256",
1719
- "name": "_nonce",
1720
- "type": "uint256"
1196
+ "internalType": "bytes32",
1197
+ "name": "role",
1198
+ "type": "bytes32"
1721
1199
  },
1722
- {
1723
- "components": [
1724
- {
1725
- "internalType": "uint8",
1726
- "name": "v",
1727
- "type": "uint8"
1728
- },
1729
- {
1730
- "internalType": "bytes32",
1731
- "name": "r",
1732
- "type": "bytes32"
1733
- },
1734
- {
1735
- "internalType": "bytes32",
1736
- "name": "s",
1737
- "type": "bytes32"
1738
- }
1739
- ],
1740
- "internalType": "struct Types.Signature",
1741
- "name": "signature",
1742
- "type": "tuple"
1743
- }
1744
- ],
1745
- "name": "getDepositSigner",
1746
- "outputs": [
1747
1200
  {
1748
1201
  "internalType": "address",
1749
- "name": "",
1202
+ "name": "account",
1750
1203
  "type": "address"
1751
1204
  }
1752
1205
  ],
1753
- "stateMutability": "view",
1206
+ "name": "grantRole",
1207
+ "outputs": [],
1208
+ "stateMutability": "nonpayable",
1754
1209
  "type": "function"
1755
1210
  },
1756
1211
  {
1757
1212
  "inputs": [
1758
1213
  {
1759
- "internalType": "enum Types.OperationType",
1760
- "name": "opType",
1761
- "type": "uint8"
1762
- }
1763
- ],
1764
- "name": "getGroupConfig",
1765
- "outputs": [
1766
- {
1767
- "components": [
1768
- {
1769
- "internalType": "uint8",
1770
- "name": "sigsManagerRequired",
1771
- "type": "uint8"
1772
- },
1773
- {
1774
- "internalType": "uint8",
1775
- "name": "sigsExecutiveRequired",
1776
- "type": "uint8"
1777
- },
1778
- {
1779
- "internalType": "bool",
1780
- "name": "configured",
1781
- "type": "bool"
1782
- }
1783
- ],
1784
- "internalType": "struct Types.AdminMultisigConfig",
1785
- "name": "",
1786
- "type": "tuple"
1787
- }
1788
- ],
1789
- "stateMutability": "view",
1790
- "type": "function"
1791
- },
1792
- {
1793
- "inputs": [
1214
+ "internalType": "bytes32",
1215
+ "name": "role",
1216
+ "type": "bytes32"
1217
+ },
1794
1218
  {
1795
1219
  "internalType": "address",
1796
- "name": "user",
1220
+ "name": "account",
1797
1221
  "type": "address"
1798
- },
1799
- {
1800
- "internalType": "enum Types.OperationType",
1801
- "name": "opType",
1802
- "type": "uint8"
1803
- }
1804
- ],
1805
- "name": "getNonce",
1806
- "outputs": [
1807
- {
1808
- "internalType": "uint256",
1809
- "name": "nonce",
1810
- "type": "uint256"
1811
- }
1812
- ],
1813
- "stateMutability": "view",
1814
- "type": "function"
1815
- },
1816
- {
1817
- "inputs": [
1818
- {
1819
- "internalType": "uint256",
1820
- "name": "index",
1821
- "type": "uint256"
1822
1222
  }
1823
1223
  ],
1824
- "name": "getRequestStatus",
1224
+ "name": "hasRole",
1825
1225
  "outputs": [
1826
1226
  {
1827
1227
  "internalType": "bool",
@@ -1835,847 +1235,40 @@
1835
1235
  {
1836
1236
  "inputs": [
1837
1237
  {
1838
- "internalType": "uint256",
1839
- "name": "requestedAmount",
1840
- "type": "uint256"
1238
+ "internalType": "address",
1239
+ "name": "_operator",
1240
+ "type": "address"
1841
1241
  },
1842
1242
  {
1843
1243
  "internalType": "address",
1844
- "name": "token",
1244
+ "name": "_fundsManager",
1845
1245
  "type": "address"
1846
- }
1847
- ],
1848
- "name": "getReservesCoverage",
1849
- "outputs": [
1850
- {
1851
- "components": [
1852
- {
1853
- "internalType": "enum Types.CoverageLevel",
1854
- "name": "level",
1855
- "type": "uint8"
1856
- },
1857
- {
1858
- "internalType": "uint256",
1859
- "name": "coverageFactor",
1860
- "type": "uint256"
1861
- },
1862
- {
1863
- "internalType": "uint256",
1864
- "name": "currentReserves",
1865
- "type": "uint256"
1866
- },
1867
- {
1868
- "internalType": "address",
1869
- "name": "token",
1870
- "type": "address"
1871
- }
1872
- ],
1873
- "internalType": "struct Types.CoverageInfo",
1874
- "name": "",
1875
- "type": "tuple"
1876
- }
1877
- ],
1878
- "stateMutability": "view",
1879
- "type": "function"
1880
- },
1881
- {
1882
- "inputs": [
1246
+ },
1883
1247
  {
1884
- "internalType": "bytes32",
1885
- "name": "role",
1886
- "type": "bytes32"
1887
- }
1888
- ],
1889
- "name": "getRoleAdmin",
1890
- "outputs": [
1248
+ "internalType": "string",
1249
+ "name": "_version",
1250
+ "type": "string"
1251
+ },
1891
1252
  {
1892
- "internalType": "bytes32",
1893
- "name": "",
1894
- "type": "bytes32"
1253
+ "internalType": "address[]",
1254
+ "name": "_tokens",
1255
+ "type": "address[]"
1895
1256
  }
1896
1257
  ],
1897
- "stateMutability": "view",
1258
+ "name": "initialize",
1259
+ "outputs": [],
1260
+ "stateMutability": "nonpayable",
1898
1261
  "type": "function"
1899
1262
  },
1900
1263
  {
1901
1264
  "inputs": [
1902
- {
1903
- "internalType": "address",
1904
- "name": "tokenAddress",
1905
- "type": "address"
1906
- }
1907
- ],
1908
- "name": "getTokenMultisigConfig",
1909
- "outputs": [
1910
- {
1911
- "components": [
1912
- {
1913
- "internalType": "uint256",
1914
- "name": "thresholdAmount",
1915
- "type": "uint256"
1916
- },
1917
- {
1918
- "internalType": "uint8",
1919
- "name": "sigsExecutiveBelow",
1920
- "type": "uint8"
1921
- },
1922
- {
1923
- "internalType": "uint8",
1924
- "name": "sigsExecutiveAbove",
1925
- "type": "uint8"
1926
- },
1927
- {
1928
- "internalType": "uint8",
1929
- "name": "sigsBelow",
1930
- "type": "uint8"
1931
- },
1932
- {
1933
- "internalType": "uint8",
1934
- "name": "sigsAbove",
1935
- "type": "uint8"
1936
- },
1937
- {
1938
- "internalType": "bool",
1939
- "name": "configured",
1940
- "type": "bool"
1941
- }
1942
- ],
1943
- "internalType": "struct Types.MultisigConfig",
1944
- "name": "",
1945
- "type": "tuple"
1946
- }
1947
- ],
1948
- "stateMutability": "view",
1949
- "type": "function"
1950
- },
1951
- {
1952
- "inputs": [
1953
- {
1954
- "internalType": "uint256",
1955
- "name": "_amount",
1956
- "type": "uint256"
1957
- },
1958
- {
1959
- "internalType": "address",
1960
- "name": "_receiverAddress",
1961
- "type": "address"
1962
- },
1963
- {
1964
- "internalType": "address",
1965
- "name": "_tokenAddress",
1966
- "type": "address"
1967
- },
1968
- {
1969
- "internalType": "uint256",
1970
- "name": "_requestId",
1971
- "type": "uint256"
1972
- },
1973
- {
1974
- "components": [
1975
- {
1976
- "internalType": "uint8",
1977
- "name": "v",
1978
- "type": "uint8"
1979
- },
1980
- {
1981
- "internalType": "bytes32",
1982
- "name": "r",
1983
- "type": "bytes32"
1984
- },
1985
- {
1986
- "internalType": "bytes32",
1987
- "name": "s",
1988
- "type": "bytes32"
1989
- }
1990
- ],
1991
- "internalType": "struct Types.Signature",
1992
- "name": "signature",
1993
- "type": "tuple"
1994
- }
1995
- ],
1996
- "name": "getWithdrawalSigner",
1997
- "outputs": [
1998
- {
1999
- "internalType": "address",
2000
- "name": "",
2001
- "type": "address"
2002
- }
2003
- ],
2004
- "stateMutability": "view",
2005
- "type": "function"
2006
- },
2007
- {
2008
- "inputs": [
2009
- {
2010
- "internalType": "uint256[]",
2011
- "name": "ids",
2012
- "type": "uint256[]"
2013
- }
2014
- ],
2015
- "name": "get_admin_used_ids",
2016
- "outputs": [
2017
- {
2018
- "internalType": "uint256[]",
2019
- "name": "used_ids",
2020
- "type": "uint256[]"
2021
- }
2022
- ],
2023
- "stateMutability": "view",
2024
- "type": "function"
2025
- },
2026
- {
2027
- "inputs": [
2028
- {
2029
- "internalType": "uint256[]",
2030
- "name": "ids",
2031
- "type": "uint256[]"
2032
- }
2033
- ],
2034
- "name": "get_used_ids",
2035
- "outputs": [
2036
- {
2037
- "internalType": "uint256[]",
2038
- "name": "used_ids",
2039
- "type": "uint256[]"
2040
- }
2041
- ],
2042
- "stateMutability": "view",
2043
- "type": "function"
2044
- },
2045
- {
2046
- "inputs": [
2047
- {
2048
- "internalType": "bytes32",
2049
- "name": "role",
2050
- "type": "bytes32"
2051
- },
2052
- {
2053
- "internalType": "address",
2054
- "name": "account",
2055
- "type": "address"
2056
- }
2057
- ],
2058
- "name": "grantRole",
2059
- "outputs": [],
2060
- "stateMutability": "nonpayable",
2061
- "type": "function"
2062
- },
2063
- {
2064
- "inputs": [
2065
- {
2066
- "internalType": "bytes32",
2067
- "name": "role",
2068
- "type": "bytes32"
2069
- },
2070
- {
2071
- "internalType": "address",
2072
- "name": "account",
2073
- "type": "address"
2074
- }
2075
- ],
2076
- "name": "hasRole",
2077
- "outputs": [
2078
- {
2079
- "internalType": "bool",
2080
- "name": "",
2081
- "type": "bool"
2082
- }
2083
- ],
2084
- "stateMutability": "view",
2085
- "type": "function"
2086
- },
2087
- {
2088
- "inputs": [
2089
- {
2090
- "internalType": "address",
2091
- "name": "_operator",
2092
- "type": "address"
2093
- },
2094
- {
2095
- "internalType": "address",
2096
- "name": "_fundsManager",
2097
- "type": "address"
2098
- },
2099
- {
2100
- "internalType": "string",
2101
- "name": "_version",
2102
- "type": "string"
2103
- },
2104
- {
2105
- "internalType": "address[]",
2106
- "name": "_tokens",
2107
- "type": "address[]"
2108
- },
2109
- {
2110
- "components": [
2111
- {
2112
- "internalType": "address",
2113
- "name": "tokenAddress",
2114
- "type": "address"
2115
- },
2116
- {
2117
- "internalType": "uint256",
2118
- "name": "thresholdAmount",
2119
- "type": "uint256"
2120
- },
2121
- {
2122
- "internalType": "uint8",
2123
- "name": "sigsExecutiveBelow",
2124
- "type": "uint8"
2125
- },
2126
- {
2127
- "internalType": "uint8",
2128
- "name": "sigsExecutiveAbove",
2129
- "type": "uint8"
2130
- },
2131
- {
2132
- "internalType": "uint8",
2133
- "name": "sigsBelow",
2134
- "type": "uint8"
2135
- },
2136
- {
2137
- "internalType": "uint8",
2138
- "name": "sigsAbove",
2139
- "type": "uint8"
2140
- }
2141
- ],
2142
- "internalType": "struct Types.MultisigConfigInput[]",
2143
- "name": "_multisigConfigs",
2144
- "type": "tuple[]"
2145
- },
2146
- {
2147
- "components": [
2148
- {
2149
- "internalType": "enum Types.OperationType",
2150
- "name": "opType",
2151
- "type": "uint8"
2152
- },
2153
- {
2154
- "internalType": "uint8",
2155
- "name": "sigsManagerRequired",
2156
- "type": "uint8"
2157
- },
2158
- {
2159
- "internalType": "uint8",
2160
- "name": "sigsExecutiveRequired",
2161
- "type": "uint8"
2162
- },
2163
- {
2164
- "internalType": "bool",
2165
- "name": "configured",
2166
- "type": "bool"
2167
- }
2168
- ],
2169
- "internalType": "struct Types.AdminMultisigConfigSetup[]",
2170
- "name": "_adminMultisigConfigs",
2171
- "type": "tuple[]"
2172
- },
2173
- {
2174
- "internalType": "uint256",
2175
- "name": "_maxFundWalletAmount",
2176
- "type": "uint256"
2177
- }
2178
- ],
2179
- "name": "initialize",
2180
- "outputs": [],
2181
- "stateMutability": "nonpayable",
2182
- "type": "function"
2183
- },
2184
- {
2185
- "inputs": [
2186
- {
2187
- "internalType": "address",
2188
- "name": "caller",
2189
- "type": "address"
2190
- }
2191
- ],
2192
- "name": "isFundsManager",
2193
- "outputs": [
2194
- {
2195
- "internalType": "bool",
2196
- "name": "",
2197
- "type": "bool"
2198
- }
2199
- ],
2200
- "stateMutability": "view",
2201
- "type": "function"
2202
- },
2203
- {
2204
- "inputs": [],
2205
- "name": "isPaused",
2206
- "outputs": [
2207
- {
2208
- "internalType": "bool",
2209
- "name": "",
2210
- "type": "bool"
2211
- }
2212
- ],
2213
- "stateMutability": "view",
2214
- "type": "function"
2215
- },
2216
- {
2217
- "inputs": [
2218
- {
2219
- "internalType": "address",
2220
- "name": "_token",
2221
- "type": "address"
2222
- }
2223
- ],
2224
- "name": "isWhitelisted",
2225
- "outputs": [
2226
- {
2227
- "internalType": "bool",
2228
- "name": "",
2229
- "type": "bool"
2230
- }
2231
- ],
2232
- "stateMutability": "view",
2233
- "type": "function"
2234
- },
2235
- {
2236
- "inputs": [
2237
- {
2238
- "internalType": "address",
2239
- "name": "_owner",
2240
- "type": "address"
2241
- }
2242
- ],
2243
- "name": "nonces",
2244
- "outputs": [
2245
- {
2246
- "internalType": "uint256",
2247
- "name": "depositNonce",
2248
- "type": "uint256"
2249
- }
2250
- ],
2251
- "stateMutability": "view",
2252
- "type": "function"
2253
- },
2254
- {
2255
- "inputs": [],
2256
- "name": "pause",
2257
- "outputs": [],
2258
- "stateMutability": "nonpayable",
2259
- "type": "function"
2260
- },
2261
- {
2262
- "inputs": [
2263
- {
2264
- "internalType": "address",
2265
- "name": "",
2266
- "type": "address"
2267
- }
2268
- ],
2269
- "name": "receiverTimelockConfig",
2270
- "outputs": [
2271
- {
2272
- "internalType": "uint256",
2273
- "name": "duration",
2274
- "type": "uint256"
2275
- },
2276
- {
2277
- "internalType": "bool",
2278
- "name": "configured",
2279
- "type": "bool"
2280
- }
2281
- ],
2282
- "stateMutability": "view",
2283
- "type": "function"
2284
- },
2285
- {
2286
- "inputs": [
2287
- {
2288
- "internalType": "address[]",
2289
- "name": "tokens",
2290
- "type": "address[]"
2291
- }
2292
- ],
2293
- "name": "removeTokens",
2294
- "outputs": [],
2295
- "stateMutability": "nonpayable",
2296
- "type": "function"
2297
- },
2298
- {
2299
- "inputs": [
2300
- {
2301
- "internalType": "bytes32",
2302
- "name": "role",
2303
- "type": "bytes32"
2304
- },
2305
- {
2306
- "internalType": "address",
2307
- "name": "callerConfirmation",
2308
- "type": "address"
2309
- }
2310
- ],
2311
- "name": "renounceRole",
2312
- "outputs": [],
2313
- "stateMutability": "nonpayable",
2314
- "type": "function"
2315
- },
2316
- {
2317
- "inputs": [
2318
- {
2319
- "internalType": "uint256",
2320
- "name": "start",
2321
- "type": "uint256"
2322
- },
2323
- {
2324
- "internalType": "uint256",
2325
- "name": "end",
2326
- "type": "uint256"
2327
- }
2328
- ],
2329
- "name": "reset_admin_request_ids",
2330
- "outputs": [],
2331
- "stateMutability": "nonpayable",
2332
- "type": "function"
2333
- },
2334
- {
2335
- "inputs": [
2336
- {
2337
- "internalType": "uint256",
2338
- "name": "start",
2339
- "type": "uint256"
2340
- },
2341
- {
2342
- "internalType": "uint256",
2343
- "name": "end",
2344
- "type": "uint256"
2345
- }
2346
- ],
2347
- "name": "reset_request_ids",
2348
- "outputs": [],
2349
- "stateMutability": "nonpayable",
2350
- "type": "function"
2351
- },
2352
- {
2353
- "inputs": [
2354
- {
2355
- "internalType": "bytes32",
2356
- "name": "role",
2357
- "type": "bytes32"
2358
- },
2359
- {
2360
- "internalType": "address",
2361
- "name": "account",
2362
- "type": "address"
2363
- }
2364
- ],
2365
- "name": "revokeRole",
2366
- "outputs": [],
2367
- "stateMutability": "nonpayable",
2368
- "type": "function"
2369
- },
2370
- {
2371
- "inputs": [
2372
- {
2373
- "components": [
2374
- {
2375
- "internalType": "enum Types.OperationType",
2376
- "name": "operationType",
2377
- "type": "uint8"
2378
- },
2379
- {
2380
- "internalType": "uint8",
2381
- "name": "sigsManagerRequired",
2382
- "type": "uint8"
2383
- },
2384
- {
2385
- "internalType": "uint8",
2386
- "name": "sigsExecutiveRequired",
2387
- "type": "uint8"
2388
- },
2389
- {
2390
- "internalType": "uint256",
2391
- "name": "nonce",
2392
- "type": "uint256"
2393
- }
2394
- ],
2395
- "internalType": "struct Types.SetAdminMultisigConfigSignData",
2396
- "name": "configData",
2397
- "type": "tuple"
2398
- },
2399
- {
2400
- "components": [
2401
- {
2402
- "internalType": "uint8",
2403
- "name": "v",
2404
- "type": "uint8"
2405
- },
2406
- {
2407
- "internalType": "bytes32",
2408
- "name": "r",
2409
- "type": "bytes32"
2410
- },
2411
- {
2412
- "internalType": "bytes32",
2413
- "name": "s",
2414
- "type": "bytes32"
2415
- }
2416
- ],
2417
- "internalType": "struct Types.Signature[]",
2418
- "name": "signatures",
2419
- "type": "tuple[]"
2420
- }
2421
- ],
2422
- "name": "setAdminTokenMultisigThreshold",
2423
- "outputs": [],
2424
- "stateMutability": "nonpayable",
2425
- "type": "function"
2426
- },
2427
- {
2428
- "inputs": [
2429
- {
2430
- "internalType": "enum Types.OperationType",
2431
- "name": "opType",
2432
- "type": "uint8"
2433
- },
2434
- {
2435
- "internalType": "uint8",
2436
- "name": "sigsManager",
2437
- "type": "uint8"
2438
- },
2439
- {
2440
- "internalType": "uint8",
2441
- "name": "sigsExecutive",
2442
- "type": "uint8"
2443
- }
2444
- ],
2445
- "name": "setGroupConfig",
2446
- "outputs": [],
2447
- "stateMutability": "nonpayable",
2448
- "type": "function"
2449
- },
2450
- {
2451
- "inputs": [
2452
- {
2453
- "components": [
2454
- {
2455
- "internalType": "enum Types.OperationType",
2456
- "name": "operationType",
2457
- "type": "uint8"
2458
- },
2459
- {
2460
- "internalType": "address",
2461
- "name": "tokenAddress",
2462
- "type": "address"
2463
- },
2464
- {
2465
- "internalType": "uint256",
2466
- "name": "thresholdAmount",
2467
- "type": "uint256"
2468
- },
2469
- {
2470
- "internalType": "uint256",
2471
- "name": "durationBelow",
2472
- "type": "uint256"
2473
- },
2474
- {
2475
- "internalType": "uint256",
2476
- "name": "durationAbove",
2477
- "type": "uint256"
2478
- },
2479
- {
2480
- "internalType": "uint256",
2481
- "name": "nonce",
2482
- "type": "uint256"
2483
- }
2484
- ],
2485
- "internalType": "struct Types.SetTimelockConfigSignData",
2486
- "name": "configData",
2487
- "type": "tuple"
2488
- },
2489
- {
2490
- "components": [
2491
- {
2492
- "internalType": "uint8",
2493
- "name": "v",
2494
- "type": "uint8"
2495
- },
2496
- {
2497
- "internalType": "bytes32",
2498
- "name": "r",
2499
- "type": "bytes32"
2500
- },
2501
- {
2502
- "internalType": "bytes32",
2503
- "name": "s",
2504
- "type": "bytes32"
2505
- }
2506
- ],
2507
- "internalType": "struct Types.Signature[]",
2508
- "name": "signatures",
2509
- "type": "tuple[]"
2510
- }
2511
- ],
2512
- "name": "setTimelock",
2513
- "outputs": [],
2514
- "stateMutability": "nonpayable",
2515
- "type": "function"
2516
- },
2517
- {
2518
- "inputs": [
2519
- {
2520
- "components": [
2521
- {
2522
- "internalType": "enum Types.OperationType",
2523
- "name": "operationType",
2524
- "type": "uint8"
2525
- },
2526
- {
2527
- "internalType": "address",
2528
- "name": "receiverAddress",
2529
- "type": "address"
2530
- },
2531
- {
2532
- "internalType": "uint256",
2533
- "name": "duration",
2534
- "type": "uint256"
2535
- },
2536
- {
2537
- "internalType": "uint256",
2538
- "name": "nonce",
2539
- "type": "uint256"
2540
- }
2541
- ],
2542
- "internalType": "struct Types.SetReceiverTimelockConfigSignData",
2543
- "name": "configData",
2544
- "type": "tuple"
2545
- },
2546
- {
2547
- "components": [
2548
- {
2549
- "internalType": "uint8",
2550
- "name": "v",
2551
- "type": "uint8"
2552
- },
2553
- {
2554
- "internalType": "bytes32",
2555
- "name": "r",
2556
- "type": "bytes32"
2557
- },
2558
- {
2559
- "internalType": "bytes32",
2560
- "name": "s",
2561
- "type": "bytes32"
2562
- }
2563
- ],
2564
- "internalType": "struct Types.Signature[]",
2565
- "name": "signatures",
2566
- "type": "tuple[]"
2567
- }
2568
- ],
2569
- "name": "setTimelockGranular",
2570
- "outputs": [],
2571
- "stateMutability": "nonpayable",
2572
- "type": "function"
2573
- },
2574
- {
2575
- "inputs": [
2576
- {
2577
- "components": [
2578
- {
2579
- "internalType": "enum Types.OperationType",
2580
- "name": "operationType",
2581
- "type": "uint8"
2582
- },
2583
- {
2584
- "internalType": "address",
2585
- "name": "tokenAddress",
2586
- "type": "address"
2587
- },
2588
- {
2589
- "internalType": "uint256",
2590
- "name": "thresholdAmount",
2591
- "type": "uint256"
2592
- },
2593
- {
2594
- "internalType": "uint8",
2595
- "name": "sigsExecutiveBelow",
2596
- "type": "uint8"
2597
- },
2598
- {
2599
- "internalType": "uint8",
2600
- "name": "sigsExecutiveAbove",
2601
- "type": "uint8"
2602
- },
2603
- {
2604
- "internalType": "uint8",
2605
- "name": "sigsBelow",
2606
- "type": "uint8"
2607
- },
2608
- {
2609
- "internalType": "uint8",
2610
- "name": "sigsAbove",
2611
- "type": "uint8"
2612
- },
2613
- {
2614
- "internalType": "uint256",
2615
- "name": "nonce",
2616
- "type": "uint256"
2617
- }
2618
- ],
2619
- "internalType": "struct Types.SetMultisigConfigSignData",
2620
- "name": "configData",
2621
- "type": "tuple"
2622
- },
2623
- {
2624
- "components": [
2625
- {
2626
- "internalType": "uint8",
2627
- "name": "v",
2628
- "type": "uint8"
2629
- },
2630
- {
2631
- "internalType": "bytes32",
2632
- "name": "r",
2633
- "type": "bytes32"
2634
- },
2635
- {
2636
- "internalType": "bytes32",
2637
- "name": "s",
2638
- "type": "bytes32"
2639
- }
2640
- ],
2641
- "internalType": "struct Types.Signature[]",
2642
- "name": "signatures",
2643
- "type": "tuple[]"
2644
- }
2645
- ],
2646
- "name": "setTokenMultisigThreshold",
2647
- "outputs": [],
2648
- "stateMutability": "nonpayable",
2649
- "type": "function"
2650
- },
2651
- {
2652
- "inputs": [
2653
- {
2654
- "internalType": "address",
2655
- "name": "",
2656
- "type": "address"
2657
- }
2658
- ],
2659
- "name": "signerBitmap",
2660
- "outputs": [
2661
- {
2662
- "internalType": "uint8",
2663
- "name": "",
2664
- "type": "uint8"
2665
- }
2666
- ],
2667
- "stateMutability": "view",
2668
- "type": "function"
2669
- },
2670
- {
2671
- "inputs": [
2672
- {
2673
- "internalType": "bytes4",
2674
- "name": "interfaceId",
2675
- "type": "bytes4"
1265
+ {
1266
+ "internalType": "address",
1267
+ "name": "caller",
1268
+ "type": "address"
2676
1269
  }
2677
1270
  ],
2678
- "name": "supportsInterface",
1271
+ "name": "isFundsManager",
2679
1272
  "outputs": [
2680
1273
  {
2681
1274
  "internalType": "bool",
@@ -2687,19 +1280,8 @@
2687
1280
  "type": "function"
2688
1281
  },
2689
1282
  {
2690
- "inputs": [
2691
- {
2692
- "internalType": "address",
2693
- "name": "wallet",
2694
- "type": "address"
2695
- },
2696
- {
2697
- "internalType": "address",
2698
- "name": "token",
2699
- "type": "address"
2700
- }
2701
- ],
2702
- "name": "sweepFunds",
1283
+ "inputs": [],
1284
+ "name": "isPaused",
2703
1285
  "outputs": [
2704
1286
  {
2705
1287
  "internalType": "bool",
@@ -2707,18 +1289,18 @@
2707
1289
  "type": "bool"
2708
1290
  }
2709
1291
  ],
2710
- "stateMutability": "payable",
1292
+ "stateMutability": "view",
2711
1293
  "type": "function"
2712
1294
  },
2713
1295
  {
2714
1296
  "inputs": [
2715
1297
  {
2716
- "internalType": "bytes32",
2717
- "name": "",
2718
- "type": "bytes32"
1298
+ "internalType": "address",
1299
+ "name": "_token",
1300
+ "type": "address"
2719
1301
  }
2720
1302
  ],
2721
- "name": "timelockCommitments",
1303
+ "name": "isWhitelisted",
2722
1304
  "outputs": [
2723
1305
  {
2724
1306
  "internalType": "bool",
@@ -2733,112 +1315,140 @@
2733
1315
  "inputs": [
2734
1316
  {
2735
1317
  "internalType": "address",
2736
- "name": "",
1318
+ "name": "_owner",
2737
1319
  "type": "address"
2738
1320
  }
2739
1321
  ],
2740
- "name": "timelockConfig",
1322
+ "name": "nonces",
2741
1323
  "outputs": [
2742
1324
  {
2743
1325
  "internalType": "uint256",
2744
- "name": "thresholdAmount",
1326
+ "name": "depositNonce",
2745
1327
  "type": "uint256"
2746
- },
1328
+ }
1329
+ ],
1330
+ "stateMutability": "view",
1331
+ "type": "function"
1332
+ },
1333
+ {
1334
+ "inputs": [],
1335
+ "name": "pause",
1336
+ "outputs": [],
1337
+ "stateMutability": "nonpayable",
1338
+ "type": "function"
1339
+ },
1340
+ {
1341
+ "inputs": [
2747
1342
  {
2748
- "internalType": "uint256",
2749
- "name": "durationBelow",
2750
- "type": "uint256"
2751
- },
1343
+ "internalType": "address[]",
1344
+ "name": "tokens",
1345
+ "type": "address[]"
1346
+ }
1347
+ ],
1348
+ "name": "removeTokens",
1349
+ "outputs": [],
1350
+ "stateMutability": "nonpayable",
1351
+ "type": "function"
1352
+ },
1353
+ {
1354
+ "inputs": [
2752
1355
  {
2753
- "internalType": "uint256",
2754
- "name": "durationAbove",
2755
- "type": "uint256"
1356
+ "internalType": "bytes32",
1357
+ "name": "role",
1358
+ "type": "bytes32"
2756
1359
  },
2757
1360
  {
2758
- "internalType": "bool",
2759
- "name": "configured",
2760
- "type": "bool"
1361
+ "internalType": "address",
1362
+ "name": "callerConfirmation",
1363
+ "type": "address"
2761
1364
  }
2762
1365
  ],
2763
- "stateMutability": "view",
1366
+ "name": "renounceRole",
1367
+ "outputs": [],
1368
+ "stateMutability": "nonpayable",
2764
1369
  "type": "function"
2765
1370
  },
2766
1371
  {
2767
- "inputs": [],
2768
- "name": "timelockConfigNonce",
2769
- "outputs": [
1372
+ "inputs": [
2770
1373
  {
2771
1374
  "internalType": "uint256",
2772
- "name": "",
1375
+ "name": "start",
1376
+ "type": "uint256"
1377
+ },
1378
+ {
1379
+ "internalType": "uint256",
1380
+ "name": "end",
2773
1381
  "type": "uint256"
2774
1382
  }
2775
1383
  ],
2776
- "stateMutability": "view",
1384
+ "name": "reset_request_ids",
1385
+ "outputs": [],
1386
+ "stateMutability": "nonpayable",
2777
1387
  "type": "function"
2778
1388
  },
2779
1389
  {
2780
- "inputs": [],
2781
- "name": "timelockThresholdSettings",
2782
- "outputs": [
1390
+ "inputs": [
2783
1391
  {
2784
- "internalType": "uint256",
2785
- "name": "",
2786
- "type": "uint256"
1392
+ "internalType": "bytes32",
1393
+ "name": "role",
1394
+ "type": "bytes32"
1395
+ },
1396
+ {
1397
+ "internalType": "address",
1398
+ "name": "account",
1399
+ "type": "address"
2787
1400
  }
2788
1401
  ],
2789
- "stateMutability": "view",
1402
+ "name": "revokeRole",
1403
+ "outputs": [],
1404
+ "stateMutability": "nonpayable",
2790
1405
  "type": "function"
2791
1406
  },
2792
1407
  {
2793
1408
  "inputs": [
2794
1409
  {
2795
1410
  "internalType": "address",
2796
- "name": "",
1411
+ "name": "_operator",
2797
1412
  "type": "address"
2798
1413
  }
2799
1414
  ],
2800
- "name": "tokenThresholdSettings",
2801
- "outputs": [
1415
+ "name": "setOperator",
1416
+ "outputs": [],
1417
+ "stateMutability": "nonpayable",
1418
+ "type": "function"
1419
+ },
1420
+ {
1421
+ "inputs": [
2802
1422
  {
2803
1423
  "internalType": "uint256",
2804
- "name": "",
1424
+ "name": "totalCount",
1425
+ "type": "uint256"
1426
+ },
1427
+ {
1428
+ "internalType": "uint256",
1429
+ "name": "blockNumber",
2805
1430
  "type": "uint256"
2806
1431
  }
2807
1432
  ],
2808
- "stateMutability": "view",
1433
+ "name": "setTransactionStatus",
1434
+ "outputs": [],
1435
+ "stateMutability": "nonpayable",
2809
1436
  "type": "function"
2810
1437
  },
2811
1438
  {
2812
1439
  "inputs": [
2813
1440
  {
2814
- "internalType": "uint256",
2815
- "name": "packed",
2816
- "type": "uint256"
1441
+ "internalType": "bytes4",
1442
+ "name": "interfaceId",
1443
+ "type": "bytes4"
2817
1444
  }
2818
1445
  ],
2819
- "name": "unpackAdminThresholds",
1446
+ "name": "supportsInterface",
2820
1447
  "outputs": [
2821
1448
  {
2822
- "components": [
2823
- {
2824
- "internalType": "uint8",
2825
- "name": "sigsManagerRequired",
2826
- "type": "uint8"
2827
- },
2828
- {
2829
- "internalType": "uint8",
2830
- "name": "sigsExecutiveRequired",
2831
- "type": "uint8"
2832
- },
2833
- {
2834
- "internalType": "bool",
2835
- "name": "configured",
2836
- "type": "bool"
2837
- }
2838
- ],
2839
- "internalType": "struct Types.AdminMultisigConfig",
1449
+ "internalType": "bool",
2840
1450
  "name": "",
2841
- "type": "tuple"
1451
+ "type": "bool"
2842
1452
  }
2843
1453
  ],
2844
1454
  "stateMutability": "view",
@@ -2847,52 +1457,25 @@
2847
1457
  {
2848
1458
  "inputs": [
2849
1459
  {
2850
- "internalType": "uint256",
2851
- "name": "packed",
2852
- "type": "uint256"
1460
+ "internalType": "address",
1461
+ "name": "wallet",
1462
+ "type": "address"
1463
+ },
1464
+ {
1465
+ "internalType": "address",
1466
+ "name": "token",
1467
+ "type": "address"
2853
1468
  }
2854
1469
  ],
2855
- "name": "unpackTokenThresholds",
1470
+ "name": "sweepFunds",
2856
1471
  "outputs": [
2857
1472
  {
2858
- "components": [
2859
- {
2860
- "internalType": "uint256",
2861
- "name": "thresholdAmount",
2862
- "type": "uint256"
2863
- },
2864
- {
2865
- "internalType": "uint8",
2866
- "name": "sigsExecutiveBelow",
2867
- "type": "uint8"
2868
- },
2869
- {
2870
- "internalType": "uint8",
2871
- "name": "sigsExecutiveAbove",
2872
- "type": "uint8"
2873
- },
2874
- {
2875
- "internalType": "uint8",
2876
- "name": "sigsBelow",
2877
- "type": "uint8"
2878
- },
2879
- {
2880
- "internalType": "uint8",
2881
- "name": "sigsAbove",
2882
- "type": "uint8"
2883
- },
2884
- {
2885
- "internalType": "bool",
2886
- "name": "configured",
2887
- "type": "bool"
2888
- }
2889
- ],
2890
- "internalType": "struct Types.MultisigConfig",
1473
+ "internalType": "bool",
2891
1474
  "name": "",
2892
- "type": "tuple"
1475
+ "type": "bool"
2893
1476
  }
2894
1477
  ],
2895
- "stateMutability": "view",
1478
+ "stateMutability": "payable",
2896
1479
  "type": "function"
2897
1480
  },
2898
1481
  {
@@ -2971,78 +1554,6 @@
2971
1554
  "stateMutability": "nonpayable",
2972
1555
  "type": "function"
2973
1556
  },
2974
- {
2975
- "inputs": [
2976
- {
2977
- "internalType": "uint256",
2978
- "name": "amount",
2979
- "type": "uint256"
2980
- },
2981
- {
2982
- "internalType": "uint256",
2983
- "name": "requestId",
2984
- "type": "uint256"
2985
- },
2986
- {
2987
- "internalType": "address",
2988
- "name": "tokenAddress",
2989
- "type": "address"
2990
- },
2991
- {
2992
- "internalType": "address",
2993
- "name": "receiverAddress",
2994
- "type": "address"
2995
- },
2996
- {
2997
- "components": [
2998
- {
2999
- "internalType": "uint8",
3000
- "name": "v",
3001
- "type": "uint8"
3002
- },
3003
- {
3004
- "internalType": "bytes32",
3005
- "name": "r",
3006
- "type": "bytes32"
3007
- },
3008
- {
3009
- "internalType": "bytes32",
3010
- "name": "s",
3011
- "type": "bytes32"
3012
- }
3013
- ],
3014
- "internalType": "struct Types.Signature",
3015
- "name": "operatorSignature",
3016
- "type": "tuple"
3017
- },
3018
- {
3019
- "components": [
3020
- {
3021
- "internalType": "uint8",
3022
- "name": "v",
3023
- "type": "uint8"
3024
- },
3025
- {
3026
- "internalType": "bytes32",
3027
- "name": "r",
3028
- "type": "bytes32"
3029
- },
3030
- {
3031
- "internalType": "bytes32",
3032
- "name": "s",
3033
- "type": "bytes32"
3034
- }
3035
- ],
3036
- "internalType": "struct Types.Signature[]",
3037
- "name": "signatures",
3038
- "type": "tuple[]"
3039
- }
3040
- ],
3041
- "name": "withdrawWithTimelock",
3042
- "outputs": [],
3043
- "stateMutability": "nonpayable",
3044
- "type": "function"
3045
- },
3046
1557
  {
3047
1558
  "stateMutability": "payable",
3048
1559
  "type": "receive"