@ercworldio/blockchain-shared 1.0.3-dev.3 → 1.0.3-dev.4

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 (101) hide show
  1. package/build/chains/networks_prod-dz.json +7 -7
  2. package/build/chains/networks_prod-sh.json +41 -5
  3. package/build/chains/networks_prod-yb.json +42 -6
  4. package/build/chains/networks_stg-yb.json +1 -1
  5. package/build/contracts/artifacts/Escrow.json +1831 -342
  6. package/build/contracts/typechain-types/@openzeppelin/contracts/interfaces/index.d.ts +0 -1
  7. package/build/contracts/typechain-types/@openzeppelin/contracts/interfaces/index.d.ts.map +1 -1
  8. package/build/contracts/typechain-types/@openzeppelin/contracts/utils/index.d.ts +0 -6
  9. package/build/contracts/typechain-types/@openzeppelin/contracts/utils/index.d.ts.map +1 -1
  10. package/build/contracts/typechain-types/contracts/escrow/Escrow.d.ts +761 -76
  11. package/build/contracts/typechain-types/contracts/escrow/Escrow.d.ts.map +1 -1
  12. package/build/contracts/typechain-types/contracts/escrow/EscrowAccessControl.d.ts +65 -17
  13. package/build/contracts/typechain-types/contracts/escrow/EscrowAccessControl.d.ts.map +1 -1
  14. package/build/contracts/typechain-types/contracts/index.d.ts +2 -0
  15. package/build/contracts/typechain-types/contracts/index.d.ts.map +1 -1
  16. package/build/contracts/typechain-types/contracts/lib/Events.d.ts +386 -0
  17. package/build/contracts/typechain-types/contracts/lib/Events.d.ts.map +1 -0
  18. package/build/contracts/typechain-types/contracts/lib/Events.js +2 -0
  19. package/build/contracts/typechain-types/contracts/lib/MultisigLib.d.ts +21 -0
  20. package/build/contracts/typechain-types/contracts/lib/MultisigLib.d.ts.map +1 -0
  21. package/build/contracts/typechain-types/contracts/lib/MultisigLib.js +2 -0
  22. package/build/contracts/typechain-types/contracts/lib/index.d.ts +3 -0
  23. package/build/contracts/typechain-types/contracts/lib/index.d.ts.map +1 -0
  24. package/build/contracts/typechain-types/contracts/lib/index.js +2 -0
  25. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/interfaces/index.d.ts +0 -1
  26. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/interfaces/index.d.ts.map +1 -1
  27. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/interfaces/index.js +1 -3
  28. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/SafeERC20__factory.d.ts +1 -1
  29. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/SafeERC20__factory.d.ts.map +1 -1
  30. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/SafeERC20__factory.js +1 -1
  31. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/utils/index.d.ts +0 -4
  32. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/utils/index.d.ts.map +1 -1
  33. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/utils/index.js +1 -7
  34. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowAccessControl__factory.d.ts +286 -12
  35. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowAccessControl__factory.d.ts.map +1 -1
  36. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowAccessControl__factory.js +374 -12
  37. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowErrors__factory.d.ts +137 -1
  38. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowErrors__factory.d.ts.map +1 -1
  39. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowErrors__factory.js +182 -1
  40. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowSignature__factory.d.ts +1 -1
  41. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowSignature__factory.d.ts.map +1 -1
  42. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowSignature__factory.js +1 -1
  43. package/build/contracts/typechain-types/factories/contracts/escrow/Escrow__factory.d.ts +1247 -98
  44. package/build/contracts/typechain-types/factories/contracts/escrow/Escrow__factory.d.ts.map +1 -1
  45. package/build/contracts/typechain-types/factories/contracts/escrow/Escrow__factory.js +1736 -247
  46. package/build/contracts/typechain-types/factories/contracts/escrow/TokensWhitelist__factory.d.ts +1 -1
  47. package/build/contracts/typechain-types/factories/contracts/escrow/TokensWhitelist__factory.d.ts.map +1 -1
  48. package/build/contracts/typechain-types/factories/contracts/escrow/TokensWhitelist__factory.js +1 -1
  49. package/build/contracts/typechain-types/factories/contracts/index.d.ts +1 -0
  50. package/build/contracts/typechain-types/factories/contracts/index.d.ts.map +1 -1
  51. package/build/contracts/typechain-types/factories/contracts/index.js +2 -1
  52. package/build/contracts/typechain-types/factories/contracts/lib/Events__factory.d.ts +373 -0
  53. package/build/contracts/typechain-types/factories/contracts/lib/Events__factory.d.ts.map +1 -0
  54. package/build/contracts/typechain-types/factories/contracts/lib/Events__factory.js +473 -0
  55. package/build/contracts/typechain-types/factories/contracts/lib/MultisigLib__factory.d.ts +55 -0
  56. package/build/contracts/typechain-types/factories/contracts/lib/MultisigLib__factory.d.ts.map +1 -0
  57. package/build/contracts/typechain-types/factories/contracts/lib/MultisigLib__factory.js +82 -0
  58. package/build/contracts/typechain-types/factories/contracts/lib/index.d.ts +3 -0
  59. package/build/contracts/typechain-types/factories/contracts/lib/index.d.ts.map +1 -0
  60. package/build/contracts/typechain-types/factories/contracts/lib/index.js +10 -0
  61. package/build/contracts/typechain-types/factories/contracts/mock/erc20/ERC20Mock__factory.d.ts +1 -1
  62. package/build/contracts/typechain-types/factories/contracts/mock/erc20/ERC20Mock__factory.d.ts.map +1 -1
  63. package/build/contracts/typechain-types/factories/contracts/mock/erc20/ERC20Mock__factory.js +1 -1
  64. package/build/contracts/typechain-types/index.d.ts +4 -10
  65. package/build/contracts/typechain-types/index.d.ts.map +1 -1
  66. package/build/contracts/typechain-types/index.js +5 -11
  67. package/build/entities/AdminOperationThresholds.d.ts +12 -0
  68. package/build/entities/AdminOperationThresholds.d.ts.map +1 -0
  69. package/build/entities/AdminOperationThresholds.js +56 -0
  70. package/build/entities/EscrowRoles.d.ts +12 -0
  71. package/build/entities/EscrowRoles.d.ts.map +1 -0
  72. package/build/entities/EscrowRoles.js +57 -0
  73. package/build/entities/GlobalTimelock.d.ts +14 -0
  74. package/build/entities/GlobalTimelock.d.ts.map +1 -0
  75. package/build/entities/GlobalTimelock.js +64 -0
  76. package/build/entities/GranularTimelock .d.ts +12 -0
  77. package/build/entities/GranularTimelock .d.ts.map +1 -0
  78. package/build/entities/GranularTimelock .js +56 -0
  79. package/build/entities/OperationType.d.ts +18 -0
  80. package/build/entities/OperationType.d.ts.map +1 -0
  81. package/build/entities/OperationType.js +50 -0
  82. package/build/entities/RoleHash.d.ts +11 -0
  83. package/build/entities/RoleHash.d.ts.map +1 -0
  84. package/build/entities/RoleHash.js +52 -0
  85. package/build/entities/Signatures.d.ts +16 -0
  86. package/build/entities/Signatures.d.ts.map +1 -0
  87. package/build/entities/Signatures.js +72 -0
  88. package/build/entities/TokenExecutionThresholds.d.ts +16 -0
  89. package/build/entities/TokenExecutionThresholds.d.ts.map +1 -0
  90. package/build/entities/TokenExecutionThresholds.js +72 -0
  91. package/build/index.d.ts +1 -0
  92. package/build/index.d.ts.map +1 -1
  93. package/build/index.js +4 -2
  94. package/build/services/ChainManager.d.ts.map +1 -1
  95. package/build/services/SweepJobService.d.ts +3 -3
  96. package/build/services/SweepJobService.d.ts.map +1 -1
  97. package/build/services/SweepJobService.js +12 -7
  98. package/build/services/db/roles/ContractRoles.d.ts +54 -0
  99. package/build/services/db/roles/ContractRoles.d.ts.map +1 -0
  100. package/build/services/db/roles/ContractRoles.js +81 -0
  101. package/package.json +1 -1
@@ -20,6 +20,49 @@
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
+ },
23
66
  {
24
67
  "inputs": [],
25
68
  "name": "ContractBusy",
@@ -56,6 +99,11 @@
56
99
  "name": "ExceedsLimit",
57
100
  "type": "error"
58
101
  },
102
+ {
103
+ "inputs": [],
104
+ "name": "ExceedsMax",
105
+ "type": "error"
106
+ },
59
107
  {
60
108
  "inputs": [],
61
109
  "name": "ExceedsMaxBatch",
@@ -87,21 +135,149 @@
87
135
  "name": "InsufficientBalance",
88
136
  "type": "error"
89
137
  },
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
+ },
90
202
  {
91
203
  "inputs": [],
92
204
  "name": "InsufficientReserves",
93
205
  "type": "error"
94
206
  },
207
+ {
208
+ "inputs": [],
209
+ "name": "InvalidConfig",
210
+ "type": "error"
211
+ },
95
212
  {
96
213
  "inputs": [],
97
214
  "name": "InvalidInitialization",
98
215
  "type": "error"
99
216
  },
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
+ },
100
260
  {
101
261
  "inputs": [],
102
262
  "name": "InvalidSignature",
103
263
  "type": "error"
104
264
  },
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
+ },
105
281
  {
106
282
  "inputs": [],
107
283
  "name": "NotAdmin",
@@ -138,6 +314,22 @@
138
314
  "name": "RequestAlreadyFulfilled",
139
315
  "type": "error"
140
316
  },
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
+ },
141
333
  {
142
334
  "inputs": [
143
335
  {
@@ -154,6 +346,38 @@
154
346
  "name": "SignatureAlreadyUsed",
155
347
  "type": "error"
156
348
  },
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
+ },
157
381
  {
158
382
  "inputs": [
159
383
  {
@@ -233,6 +457,12 @@
233
457
  "internalType": "address",
234
458
  "name": "tokenAddress",
235
459
  "type": "address"
460
+ },
461
+ {
462
+ "indexed": false,
463
+ "internalType": "uint256",
464
+ "name": "requestId",
465
+ "type": "uint256"
236
466
  }
237
467
  ],
238
468
  "name": "AdminWithdraw",
@@ -243,12 +473,37 @@
243
473
  "inputs": [
244
474
  {
245
475
  "indexed": false,
246
- "internalType": "address",
247
- "name": "payer",
248
- "type": "address"
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"
249
485
  },
250
486
  {
251
487
  "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,
252
507
  "internalType": "address",
253
508
  "name": "tokenAddress",
254
509
  "type": "address"
@@ -256,23 +511,35 @@
256
511
  {
257
512
  "indexed": false,
258
513
  "internalType": "uint256",
259
- "name": "amount",
514
+ "name": "thresholdAmount",
260
515
  "type": "uint256"
261
516
  },
262
517
  {
263
518
  "indexed": false,
264
- "internalType": "string",
265
- "name": "bonusCode",
266
- "type": "string"
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"
267
540
  }
268
541
  ],
269
- "name": "Deposit",
270
- "type": "event"
271
- },
272
- {
273
- "anonymous": false,
274
- "inputs": [],
275
- "name": "FundWallets",
542
+ "name": "ConfigureTokenMultisig",
276
543
  "type": "event"
277
544
  },
278
545
  {
@@ -281,13 +548,13 @@
281
548
  {
282
549
  "indexed": false,
283
550
  "internalType": "address",
284
- "name": "funder",
551
+ "name": "payer",
285
552
  "type": "address"
286
553
  },
287
554
  {
288
555
  "indexed": false,
289
556
  "internalType": "address",
290
- "name": "token",
557
+ "name": "tokenAddress",
291
558
  "type": "address"
292
559
  },
293
560
  {
@@ -295,10 +562,47 @@
295
562
  "internalType": "uint256",
296
563
  "name": "amount",
297
564
  "type": "uint256"
298
- }
299
- ],
300
- "name": "FundedContract",
301
- "type": "event"
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",
595
+ "type": "address"
596
+ },
597
+ {
598
+ "indexed": false,
599
+ "internalType": "uint256",
600
+ "name": "amount",
601
+ "type": "uint256"
602
+ }
603
+ ],
604
+ "name": "FundedContract",
605
+ "type": "event"
302
606
  },
303
607
  {
304
608
  "anonymous": false,
@@ -419,6 +723,56 @@
419
723
  "name": "RoleRevoked",
420
724
  "type": "event"
421
725
  },
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
+ },
422
776
  {
423
777
  "anonymous": false,
424
778
  "inputs": [
@@ -482,25 +836,6 @@
482
836
  "name": "TokenRemoved",
483
837
  "type": "event"
484
838
  },
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
- },
504
839
  {
505
840
  "anonymous": false,
506
841
  "inputs": [
@@ -544,9 +879,90 @@
544
879
  "name": "Withdrawal",
545
880
  "type": "event"
546
881
  },
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
+ },
547
963
  {
548
964
  "inputs": [],
549
- "name": "DEFAULT_ADMIN_ROLE",
965
+ "name": "ADMIN_TREASURY_EXECUTIVE_ROLE",
550
966
  "outputs": [
551
967
  {
552
968
  "internalType": "bytes32",
@@ -559,7 +975,7 @@
559
975
  },
560
976
  {
561
977
  "inputs": [],
562
- "name": "DOMAIN_SEPARATOR",
978
+ "name": "ADMIN_TREASURY_MANAGER_ROLE",
563
979
  "outputs": [
564
980
  {
565
981
  "internalType": "bytes32",
@@ -572,7 +988,7 @@
572
988
  },
573
989
  {
574
990
  "inputs": [],
575
- "name": "FUNDS_MANAGER_ROLE",
991
+ "name": "CONFIG_EXECUTIVE_ROLE",
576
992
  "outputs": [
577
993
  {
578
994
  "internalType": "bytes32",
@@ -585,7 +1001,7 @@
585
1001
  },
586
1002
  {
587
1003
  "inputs": [],
588
- "name": "OPERATOR_ROLE",
1004
+ "name": "CONFIG_MANAGER_ROLE",
589
1005
  "outputs": [
590
1006
  {
591
1007
  "internalType": "bytes32",
@@ -597,91 +1013,167 @@
597
1013
  "type": "function"
598
1014
  },
599
1015
  {
600
- "inputs": [
601
- {
602
- "internalType": "address",
603
- "name": "_operator",
604
- "type": "address"
605
- },
606
- {
607
- "internalType": "address",
608
- "name": "_owner",
609
- "type": "address"
610
- },
1016
+ "inputs": [],
1017
+ "name": "DEFAULT_ADMIN_ROLE",
1018
+ "outputs": [
611
1019
  {
612
- "internalType": "address",
613
- "name": "_fundsManager",
614
- "type": "address"
1020
+ "internalType": "bytes32",
1021
+ "name": "",
1022
+ "type": "bytes32"
615
1023
  }
616
1024
  ],
617
- "name": "__AccessControl_init",
618
- "outputs": [],
619
- "stateMutability": "nonpayable",
1025
+ "stateMutability": "view",
620
1026
  "type": "function"
621
1027
  },
622
1028
  {
623
- "inputs": [
624
- {
625
- "internalType": "string",
626
- "name": "_name",
627
- "type": "string"
628
- },
1029
+ "inputs": [],
1030
+ "name": "DOMAIN_SEPARATOR",
1031
+ "outputs": [
629
1032
  {
630
- "internalType": "string",
631
- "name": "_version",
632
- "type": "string"
1033
+ "internalType": "bytes32",
1034
+ "name": "",
1035
+ "type": "bytes32"
633
1036
  }
634
1037
  ],
635
- "name": "__Signature_init",
636
- "outputs": [],
637
- "stateMutability": "nonpayable",
1038
+ "stateMutability": "view",
638
1039
  "type": "function"
639
1040
  },
640
1041
  {
641
- "inputs": [
1042
+ "inputs": [],
1043
+ "name": "FUNDS_MANAGER_ROLE",
1044
+ "outputs": [
642
1045
  {
643
- "internalType": "address[]",
644
- "name": "_tokens",
645
- "type": "address[]"
1046
+ "internalType": "bytes32",
1047
+ "name": "",
1048
+ "type": "bytes32"
646
1049
  }
647
1050
  ],
648
- "name": "__TokensWhitelist_init",
649
- "outputs": [],
650
- "stateMutability": "nonpayable",
1051
+ "stateMutability": "view",
651
1052
  "type": "function"
652
1053
  },
653
1054
  {
654
- "inputs": [
1055
+ "inputs": [],
1056
+ "name": "OPERATOR_ROLE",
1057
+ "outputs": [
655
1058
  {
656
- "internalType": "address[]",
657
- "name": "tokens",
658
- "type": "address[]"
1059
+ "internalType": "bytes32",
1060
+ "name": "",
1061
+ "type": "bytes32"
659
1062
  }
660
1063
  ],
661
- "name": "addTokens",
662
- "outputs": [],
663
- "stateMutability": "nonpayable",
1064
+ "stateMutability": "view",
664
1065
  "type": "function"
665
1066
  },
666
1067
  {
667
- "inputs": [
1068
+ "inputs": [],
1069
+ "name": "TIMELOCK_CONFIG_EXECUTIVE_ROLE",
1070
+ "outputs": [
668
1071
  {
669
- "internalType": "uint256",
670
- "name": "amount",
1072
+ "internalType": "bytes32",
1073
+ "name": "",
1074
+ "type": "bytes32"
1075
+ }
1076
+ ],
1077
+ "stateMutability": "view",
1078
+ "type": "function"
1079
+ },
1080
+ {
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": [
1097
+ {
1098
+ "internalType": "uint256",
1099
+ "name": "",
671
1100
  "type": "uint256"
1101
+ }
1102
+ ],
1103
+ "stateMutability": "view",
1104
+ "type": "function"
1105
+ },
1106
+ {
1107
+ "inputs": [],
1108
+ "name": "TREASURY_DISPATCH_ROLE",
1109
+ "outputs": [
1110
+ {
1111
+ "internalType": "bytes32",
1112
+ "name": "",
1113
+ "type": "bytes32"
1114
+ }
1115
+ ],
1116
+ "stateMutability": "view",
1117
+ "type": "function"
1118
+ },
1119
+ {
1120
+ "inputs": [],
1121
+ "name": "TREASURY_EXECUTIVE_ROLE",
1122
+ "outputs": [
1123
+ {
1124
+ "internalType": "bytes32",
1125
+ "name": "",
1126
+ "type": "bytes32"
1127
+ }
1128
+ ],
1129
+ "stateMutability": "view",
1130
+ "type": "function"
1131
+ },
1132
+ {
1133
+ "inputs": [],
1134
+ "name": "TREASURY_MANAGER_ROLE",
1135
+ "outputs": [
1136
+ {
1137
+ "internalType": "bytes32",
1138
+ "name": "",
1139
+ "type": "bytes32"
1140
+ }
1141
+ ],
1142
+ "stateMutability": "view",
1143
+ "type": "function"
1144
+ },
1145
+ {
1146
+ "inputs": [],
1147
+ "name": "TREASURY_RECEIVER_ROLE",
1148
+ "outputs": [
1149
+ {
1150
+ "internalType": "bytes32",
1151
+ "name": "",
1152
+ "type": "bytes32"
1153
+ }
1154
+ ],
1155
+ "stateMutability": "view",
1156
+ "type": "function"
1157
+ },
1158
+ {
1159
+ "inputs": [
1160
+ {
1161
+ "internalType": "address",
1162
+ "name": "_operator",
1163
+ "type": "address"
672
1164
  },
673
1165
  {
674
1166
  "internalType": "address",
675
- "name": "token",
1167
+ "name": "_owner",
676
1168
  "type": "address"
677
1169
  },
678
1170
  {
679
1171
  "internalType": "address",
680
- "name": "receiver",
1172
+ "name": "_fundsManager",
681
1173
  "type": "address"
682
1174
  }
683
1175
  ],
684
- "name": "adminWithdraw",
1176
+ "name": "__AccessControl_init",
685
1177
  "outputs": [],
686
1178
  "stateMutability": "nonpayable",
687
1179
  "type": "function"
@@ -689,36 +1181,31 @@
689
1181
  {
690
1182
  "inputs": [
691
1183
  {
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[]"
1184
+ "internalType": "string",
1185
+ "name": "_name",
1186
+ "type": "string"
707
1187
  },
708
1188
  {
709
- "internalType": "address payable",
710
- "name": "receiver",
711
- "type": "address"
1189
+ "internalType": "string",
1190
+ "name": "_version",
1191
+ "type": "string"
712
1192
  }
713
1193
  ],
714
- "name": "batchSweepERC20",
715
- "outputs": [
1194
+ "name": "__Signature_init",
1195
+ "outputs": [],
1196
+ "stateMutability": "nonpayable",
1197
+ "type": "function"
1198
+ },
1199
+ {
1200
+ "inputs": [
716
1201
  {
717
- "internalType": "bool",
718
- "name": "",
719
- "type": "bool"
1202
+ "internalType": "address[]",
1203
+ "name": "_tokens",
1204
+ "type": "address[]"
720
1205
  }
721
1206
  ],
1207
+ "name": "__TokensWhitelist_init",
1208
+ "outputs": [],
722
1209
  "stateMutability": "nonpayable",
723
1210
  "type": "function"
724
1211
  },
@@ -727,86 +1214,66 @@
727
1214
  {
728
1215
  "components": [
729
1216
  {
730
- "internalType": "uint256",
731
- "name": "amount",
732
- "type": "uint256"
1217
+ "internalType": "address",
1218
+ "name": "tokenAddress",
1219
+ "type": "address"
733
1220
  },
734
1221
  {
735
1222
  "internalType": "uint256",
736
- "name": "requestId",
1223
+ "name": "thresholdAmount",
737
1224
  "type": "uint256"
738
1225
  },
739
1226
  {
740
- "internalType": "address",
741
- "name": "tokenAddress",
742
- "type": "address"
1227
+ "internalType": "uint8",
1228
+ "name": "sigsExecutiveBelow",
1229
+ "type": "uint8"
743
1230
  },
744
1231
  {
745
- "internalType": "address",
746
- "name": "receiverAddress",
747
- "type": "address"
1232
+ "internalType": "uint8",
1233
+ "name": "sigsExecutiveAbove",
1234
+ "type": "uint8"
1235
+ },
1236
+ {
1237
+ "internalType": "uint8",
1238
+ "name": "sigsBelow",
1239
+ "type": "uint8"
1240
+ },
1241
+ {
1242
+ "internalType": "uint8",
1243
+ "name": "sigsAbove",
1244
+ "type": "uint8"
748
1245
  }
749
1246
  ],
750
- "internalType": "struct Types.BatchWithdraw[]",
751
- "name": "requests",
1247
+ "internalType": "struct Types.MultisigConfigInput[]",
1248
+ "name": "configs",
752
1249
  "type": "tuple[]"
753
1250
  }
754
1251
  ],
755
- "name": "batch_withdraw",
1252
+ "name": "addTokens",
756
1253
  "outputs": [],
757
1254
  "stateMutability": "nonpayable",
758
1255
  "type": "function"
759
1256
  },
760
1257
  {
761
- "inputs": [
1258
+ "inputs": [],
1259
+ "name": "adminTokenThresholdSettings",
1260
+ "outputs": [
762
1261
  {
763
- "internalType": "address",
764
- "name": "newAdmin",
765
- "type": "address"
1262
+ "internalType": "uint256",
1263
+ "name": "",
1264
+ "type": "uint256"
766
1265
  }
767
1266
  ],
768
- "name": "changeAdmin",
769
- "outputs": [],
770
- "stateMutability": "nonpayable",
1267
+ "stateMutability": "view",
771
1268
  "type": "function"
772
1269
  },
773
1270
  {
774
1271
  "inputs": [
775
1272
  {
776
- "internalType": "string",
777
- "name": "bonusCode",
778
- "type": "string"
1273
+ "internalType": "uint256",
1274
+ "name": "requestId",
1275
+ "type": "uint256"
779
1276
  },
780
- {
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"
801
- }
802
- ],
803
- "name": "deposit",
804
- "outputs": [],
805
- "stateMutability": "payable",
806
- "type": "function"
807
- },
808
- {
809
- "inputs": [
810
1277
  {
811
1278
  "internalType": "uint256",
812
1279
  "name": "amount",
@@ -814,13 +1281,13 @@
814
1281
  },
815
1282
  {
816
1283
  "internalType": "address",
817
- "name": "tokenAddress",
1284
+ "name": "token",
818
1285
  "type": "address"
819
1286
  },
820
1287
  {
821
- "internalType": "string",
822
- "name": "bonusCode",
823
- "type": "string"
1288
+ "internalType": "address",
1289
+ "name": "receiver",
1290
+ "type": "address"
824
1291
  },
825
1292
  {
826
1293
  "components": [
@@ -840,12 +1307,12 @@
840
1307
  "type": "bytes32"
841
1308
  }
842
1309
  ],
843
- "internalType": "struct Types.Signature",
844
- "name": "signature",
845
- "type": "tuple"
1310
+ "internalType": "struct Types.Signature[]",
1311
+ "name": "signatures",
1312
+ "type": "tuple[]"
846
1313
  }
847
1314
  ],
848
- "name": "depositErc20",
1315
+ "name": "adminWithdraw",
849
1316
  "outputs": [],
850
1317
  "stateMutability": "nonpayable",
851
1318
  "type": "function"
@@ -853,43 +1320,167 @@
853
1320
  {
854
1321
  "inputs": [
855
1322
  {
856
- "internalType": "address[]",
857
- "name": "wallets",
858
- "type": "address[]"
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[]"
859
1338
  },
860
1339
  {
861
- "internalType": "uint256",
862
- "name": "amount",
863
- "type": "uint256"
1340
+ "internalType": "address payable",
1341
+ "name": "receiver",
1342
+ "type": "address"
1343
+ }
1344
+ ],
1345
+ "name": "batchSweepERC20",
1346
+ "outputs": [
1347
+ {
1348
+ "internalType": "bool",
1349
+ "name": "",
1350
+ "type": "bool"
864
1351
  }
865
1352
  ],
866
- "name": "fundWallets",
867
- "outputs": [],
868
1353
  "stateMutability": "nonpayable",
869
1354
  "type": "function"
870
1355
  },
871
1356
  {
872
- "inputs": [],
873
- "name": "getBalance",
874
- "outputs": [
1357
+ "inputs": [
875
1358
  {
876
- "internalType": "uint256",
877
- "name": "",
878
- "type": "uint256"
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[]"
879
1406
  }
880
1407
  ],
881
- "stateMutability": "view",
1408
+ "name": "batchWithdrawWithTimelock",
1409
+ "outputs": [],
1410
+ "stateMutability": "nonpayable",
1411
+ "type": "function"
1412
+ },
1413
+ {
1414
+ "inputs": [
1415
+ {
1416
+ "components": [
1417
+ {
1418
+ "internalType": "uint256",
1419
+ "name": "amount",
1420
+ "type": "uint256"
1421
+ },
1422
+ {
1423
+ "internalType": "uint256",
1424
+ "name": "requestId",
1425
+ "type": "uint256"
1426
+ },
1427
+ {
1428
+ "internalType": "address",
1429
+ "name": "tokenAddress",
1430
+ "type": "address"
1431
+ },
1432
+ {
1433
+ "internalType": "address",
1434
+ "name": "receiverAddress",
1435
+ "type": "address"
1436
+ }
1437
+ ],
1438
+ "internalType": "struct Types.BatchWithdraw[]",
1439
+ "name": "requests",
1440
+ "type": "tuple[]"
1441
+ }
1442
+ ],
1443
+ "name": "batch_withdraw",
1444
+ "outputs": [],
1445
+ "stateMutability": "nonpayable",
882
1446
  "type": "function"
883
1447
  },
884
1448
  {
885
1449
  "inputs": [
1450
+ {
1451
+ "internalType": "uint256",
1452
+ "name": "amount",
1453
+ "type": "uint256"
1454
+ },
1455
+ {
1456
+ "internalType": "uint256",
1457
+ "name": "requestId",
1458
+ "type": "uint256"
1459
+ },
886
1460
  {
887
1461
  "internalType": "address",
888
- "name": "token",
1462
+ "name": "tokenAddress",
1463
+ "type": "address"
1464
+ },
1465
+ {
1466
+ "internalType": "address",
1467
+ "name": "receiverAddress",
889
1468
  "type": "address"
1469
+ },
1470
+ {
1471
+ "internalType": "uint256",
1472
+ "name": "executeAt",
1473
+ "type": "uint256"
890
1474
  }
891
1475
  ],
892
- "name": "getBalance",
1476
+ "name": "cancelWithdrawal",
1477
+ "outputs": [],
1478
+ "stateMutability": "nonpayable",
1479
+ "type": "function"
1480
+ },
1481
+ {
1482
+ "inputs": [],
1483
+ "name": "configNonce",
893
1484
  "outputs": [
894
1485
  {
895
1486
  "internalType": "uint256",
@@ -901,26 +1492,69 @@
901
1492
  "type": "function"
902
1493
  },
903
1494
  {
904
- "inputs": [
1495
+ "inputs": [],
1496
+ "name": "configThresholdSettings",
1497
+ "outputs": [
905
1498
  {
906
1499
  "internalType": "uint256",
907
- "name": "_amount",
1500
+ "name": "",
908
1501
  "type": "uint256"
1502
+ }
1503
+ ],
1504
+ "stateMutability": "view",
1505
+ "type": "function"
1506
+ },
1507
+ {
1508
+ "inputs": [
1509
+ {
1510
+ "internalType": "string",
1511
+ "name": "bonusCode",
1512
+ "type": "string"
909
1513
  },
910
1514
  {
911
- "internalType": "address",
912
- "name": "_senderAddress",
913
- "type": "address"
1515
+ "components": [
1516
+ {
1517
+ "internalType": "uint8",
1518
+ "name": "v",
1519
+ "type": "uint8"
1520
+ },
1521
+ {
1522
+ "internalType": "bytes32",
1523
+ "name": "r",
1524
+ "type": "bytes32"
1525
+ },
1526
+ {
1527
+ "internalType": "bytes32",
1528
+ "name": "s",
1529
+ "type": "bytes32"
1530
+ }
1531
+ ],
1532
+ "internalType": "struct Types.Signature",
1533
+ "name": "signature",
1534
+ "type": "tuple"
1535
+ }
1536
+ ],
1537
+ "name": "deposit",
1538
+ "outputs": [],
1539
+ "stateMutability": "payable",
1540
+ "type": "function"
1541
+ },
1542
+ {
1543
+ "inputs": [
1544
+ {
1545
+ "internalType": "uint256",
1546
+ "name": "amount",
1547
+ "type": "uint256"
914
1548
  },
915
1549
  {
916
1550
  "internalType": "address",
917
- "name": "_tokenAddress",
1551
+ "name": "tokenAddress",
918
1552
  "type": "address"
919
1553
  },
920
1554
  {
921
- "internalType": "uint256",
922
- "name": "_nonce",
923
- "type": "uint256"
1555
+ "internalType": "string",
1556
+ "name": "bonusCode",
1557
+ "type": "string"
924
1558
  },
925
1559
  {
926
1560
  "components": [
@@ -945,48 +1579,99 @@
945
1579
  "type": "tuple"
946
1580
  }
947
1581
  ],
948
- "name": "getDepositSigner",
949
- "outputs": [
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
+ },
950
1599
  {
951
1600
  "internalType": "address",
952
- "name": "",
1601
+ "name": "tokenAddress",
1602
+ "type": "address"
1603
+ },
1604
+ {
1605
+ "internalType": "address",
1606
+ "name": "receiverAddress",
953
1607
  "type": "address"
1608
+ },
1609
+ {
1610
+ "internalType": "uint256",
1611
+ "name": "executeAt",
1612
+ "type": "uint256"
954
1613
  }
955
1614
  ],
956
- "stateMutability": "view",
1615
+ "name": "executeWithdrawal",
1616
+ "outputs": [],
1617
+ "stateMutability": "nonpayable",
957
1618
  "type": "function"
958
1619
  },
959
1620
  {
960
- "inputs": [],
961
- "name": "getLastBlockNumber",
962
- "outputs": [
1621
+ "inputs": [
1622
+ {
1623
+ "internalType": "address[]",
1624
+ "name": "wallets",
1625
+ "type": "address[]"
1626
+ },
963
1627
  {
964
1628
  "internalType": "uint256",
965
- "name": "",
1629
+ "name": "amount",
966
1630
  "type": "uint256"
967
1631
  }
968
1632
  ],
969
- "stateMutability": "view",
1633
+ "name": "fundWallets",
1634
+ "outputs": [],
1635
+ "stateMutability": "nonpayable",
970
1636
  "type": "function"
971
1637
  },
972
1638
  {
973
- "inputs": [
974
- {
975
- "internalType": "address",
976
- "name": "user",
977
- "type": "address"
978
- },
1639
+ "inputs": [],
1640
+ "name": "getAdminMultisigConfig",
1641
+ "outputs": [
979
1642
  {
980
- "internalType": "enum Types.OperationType",
981
- "name": "opType",
982
- "type": "uint8"
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"
983
1663
  }
984
1664
  ],
985
- "name": "getNonce",
1665
+ "stateMutability": "view",
1666
+ "type": "function"
1667
+ },
1668
+ {
1669
+ "inputs": [],
1670
+ "name": "getBalance",
986
1671
  "outputs": [
987
1672
  {
988
1673
  "internalType": "uint256",
989
- "name": "nonce",
1674
+ "name": "",
990
1675
  "type": "uint256"
991
1676
  }
992
1677
  ],
@@ -996,17 +1681,17 @@
996
1681
  {
997
1682
  "inputs": [
998
1683
  {
999
- "internalType": "uint256",
1000
- "name": "index",
1001
- "type": "uint256"
1684
+ "internalType": "address",
1685
+ "name": "token",
1686
+ "type": "address"
1002
1687
  }
1003
1688
  ],
1004
- "name": "getRequestStatus",
1689
+ "name": "getBalance",
1005
1690
  "outputs": [
1006
1691
  {
1007
- "internalType": "bool",
1692
+ "internalType": "uint256",
1008
1693
  "name": "",
1009
- "type": "bool"
1694
+ "type": "uint256"
1010
1695
  }
1011
1696
  ],
1012
1697
  "stateMutability": "view",
@@ -1016,12 +1701,147 @@
1016
1701
  "inputs": [
1017
1702
  {
1018
1703
  "internalType": "uint256",
1019
- "name": "requestedAmount",
1704
+ "name": "_amount",
1020
1705
  "type": "uint256"
1021
1706
  },
1022
1707
  {
1023
1708
  "internalType": "address",
1024
- "name": "token",
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"
1721
+ },
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
+ {
1748
+ "internalType": "address",
1749
+ "name": "",
1750
+ "type": "address"
1751
+ }
1752
+ ],
1753
+ "stateMutability": "view",
1754
+ "type": "function"
1755
+ },
1756
+ {
1757
+ "inputs": [
1758
+ {
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": [
1794
+ {
1795
+ "internalType": "address",
1796
+ "name": "user",
1797
+ "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
+ }
1823
+ ],
1824
+ "name": "getRequestStatus",
1825
+ "outputs": [
1826
+ {
1827
+ "internalType": "bool",
1828
+ "name": "",
1829
+ "type": "bool"
1830
+ }
1831
+ ],
1832
+ "stateMutability": "view",
1833
+ "type": "function"
1834
+ },
1835
+ {
1836
+ "inputs": [
1837
+ {
1838
+ "internalType": "uint256",
1839
+ "name": "requestedAmount",
1840
+ "type": "uint256"
1841
+ },
1842
+ {
1843
+ "internalType": "address",
1844
+ "name": "token",
1025
1845
  "type": "address"
1026
1846
  }
1027
1847
  ],
@@ -1078,36 +1898,49 @@
1078
1898
  "type": "function"
1079
1899
  },
1080
1900
  {
1081
- "inputs": [],
1082
- "name": "getTotalTransactions",
1083
- "outputs": [
1901
+ "inputs": [
1084
1902
  {
1085
- "internalType": "uint256",
1086
- "name": "",
1087
- "type": "uint256"
1903
+ "internalType": "address",
1904
+ "name": "tokenAddress",
1905
+ "type": "address"
1088
1906
  }
1089
1907
  ],
1090
- "stateMutability": "view",
1091
- "type": "function"
1092
- },
1093
- {
1094
- "inputs": [],
1095
- "name": "getTransactionStatus",
1908
+ "name": "getTokenMultisigConfig",
1096
1909
  "outputs": [
1097
1910
  {
1098
1911
  "components": [
1099
1912
  {
1100
1913
  "internalType": "uint256",
1101
- "name": "totalCount",
1914
+ "name": "thresholdAmount",
1102
1915
  "type": "uint256"
1103
1916
  },
1104
1917
  {
1105
- "internalType": "uint256",
1106
- "name": "lastBlockNumber",
1107
- "type": "uint256"
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"
1108
1941
  }
1109
1942
  ],
1110
- "internalType": "struct Types.TransactionStatus",
1943
+ "internalType": "struct Types.MultisigConfig",
1111
1944
  "name": "",
1112
1945
  "type": "tuple"
1113
1946
  }
@@ -1171,6 +2004,25 @@
1171
2004
  "stateMutability": "view",
1172
2005
  "type": "function"
1173
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
+ },
1174
2026
  {
1175
2027
  "inputs": [
1176
2028
  {
@@ -1253,6 +2105,75 @@
1253
2105
  "internalType": "address[]",
1254
2106
  "name": "_tokens",
1255
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"
1256
2177
  }
1257
2178
  ],
1258
2179
  "name": "initialize",
@@ -1280,8 +2201,481 @@
1280
2201
  "type": "function"
1281
2202
  },
1282
2203
  {
1283
- "inputs": [],
1284
- "name": "isPaused",
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"
2676
+ }
2677
+ ],
2678
+ "name": "supportsInterface",
1285
2679
  "outputs": [
1286
2680
  {
1287
2681
  "internalType": "bool",
@@ -1296,11 +2690,16 @@
1296
2690
  "inputs": [
1297
2691
  {
1298
2692
  "internalType": "address",
1299
- "name": "_token",
2693
+ "name": "wallet",
2694
+ "type": "address"
2695
+ },
2696
+ {
2697
+ "internalType": "address",
2698
+ "name": "token",
1300
2699
  "type": "address"
1301
2700
  }
1302
2701
  ],
1303
- "name": "isWhitelisted",
2702
+ "name": "sweepFunds",
1304
2703
  "outputs": [
1305
2704
  {
1306
2705
  "internalType": "bool",
@@ -1308,147 +2707,138 @@
1308
2707
  "type": "bool"
1309
2708
  }
1310
2709
  ],
1311
- "stateMutability": "view",
2710
+ "stateMutability": "payable",
1312
2711
  "type": "function"
1313
2712
  },
1314
2713
  {
1315
2714
  "inputs": [
1316
2715
  {
1317
- "internalType": "address",
1318
- "name": "_owner",
1319
- "type": "address"
2716
+ "internalType": "bytes32",
2717
+ "name": "",
2718
+ "type": "bytes32"
1320
2719
  }
1321
2720
  ],
1322
- "name": "nonces",
2721
+ "name": "timelockCommitments",
1323
2722
  "outputs": [
1324
2723
  {
1325
- "internalType": "uint256",
1326
- "name": "depositNonce",
1327
- "type": "uint256"
2724
+ "internalType": "bool",
2725
+ "name": "",
2726
+ "type": "bool"
1328
2727
  }
1329
2728
  ],
1330
2729
  "stateMutability": "view",
1331
2730
  "type": "function"
1332
2731
  },
1333
- {
1334
- "inputs": [],
1335
- "name": "pause",
1336
- "outputs": [],
1337
- "stateMutability": "nonpayable",
1338
- "type": "function"
1339
- },
1340
- {
1341
- "inputs": [
1342
- {
1343
- "internalType": "address[]",
1344
- "name": "tokens",
1345
- "type": "address[]"
1346
- }
1347
- ],
1348
- "name": "removeTokens",
1349
- "outputs": [],
1350
- "stateMutability": "nonpayable",
1351
- "type": "function"
1352
- },
1353
2732
  {
1354
2733
  "inputs": [
1355
- {
1356
- "internalType": "bytes32",
1357
- "name": "role",
1358
- "type": "bytes32"
1359
- },
1360
2734
  {
1361
2735
  "internalType": "address",
1362
- "name": "callerConfirmation",
2736
+ "name": "",
1363
2737
  "type": "address"
1364
2738
  }
1365
2739
  ],
1366
- "name": "renounceRole",
1367
- "outputs": [],
1368
- "stateMutability": "nonpayable",
1369
- "type": "function"
1370
- },
1371
- {
1372
- "inputs": [
2740
+ "name": "timelockConfig",
2741
+ "outputs": [
1373
2742
  {
1374
2743
  "internalType": "uint256",
1375
- "name": "start",
2744
+ "name": "thresholdAmount",
1376
2745
  "type": "uint256"
1377
2746
  },
1378
2747
  {
1379
2748
  "internalType": "uint256",
1380
- "name": "end",
2749
+ "name": "durationBelow",
1381
2750
  "type": "uint256"
2751
+ },
2752
+ {
2753
+ "internalType": "uint256",
2754
+ "name": "durationAbove",
2755
+ "type": "uint256"
2756
+ },
2757
+ {
2758
+ "internalType": "bool",
2759
+ "name": "configured",
2760
+ "type": "bool"
1382
2761
  }
1383
2762
  ],
1384
- "name": "reset_request_ids",
1385
- "outputs": [],
1386
- "stateMutability": "nonpayable",
2763
+ "stateMutability": "view",
1387
2764
  "type": "function"
1388
2765
  },
1389
2766
  {
1390
- "inputs": [
1391
- {
1392
- "internalType": "bytes32",
1393
- "name": "role",
1394
- "type": "bytes32"
1395
- },
2767
+ "inputs": [],
2768
+ "name": "timelockConfigNonce",
2769
+ "outputs": [
1396
2770
  {
1397
- "internalType": "address",
1398
- "name": "account",
1399
- "type": "address"
2771
+ "internalType": "uint256",
2772
+ "name": "",
2773
+ "type": "uint256"
1400
2774
  }
1401
2775
  ],
1402
- "name": "revokeRole",
1403
- "outputs": [],
1404
- "stateMutability": "nonpayable",
2776
+ "stateMutability": "view",
1405
2777
  "type": "function"
1406
2778
  },
1407
2779
  {
1408
- "inputs": [
2780
+ "inputs": [],
2781
+ "name": "timelockThresholdSettings",
2782
+ "outputs": [
1409
2783
  {
1410
- "internalType": "address",
1411
- "name": "_operator",
1412
- "type": "address"
2784
+ "internalType": "uint256",
2785
+ "name": "",
2786
+ "type": "uint256"
1413
2787
  }
1414
2788
  ],
1415
- "name": "setOperator",
1416
- "outputs": [],
1417
- "stateMutability": "nonpayable",
2789
+ "stateMutability": "view",
1418
2790
  "type": "function"
1419
2791
  },
1420
2792
  {
1421
2793
  "inputs": [
1422
2794
  {
1423
- "internalType": "uint256",
1424
- "name": "totalCount",
1425
- "type": "uint256"
1426
- },
2795
+ "internalType": "address",
2796
+ "name": "",
2797
+ "type": "address"
2798
+ }
2799
+ ],
2800
+ "name": "tokenThresholdSettings",
2801
+ "outputs": [
1427
2802
  {
1428
2803
  "internalType": "uint256",
1429
- "name": "blockNumber",
2804
+ "name": "",
1430
2805
  "type": "uint256"
1431
2806
  }
1432
2807
  ],
1433
- "name": "setTransactionStatus",
1434
- "outputs": [],
1435
- "stateMutability": "nonpayable",
2808
+ "stateMutability": "view",
1436
2809
  "type": "function"
1437
2810
  },
1438
2811
  {
1439
2812
  "inputs": [
1440
2813
  {
1441
- "internalType": "bytes4",
1442
- "name": "interfaceId",
1443
- "type": "bytes4"
2814
+ "internalType": "uint256",
2815
+ "name": "packed",
2816
+ "type": "uint256"
1444
2817
  }
1445
2818
  ],
1446
- "name": "supportsInterface",
2819
+ "name": "unpackAdminThresholds",
1447
2820
  "outputs": [
1448
2821
  {
1449
- "internalType": "bool",
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",
1450
2840
  "name": "",
1451
- "type": "bool"
2841
+ "type": "tuple"
1452
2842
  }
1453
2843
  ],
1454
2844
  "stateMutability": "view",
@@ -1457,25 +2847,52 @@
1457
2847
  {
1458
2848
  "inputs": [
1459
2849
  {
1460
- "internalType": "address",
1461
- "name": "wallet",
1462
- "type": "address"
1463
- },
1464
- {
1465
- "internalType": "address",
1466
- "name": "token",
1467
- "type": "address"
2850
+ "internalType": "uint256",
2851
+ "name": "packed",
2852
+ "type": "uint256"
1468
2853
  }
1469
2854
  ],
1470
- "name": "sweepFunds",
2855
+ "name": "unpackTokenThresholds",
1471
2856
  "outputs": [
1472
2857
  {
1473
- "internalType": "bool",
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",
1474
2891
  "name": "",
1475
- "type": "bool"
2892
+ "type": "tuple"
1476
2893
  }
1477
2894
  ],
1478
- "stateMutability": "payable",
2895
+ "stateMutability": "view",
1479
2896
  "type": "function"
1480
2897
  },
1481
2898
  {
@@ -1554,6 +2971,78 @@
1554
2971
  "stateMutability": "nonpayable",
1555
2972
  "type": "function"
1556
2973
  },
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
+ },
1557
3046
  {
1558
3047
  "stateMutability": "payable",
1559
3048
  "type": "receive"