@keep-network/tbtc-v2 1.6.0-dev.12 → 1.6.0-dev.13

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 (45) hide show
  1. package/artifacts/BLS.json +1 -1
  2. package/artifacts/Bank.json +817 -0
  3. package/artifacts/BeaconAuthorization.json +1 -1
  4. package/artifacts/BeaconDkg.json +1 -1
  5. package/artifacts/BeaconDkgValidator.json +1 -1
  6. package/artifacts/BeaconInactivity.json +1 -1
  7. package/artifacts/BeaconSortitionPool.json +3 -3
  8. package/artifacts/Bridge.json +3081 -0
  9. package/artifacts/BridgeGovernance.json +2011 -0
  10. package/artifacts/BridgeGovernanceParameters.json +1609 -0
  11. package/artifacts/Deposit.json +117 -0
  12. package/artifacts/DepositSweep.json +77 -0
  13. package/artifacts/DonationVault.json +188 -0
  14. package/artifacts/EcdsaDkgValidator.json +1 -1
  15. package/artifacts/EcdsaInactivity.json +1 -1
  16. package/artifacts/EcdsaSortitionPool.json +3 -3
  17. package/artifacts/Fraud.json +164 -0
  18. package/artifacts/LightRelay.json +765 -0
  19. package/artifacts/LightRelayMaintainerProxy.json +479 -0
  20. package/artifacts/MaintainerProxy.json +1618 -0
  21. package/artifacts/MovingFunds.json +249 -0
  22. package/artifacts/NuCypherToken.json +2 -2
  23. package/artifacts/RandomBeacon.json +2 -2
  24. package/artifacts/RandomBeaconChaosnet.json +2 -2
  25. package/artifacts/RandomBeaconGovernance.json +2 -2
  26. package/artifacts/Redemption.json +174 -0
  27. package/artifacts/ReimbursementPool.json +2 -2
  28. package/artifacts/T.json +2 -2
  29. package/artifacts/TBTC.json +763 -0
  30. package/artifacts/TBTCToken.json +738 -0
  31. package/artifacts/TBTCVault.json +1606 -0
  32. package/artifacts/TokenStaking.json +1 -1
  33. package/artifacts/TokenholderGovernor.json +9 -9
  34. package/artifacts/TokenholderTimelock.json +8 -8
  35. package/artifacts/VendingMachine.json +751 -0
  36. package/artifacts/VendingMachineNuCypher.json +1 -1
  37. package/artifacts/VendingMachineV2.json +360 -0
  38. package/artifacts/VendingMachineV3.json +405 -0
  39. package/artifacts/WalletCoordinator.json +1107 -0
  40. package/artifacts/WalletRegistry.json +5 -5
  41. package/artifacts/WalletRegistryGovernance.json +2 -2
  42. package/artifacts/Wallets.json +186 -0
  43. package/artifacts/solcInputs/7bb78a35ee87138df52e88606ec6ee66.json +190 -0
  44. package/artifacts/solcInputs/e7ed000cbfc5ebeae56731bf1a44e83d.json +410 -0
  45. package/package.json +1 -1
@@ -0,0 +1,3081 @@
1
+ {
2
+ "address": "0x84227190685c25c4aF662EE1bD0E4cd82e57360D",
3
+ "abi": [
4
+ {
5
+ "anonymous": false,
6
+ "inputs": [
7
+ {
8
+ "indexed": false,
9
+ "internalType": "uint64",
10
+ "name": "depositDustThreshold",
11
+ "type": "uint64"
12
+ },
13
+ {
14
+ "indexed": false,
15
+ "internalType": "uint64",
16
+ "name": "depositTreasuryFeeDivisor",
17
+ "type": "uint64"
18
+ },
19
+ {
20
+ "indexed": false,
21
+ "internalType": "uint64",
22
+ "name": "depositTxMaxFee",
23
+ "type": "uint64"
24
+ },
25
+ {
26
+ "indexed": false,
27
+ "internalType": "uint32",
28
+ "name": "depositRevealAheadPeriod",
29
+ "type": "uint32"
30
+ }
31
+ ],
32
+ "name": "DepositParametersUpdated",
33
+ "type": "event"
34
+ },
35
+ {
36
+ "anonymous": false,
37
+ "inputs": [
38
+ {
39
+ "indexed": false,
40
+ "internalType": "bytes32",
41
+ "name": "fundingTxHash",
42
+ "type": "bytes32"
43
+ },
44
+ {
45
+ "indexed": false,
46
+ "internalType": "uint32",
47
+ "name": "fundingOutputIndex",
48
+ "type": "uint32"
49
+ },
50
+ {
51
+ "indexed": true,
52
+ "internalType": "address",
53
+ "name": "depositor",
54
+ "type": "address"
55
+ },
56
+ {
57
+ "indexed": false,
58
+ "internalType": "uint64",
59
+ "name": "amount",
60
+ "type": "uint64"
61
+ },
62
+ {
63
+ "indexed": false,
64
+ "internalType": "bytes8",
65
+ "name": "blindingFactor",
66
+ "type": "bytes8"
67
+ },
68
+ {
69
+ "indexed": true,
70
+ "internalType": "bytes20",
71
+ "name": "walletPubKeyHash",
72
+ "type": "bytes20"
73
+ },
74
+ {
75
+ "indexed": false,
76
+ "internalType": "bytes20",
77
+ "name": "refundPubKeyHash",
78
+ "type": "bytes20"
79
+ },
80
+ {
81
+ "indexed": false,
82
+ "internalType": "bytes4",
83
+ "name": "refundLocktime",
84
+ "type": "bytes4"
85
+ },
86
+ {
87
+ "indexed": false,
88
+ "internalType": "address",
89
+ "name": "vault",
90
+ "type": "address"
91
+ }
92
+ ],
93
+ "name": "DepositRevealed",
94
+ "type": "event"
95
+ },
96
+ {
97
+ "anonymous": false,
98
+ "inputs": [
99
+ {
100
+ "indexed": false,
101
+ "internalType": "bytes20",
102
+ "name": "walletPubKeyHash",
103
+ "type": "bytes20"
104
+ },
105
+ {
106
+ "indexed": false,
107
+ "internalType": "bytes32",
108
+ "name": "sweepTxHash",
109
+ "type": "bytes32"
110
+ }
111
+ ],
112
+ "name": "DepositsSwept",
113
+ "type": "event"
114
+ },
115
+ {
116
+ "anonymous": false,
117
+ "inputs": [
118
+ {
119
+ "indexed": true,
120
+ "internalType": "bytes20",
121
+ "name": "walletPubKeyHash",
122
+ "type": "bytes20"
123
+ },
124
+ {
125
+ "indexed": false,
126
+ "internalType": "bytes32",
127
+ "name": "sighash",
128
+ "type": "bytes32"
129
+ }
130
+ ],
131
+ "name": "FraudChallengeDefeatTimedOut",
132
+ "type": "event"
133
+ },
134
+ {
135
+ "anonymous": false,
136
+ "inputs": [
137
+ {
138
+ "indexed": true,
139
+ "internalType": "bytes20",
140
+ "name": "walletPubKeyHash",
141
+ "type": "bytes20"
142
+ },
143
+ {
144
+ "indexed": false,
145
+ "internalType": "bytes32",
146
+ "name": "sighash",
147
+ "type": "bytes32"
148
+ }
149
+ ],
150
+ "name": "FraudChallengeDefeated",
151
+ "type": "event"
152
+ },
153
+ {
154
+ "anonymous": false,
155
+ "inputs": [
156
+ {
157
+ "indexed": true,
158
+ "internalType": "bytes20",
159
+ "name": "walletPubKeyHash",
160
+ "type": "bytes20"
161
+ },
162
+ {
163
+ "indexed": false,
164
+ "internalType": "bytes32",
165
+ "name": "sighash",
166
+ "type": "bytes32"
167
+ },
168
+ {
169
+ "indexed": false,
170
+ "internalType": "uint8",
171
+ "name": "v",
172
+ "type": "uint8"
173
+ },
174
+ {
175
+ "indexed": false,
176
+ "internalType": "bytes32",
177
+ "name": "r",
178
+ "type": "bytes32"
179
+ },
180
+ {
181
+ "indexed": false,
182
+ "internalType": "bytes32",
183
+ "name": "s",
184
+ "type": "bytes32"
185
+ }
186
+ ],
187
+ "name": "FraudChallengeSubmitted",
188
+ "type": "event"
189
+ },
190
+ {
191
+ "anonymous": false,
192
+ "inputs": [
193
+ {
194
+ "indexed": false,
195
+ "internalType": "uint96",
196
+ "name": "fraudChallengeDepositAmount",
197
+ "type": "uint96"
198
+ },
199
+ {
200
+ "indexed": false,
201
+ "internalType": "uint32",
202
+ "name": "fraudChallengeDefeatTimeout",
203
+ "type": "uint32"
204
+ },
205
+ {
206
+ "indexed": false,
207
+ "internalType": "uint96",
208
+ "name": "fraudSlashingAmount",
209
+ "type": "uint96"
210
+ },
211
+ {
212
+ "indexed": false,
213
+ "internalType": "uint32",
214
+ "name": "fraudNotifierRewardMultiplier",
215
+ "type": "uint32"
216
+ }
217
+ ],
218
+ "name": "FraudParametersUpdated",
219
+ "type": "event"
220
+ },
221
+ {
222
+ "anonymous": false,
223
+ "inputs": [
224
+ {
225
+ "indexed": false,
226
+ "internalType": "address",
227
+ "name": "oldGovernance",
228
+ "type": "address"
229
+ },
230
+ {
231
+ "indexed": false,
232
+ "internalType": "address",
233
+ "name": "newGovernance",
234
+ "type": "address"
235
+ }
236
+ ],
237
+ "name": "GovernanceTransferred",
238
+ "type": "event"
239
+ },
240
+ {
241
+ "anonymous": false,
242
+ "inputs": [
243
+ {
244
+ "indexed": false,
245
+ "internalType": "uint8",
246
+ "name": "version",
247
+ "type": "uint8"
248
+ }
249
+ ],
250
+ "name": "Initialized",
251
+ "type": "event"
252
+ },
253
+ {
254
+ "anonymous": false,
255
+ "inputs": [
256
+ {
257
+ "indexed": true,
258
+ "internalType": "bytes20",
259
+ "name": "walletPubKeyHash",
260
+ "type": "bytes20"
261
+ },
262
+ {
263
+ "indexed": false,
264
+ "internalType": "bytes32",
265
+ "name": "movingFundsTxHash",
266
+ "type": "bytes32"
267
+ },
268
+ {
269
+ "indexed": false,
270
+ "internalType": "uint32",
271
+ "name": "movingFundsTxOutputIndex",
272
+ "type": "uint32"
273
+ }
274
+ ],
275
+ "name": "MovedFundsSweepTimedOut",
276
+ "type": "event"
277
+ },
278
+ {
279
+ "anonymous": false,
280
+ "inputs": [
281
+ {
282
+ "indexed": true,
283
+ "internalType": "bytes20",
284
+ "name": "walletPubKeyHash",
285
+ "type": "bytes20"
286
+ },
287
+ {
288
+ "indexed": false,
289
+ "internalType": "bytes32",
290
+ "name": "sweepTxHash",
291
+ "type": "bytes32"
292
+ }
293
+ ],
294
+ "name": "MovedFundsSwept",
295
+ "type": "event"
296
+ },
297
+ {
298
+ "anonymous": false,
299
+ "inputs": [
300
+ {
301
+ "indexed": true,
302
+ "internalType": "bytes20",
303
+ "name": "walletPubKeyHash",
304
+ "type": "bytes20"
305
+ }
306
+ ],
307
+ "name": "MovingFundsBelowDustReported",
308
+ "type": "event"
309
+ },
310
+ {
311
+ "anonymous": false,
312
+ "inputs": [
313
+ {
314
+ "indexed": true,
315
+ "internalType": "bytes20",
316
+ "name": "walletPubKeyHash",
317
+ "type": "bytes20"
318
+ },
319
+ {
320
+ "indexed": false,
321
+ "internalType": "bytes20[]",
322
+ "name": "targetWallets",
323
+ "type": "bytes20[]"
324
+ },
325
+ {
326
+ "indexed": false,
327
+ "internalType": "address",
328
+ "name": "submitter",
329
+ "type": "address"
330
+ }
331
+ ],
332
+ "name": "MovingFundsCommitmentSubmitted",
333
+ "type": "event"
334
+ },
335
+ {
336
+ "anonymous": false,
337
+ "inputs": [
338
+ {
339
+ "indexed": true,
340
+ "internalType": "bytes20",
341
+ "name": "walletPubKeyHash",
342
+ "type": "bytes20"
343
+ },
344
+ {
345
+ "indexed": false,
346
+ "internalType": "bytes32",
347
+ "name": "movingFundsTxHash",
348
+ "type": "bytes32"
349
+ }
350
+ ],
351
+ "name": "MovingFundsCompleted",
352
+ "type": "event"
353
+ },
354
+ {
355
+ "anonymous": false,
356
+ "inputs": [
357
+ {
358
+ "indexed": false,
359
+ "internalType": "uint64",
360
+ "name": "movingFundsTxMaxTotalFee",
361
+ "type": "uint64"
362
+ },
363
+ {
364
+ "indexed": false,
365
+ "internalType": "uint64",
366
+ "name": "movingFundsDustThreshold",
367
+ "type": "uint64"
368
+ },
369
+ {
370
+ "indexed": false,
371
+ "internalType": "uint32",
372
+ "name": "movingFundsTimeoutResetDelay",
373
+ "type": "uint32"
374
+ },
375
+ {
376
+ "indexed": false,
377
+ "internalType": "uint32",
378
+ "name": "movingFundsTimeout",
379
+ "type": "uint32"
380
+ },
381
+ {
382
+ "indexed": false,
383
+ "internalType": "uint96",
384
+ "name": "movingFundsTimeoutSlashingAmount",
385
+ "type": "uint96"
386
+ },
387
+ {
388
+ "indexed": false,
389
+ "internalType": "uint32",
390
+ "name": "movingFundsTimeoutNotifierRewardMultiplier",
391
+ "type": "uint32"
392
+ },
393
+ {
394
+ "indexed": false,
395
+ "internalType": "uint16",
396
+ "name": "movingFundsCommitmentGasOffset",
397
+ "type": "uint16"
398
+ },
399
+ {
400
+ "indexed": false,
401
+ "internalType": "uint64",
402
+ "name": "movedFundsSweepTxMaxTotalFee",
403
+ "type": "uint64"
404
+ },
405
+ {
406
+ "indexed": false,
407
+ "internalType": "uint32",
408
+ "name": "movedFundsSweepTimeout",
409
+ "type": "uint32"
410
+ },
411
+ {
412
+ "indexed": false,
413
+ "internalType": "uint96",
414
+ "name": "movedFundsSweepTimeoutSlashingAmount",
415
+ "type": "uint96"
416
+ },
417
+ {
418
+ "indexed": false,
419
+ "internalType": "uint32",
420
+ "name": "movedFundsSweepTimeoutNotifierRewardMultiplier",
421
+ "type": "uint32"
422
+ }
423
+ ],
424
+ "name": "MovingFundsParametersUpdated",
425
+ "type": "event"
426
+ },
427
+ {
428
+ "anonymous": false,
429
+ "inputs": [
430
+ {
431
+ "indexed": true,
432
+ "internalType": "bytes20",
433
+ "name": "walletPubKeyHash",
434
+ "type": "bytes20"
435
+ }
436
+ ],
437
+ "name": "MovingFundsTimedOut",
438
+ "type": "event"
439
+ },
440
+ {
441
+ "anonymous": false,
442
+ "inputs": [
443
+ {
444
+ "indexed": true,
445
+ "internalType": "bytes20",
446
+ "name": "walletPubKeyHash",
447
+ "type": "bytes20"
448
+ }
449
+ ],
450
+ "name": "MovingFundsTimeoutReset",
451
+ "type": "event"
452
+ },
453
+ {
454
+ "anonymous": false,
455
+ "inputs": [
456
+ {
457
+ "indexed": true,
458
+ "internalType": "bytes32",
459
+ "name": "ecdsaWalletID",
460
+ "type": "bytes32"
461
+ },
462
+ {
463
+ "indexed": true,
464
+ "internalType": "bytes20",
465
+ "name": "walletPubKeyHash",
466
+ "type": "bytes20"
467
+ }
468
+ ],
469
+ "name": "NewWalletRegistered",
470
+ "type": "event"
471
+ },
472
+ {
473
+ "anonymous": false,
474
+ "inputs": [],
475
+ "name": "NewWalletRequested",
476
+ "type": "event"
477
+ },
478
+ {
479
+ "anonymous": false,
480
+ "inputs": [
481
+ {
482
+ "indexed": false,
483
+ "internalType": "uint64",
484
+ "name": "redemptionDustThreshold",
485
+ "type": "uint64"
486
+ },
487
+ {
488
+ "indexed": false,
489
+ "internalType": "uint64",
490
+ "name": "redemptionTreasuryFeeDivisor",
491
+ "type": "uint64"
492
+ },
493
+ {
494
+ "indexed": false,
495
+ "internalType": "uint64",
496
+ "name": "redemptionTxMaxFee",
497
+ "type": "uint64"
498
+ },
499
+ {
500
+ "indexed": false,
501
+ "internalType": "uint64",
502
+ "name": "redemptionTxMaxTotalFee",
503
+ "type": "uint64"
504
+ },
505
+ {
506
+ "indexed": false,
507
+ "internalType": "uint32",
508
+ "name": "redemptionTimeout",
509
+ "type": "uint32"
510
+ },
511
+ {
512
+ "indexed": false,
513
+ "internalType": "uint96",
514
+ "name": "redemptionTimeoutSlashingAmount",
515
+ "type": "uint96"
516
+ },
517
+ {
518
+ "indexed": false,
519
+ "internalType": "uint32",
520
+ "name": "redemptionTimeoutNotifierRewardMultiplier",
521
+ "type": "uint32"
522
+ }
523
+ ],
524
+ "name": "RedemptionParametersUpdated",
525
+ "type": "event"
526
+ },
527
+ {
528
+ "anonymous": false,
529
+ "inputs": [
530
+ {
531
+ "indexed": true,
532
+ "internalType": "bytes20",
533
+ "name": "walletPubKeyHash",
534
+ "type": "bytes20"
535
+ },
536
+ {
537
+ "indexed": false,
538
+ "internalType": "bytes",
539
+ "name": "redeemerOutputScript",
540
+ "type": "bytes"
541
+ },
542
+ {
543
+ "indexed": true,
544
+ "internalType": "address",
545
+ "name": "redeemer",
546
+ "type": "address"
547
+ },
548
+ {
549
+ "indexed": false,
550
+ "internalType": "uint64",
551
+ "name": "requestedAmount",
552
+ "type": "uint64"
553
+ },
554
+ {
555
+ "indexed": false,
556
+ "internalType": "uint64",
557
+ "name": "treasuryFee",
558
+ "type": "uint64"
559
+ },
560
+ {
561
+ "indexed": false,
562
+ "internalType": "uint64",
563
+ "name": "txMaxFee",
564
+ "type": "uint64"
565
+ }
566
+ ],
567
+ "name": "RedemptionRequested",
568
+ "type": "event"
569
+ },
570
+ {
571
+ "anonymous": false,
572
+ "inputs": [
573
+ {
574
+ "indexed": true,
575
+ "internalType": "bytes20",
576
+ "name": "walletPubKeyHash",
577
+ "type": "bytes20"
578
+ },
579
+ {
580
+ "indexed": false,
581
+ "internalType": "bytes",
582
+ "name": "redeemerOutputScript",
583
+ "type": "bytes"
584
+ }
585
+ ],
586
+ "name": "RedemptionTimedOut",
587
+ "type": "event"
588
+ },
589
+ {
590
+ "anonymous": false,
591
+ "inputs": [
592
+ {
593
+ "indexed": true,
594
+ "internalType": "bytes20",
595
+ "name": "walletPubKeyHash",
596
+ "type": "bytes20"
597
+ },
598
+ {
599
+ "indexed": false,
600
+ "internalType": "bytes32",
601
+ "name": "redemptionTxHash",
602
+ "type": "bytes32"
603
+ }
604
+ ],
605
+ "name": "RedemptionsCompleted",
606
+ "type": "event"
607
+ },
608
+ {
609
+ "anonymous": false,
610
+ "inputs": [
611
+ {
612
+ "indexed": true,
613
+ "internalType": "address",
614
+ "name": "spvMaintainer",
615
+ "type": "address"
616
+ },
617
+ {
618
+ "indexed": false,
619
+ "internalType": "bool",
620
+ "name": "isTrusted",
621
+ "type": "bool"
622
+ }
623
+ ],
624
+ "name": "SpvMaintainerStatusUpdated",
625
+ "type": "event"
626
+ },
627
+ {
628
+ "anonymous": false,
629
+ "inputs": [
630
+ {
631
+ "indexed": false,
632
+ "internalType": "address",
633
+ "name": "treasury",
634
+ "type": "address"
635
+ }
636
+ ],
637
+ "name": "TreasuryUpdated",
638
+ "type": "event"
639
+ },
640
+ {
641
+ "anonymous": false,
642
+ "inputs": [
643
+ {
644
+ "indexed": true,
645
+ "internalType": "address",
646
+ "name": "vault",
647
+ "type": "address"
648
+ },
649
+ {
650
+ "indexed": false,
651
+ "internalType": "bool",
652
+ "name": "isTrusted",
653
+ "type": "bool"
654
+ }
655
+ ],
656
+ "name": "VaultStatusUpdated",
657
+ "type": "event"
658
+ },
659
+ {
660
+ "anonymous": false,
661
+ "inputs": [
662
+ {
663
+ "indexed": true,
664
+ "internalType": "bytes32",
665
+ "name": "ecdsaWalletID",
666
+ "type": "bytes32"
667
+ },
668
+ {
669
+ "indexed": true,
670
+ "internalType": "bytes20",
671
+ "name": "walletPubKeyHash",
672
+ "type": "bytes20"
673
+ }
674
+ ],
675
+ "name": "WalletClosed",
676
+ "type": "event"
677
+ },
678
+ {
679
+ "anonymous": false,
680
+ "inputs": [
681
+ {
682
+ "indexed": true,
683
+ "internalType": "bytes32",
684
+ "name": "ecdsaWalletID",
685
+ "type": "bytes32"
686
+ },
687
+ {
688
+ "indexed": true,
689
+ "internalType": "bytes20",
690
+ "name": "walletPubKeyHash",
691
+ "type": "bytes20"
692
+ }
693
+ ],
694
+ "name": "WalletClosing",
695
+ "type": "event"
696
+ },
697
+ {
698
+ "anonymous": false,
699
+ "inputs": [
700
+ {
701
+ "indexed": true,
702
+ "internalType": "bytes32",
703
+ "name": "ecdsaWalletID",
704
+ "type": "bytes32"
705
+ },
706
+ {
707
+ "indexed": true,
708
+ "internalType": "bytes20",
709
+ "name": "walletPubKeyHash",
710
+ "type": "bytes20"
711
+ }
712
+ ],
713
+ "name": "WalletMovingFunds",
714
+ "type": "event"
715
+ },
716
+ {
717
+ "anonymous": false,
718
+ "inputs": [
719
+ {
720
+ "indexed": false,
721
+ "internalType": "uint32",
722
+ "name": "walletCreationPeriod",
723
+ "type": "uint32"
724
+ },
725
+ {
726
+ "indexed": false,
727
+ "internalType": "uint64",
728
+ "name": "walletCreationMinBtcBalance",
729
+ "type": "uint64"
730
+ },
731
+ {
732
+ "indexed": false,
733
+ "internalType": "uint64",
734
+ "name": "walletCreationMaxBtcBalance",
735
+ "type": "uint64"
736
+ },
737
+ {
738
+ "indexed": false,
739
+ "internalType": "uint64",
740
+ "name": "walletClosureMinBtcBalance",
741
+ "type": "uint64"
742
+ },
743
+ {
744
+ "indexed": false,
745
+ "internalType": "uint32",
746
+ "name": "walletMaxAge",
747
+ "type": "uint32"
748
+ },
749
+ {
750
+ "indexed": false,
751
+ "internalType": "uint64",
752
+ "name": "walletMaxBtcTransfer",
753
+ "type": "uint64"
754
+ },
755
+ {
756
+ "indexed": false,
757
+ "internalType": "uint32",
758
+ "name": "walletClosingPeriod",
759
+ "type": "uint32"
760
+ }
761
+ ],
762
+ "name": "WalletParametersUpdated",
763
+ "type": "event"
764
+ },
765
+ {
766
+ "anonymous": false,
767
+ "inputs": [
768
+ {
769
+ "indexed": true,
770
+ "internalType": "bytes32",
771
+ "name": "ecdsaWalletID",
772
+ "type": "bytes32"
773
+ },
774
+ {
775
+ "indexed": true,
776
+ "internalType": "bytes20",
777
+ "name": "walletPubKeyHash",
778
+ "type": "bytes20"
779
+ }
780
+ ],
781
+ "name": "WalletTerminated",
782
+ "type": "event"
783
+ },
784
+ {
785
+ "inputs": [
786
+ {
787
+ "internalType": "bytes32",
788
+ "name": "ecdsaWalletID",
789
+ "type": "bytes32"
790
+ },
791
+ {
792
+ "internalType": "bytes32",
793
+ "name": "publicKeyX",
794
+ "type": "bytes32"
795
+ },
796
+ {
797
+ "internalType": "bytes32",
798
+ "name": "publicKeyY",
799
+ "type": "bytes32"
800
+ }
801
+ ],
802
+ "name": "__ecdsaWalletCreatedCallback",
803
+ "outputs": [],
804
+ "stateMutability": "nonpayable",
805
+ "type": "function"
806
+ },
807
+ {
808
+ "inputs": [
809
+ {
810
+ "internalType": "bytes32",
811
+ "name": "",
812
+ "type": "bytes32"
813
+ },
814
+ {
815
+ "internalType": "bytes32",
816
+ "name": "publicKeyX",
817
+ "type": "bytes32"
818
+ },
819
+ {
820
+ "internalType": "bytes32",
821
+ "name": "publicKeyY",
822
+ "type": "bytes32"
823
+ }
824
+ ],
825
+ "name": "__ecdsaWalletHeartbeatFailedCallback",
826
+ "outputs": [],
827
+ "stateMutability": "nonpayable",
828
+ "type": "function"
829
+ },
830
+ {
831
+ "inputs": [],
832
+ "name": "activeWalletPubKeyHash",
833
+ "outputs": [
834
+ {
835
+ "internalType": "bytes20",
836
+ "name": "",
837
+ "type": "bytes20"
838
+ }
839
+ ],
840
+ "stateMutability": "view",
841
+ "type": "function"
842
+ },
843
+ {
844
+ "inputs": [],
845
+ "name": "contractReferences",
846
+ "outputs": [
847
+ {
848
+ "internalType": "contract Bank",
849
+ "name": "bank",
850
+ "type": "address"
851
+ },
852
+ {
853
+ "internalType": "contract IRelay",
854
+ "name": "relay",
855
+ "type": "address"
856
+ },
857
+ {
858
+ "internalType": "contract IWalletRegistry",
859
+ "name": "ecdsaWalletRegistry",
860
+ "type": "address"
861
+ },
862
+ {
863
+ "internalType": "contract ReimbursementPool",
864
+ "name": "reimbursementPool",
865
+ "type": "address"
866
+ }
867
+ ],
868
+ "stateMutability": "view",
869
+ "type": "function"
870
+ },
871
+ {
872
+ "inputs": [
873
+ {
874
+ "internalType": "bytes",
875
+ "name": "walletPublicKey",
876
+ "type": "bytes"
877
+ },
878
+ {
879
+ "internalType": "bytes",
880
+ "name": "preimage",
881
+ "type": "bytes"
882
+ },
883
+ {
884
+ "internalType": "bool",
885
+ "name": "witness",
886
+ "type": "bool"
887
+ }
888
+ ],
889
+ "name": "defeatFraudChallenge",
890
+ "outputs": [],
891
+ "stateMutability": "nonpayable",
892
+ "type": "function"
893
+ },
894
+ {
895
+ "inputs": [
896
+ {
897
+ "internalType": "bytes",
898
+ "name": "walletPublicKey",
899
+ "type": "bytes"
900
+ },
901
+ {
902
+ "internalType": "bytes",
903
+ "name": "heartbeatMessage",
904
+ "type": "bytes"
905
+ }
906
+ ],
907
+ "name": "defeatFraudChallengeWithHeartbeat",
908
+ "outputs": [],
909
+ "stateMutability": "nonpayable",
910
+ "type": "function"
911
+ },
912
+ {
913
+ "inputs": [],
914
+ "name": "depositParameters",
915
+ "outputs": [
916
+ {
917
+ "internalType": "uint64",
918
+ "name": "depositDustThreshold",
919
+ "type": "uint64"
920
+ },
921
+ {
922
+ "internalType": "uint64",
923
+ "name": "depositTreasuryFeeDivisor",
924
+ "type": "uint64"
925
+ },
926
+ {
927
+ "internalType": "uint64",
928
+ "name": "depositTxMaxFee",
929
+ "type": "uint64"
930
+ },
931
+ {
932
+ "internalType": "uint32",
933
+ "name": "depositRevealAheadPeriod",
934
+ "type": "uint32"
935
+ }
936
+ ],
937
+ "stateMutability": "view",
938
+ "type": "function"
939
+ },
940
+ {
941
+ "inputs": [
942
+ {
943
+ "internalType": "uint256",
944
+ "name": "depositKey",
945
+ "type": "uint256"
946
+ }
947
+ ],
948
+ "name": "deposits",
949
+ "outputs": [
950
+ {
951
+ "components": [
952
+ {
953
+ "internalType": "address",
954
+ "name": "depositor",
955
+ "type": "address"
956
+ },
957
+ {
958
+ "internalType": "uint64",
959
+ "name": "amount",
960
+ "type": "uint64"
961
+ },
962
+ {
963
+ "internalType": "uint32",
964
+ "name": "revealedAt",
965
+ "type": "uint32"
966
+ },
967
+ {
968
+ "internalType": "address",
969
+ "name": "vault",
970
+ "type": "address"
971
+ },
972
+ {
973
+ "internalType": "uint64",
974
+ "name": "treasuryFee",
975
+ "type": "uint64"
976
+ },
977
+ {
978
+ "internalType": "uint32",
979
+ "name": "sweptAt",
980
+ "type": "uint32"
981
+ }
982
+ ],
983
+ "internalType": "struct Deposit.DepositRequest",
984
+ "name": "",
985
+ "type": "tuple"
986
+ }
987
+ ],
988
+ "stateMutability": "view",
989
+ "type": "function"
990
+ },
991
+ {
992
+ "inputs": [
993
+ {
994
+ "internalType": "uint256",
995
+ "name": "challengeKey",
996
+ "type": "uint256"
997
+ }
998
+ ],
999
+ "name": "fraudChallenges",
1000
+ "outputs": [
1001
+ {
1002
+ "components": [
1003
+ {
1004
+ "internalType": "address",
1005
+ "name": "challenger",
1006
+ "type": "address"
1007
+ },
1008
+ {
1009
+ "internalType": "uint256",
1010
+ "name": "depositAmount",
1011
+ "type": "uint256"
1012
+ },
1013
+ {
1014
+ "internalType": "uint32",
1015
+ "name": "reportedAt",
1016
+ "type": "uint32"
1017
+ },
1018
+ {
1019
+ "internalType": "bool",
1020
+ "name": "resolved",
1021
+ "type": "bool"
1022
+ }
1023
+ ],
1024
+ "internalType": "struct Fraud.FraudChallenge",
1025
+ "name": "",
1026
+ "type": "tuple"
1027
+ }
1028
+ ],
1029
+ "stateMutability": "view",
1030
+ "type": "function"
1031
+ },
1032
+ {
1033
+ "inputs": [],
1034
+ "name": "fraudParameters",
1035
+ "outputs": [
1036
+ {
1037
+ "internalType": "uint96",
1038
+ "name": "fraudChallengeDepositAmount",
1039
+ "type": "uint96"
1040
+ },
1041
+ {
1042
+ "internalType": "uint32",
1043
+ "name": "fraudChallengeDefeatTimeout",
1044
+ "type": "uint32"
1045
+ },
1046
+ {
1047
+ "internalType": "uint96",
1048
+ "name": "fraudSlashingAmount",
1049
+ "type": "uint96"
1050
+ },
1051
+ {
1052
+ "internalType": "uint32",
1053
+ "name": "fraudNotifierRewardMultiplier",
1054
+ "type": "uint32"
1055
+ }
1056
+ ],
1057
+ "stateMutability": "view",
1058
+ "type": "function"
1059
+ },
1060
+ {
1061
+ "inputs": [],
1062
+ "name": "governance",
1063
+ "outputs": [
1064
+ {
1065
+ "internalType": "address",
1066
+ "name": "",
1067
+ "type": "address"
1068
+ }
1069
+ ],
1070
+ "stateMutability": "view",
1071
+ "type": "function"
1072
+ },
1073
+ {
1074
+ "inputs": [
1075
+ {
1076
+ "internalType": "address",
1077
+ "name": "_bank",
1078
+ "type": "address"
1079
+ },
1080
+ {
1081
+ "internalType": "address",
1082
+ "name": "_relay",
1083
+ "type": "address"
1084
+ },
1085
+ {
1086
+ "internalType": "address",
1087
+ "name": "_treasury",
1088
+ "type": "address"
1089
+ },
1090
+ {
1091
+ "internalType": "address",
1092
+ "name": "_ecdsaWalletRegistry",
1093
+ "type": "address"
1094
+ },
1095
+ {
1096
+ "internalType": "address payable",
1097
+ "name": "_reimbursementPool",
1098
+ "type": "address"
1099
+ },
1100
+ {
1101
+ "internalType": "uint96",
1102
+ "name": "_txProofDifficultyFactor",
1103
+ "type": "uint96"
1104
+ }
1105
+ ],
1106
+ "name": "initialize",
1107
+ "outputs": [],
1108
+ "stateMutability": "nonpayable",
1109
+ "type": "function"
1110
+ },
1111
+ {
1112
+ "inputs": [
1113
+ {
1114
+ "internalType": "address",
1115
+ "name": "vault",
1116
+ "type": "address"
1117
+ }
1118
+ ],
1119
+ "name": "isVaultTrusted",
1120
+ "outputs": [
1121
+ {
1122
+ "internalType": "bool",
1123
+ "name": "",
1124
+ "type": "bool"
1125
+ }
1126
+ ],
1127
+ "stateMutability": "view",
1128
+ "type": "function"
1129
+ },
1130
+ {
1131
+ "inputs": [],
1132
+ "name": "liveWalletsCount",
1133
+ "outputs": [
1134
+ {
1135
+ "internalType": "uint32",
1136
+ "name": "",
1137
+ "type": "uint32"
1138
+ }
1139
+ ],
1140
+ "stateMutability": "view",
1141
+ "type": "function"
1142
+ },
1143
+ {
1144
+ "inputs": [
1145
+ {
1146
+ "internalType": "uint256",
1147
+ "name": "requestKey",
1148
+ "type": "uint256"
1149
+ }
1150
+ ],
1151
+ "name": "movedFundsSweepRequests",
1152
+ "outputs": [
1153
+ {
1154
+ "components": [
1155
+ {
1156
+ "internalType": "bytes20",
1157
+ "name": "walletPubKeyHash",
1158
+ "type": "bytes20"
1159
+ },
1160
+ {
1161
+ "internalType": "uint64",
1162
+ "name": "value",
1163
+ "type": "uint64"
1164
+ },
1165
+ {
1166
+ "internalType": "uint32",
1167
+ "name": "createdAt",
1168
+ "type": "uint32"
1169
+ },
1170
+ {
1171
+ "internalType": "enum MovingFunds.MovedFundsSweepRequestState",
1172
+ "name": "state",
1173
+ "type": "uint8"
1174
+ }
1175
+ ],
1176
+ "internalType": "struct MovingFunds.MovedFundsSweepRequest",
1177
+ "name": "",
1178
+ "type": "tuple"
1179
+ }
1180
+ ],
1181
+ "stateMutability": "view",
1182
+ "type": "function"
1183
+ },
1184
+ {
1185
+ "inputs": [],
1186
+ "name": "movingFundsParameters",
1187
+ "outputs": [
1188
+ {
1189
+ "internalType": "uint64",
1190
+ "name": "movingFundsTxMaxTotalFee",
1191
+ "type": "uint64"
1192
+ },
1193
+ {
1194
+ "internalType": "uint64",
1195
+ "name": "movingFundsDustThreshold",
1196
+ "type": "uint64"
1197
+ },
1198
+ {
1199
+ "internalType": "uint32",
1200
+ "name": "movingFundsTimeoutResetDelay",
1201
+ "type": "uint32"
1202
+ },
1203
+ {
1204
+ "internalType": "uint32",
1205
+ "name": "movingFundsTimeout",
1206
+ "type": "uint32"
1207
+ },
1208
+ {
1209
+ "internalType": "uint96",
1210
+ "name": "movingFundsTimeoutSlashingAmount",
1211
+ "type": "uint96"
1212
+ },
1213
+ {
1214
+ "internalType": "uint32",
1215
+ "name": "movingFundsTimeoutNotifierRewardMultiplier",
1216
+ "type": "uint32"
1217
+ },
1218
+ {
1219
+ "internalType": "uint16",
1220
+ "name": "movingFundsCommitmentGasOffset",
1221
+ "type": "uint16"
1222
+ },
1223
+ {
1224
+ "internalType": "uint64",
1225
+ "name": "movedFundsSweepTxMaxTotalFee",
1226
+ "type": "uint64"
1227
+ },
1228
+ {
1229
+ "internalType": "uint32",
1230
+ "name": "movedFundsSweepTimeout",
1231
+ "type": "uint32"
1232
+ },
1233
+ {
1234
+ "internalType": "uint96",
1235
+ "name": "movedFundsSweepTimeoutSlashingAmount",
1236
+ "type": "uint96"
1237
+ },
1238
+ {
1239
+ "internalType": "uint32",
1240
+ "name": "movedFundsSweepTimeoutNotifierRewardMultiplier",
1241
+ "type": "uint32"
1242
+ }
1243
+ ],
1244
+ "stateMutability": "view",
1245
+ "type": "function"
1246
+ },
1247
+ {
1248
+ "inputs": [
1249
+ {
1250
+ "internalType": "bytes",
1251
+ "name": "walletPublicKey",
1252
+ "type": "bytes"
1253
+ },
1254
+ {
1255
+ "internalType": "uint32[]",
1256
+ "name": "walletMembersIDs",
1257
+ "type": "uint32[]"
1258
+ },
1259
+ {
1260
+ "internalType": "bytes",
1261
+ "name": "preimageSha256",
1262
+ "type": "bytes"
1263
+ }
1264
+ ],
1265
+ "name": "notifyFraudChallengeDefeatTimeout",
1266
+ "outputs": [],
1267
+ "stateMutability": "nonpayable",
1268
+ "type": "function"
1269
+ },
1270
+ {
1271
+ "inputs": [
1272
+ {
1273
+ "internalType": "bytes32",
1274
+ "name": "movingFundsTxHash",
1275
+ "type": "bytes32"
1276
+ },
1277
+ {
1278
+ "internalType": "uint32",
1279
+ "name": "movingFundsTxOutputIndex",
1280
+ "type": "uint32"
1281
+ },
1282
+ {
1283
+ "internalType": "uint32[]",
1284
+ "name": "walletMembersIDs",
1285
+ "type": "uint32[]"
1286
+ }
1287
+ ],
1288
+ "name": "notifyMovedFundsSweepTimeout",
1289
+ "outputs": [],
1290
+ "stateMutability": "nonpayable",
1291
+ "type": "function"
1292
+ },
1293
+ {
1294
+ "inputs": [
1295
+ {
1296
+ "internalType": "bytes20",
1297
+ "name": "walletPubKeyHash",
1298
+ "type": "bytes20"
1299
+ },
1300
+ {
1301
+ "components": [
1302
+ {
1303
+ "internalType": "bytes32",
1304
+ "name": "txHash",
1305
+ "type": "bytes32"
1306
+ },
1307
+ {
1308
+ "internalType": "uint32",
1309
+ "name": "txOutputIndex",
1310
+ "type": "uint32"
1311
+ },
1312
+ {
1313
+ "internalType": "uint64",
1314
+ "name": "txOutputValue",
1315
+ "type": "uint64"
1316
+ }
1317
+ ],
1318
+ "internalType": "struct BitcoinTx.UTXO",
1319
+ "name": "mainUtxo",
1320
+ "type": "tuple"
1321
+ }
1322
+ ],
1323
+ "name": "notifyMovingFundsBelowDust",
1324
+ "outputs": [],
1325
+ "stateMutability": "nonpayable",
1326
+ "type": "function"
1327
+ },
1328
+ {
1329
+ "inputs": [
1330
+ {
1331
+ "internalType": "bytes20",
1332
+ "name": "walletPubKeyHash",
1333
+ "type": "bytes20"
1334
+ },
1335
+ {
1336
+ "internalType": "uint32[]",
1337
+ "name": "walletMembersIDs",
1338
+ "type": "uint32[]"
1339
+ }
1340
+ ],
1341
+ "name": "notifyMovingFundsTimeout",
1342
+ "outputs": [],
1343
+ "stateMutability": "nonpayable",
1344
+ "type": "function"
1345
+ },
1346
+ {
1347
+ "inputs": [
1348
+ {
1349
+ "internalType": "bytes20",
1350
+ "name": "walletPubKeyHash",
1351
+ "type": "bytes20"
1352
+ },
1353
+ {
1354
+ "internalType": "uint32[]",
1355
+ "name": "walletMembersIDs",
1356
+ "type": "uint32[]"
1357
+ },
1358
+ {
1359
+ "internalType": "bytes",
1360
+ "name": "redeemerOutputScript",
1361
+ "type": "bytes"
1362
+ }
1363
+ ],
1364
+ "name": "notifyRedemptionTimeout",
1365
+ "outputs": [],
1366
+ "stateMutability": "nonpayable",
1367
+ "type": "function"
1368
+ },
1369
+ {
1370
+ "inputs": [
1371
+ {
1372
+ "internalType": "bytes20",
1373
+ "name": "walletPubKeyHash",
1374
+ "type": "bytes20"
1375
+ },
1376
+ {
1377
+ "components": [
1378
+ {
1379
+ "internalType": "bytes32",
1380
+ "name": "txHash",
1381
+ "type": "bytes32"
1382
+ },
1383
+ {
1384
+ "internalType": "uint32",
1385
+ "name": "txOutputIndex",
1386
+ "type": "uint32"
1387
+ },
1388
+ {
1389
+ "internalType": "uint64",
1390
+ "name": "txOutputValue",
1391
+ "type": "uint64"
1392
+ }
1393
+ ],
1394
+ "internalType": "struct BitcoinTx.UTXO",
1395
+ "name": "walletMainUtxo",
1396
+ "type": "tuple"
1397
+ }
1398
+ ],
1399
+ "name": "notifyWalletCloseable",
1400
+ "outputs": [],
1401
+ "stateMutability": "nonpayable",
1402
+ "type": "function"
1403
+ },
1404
+ {
1405
+ "inputs": [
1406
+ {
1407
+ "internalType": "bytes20",
1408
+ "name": "walletPubKeyHash",
1409
+ "type": "bytes20"
1410
+ }
1411
+ ],
1412
+ "name": "notifyWalletClosingPeriodElapsed",
1413
+ "outputs": [],
1414
+ "stateMutability": "nonpayable",
1415
+ "type": "function"
1416
+ },
1417
+ {
1418
+ "inputs": [
1419
+ {
1420
+ "internalType": "uint256",
1421
+ "name": "redemptionKey",
1422
+ "type": "uint256"
1423
+ }
1424
+ ],
1425
+ "name": "pendingRedemptions",
1426
+ "outputs": [
1427
+ {
1428
+ "components": [
1429
+ {
1430
+ "internalType": "address",
1431
+ "name": "redeemer",
1432
+ "type": "address"
1433
+ },
1434
+ {
1435
+ "internalType": "uint64",
1436
+ "name": "requestedAmount",
1437
+ "type": "uint64"
1438
+ },
1439
+ {
1440
+ "internalType": "uint64",
1441
+ "name": "treasuryFee",
1442
+ "type": "uint64"
1443
+ },
1444
+ {
1445
+ "internalType": "uint64",
1446
+ "name": "txMaxFee",
1447
+ "type": "uint64"
1448
+ },
1449
+ {
1450
+ "internalType": "uint32",
1451
+ "name": "requestedAt",
1452
+ "type": "uint32"
1453
+ }
1454
+ ],
1455
+ "internalType": "struct Redemption.RedemptionRequest",
1456
+ "name": "",
1457
+ "type": "tuple"
1458
+ }
1459
+ ],
1460
+ "stateMutability": "view",
1461
+ "type": "function"
1462
+ },
1463
+ {
1464
+ "inputs": [
1465
+ {
1466
+ "internalType": "bytes20",
1467
+ "name": "walletPubKeyHash",
1468
+ "type": "bytes20"
1469
+ },
1470
+ {
1471
+ "components": [
1472
+ {
1473
+ "internalType": "bytes32",
1474
+ "name": "txHash",
1475
+ "type": "bytes32"
1476
+ },
1477
+ {
1478
+ "internalType": "uint32",
1479
+ "name": "txOutputIndex",
1480
+ "type": "uint32"
1481
+ },
1482
+ {
1483
+ "internalType": "uint64",
1484
+ "name": "txOutputValue",
1485
+ "type": "uint64"
1486
+ }
1487
+ ],
1488
+ "internalType": "struct BitcoinTx.UTXO",
1489
+ "name": "utxo",
1490
+ "type": "tuple"
1491
+ }
1492
+ ],
1493
+ "name": "processPendingMovedFundsSweepRequest",
1494
+ "outputs": [],
1495
+ "stateMutability": "nonpayable",
1496
+ "type": "function"
1497
+ },
1498
+ {
1499
+ "inputs": [
1500
+ {
1501
+ "internalType": "address",
1502
+ "name": "balanceOwner",
1503
+ "type": "address"
1504
+ },
1505
+ {
1506
+ "internalType": "uint256",
1507
+ "name": "amount",
1508
+ "type": "uint256"
1509
+ },
1510
+ {
1511
+ "internalType": "bytes",
1512
+ "name": "redemptionData",
1513
+ "type": "bytes"
1514
+ }
1515
+ ],
1516
+ "name": "receiveBalanceApproval",
1517
+ "outputs": [],
1518
+ "stateMutability": "nonpayable",
1519
+ "type": "function"
1520
+ },
1521
+ {
1522
+ "inputs": [],
1523
+ "name": "redemptionParameters",
1524
+ "outputs": [
1525
+ {
1526
+ "internalType": "uint64",
1527
+ "name": "redemptionDustThreshold",
1528
+ "type": "uint64"
1529
+ },
1530
+ {
1531
+ "internalType": "uint64",
1532
+ "name": "redemptionTreasuryFeeDivisor",
1533
+ "type": "uint64"
1534
+ },
1535
+ {
1536
+ "internalType": "uint64",
1537
+ "name": "redemptionTxMaxFee",
1538
+ "type": "uint64"
1539
+ },
1540
+ {
1541
+ "internalType": "uint64",
1542
+ "name": "redemptionTxMaxTotalFee",
1543
+ "type": "uint64"
1544
+ },
1545
+ {
1546
+ "internalType": "uint32",
1547
+ "name": "redemptionTimeout",
1548
+ "type": "uint32"
1549
+ },
1550
+ {
1551
+ "internalType": "uint96",
1552
+ "name": "redemptionTimeoutSlashingAmount",
1553
+ "type": "uint96"
1554
+ },
1555
+ {
1556
+ "internalType": "uint32",
1557
+ "name": "redemptionTimeoutNotifierRewardMultiplier",
1558
+ "type": "uint32"
1559
+ }
1560
+ ],
1561
+ "stateMutability": "view",
1562
+ "type": "function"
1563
+ },
1564
+ {
1565
+ "inputs": [
1566
+ {
1567
+ "components": [
1568
+ {
1569
+ "internalType": "bytes32",
1570
+ "name": "txHash",
1571
+ "type": "bytes32"
1572
+ },
1573
+ {
1574
+ "internalType": "uint32",
1575
+ "name": "txOutputIndex",
1576
+ "type": "uint32"
1577
+ },
1578
+ {
1579
+ "internalType": "uint64",
1580
+ "name": "txOutputValue",
1581
+ "type": "uint64"
1582
+ }
1583
+ ],
1584
+ "internalType": "struct BitcoinTx.UTXO",
1585
+ "name": "activeWalletMainUtxo",
1586
+ "type": "tuple"
1587
+ }
1588
+ ],
1589
+ "name": "requestNewWallet",
1590
+ "outputs": [],
1591
+ "stateMutability": "nonpayable",
1592
+ "type": "function"
1593
+ },
1594
+ {
1595
+ "inputs": [
1596
+ {
1597
+ "internalType": "bytes20",
1598
+ "name": "walletPubKeyHash",
1599
+ "type": "bytes20"
1600
+ },
1601
+ {
1602
+ "components": [
1603
+ {
1604
+ "internalType": "bytes32",
1605
+ "name": "txHash",
1606
+ "type": "bytes32"
1607
+ },
1608
+ {
1609
+ "internalType": "uint32",
1610
+ "name": "txOutputIndex",
1611
+ "type": "uint32"
1612
+ },
1613
+ {
1614
+ "internalType": "uint64",
1615
+ "name": "txOutputValue",
1616
+ "type": "uint64"
1617
+ }
1618
+ ],
1619
+ "internalType": "struct BitcoinTx.UTXO",
1620
+ "name": "mainUtxo",
1621
+ "type": "tuple"
1622
+ },
1623
+ {
1624
+ "internalType": "bytes",
1625
+ "name": "redeemerOutputScript",
1626
+ "type": "bytes"
1627
+ },
1628
+ {
1629
+ "internalType": "uint64",
1630
+ "name": "amount",
1631
+ "type": "uint64"
1632
+ }
1633
+ ],
1634
+ "name": "requestRedemption",
1635
+ "outputs": [],
1636
+ "stateMutability": "nonpayable",
1637
+ "type": "function"
1638
+ },
1639
+ {
1640
+ "inputs": [
1641
+ {
1642
+ "internalType": "bytes20",
1643
+ "name": "walletPubKeyHash",
1644
+ "type": "bytes20"
1645
+ }
1646
+ ],
1647
+ "name": "resetMovingFundsTimeout",
1648
+ "outputs": [],
1649
+ "stateMutability": "nonpayable",
1650
+ "type": "function"
1651
+ },
1652
+ {
1653
+ "inputs": [
1654
+ {
1655
+ "components": [
1656
+ {
1657
+ "internalType": "bytes4",
1658
+ "name": "version",
1659
+ "type": "bytes4"
1660
+ },
1661
+ {
1662
+ "internalType": "bytes",
1663
+ "name": "inputVector",
1664
+ "type": "bytes"
1665
+ },
1666
+ {
1667
+ "internalType": "bytes",
1668
+ "name": "outputVector",
1669
+ "type": "bytes"
1670
+ },
1671
+ {
1672
+ "internalType": "bytes4",
1673
+ "name": "locktime",
1674
+ "type": "bytes4"
1675
+ }
1676
+ ],
1677
+ "internalType": "struct BitcoinTx.Info",
1678
+ "name": "fundingTx",
1679
+ "type": "tuple"
1680
+ },
1681
+ {
1682
+ "components": [
1683
+ {
1684
+ "internalType": "uint32",
1685
+ "name": "fundingOutputIndex",
1686
+ "type": "uint32"
1687
+ },
1688
+ {
1689
+ "internalType": "bytes8",
1690
+ "name": "blindingFactor",
1691
+ "type": "bytes8"
1692
+ },
1693
+ {
1694
+ "internalType": "bytes20",
1695
+ "name": "walletPubKeyHash",
1696
+ "type": "bytes20"
1697
+ },
1698
+ {
1699
+ "internalType": "bytes20",
1700
+ "name": "refundPubKeyHash",
1701
+ "type": "bytes20"
1702
+ },
1703
+ {
1704
+ "internalType": "bytes4",
1705
+ "name": "refundLocktime",
1706
+ "type": "bytes4"
1707
+ },
1708
+ {
1709
+ "internalType": "address",
1710
+ "name": "vault",
1711
+ "type": "address"
1712
+ }
1713
+ ],
1714
+ "internalType": "struct Deposit.DepositRevealInfo",
1715
+ "name": "reveal",
1716
+ "type": "tuple"
1717
+ }
1718
+ ],
1719
+ "name": "revealDeposit",
1720
+ "outputs": [],
1721
+ "stateMutability": "nonpayable",
1722
+ "type": "function"
1723
+ },
1724
+ {
1725
+ "inputs": [
1726
+ {
1727
+ "internalType": "bytes20",
1728
+ "name": "activeWalletPubKeyHash",
1729
+ "type": "bytes20"
1730
+ }
1731
+ ],
1732
+ "name": "setActiveWallet",
1733
+ "outputs": [],
1734
+ "stateMutability": "nonpayable",
1735
+ "type": "function"
1736
+ },
1737
+ {
1738
+ "inputs": [
1739
+ {
1740
+ "internalType": "uint64",
1741
+ "name": "_depositDustThreshold",
1742
+ "type": "uint64"
1743
+ }
1744
+ ],
1745
+ "name": "setDepositDustThreshold",
1746
+ "outputs": [],
1747
+ "stateMutability": "nonpayable",
1748
+ "type": "function"
1749
+ },
1750
+ {
1751
+ "inputs": [
1752
+ {
1753
+ "internalType": "uint32",
1754
+ "name": "_depositRevealAheadPeriod",
1755
+ "type": "uint32"
1756
+ }
1757
+ ],
1758
+ "name": "setDepositRevealAheadPeriod",
1759
+ "outputs": [],
1760
+ "stateMutability": "nonpayable",
1761
+ "type": "function"
1762
+ },
1763
+ {
1764
+ "inputs": [
1765
+ {
1766
+ "internalType": "uint64",
1767
+ "name": "_depositTxMaxFee",
1768
+ "type": "uint64"
1769
+ }
1770
+ ],
1771
+ "name": "setDepositTxMaxFee",
1772
+ "outputs": [],
1773
+ "stateMutability": "nonpayable",
1774
+ "type": "function"
1775
+ },
1776
+ {
1777
+ "inputs": [
1778
+ {
1779
+ "internalType": "uint64",
1780
+ "name": "_movedFundsSweepTxMaxTotalFee",
1781
+ "type": "uint64"
1782
+ }
1783
+ ],
1784
+ "name": "setMovedFundsSweepTxMaxTotalFee",
1785
+ "outputs": [],
1786
+ "stateMutability": "nonpayable",
1787
+ "type": "function"
1788
+ },
1789
+ {
1790
+ "inputs": [
1791
+ {
1792
+ "internalType": "bytes20",
1793
+ "name": "walletPubKeyHash",
1794
+ "type": "bytes20"
1795
+ },
1796
+ {
1797
+ "components": [
1798
+ {
1799
+ "internalType": "bytes32",
1800
+ "name": "txHash",
1801
+ "type": "bytes32"
1802
+ },
1803
+ {
1804
+ "internalType": "uint32",
1805
+ "name": "txOutputIndex",
1806
+ "type": "uint32"
1807
+ },
1808
+ {
1809
+ "internalType": "uint64",
1810
+ "name": "txOutputValue",
1811
+ "type": "uint64"
1812
+ }
1813
+ ],
1814
+ "internalType": "struct BitcoinTx.UTXO",
1815
+ "name": "utxo",
1816
+ "type": "tuple"
1817
+ }
1818
+ ],
1819
+ "name": "setPendingMovedFundsSweepRequest",
1820
+ "outputs": [],
1821
+ "stateMutability": "nonpayable",
1822
+ "type": "function"
1823
+ },
1824
+ {
1825
+ "inputs": [
1826
+ {
1827
+ "components": [
1828
+ {
1829
+ "internalType": "bytes32",
1830
+ "name": "txHash",
1831
+ "type": "bytes32"
1832
+ },
1833
+ {
1834
+ "internalType": "uint32",
1835
+ "name": "txOutputIndex",
1836
+ "type": "uint32"
1837
+ },
1838
+ {
1839
+ "internalType": "uint64",
1840
+ "name": "txOutputValue",
1841
+ "type": "uint64"
1842
+ }
1843
+ ],
1844
+ "internalType": "struct BitcoinTx.UTXO[]",
1845
+ "name": "utxos",
1846
+ "type": "tuple[]"
1847
+ }
1848
+ ],
1849
+ "name": "setProcessedMovedFundsSweepRequests",
1850
+ "outputs": [],
1851
+ "stateMutability": "nonpayable",
1852
+ "type": "function"
1853
+ },
1854
+ {
1855
+ "inputs": [
1856
+ {
1857
+ "internalType": "uint64",
1858
+ "name": "_redemptionDustThreshold",
1859
+ "type": "uint64"
1860
+ }
1861
+ ],
1862
+ "name": "setRedemptionDustThreshold",
1863
+ "outputs": [],
1864
+ "stateMutability": "nonpayable",
1865
+ "type": "function"
1866
+ },
1867
+ {
1868
+ "inputs": [
1869
+ {
1870
+ "internalType": "uint64",
1871
+ "name": "_redemptionTreasuryFeeDivisor",
1872
+ "type": "uint64"
1873
+ }
1874
+ ],
1875
+ "name": "setRedemptionTreasuryFeeDivisor",
1876
+ "outputs": [],
1877
+ "stateMutability": "nonpayable",
1878
+ "type": "function"
1879
+ },
1880
+ {
1881
+ "inputs": [
1882
+ {
1883
+ "components": [
1884
+ {
1885
+ "internalType": "bytes32",
1886
+ "name": "txHash",
1887
+ "type": "bytes32"
1888
+ },
1889
+ {
1890
+ "internalType": "uint32",
1891
+ "name": "txOutputIndex",
1892
+ "type": "uint32"
1893
+ },
1894
+ {
1895
+ "internalType": "uint64",
1896
+ "name": "txOutputValue",
1897
+ "type": "uint64"
1898
+ }
1899
+ ],
1900
+ "internalType": "struct BitcoinTx.UTXO[]",
1901
+ "name": "utxos",
1902
+ "type": "tuple[]"
1903
+ }
1904
+ ],
1905
+ "name": "setSpentMainUtxos",
1906
+ "outputs": [],
1907
+ "stateMutability": "nonpayable",
1908
+ "type": "function"
1909
+ },
1910
+ {
1911
+ "inputs": [
1912
+ {
1913
+ "internalType": "address",
1914
+ "name": "spvMaintainer",
1915
+ "type": "address"
1916
+ },
1917
+ {
1918
+ "internalType": "bool",
1919
+ "name": "isTrusted",
1920
+ "type": "bool"
1921
+ }
1922
+ ],
1923
+ "name": "setSpvMaintainerStatus",
1924
+ "outputs": [],
1925
+ "stateMutability": "nonpayable",
1926
+ "type": "function"
1927
+ },
1928
+ {
1929
+ "inputs": [
1930
+ {
1931
+ "components": [
1932
+ {
1933
+ "internalType": "bytes32",
1934
+ "name": "txHash",
1935
+ "type": "bytes32"
1936
+ },
1937
+ {
1938
+ "internalType": "uint32",
1939
+ "name": "txOutputIndex",
1940
+ "type": "uint32"
1941
+ },
1942
+ {
1943
+ "internalType": "uint64",
1944
+ "name": "txOutputValue",
1945
+ "type": "uint64"
1946
+ }
1947
+ ],
1948
+ "internalType": "struct BitcoinTx.UTXO[]",
1949
+ "name": "utxos",
1950
+ "type": "tuple[]"
1951
+ }
1952
+ ],
1953
+ "name": "setSweptDeposits",
1954
+ "outputs": [],
1955
+ "stateMutability": "nonpayable",
1956
+ "type": "function"
1957
+ },
1958
+ {
1959
+ "inputs": [
1960
+ {
1961
+ "internalType": "address",
1962
+ "name": "vault",
1963
+ "type": "address"
1964
+ },
1965
+ {
1966
+ "internalType": "bool",
1967
+ "name": "isTrusted",
1968
+ "type": "bool"
1969
+ }
1970
+ ],
1971
+ "name": "setVaultStatus",
1972
+ "outputs": [],
1973
+ "stateMutability": "nonpayable",
1974
+ "type": "function"
1975
+ },
1976
+ {
1977
+ "inputs": [
1978
+ {
1979
+ "internalType": "bytes20",
1980
+ "name": "walletPubKeyHash",
1981
+ "type": "bytes20"
1982
+ },
1983
+ {
1984
+ "components": [
1985
+ {
1986
+ "internalType": "bytes32",
1987
+ "name": "ecdsaWalletID",
1988
+ "type": "bytes32"
1989
+ },
1990
+ {
1991
+ "internalType": "bytes32",
1992
+ "name": "mainUtxoHash",
1993
+ "type": "bytes32"
1994
+ },
1995
+ {
1996
+ "internalType": "uint64",
1997
+ "name": "pendingRedemptionsValue",
1998
+ "type": "uint64"
1999
+ },
2000
+ {
2001
+ "internalType": "uint32",
2002
+ "name": "createdAt",
2003
+ "type": "uint32"
2004
+ },
2005
+ {
2006
+ "internalType": "uint32",
2007
+ "name": "movingFundsRequestedAt",
2008
+ "type": "uint32"
2009
+ },
2010
+ {
2011
+ "internalType": "uint32",
2012
+ "name": "closingStartedAt",
2013
+ "type": "uint32"
2014
+ },
2015
+ {
2016
+ "internalType": "uint32",
2017
+ "name": "pendingMovedFundsSweepRequestsCount",
2018
+ "type": "uint32"
2019
+ },
2020
+ {
2021
+ "internalType": "enum Wallets.WalletState",
2022
+ "name": "state",
2023
+ "type": "uint8"
2024
+ },
2025
+ {
2026
+ "internalType": "bytes32",
2027
+ "name": "movingFundsTargetWalletsCommitmentHash",
2028
+ "type": "bytes32"
2029
+ }
2030
+ ],
2031
+ "internalType": "struct Wallets.Wallet",
2032
+ "name": "wallet",
2033
+ "type": "tuple"
2034
+ }
2035
+ ],
2036
+ "name": "setWallet",
2037
+ "outputs": [],
2038
+ "stateMutability": "nonpayable",
2039
+ "type": "function"
2040
+ },
2041
+ {
2042
+ "inputs": [
2043
+ {
2044
+ "internalType": "bytes20",
2045
+ "name": "walletPubKeyHash",
2046
+ "type": "bytes20"
2047
+ },
2048
+ {
2049
+ "components": [
2050
+ {
2051
+ "internalType": "bytes32",
2052
+ "name": "txHash",
2053
+ "type": "bytes32"
2054
+ },
2055
+ {
2056
+ "internalType": "uint32",
2057
+ "name": "txOutputIndex",
2058
+ "type": "uint32"
2059
+ },
2060
+ {
2061
+ "internalType": "uint64",
2062
+ "name": "txOutputValue",
2063
+ "type": "uint64"
2064
+ }
2065
+ ],
2066
+ "internalType": "struct BitcoinTx.UTXO",
2067
+ "name": "utxo",
2068
+ "type": "tuple"
2069
+ }
2070
+ ],
2071
+ "name": "setWalletMainUtxo",
2072
+ "outputs": [],
2073
+ "stateMutability": "nonpayable",
2074
+ "type": "function"
2075
+ },
2076
+ {
2077
+ "inputs": [
2078
+ {
2079
+ "internalType": "uint256",
2080
+ "name": "utxoKey",
2081
+ "type": "uint256"
2082
+ }
2083
+ ],
2084
+ "name": "spentMainUTXOs",
2085
+ "outputs": [
2086
+ {
2087
+ "internalType": "bool",
2088
+ "name": "",
2089
+ "type": "bool"
2090
+ }
2091
+ ],
2092
+ "stateMutability": "view",
2093
+ "type": "function"
2094
+ },
2095
+ {
2096
+ "inputs": [
2097
+ {
2098
+ "components": [
2099
+ {
2100
+ "internalType": "bytes4",
2101
+ "name": "version",
2102
+ "type": "bytes4"
2103
+ },
2104
+ {
2105
+ "internalType": "bytes",
2106
+ "name": "inputVector",
2107
+ "type": "bytes"
2108
+ },
2109
+ {
2110
+ "internalType": "bytes",
2111
+ "name": "outputVector",
2112
+ "type": "bytes"
2113
+ },
2114
+ {
2115
+ "internalType": "bytes4",
2116
+ "name": "locktime",
2117
+ "type": "bytes4"
2118
+ }
2119
+ ],
2120
+ "internalType": "struct BitcoinTx.Info",
2121
+ "name": "sweepTx",
2122
+ "type": "tuple"
2123
+ },
2124
+ {
2125
+ "components": [
2126
+ {
2127
+ "internalType": "bytes",
2128
+ "name": "merkleProof",
2129
+ "type": "bytes"
2130
+ },
2131
+ {
2132
+ "internalType": "uint256",
2133
+ "name": "txIndexInBlock",
2134
+ "type": "uint256"
2135
+ },
2136
+ {
2137
+ "internalType": "bytes",
2138
+ "name": "bitcoinHeaders",
2139
+ "type": "bytes"
2140
+ },
2141
+ {
2142
+ "internalType": "bytes32",
2143
+ "name": "coinbasePreimage",
2144
+ "type": "bytes32"
2145
+ },
2146
+ {
2147
+ "internalType": "bytes",
2148
+ "name": "coinbaseProof",
2149
+ "type": "bytes"
2150
+ }
2151
+ ],
2152
+ "internalType": "struct BitcoinTx.Proof",
2153
+ "name": "sweepProof",
2154
+ "type": "tuple"
2155
+ },
2156
+ {
2157
+ "components": [
2158
+ {
2159
+ "internalType": "bytes32",
2160
+ "name": "txHash",
2161
+ "type": "bytes32"
2162
+ },
2163
+ {
2164
+ "internalType": "uint32",
2165
+ "name": "txOutputIndex",
2166
+ "type": "uint32"
2167
+ },
2168
+ {
2169
+ "internalType": "uint64",
2170
+ "name": "txOutputValue",
2171
+ "type": "uint64"
2172
+ }
2173
+ ],
2174
+ "internalType": "struct BitcoinTx.UTXO",
2175
+ "name": "mainUtxo",
2176
+ "type": "tuple"
2177
+ },
2178
+ {
2179
+ "internalType": "address",
2180
+ "name": "vault",
2181
+ "type": "address"
2182
+ }
2183
+ ],
2184
+ "name": "submitDepositSweepProof",
2185
+ "outputs": [],
2186
+ "stateMutability": "nonpayable",
2187
+ "type": "function"
2188
+ },
2189
+ {
2190
+ "inputs": [
2191
+ {
2192
+ "internalType": "bytes",
2193
+ "name": "walletPublicKey",
2194
+ "type": "bytes"
2195
+ },
2196
+ {
2197
+ "internalType": "bytes",
2198
+ "name": "preimageSha256",
2199
+ "type": "bytes"
2200
+ },
2201
+ {
2202
+ "components": [
2203
+ {
2204
+ "internalType": "bytes32",
2205
+ "name": "r",
2206
+ "type": "bytes32"
2207
+ },
2208
+ {
2209
+ "internalType": "bytes32",
2210
+ "name": "s",
2211
+ "type": "bytes32"
2212
+ },
2213
+ {
2214
+ "internalType": "uint8",
2215
+ "name": "v",
2216
+ "type": "uint8"
2217
+ }
2218
+ ],
2219
+ "internalType": "struct BitcoinTx.RSVSignature",
2220
+ "name": "signature",
2221
+ "type": "tuple"
2222
+ }
2223
+ ],
2224
+ "name": "submitFraudChallenge",
2225
+ "outputs": [],
2226
+ "stateMutability": "payable",
2227
+ "type": "function"
2228
+ },
2229
+ {
2230
+ "inputs": [
2231
+ {
2232
+ "components": [
2233
+ {
2234
+ "internalType": "bytes4",
2235
+ "name": "version",
2236
+ "type": "bytes4"
2237
+ },
2238
+ {
2239
+ "internalType": "bytes",
2240
+ "name": "inputVector",
2241
+ "type": "bytes"
2242
+ },
2243
+ {
2244
+ "internalType": "bytes",
2245
+ "name": "outputVector",
2246
+ "type": "bytes"
2247
+ },
2248
+ {
2249
+ "internalType": "bytes4",
2250
+ "name": "locktime",
2251
+ "type": "bytes4"
2252
+ }
2253
+ ],
2254
+ "internalType": "struct BitcoinTx.Info",
2255
+ "name": "sweepTx",
2256
+ "type": "tuple"
2257
+ },
2258
+ {
2259
+ "components": [
2260
+ {
2261
+ "internalType": "bytes",
2262
+ "name": "merkleProof",
2263
+ "type": "bytes"
2264
+ },
2265
+ {
2266
+ "internalType": "uint256",
2267
+ "name": "txIndexInBlock",
2268
+ "type": "uint256"
2269
+ },
2270
+ {
2271
+ "internalType": "bytes",
2272
+ "name": "bitcoinHeaders",
2273
+ "type": "bytes"
2274
+ },
2275
+ {
2276
+ "internalType": "bytes32",
2277
+ "name": "coinbasePreimage",
2278
+ "type": "bytes32"
2279
+ },
2280
+ {
2281
+ "internalType": "bytes",
2282
+ "name": "coinbaseProof",
2283
+ "type": "bytes"
2284
+ }
2285
+ ],
2286
+ "internalType": "struct BitcoinTx.Proof",
2287
+ "name": "sweepProof",
2288
+ "type": "tuple"
2289
+ },
2290
+ {
2291
+ "components": [
2292
+ {
2293
+ "internalType": "bytes32",
2294
+ "name": "txHash",
2295
+ "type": "bytes32"
2296
+ },
2297
+ {
2298
+ "internalType": "uint32",
2299
+ "name": "txOutputIndex",
2300
+ "type": "uint32"
2301
+ },
2302
+ {
2303
+ "internalType": "uint64",
2304
+ "name": "txOutputValue",
2305
+ "type": "uint64"
2306
+ }
2307
+ ],
2308
+ "internalType": "struct BitcoinTx.UTXO",
2309
+ "name": "mainUtxo",
2310
+ "type": "tuple"
2311
+ }
2312
+ ],
2313
+ "name": "submitMovedFundsSweepProof",
2314
+ "outputs": [],
2315
+ "stateMutability": "nonpayable",
2316
+ "type": "function"
2317
+ },
2318
+ {
2319
+ "inputs": [
2320
+ {
2321
+ "internalType": "bytes20",
2322
+ "name": "walletPubKeyHash",
2323
+ "type": "bytes20"
2324
+ },
2325
+ {
2326
+ "components": [
2327
+ {
2328
+ "internalType": "bytes32",
2329
+ "name": "txHash",
2330
+ "type": "bytes32"
2331
+ },
2332
+ {
2333
+ "internalType": "uint32",
2334
+ "name": "txOutputIndex",
2335
+ "type": "uint32"
2336
+ },
2337
+ {
2338
+ "internalType": "uint64",
2339
+ "name": "txOutputValue",
2340
+ "type": "uint64"
2341
+ }
2342
+ ],
2343
+ "internalType": "struct BitcoinTx.UTXO",
2344
+ "name": "walletMainUtxo",
2345
+ "type": "tuple"
2346
+ },
2347
+ {
2348
+ "internalType": "uint32[]",
2349
+ "name": "walletMembersIDs",
2350
+ "type": "uint32[]"
2351
+ },
2352
+ {
2353
+ "internalType": "uint256",
2354
+ "name": "walletMemberIndex",
2355
+ "type": "uint256"
2356
+ },
2357
+ {
2358
+ "internalType": "bytes20[]",
2359
+ "name": "targetWallets",
2360
+ "type": "bytes20[]"
2361
+ }
2362
+ ],
2363
+ "name": "submitMovingFundsCommitment",
2364
+ "outputs": [],
2365
+ "stateMutability": "nonpayable",
2366
+ "type": "function"
2367
+ },
2368
+ {
2369
+ "inputs": [
2370
+ {
2371
+ "components": [
2372
+ {
2373
+ "internalType": "bytes4",
2374
+ "name": "version",
2375
+ "type": "bytes4"
2376
+ },
2377
+ {
2378
+ "internalType": "bytes",
2379
+ "name": "inputVector",
2380
+ "type": "bytes"
2381
+ },
2382
+ {
2383
+ "internalType": "bytes",
2384
+ "name": "outputVector",
2385
+ "type": "bytes"
2386
+ },
2387
+ {
2388
+ "internalType": "bytes4",
2389
+ "name": "locktime",
2390
+ "type": "bytes4"
2391
+ }
2392
+ ],
2393
+ "internalType": "struct BitcoinTx.Info",
2394
+ "name": "movingFundsTx",
2395
+ "type": "tuple"
2396
+ },
2397
+ {
2398
+ "components": [
2399
+ {
2400
+ "internalType": "bytes",
2401
+ "name": "merkleProof",
2402
+ "type": "bytes"
2403
+ },
2404
+ {
2405
+ "internalType": "uint256",
2406
+ "name": "txIndexInBlock",
2407
+ "type": "uint256"
2408
+ },
2409
+ {
2410
+ "internalType": "bytes",
2411
+ "name": "bitcoinHeaders",
2412
+ "type": "bytes"
2413
+ },
2414
+ {
2415
+ "internalType": "bytes32",
2416
+ "name": "coinbasePreimage",
2417
+ "type": "bytes32"
2418
+ },
2419
+ {
2420
+ "internalType": "bytes",
2421
+ "name": "coinbaseProof",
2422
+ "type": "bytes"
2423
+ }
2424
+ ],
2425
+ "internalType": "struct BitcoinTx.Proof",
2426
+ "name": "movingFundsProof",
2427
+ "type": "tuple"
2428
+ },
2429
+ {
2430
+ "components": [
2431
+ {
2432
+ "internalType": "bytes32",
2433
+ "name": "txHash",
2434
+ "type": "bytes32"
2435
+ },
2436
+ {
2437
+ "internalType": "uint32",
2438
+ "name": "txOutputIndex",
2439
+ "type": "uint32"
2440
+ },
2441
+ {
2442
+ "internalType": "uint64",
2443
+ "name": "txOutputValue",
2444
+ "type": "uint64"
2445
+ }
2446
+ ],
2447
+ "internalType": "struct BitcoinTx.UTXO",
2448
+ "name": "mainUtxo",
2449
+ "type": "tuple"
2450
+ },
2451
+ {
2452
+ "internalType": "bytes20",
2453
+ "name": "walletPubKeyHash",
2454
+ "type": "bytes20"
2455
+ }
2456
+ ],
2457
+ "name": "submitMovingFundsProof",
2458
+ "outputs": [],
2459
+ "stateMutability": "nonpayable",
2460
+ "type": "function"
2461
+ },
2462
+ {
2463
+ "inputs": [
2464
+ {
2465
+ "components": [
2466
+ {
2467
+ "internalType": "bytes4",
2468
+ "name": "version",
2469
+ "type": "bytes4"
2470
+ },
2471
+ {
2472
+ "internalType": "bytes",
2473
+ "name": "inputVector",
2474
+ "type": "bytes"
2475
+ },
2476
+ {
2477
+ "internalType": "bytes",
2478
+ "name": "outputVector",
2479
+ "type": "bytes"
2480
+ },
2481
+ {
2482
+ "internalType": "bytes4",
2483
+ "name": "locktime",
2484
+ "type": "bytes4"
2485
+ }
2486
+ ],
2487
+ "internalType": "struct BitcoinTx.Info",
2488
+ "name": "redemptionTx",
2489
+ "type": "tuple"
2490
+ },
2491
+ {
2492
+ "components": [
2493
+ {
2494
+ "internalType": "bytes",
2495
+ "name": "merkleProof",
2496
+ "type": "bytes"
2497
+ },
2498
+ {
2499
+ "internalType": "uint256",
2500
+ "name": "txIndexInBlock",
2501
+ "type": "uint256"
2502
+ },
2503
+ {
2504
+ "internalType": "bytes",
2505
+ "name": "bitcoinHeaders",
2506
+ "type": "bytes"
2507
+ },
2508
+ {
2509
+ "internalType": "bytes32",
2510
+ "name": "coinbasePreimage",
2511
+ "type": "bytes32"
2512
+ },
2513
+ {
2514
+ "internalType": "bytes",
2515
+ "name": "coinbaseProof",
2516
+ "type": "bytes"
2517
+ }
2518
+ ],
2519
+ "internalType": "struct BitcoinTx.Proof",
2520
+ "name": "redemptionProof",
2521
+ "type": "tuple"
2522
+ },
2523
+ {
2524
+ "components": [
2525
+ {
2526
+ "internalType": "bytes32",
2527
+ "name": "txHash",
2528
+ "type": "bytes32"
2529
+ },
2530
+ {
2531
+ "internalType": "uint32",
2532
+ "name": "txOutputIndex",
2533
+ "type": "uint32"
2534
+ },
2535
+ {
2536
+ "internalType": "uint64",
2537
+ "name": "txOutputValue",
2538
+ "type": "uint64"
2539
+ }
2540
+ ],
2541
+ "internalType": "struct BitcoinTx.UTXO",
2542
+ "name": "mainUtxo",
2543
+ "type": "tuple"
2544
+ },
2545
+ {
2546
+ "internalType": "bytes20",
2547
+ "name": "walletPubKeyHash",
2548
+ "type": "bytes20"
2549
+ }
2550
+ ],
2551
+ "name": "submitRedemptionProof",
2552
+ "outputs": [],
2553
+ "stateMutability": "nonpayable",
2554
+ "type": "function"
2555
+ },
2556
+ {
2557
+ "inputs": [
2558
+ {
2559
+ "internalType": "uint256",
2560
+ "name": "redemptionKey",
2561
+ "type": "uint256"
2562
+ }
2563
+ ],
2564
+ "name": "timedOutRedemptions",
2565
+ "outputs": [
2566
+ {
2567
+ "components": [
2568
+ {
2569
+ "internalType": "address",
2570
+ "name": "redeemer",
2571
+ "type": "address"
2572
+ },
2573
+ {
2574
+ "internalType": "uint64",
2575
+ "name": "requestedAmount",
2576
+ "type": "uint64"
2577
+ },
2578
+ {
2579
+ "internalType": "uint64",
2580
+ "name": "treasuryFee",
2581
+ "type": "uint64"
2582
+ },
2583
+ {
2584
+ "internalType": "uint64",
2585
+ "name": "txMaxFee",
2586
+ "type": "uint64"
2587
+ },
2588
+ {
2589
+ "internalType": "uint32",
2590
+ "name": "requestedAt",
2591
+ "type": "uint32"
2592
+ }
2593
+ ],
2594
+ "internalType": "struct Redemption.RedemptionRequest",
2595
+ "name": "",
2596
+ "type": "tuple"
2597
+ }
2598
+ ],
2599
+ "stateMutability": "view",
2600
+ "type": "function"
2601
+ },
2602
+ {
2603
+ "inputs": [
2604
+ {
2605
+ "internalType": "bytes20",
2606
+ "name": "walletPubKeyHash",
2607
+ "type": "bytes20"
2608
+ },
2609
+ {
2610
+ "components": [
2611
+ {
2612
+ "internalType": "bytes32",
2613
+ "name": "txHash",
2614
+ "type": "bytes32"
2615
+ },
2616
+ {
2617
+ "internalType": "uint32",
2618
+ "name": "txOutputIndex",
2619
+ "type": "uint32"
2620
+ },
2621
+ {
2622
+ "internalType": "uint64",
2623
+ "name": "txOutputValue",
2624
+ "type": "uint64"
2625
+ }
2626
+ ],
2627
+ "internalType": "struct BitcoinTx.UTXO",
2628
+ "name": "utxo",
2629
+ "type": "tuple"
2630
+ }
2631
+ ],
2632
+ "name": "timeoutPendingMovedFundsSweepRequest",
2633
+ "outputs": [],
2634
+ "stateMutability": "nonpayable",
2635
+ "type": "function"
2636
+ },
2637
+ {
2638
+ "inputs": [
2639
+ {
2640
+ "internalType": "address",
2641
+ "name": "newGovernance",
2642
+ "type": "address"
2643
+ }
2644
+ ],
2645
+ "name": "transferGovernance",
2646
+ "outputs": [],
2647
+ "stateMutability": "nonpayable",
2648
+ "type": "function"
2649
+ },
2650
+ {
2651
+ "inputs": [],
2652
+ "name": "treasury",
2653
+ "outputs": [
2654
+ {
2655
+ "internalType": "address",
2656
+ "name": "",
2657
+ "type": "address"
2658
+ }
2659
+ ],
2660
+ "stateMutability": "view",
2661
+ "type": "function"
2662
+ },
2663
+ {
2664
+ "inputs": [],
2665
+ "name": "txProofDifficultyFactor",
2666
+ "outputs": [
2667
+ {
2668
+ "internalType": "uint256",
2669
+ "name": "",
2670
+ "type": "uint256"
2671
+ }
2672
+ ],
2673
+ "stateMutability": "view",
2674
+ "type": "function"
2675
+ },
2676
+ {
2677
+ "inputs": [
2678
+ {
2679
+ "internalType": "uint64",
2680
+ "name": "depositDustThreshold",
2681
+ "type": "uint64"
2682
+ },
2683
+ {
2684
+ "internalType": "uint64",
2685
+ "name": "depositTreasuryFeeDivisor",
2686
+ "type": "uint64"
2687
+ },
2688
+ {
2689
+ "internalType": "uint64",
2690
+ "name": "depositTxMaxFee",
2691
+ "type": "uint64"
2692
+ },
2693
+ {
2694
+ "internalType": "uint32",
2695
+ "name": "depositRevealAheadPeriod",
2696
+ "type": "uint32"
2697
+ }
2698
+ ],
2699
+ "name": "updateDepositParameters",
2700
+ "outputs": [],
2701
+ "stateMutability": "nonpayable",
2702
+ "type": "function"
2703
+ },
2704
+ {
2705
+ "inputs": [
2706
+ {
2707
+ "internalType": "uint96",
2708
+ "name": "fraudChallengeDepositAmount",
2709
+ "type": "uint96"
2710
+ },
2711
+ {
2712
+ "internalType": "uint32",
2713
+ "name": "fraudChallengeDefeatTimeout",
2714
+ "type": "uint32"
2715
+ },
2716
+ {
2717
+ "internalType": "uint96",
2718
+ "name": "fraudSlashingAmount",
2719
+ "type": "uint96"
2720
+ },
2721
+ {
2722
+ "internalType": "uint32",
2723
+ "name": "fraudNotifierRewardMultiplier",
2724
+ "type": "uint32"
2725
+ }
2726
+ ],
2727
+ "name": "updateFraudParameters",
2728
+ "outputs": [],
2729
+ "stateMutability": "nonpayable",
2730
+ "type": "function"
2731
+ },
2732
+ {
2733
+ "inputs": [
2734
+ {
2735
+ "internalType": "uint64",
2736
+ "name": "movingFundsTxMaxTotalFee",
2737
+ "type": "uint64"
2738
+ },
2739
+ {
2740
+ "internalType": "uint64",
2741
+ "name": "movingFundsDustThreshold",
2742
+ "type": "uint64"
2743
+ },
2744
+ {
2745
+ "internalType": "uint32",
2746
+ "name": "movingFundsTimeoutResetDelay",
2747
+ "type": "uint32"
2748
+ },
2749
+ {
2750
+ "internalType": "uint32",
2751
+ "name": "movingFundsTimeout",
2752
+ "type": "uint32"
2753
+ },
2754
+ {
2755
+ "internalType": "uint96",
2756
+ "name": "movingFundsTimeoutSlashingAmount",
2757
+ "type": "uint96"
2758
+ },
2759
+ {
2760
+ "internalType": "uint32",
2761
+ "name": "movingFundsTimeoutNotifierRewardMultiplier",
2762
+ "type": "uint32"
2763
+ },
2764
+ {
2765
+ "internalType": "uint16",
2766
+ "name": "movingFundsCommitmentGasOffset",
2767
+ "type": "uint16"
2768
+ },
2769
+ {
2770
+ "internalType": "uint64",
2771
+ "name": "movedFundsSweepTxMaxTotalFee",
2772
+ "type": "uint64"
2773
+ },
2774
+ {
2775
+ "internalType": "uint32",
2776
+ "name": "movedFundsSweepTimeout",
2777
+ "type": "uint32"
2778
+ },
2779
+ {
2780
+ "internalType": "uint96",
2781
+ "name": "movedFundsSweepTimeoutSlashingAmount",
2782
+ "type": "uint96"
2783
+ },
2784
+ {
2785
+ "internalType": "uint32",
2786
+ "name": "movedFundsSweepTimeoutNotifierRewardMultiplier",
2787
+ "type": "uint32"
2788
+ }
2789
+ ],
2790
+ "name": "updateMovingFundsParameters",
2791
+ "outputs": [],
2792
+ "stateMutability": "nonpayable",
2793
+ "type": "function"
2794
+ },
2795
+ {
2796
+ "inputs": [
2797
+ {
2798
+ "internalType": "uint64",
2799
+ "name": "redemptionDustThreshold",
2800
+ "type": "uint64"
2801
+ },
2802
+ {
2803
+ "internalType": "uint64",
2804
+ "name": "redemptionTreasuryFeeDivisor",
2805
+ "type": "uint64"
2806
+ },
2807
+ {
2808
+ "internalType": "uint64",
2809
+ "name": "redemptionTxMaxFee",
2810
+ "type": "uint64"
2811
+ },
2812
+ {
2813
+ "internalType": "uint64",
2814
+ "name": "redemptionTxMaxTotalFee",
2815
+ "type": "uint64"
2816
+ },
2817
+ {
2818
+ "internalType": "uint32",
2819
+ "name": "redemptionTimeout",
2820
+ "type": "uint32"
2821
+ },
2822
+ {
2823
+ "internalType": "uint96",
2824
+ "name": "redemptionTimeoutSlashingAmount",
2825
+ "type": "uint96"
2826
+ },
2827
+ {
2828
+ "internalType": "uint32",
2829
+ "name": "redemptionTimeoutNotifierRewardMultiplier",
2830
+ "type": "uint32"
2831
+ }
2832
+ ],
2833
+ "name": "updateRedemptionParameters",
2834
+ "outputs": [],
2835
+ "stateMutability": "nonpayable",
2836
+ "type": "function"
2837
+ },
2838
+ {
2839
+ "inputs": [
2840
+ {
2841
+ "internalType": "address",
2842
+ "name": "treasury",
2843
+ "type": "address"
2844
+ }
2845
+ ],
2846
+ "name": "updateTreasury",
2847
+ "outputs": [],
2848
+ "stateMutability": "nonpayable",
2849
+ "type": "function"
2850
+ },
2851
+ {
2852
+ "inputs": [
2853
+ {
2854
+ "internalType": "uint32",
2855
+ "name": "walletCreationPeriod",
2856
+ "type": "uint32"
2857
+ },
2858
+ {
2859
+ "internalType": "uint64",
2860
+ "name": "walletCreationMinBtcBalance",
2861
+ "type": "uint64"
2862
+ },
2863
+ {
2864
+ "internalType": "uint64",
2865
+ "name": "walletCreationMaxBtcBalance",
2866
+ "type": "uint64"
2867
+ },
2868
+ {
2869
+ "internalType": "uint64",
2870
+ "name": "walletClosureMinBtcBalance",
2871
+ "type": "uint64"
2872
+ },
2873
+ {
2874
+ "internalType": "uint32",
2875
+ "name": "walletMaxAge",
2876
+ "type": "uint32"
2877
+ },
2878
+ {
2879
+ "internalType": "uint64",
2880
+ "name": "walletMaxBtcTransfer",
2881
+ "type": "uint64"
2882
+ },
2883
+ {
2884
+ "internalType": "uint32",
2885
+ "name": "walletClosingPeriod",
2886
+ "type": "uint32"
2887
+ }
2888
+ ],
2889
+ "name": "updateWalletParameters",
2890
+ "outputs": [],
2891
+ "stateMutability": "nonpayable",
2892
+ "type": "function"
2893
+ },
2894
+ {
2895
+ "inputs": [],
2896
+ "name": "walletParameters",
2897
+ "outputs": [
2898
+ {
2899
+ "internalType": "uint32",
2900
+ "name": "walletCreationPeriod",
2901
+ "type": "uint32"
2902
+ },
2903
+ {
2904
+ "internalType": "uint64",
2905
+ "name": "walletCreationMinBtcBalance",
2906
+ "type": "uint64"
2907
+ },
2908
+ {
2909
+ "internalType": "uint64",
2910
+ "name": "walletCreationMaxBtcBalance",
2911
+ "type": "uint64"
2912
+ },
2913
+ {
2914
+ "internalType": "uint64",
2915
+ "name": "walletClosureMinBtcBalance",
2916
+ "type": "uint64"
2917
+ },
2918
+ {
2919
+ "internalType": "uint32",
2920
+ "name": "walletMaxAge",
2921
+ "type": "uint32"
2922
+ },
2923
+ {
2924
+ "internalType": "uint64",
2925
+ "name": "walletMaxBtcTransfer",
2926
+ "type": "uint64"
2927
+ },
2928
+ {
2929
+ "internalType": "uint32",
2930
+ "name": "walletClosingPeriod",
2931
+ "type": "uint32"
2932
+ }
2933
+ ],
2934
+ "stateMutability": "view",
2935
+ "type": "function"
2936
+ },
2937
+ {
2938
+ "inputs": [
2939
+ {
2940
+ "internalType": "bytes20",
2941
+ "name": "walletPubKeyHash",
2942
+ "type": "bytes20"
2943
+ }
2944
+ ],
2945
+ "name": "wallets",
2946
+ "outputs": [
2947
+ {
2948
+ "components": [
2949
+ {
2950
+ "internalType": "bytes32",
2951
+ "name": "ecdsaWalletID",
2952
+ "type": "bytes32"
2953
+ },
2954
+ {
2955
+ "internalType": "bytes32",
2956
+ "name": "mainUtxoHash",
2957
+ "type": "bytes32"
2958
+ },
2959
+ {
2960
+ "internalType": "uint64",
2961
+ "name": "pendingRedemptionsValue",
2962
+ "type": "uint64"
2963
+ },
2964
+ {
2965
+ "internalType": "uint32",
2966
+ "name": "createdAt",
2967
+ "type": "uint32"
2968
+ },
2969
+ {
2970
+ "internalType": "uint32",
2971
+ "name": "movingFundsRequestedAt",
2972
+ "type": "uint32"
2973
+ },
2974
+ {
2975
+ "internalType": "uint32",
2976
+ "name": "closingStartedAt",
2977
+ "type": "uint32"
2978
+ },
2979
+ {
2980
+ "internalType": "uint32",
2981
+ "name": "pendingMovedFundsSweepRequestsCount",
2982
+ "type": "uint32"
2983
+ },
2984
+ {
2985
+ "internalType": "enum Wallets.WalletState",
2986
+ "name": "state",
2987
+ "type": "uint8"
2988
+ },
2989
+ {
2990
+ "internalType": "bytes32",
2991
+ "name": "movingFundsTargetWalletsCommitmentHash",
2992
+ "type": "bytes32"
2993
+ }
2994
+ ],
2995
+ "internalType": "struct Wallets.Wallet",
2996
+ "name": "",
2997
+ "type": "tuple"
2998
+ }
2999
+ ],
3000
+ "stateMutability": "view",
3001
+ "type": "function"
3002
+ }
3003
+ ],
3004
+ "transactionHash": "0x6da67314b4993245d036fa185bd03481bbbedd854e14338d74fa7bf9eae3fd07",
3005
+ "receipt": {
3006
+ "to": null,
3007
+ "from": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
3008
+ "contractAddress": "0x84227190685c25c4aF662EE1bD0E4cd82e57360D",
3009
+ "transactionIndex": 0,
3010
+ "gasUsed": "972095",
3011
+ "logsBloom": "0x00000000000000000000000000000000400000004000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000800000000000000000000000000000000000000000000000000000200800000000000000000000000000080000000000000000000000000000000000000000080000000000000800000000000000080000000000000000400000000000000000000002010000000000000000020000000000000000000040000000000000400000000000000000000000000000000000000000800000000000000000000000000000000000000000000",
3012
+ "blockHash": "0x5f32c99cd970bb244757f02ba2a1d1feab14e53b5a63446984f5dede4138cc0a",
3013
+ "transactionHash": "0x6da67314b4993245d036fa185bd03481bbbedd854e14338d74fa7bf9eae3fd07",
3014
+ "logs": [
3015
+ {
3016
+ "transactionIndex": 0,
3017
+ "blockNumber": 57,
3018
+ "transactionHash": "0x6da67314b4993245d036fa185bd03481bbbedd854e14338d74fa7bf9eae3fd07",
3019
+ "address": "0x84227190685c25c4aF662EE1bD0E4cd82e57360D",
3020
+ "topics": [
3021
+ "0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b",
3022
+ "0x0000000000000000000000001d99a347b5ecdbaa3c5365470d461cf66b77ecd2"
3023
+ ],
3024
+ "data": "0x",
3025
+ "logIndex": 0,
3026
+ "blockHash": "0x5f32c99cd970bb244757f02ba2a1d1feab14e53b5a63446984f5dede4138cc0a"
3027
+ },
3028
+ {
3029
+ "transactionIndex": 0,
3030
+ "blockNumber": 57,
3031
+ "transactionHash": "0x6da67314b4993245d036fa185bd03481bbbedd854e14338d74fa7bf9eae3fd07",
3032
+ "address": "0x84227190685c25c4aF662EE1bD0E4cd82e57360D",
3033
+ "topics": [
3034
+ "0x5f56bee8cffbe9a78652a74a60705edede02af10b0bbb888ca44b79a0d42ce80"
3035
+ ],
3036
+ "data": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000070997970c51812dc3a010c7d01b50e0d17dc79c8",
3037
+ "logIndex": 1,
3038
+ "blockHash": "0x5f32c99cd970bb244757f02ba2a1d1feab14e53b5a63446984f5dede4138cc0a"
3039
+ },
3040
+ {
3041
+ "transactionIndex": 0,
3042
+ "blockNumber": 57,
3043
+ "transactionHash": "0x6da67314b4993245d036fa185bd03481bbbedd854e14338d74fa7bf9eae3fd07",
3044
+ "address": "0x84227190685c25c4aF662EE1bD0E4cd82e57360D",
3045
+ "topics": [
3046
+ "0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498"
3047
+ ],
3048
+ "data": "0x0000000000000000000000000000000000000000000000000000000000000001",
3049
+ "logIndex": 2,
3050
+ "blockHash": "0x5f32c99cd970bb244757f02ba2a1d1feab14e53b5a63446984f5dede4138cc0a"
3051
+ },
3052
+ {
3053
+ "transactionIndex": 0,
3054
+ "blockNumber": 57,
3055
+ "transactionHash": "0x6da67314b4993245d036fa185bd03481bbbedd854e14338d74fa7bf9eae3fd07",
3056
+ "address": "0x84227190685c25c4aF662EE1bD0E4cd82e57360D",
3057
+ "topics": [
3058
+ "0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f"
3059
+ ],
3060
+ "data": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f818a7c2afc45cf4b9ddc48933c9a1edd624e46f",
3061
+ "logIndex": 3,
3062
+ "blockHash": "0x5f32c99cd970bb244757f02ba2a1d1feab14e53b5a63446984f5dede4138cc0a"
3063
+ }
3064
+ ],
3065
+ "blockNumber": 57,
3066
+ "cumulativeGasUsed": "972095",
3067
+ "status": 1,
3068
+ "byzantium": true
3069
+ },
3070
+ "numDeployments": 1,
3071
+ "libraries": {
3072
+ "Deposit": "0xa85b028984bC54A2a3D844B070544F59dDDf89DE",
3073
+ "DepositSweep": "0xD499f5F7d3C918D0e553BA03954c4E02af16B6e4",
3074
+ "Redemption": "0xDadd1125B8Df98A66Abd5EB302C0d9Ca5A061dC2",
3075
+ "Wallets": "0x23d351BA89eaAc4E328133Cb48e050064C219A1E",
3076
+ "Fraud": "0x35D2F51DBC8b401B11fA3FE04423E0f5cd9fEDb4",
3077
+ "MovingFunds": "0x49FcbCC4E425add3a45AFC82F4dD0E5c227A0Ff8"
3078
+ },
3079
+ "implementation": "0x1D99a347B5EcdbAa3C5365470d461Cf66B77ECd2",
3080
+ "devdoc": "Contract deployed as upgradable proxy"
3081
+ }