@keep-network/tbtc-v2 0.1.1-dev.8 → 0.1.1-dev.80

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 (112) hide show
  1. package/README.adoc +12 -0
  2. package/artifacts/Bank.json +757 -0
  3. package/artifacts/Bridge.json +2644 -0
  4. package/artifacts/Deposit.json +117 -0
  5. package/artifacts/DepositSweep.json +77 -0
  6. package/artifacts/EcdsaDkgValidator.json +532 -0
  7. package/artifacts/EcdsaInactivity.json +156 -0
  8. package/artifacts/EcdsaSortitionPool.json +1004 -0
  9. package/artifacts/Fraud.json +164 -0
  10. package/artifacts/KeepRegistry.json +99 -0
  11. package/artifacts/KeepStake.json +286 -0
  12. package/artifacts/KeepToken.json +711 -0
  13. package/artifacts/KeepTokenStaking.json +483 -0
  14. package/artifacts/MovingFunds.json +249 -0
  15. package/artifacts/NuCypherStakingEscrow.json +256 -0
  16. package/artifacts/NuCypherToken.json +711 -0
  17. package/artifacts/RandomBeaconStub.json +141 -0
  18. package/artifacts/Redemption.json +162 -0
  19. package/artifacts/ReimbursementPool.json +509 -0
  20. package/artifacts/Relay.json +123 -0
  21. package/artifacts/T.json +1148 -0
  22. package/artifacts/TBTC.json +27 -26
  23. package/artifacts/TBTCToken.json +27 -26
  24. package/artifacts/TBTCVault.json +462 -0
  25. package/artifacts/TokenStaking.json +2288 -0
  26. package/artifacts/TokenholderGovernor.json +1795 -0
  27. package/artifacts/TokenholderTimelock.json +1058 -0
  28. package/artifacts/VendingMachine.json +30 -29
  29. package/artifacts/VendingMachineKeep.json +400 -0
  30. package/artifacts/VendingMachineNuCypher.json +400 -0
  31. package/artifacts/WalletRegistry.json +1843 -0
  32. package/artifacts/WalletRegistryGovernance.json +2754 -0
  33. package/artifacts/Wallets.json +186 -0
  34. package/artifacts/solcInputs/4f6d4f5cd1e3d835e20ed55926a445cd.json +311 -0
  35. package/build/contracts/GovernanceUtils.sol/GovernanceUtils.dbg.json +1 -1
  36. package/build/contracts/GovernanceUtils.sol/GovernanceUtils.json +2 -2
  37. package/build/contracts/bank/Bank.sol/Bank.dbg.json +1 -1
  38. package/build/contracts/bank/Bank.sol/Bank.json +25 -2
  39. package/build/contracts/bank/IReceiveBalanceApproval.sol/IReceiveBalanceApproval.dbg.json +4 -0
  40. package/build/contracts/bank/IReceiveBalanceApproval.sol/IReceiveBalanceApproval.json +34 -0
  41. package/build/contracts/bridge/BitcoinTx.sol/BitcoinTx.dbg.json +1 -1
  42. package/build/contracts/bridge/BitcoinTx.sol/BitcoinTx.json +2 -2
  43. package/build/contracts/bridge/Bridge.sol/Bridge.dbg.json +1 -1
  44. package/build/contracts/bridge/Bridge.sol/Bridge.json +2516 -196
  45. package/build/contracts/bridge/BridgeState.sol/BridgeState.dbg.json +4 -0
  46. package/build/contracts/bridge/BridgeState.sol/BridgeState.json +226 -0
  47. package/build/contracts/bridge/Deposit.sol/Deposit.dbg.json +4 -0
  48. package/build/contracts/bridge/Deposit.sol/Deposit.json +72 -0
  49. package/build/contracts/bridge/DepositSweep.sol/DepositSweep.dbg.json +4 -0
  50. package/build/contracts/bridge/DepositSweep.sol/DepositSweep.json +30 -0
  51. package/build/contracts/bridge/EcdsaLib.sol/EcdsaLib.dbg.json +4 -0
  52. package/build/contracts/bridge/EcdsaLib.sol/EcdsaLib.json +10 -0
  53. package/build/contracts/bridge/Fraud.sol/Fraud.dbg.json +4 -0
  54. package/build/contracts/bridge/Fraud.sol/Fraud.json +86 -0
  55. package/build/contracts/bridge/Heartbeat.sol/Heartbeat.dbg.json +4 -0
  56. package/build/contracts/bridge/Heartbeat.sol/Heartbeat.json +10 -0
  57. package/build/contracts/bridge/IRelay.sol/IRelay.dbg.json +4 -0
  58. package/build/contracts/bridge/IRelay.sol/IRelay.json +37 -0
  59. package/build/contracts/bridge/MovingFunds.sol/MovingFunds.dbg.json +4 -0
  60. package/build/contracts/bridge/MovingFunds.sol/MovingFunds.json +138 -0
  61. package/build/contracts/bridge/Redemption.sol/OutboundTx.dbg.json +4 -0
  62. package/build/contracts/bridge/Redemption.sol/OutboundTx.json +10 -0
  63. package/build/contracts/bridge/Redemption.sol/Redemption.dbg.json +4 -0
  64. package/build/contracts/bridge/Redemption.sol/Redemption.json +92 -0
  65. package/build/contracts/bridge/VendingMachine.sol/VendingMachine.dbg.json +1 -1
  66. package/build/contracts/bridge/VendingMachine.sol/VendingMachine.json +2 -2
  67. package/build/contracts/bridge/Wallets.sol/Wallets.dbg.json +4 -0
  68. package/build/contracts/bridge/Wallets.sol/Wallets.json +112 -0
  69. package/build/contracts/token/TBTC.sol/TBTC.dbg.json +1 -1
  70. package/build/contracts/token/TBTC.sol/TBTC.json +2 -2
  71. package/build/contracts/vault/DonationVault.sol/DonationVault.dbg.json +4 -0
  72. package/build/contracts/vault/DonationVault.sol/DonationVault.json +108 -0
  73. package/build/contracts/vault/IVault.sol/IVault.dbg.json +1 -1
  74. package/build/contracts/vault/IVault.sol/IVault.json +24 -1
  75. package/build/contracts/vault/TBTCVault.sol/TBTCVault.dbg.json +1 -1
  76. package/build/contracts/vault/TBTCVault.sol/TBTCVault.json +126 -7
  77. package/contracts/GovernanceUtils.sol +4 -4
  78. package/contracts/bank/Bank.sol +45 -20
  79. package/contracts/bank/IReceiveBalanceApproval.sol +45 -0
  80. package/contracts/bridge/BitcoinTx.sol +232 -10
  81. package/contracts/bridge/Bridge.sol +1601 -244
  82. package/contracts/bridge/BridgeState.sol +739 -0
  83. package/contracts/bridge/Deposit.sol +269 -0
  84. package/contracts/bridge/DepositSweep.sol +571 -0
  85. package/contracts/bridge/EcdsaLib.sol +45 -0
  86. package/contracts/bridge/Fraud.sol +604 -0
  87. package/contracts/bridge/Heartbeat.sol +112 -0
  88. package/contracts/bridge/IRelay.sol +28 -0
  89. package/contracts/bridge/MovingFunds.sol +1089 -0
  90. package/contracts/bridge/Redemption.sol +867 -0
  91. package/contracts/bridge/VendingMachine.sol +1 -1
  92. package/contracts/bridge/Wallets.sol +553 -0
  93. package/contracts/hardhat-dependency-compiler/.hardhat-dependency-compiler +1 -0
  94. package/contracts/hardhat-dependency-compiler/@keep-network/ecdsa/contracts/WalletRegistry.sol +3 -0
  95. package/contracts/hardhat-dependency-compiler/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol +3 -0
  96. package/contracts/hardhat-dependency-compiler/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol +3 -0
  97. package/contracts/token/TBTC.sol +1 -1
  98. package/contracts/vault/DonationVault.sol +125 -0
  99. package/contracts/vault/IVault.sol +19 -13
  100. package/contracts/vault/TBTCVault.sol +58 -8
  101. package/deploy/00_resolve_relay.ts +28 -0
  102. package/deploy/04_deploy_bank.ts +27 -0
  103. package/deploy/05_deploy_bridge.ts +80 -0
  104. package/deploy/06_deploy_tbtc_vault.ts +30 -0
  105. package/deploy/07_bank_update_bridge.ts +19 -0
  106. package/deploy/08_transfer_ownership.ts +15 -0
  107. package/deploy/09_transfer_governance.ts +20 -0
  108. package/deploy/10_transfer_proxy_admin_ownership.ts +30 -0
  109. package/deploy/11_deploy_proxy_admin_with_deputy.ts +33 -0
  110. package/export.json +15993 -475
  111. package/package.json +32 -25
  112. package/artifacts/solcInputs/4cf328e09411ac69d75a3c381680bc2c.json +0 -128
@@ -0,0 +1,1843 @@
1
+ {
2
+ "address": "0x677df0cb865368207999F2862Ece576dC56D8dF6",
3
+ "abi": [
4
+ {
5
+ "type": "constructor",
6
+ "payable": false,
7
+ "inputs": [
8
+ {
9
+ "type": "address",
10
+ "name": "_sortitionPool"
11
+ },
12
+ {
13
+ "type": "address",
14
+ "name": "_staking"
15
+ }
16
+ ]
17
+ },
18
+ {
19
+ "type": "event",
20
+ "anonymous": false,
21
+ "name": "AuthorizationDecreaseApproved",
22
+ "inputs": [
23
+ {
24
+ "type": "address",
25
+ "name": "stakingProvider",
26
+ "indexed": true
27
+ }
28
+ ]
29
+ },
30
+ {
31
+ "type": "event",
32
+ "anonymous": false,
33
+ "name": "AuthorizationDecreaseRequested",
34
+ "inputs": [
35
+ {
36
+ "type": "address",
37
+ "name": "stakingProvider",
38
+ "indexed": true
39
+ },
40
+ {
41
+ "type": "address",
42
+ "name": "operator",
43
+ "indexed": true
44
+ },
45
+ {
46
+ "type": "uint96",
47
+ "name": "fromAmount",
48
+ "indexed": false
49
+ },
50
+ {
51
+ "type": "uint96",
52
+ "name": "toAmount",
53
+ "indexed": false
54
+ },
55
+ {
56
+ "type": "uint64",
57
+ "name": "decreasingAt",
58
+ "indexed": false
59
+ }
60
+ ]
61
+ },
62
+ {
63
+ "type": "event",
64
+ "anonymous": false,
65
+ "name": "AuthorizationIncreased",
66
+ "inputs": [
67
+ {
68
+ "type": "address",
69
+ "name": "stakingProvider",
70
+ "indexed": true
71
+ },
72
+ {
73
+ "type": "address",
74
+ "name": "operator",
75
+ "indexed": true
76
+ },
77
+ {
78
+ "type": "uint96",
79
+ "name": "fromAmount",
80
+ "indexed": false
81
+ },
82
+ {
83
+ "type": "uint96",
84
+ "name": "toAmount",
85
+ "indexed": false
86
+ }
87
+ ]
88
+ },
89
+ {
90
+ "type": "event",
91
+ "anonymous": false,
92
+ "name": "AuthorizationParametersUpdated",
93
+ "inputs": [
94
+ {
95
+ "type": "uint96",
96
+ "name": "minimumAuthorization",
97
+ "indexed": false
98
+ },
99
+ {
100
+ "type": "uint64",
101
+ "name": "authorizationDecreaseDelay",
102
+ "indexed": false
103
+ },
104
+ {
105
+ "type": "uint64",
106
+ "name": "authorizationDecreaseChangePeriod",
107
+ "indexed": false
108
+ }
109
+ ]
110
+ },
111
+ {
112
+ "type": "event",
113
+ "anonymous": false,
114
+ "name": "DkgMaliciousResultSlashed",
115
+ "inputs": [
116
+ {
117
+ "type": "bytes32",
118
+ "name": "resultHash",
119
+ "indexed": true
120
+ },
121
+ {
122
+ "type": "uint256",
123
+ "name": "slashingAmount",
124
+ "indexed": false
125
+ },
126
+ {
127
+ "type": "address",
128
+ "name": "maliciousSubmitter",
129
+ "indexed": false
130
+ }
131
+ ]
132
+ },
133
+ {
134
+ "type": "event",
135
+ "anonymous": false,
136
+ "name": "DkgMaliciousResultSlashingFailed",
137
+ "inputs": [
138
+ {
139
+ "type": "bytes32",
140
+ "name": "resultHash",
141
+ "indexed": true
142
+ },
143
+ {
144
+ "type": "uint256",
145
+ "name": "slashingAmount",
146
+ "indexed": false
147
+ },
148
+ {
149
+ "type": "address",
150
+ "name": "maliciousSubmitter",
151
+ "indexed": false
152
+ }
153
+ ]
154
+ },
155
+ {
156
+ "type": "event",
157
+ "anonymous": false,
158
+ "name": "DkgParametersUpdated",
159
+ "inputs": [
160
+ {
161
+ "type": "uint256",
162
+ "name": "seedTimeout",
163
+ "indexed": false
164
+ },
165
+ {
166
+ "type": "uint256",
167
+ "name": "resultChallengePeriodLength",
168
+ "indexed": false
169
+ },
170
+ {
171
+ "type": "uint256",
172
+ "name": "resultSubmissionTimeout",
173
+ "indexed": false
174
+ },
175
+ {
176
+ "type": "uint256",
177
+ "name": "resultSubmitterPrecedencePeriodLength",
178
+ "indexed": false
179
+ }
180
+ ]
181
+ },
182
+ {
183
+ "type": "event",
184
+ "anonymous": false,
185
+ "name": "DkgResultApproved",
186
+ "inputs": [
187
+ {
188
+ "type": "bytes32",
189
+ "name": "resultHash",
190
+ "indexed": true
191
+ },
192
+ {
193
+ "type": "address",
194
+ "name": "approver",
195
+ "indexed": true
196
+ }
197
+ ]
198
+ },
199
+ {
200
+ "type": "event",
201
+ "anonymous": false,
202
+ "name": "DkgResultChallenged",
203
+ "inputs": [
204
+ {
205
+ "type": "bytes32",
206
+ "name": "resultHash",
207
+ "indexed": true
208
+ },
209
+ {
210
+ "type": "address",
211
+ "name": "challenger",
212
+ "indexed": true
213
+ },
214
+ {
215
+ "type": "string",
216
+ "name": "reason",
217
+ "indexed": false
218
+ }
219
+ ]
220
+ },
221
+ {
222
+ "type": "event",
223
+ "anonymous": false,
224
+ "name": "DkgResultSubmitted",
225
+ "inputs": [
226
+ {
227
+ "type": "bytes32",
228
+ "name": "resultHash",
229
+ "indexed": true
230
+ },
231
+ {
232
+ "type": "uint256",
233
+ "name": "seed",
234
+ "indexed": true
235
+ },
236
+ {
237
+ "type": "tuple",
238
+ "name": "result",
239
+ "indexed": false,
240
+ "components": [
241
+ {
242
+ "type": "uint256",
243
+ "name": "submitterMemberIndex"
244
+ },
245
+ {
246
+ "type": "bytes",
247
+ "name": "groupPubKey"
248
+ },
249
+ {
250
+ "type": "uint8[]",
251
+ "name": "misbehavedMembersIndices"
252
+ },
253
+ {
254
+ "type": "bytes",
255
+ "name": "signatures"
256
+ },
257
+ {
258
+ "type": "uint256[]",
259
+ "name": "signingMembersIndices"
260
+ },
261
+ {
262
+ "type": "uint32[]",
263
+ "name": "members"
264
+ },
265
+ {
266
+ "type": "bytes32",
267
+ "name": "membersHash"
268
+ }
269
+ ]
270
+ }
271
+ ]
272
+ },
273
+ {
274
+ "type": "event",
275
+ "anonymous": false,
276
+ "name": "DkgSeedTimedOut",
277
+ "inputs": []
278
+ },
279
+ {
280
+ "type": "event",
281
+ "anonymous": false,
282
+ "name": "DkgStarted",
283
+ "inputs": [
284
+ {
285
+ "type": "uint256",
286
+ "name": "seed",
287
+ "indexed": true
288
+ }
289
+ ]
290
+ },
291
+ {
292
+ "type": "event",
293
+ "anonymous": false,
294
+ "name": "DkgStateLocked",
295
+ "inputs": []
296
+ },
297
+ {
298
+ "type": "event",
299
+ "anonymous": false,
300
+ "name": "DkgTimedOut",
301
+ "inputs": []
302
+ },
303
+ {
304
+ "type": "event",
305
+ "anonymous": false,
306
+ "name": "GasParametersUpdated",
307
+ "inputs": [
308
+ {
309
+ "type": "uint256",
310
+ "name": "dkgResultSubmissionGas",
311
+ "indexed": false
312
+ },
313
+ {
314
+ "type": "uint256",
315
+ "name": "dkgResultApprovalGasOffset",
316
+ "indexed": false
317
+ },
318
+ {
319
+ "type": "uint256",
320
+ "name": "notifyOperatorInactivityGasOffset",
321
+ "indexed": false
322
+ },
323
+ {
324
+ "type": "uint256",
325
+ "name": "notifySeedTimeoutGasOffset",
326
+ "indexed": false
327
+ },
328
+ {
329
+ "type": "uint256",
330
+ "name": "notifyDkgTimeoutNegativeGasOffset",
331
+ "indexed": false
332
+ }
333
+ ]
334
+ },
335
+ {
336
+ "type": "event",
337
+ "anonymous": false,
338
+ "name": "GovernanceTransferred",
339
+ "inputs": [
340
+ {
341
+ "type": "address",
342
+ "name": "oldGovernance",
343
+ "indexed": false
344
+ },
345
+ {
346
+ "type": "address",
347
+ "name": "newGovernance",
348
+ "indexed": false
349
+ }
350
+ ]
351
+ },
352
+ {
353
+ "type": "event",
354
+ "anonymous": false,
355
+ "name": "InactivityClaimed",
356
+ "inputs": [
357
+ {
358
+ "type": "bytes32",
359
+ "name": "walletID",
360
+ "indexed": true
361
+ },
362
+ {
363
+ "type": "uint256",
364
+ "name": "nonce",
365
+ "indexed": false
366
+ },
367
+ {
368
+ "type": "address",
369
+ "name": "notifier",
370
+ "indexed": false
371
+ }
372
+ ]
373
+ },
374
+ {
375
+ "type": "event",
376
+ "anonymous": false,
377
+ "name": "Initialized",
378
+ "inputs": [
379
+ {
380
+ "type": "uint8",
381
+ "name": "version",
382
+ "indexed": false
383
+ }
384
+ ]
385
+ },
386
+ {
387
+ "type": "event",
388
+ "anonymous": false,
389
+ "name": "InvoluntaryAuthorizationDecreaseFailed",
390
+ "inputs": [
391
+ {
392
+ "type": "address",
393
+ "name": "stakingProvider",
394
+ "indexed": true
395
+ },
396
+ {
397
+ "type": "address",
398
+ "name": "operator",
399
+ "indexed": true
400
+ },
401
+ {
402
+ "type": "uint96",
403
+ "name": "fromAmount",
404
+ "indexed": false
405
+ },
406
+ {
407
+ "type": "uint96",
408
+ "name": "toAmount",
409
+ "indexed": false
410
+ }
411
+ ]
412
+ },
413
+ {
414
+ "type": "event",
415
+ "anonymous": false,
416
+ "name": "OperatorJoinedSortitionPool",
417
+ "inputs": [
418
+ {
419
+ "type": "address",
420
+ "name": "stakingProvider",
421
+ "indexed": true
422
+ },
423
+ {
424
+ "type": "address",
425
+ "name": "operator",
426
+ "indexed": true
427
+ }
428
+ ]
429
+ },
430
+ {
431
+ "type": "event",
432
+ "anonymous": false,
433
+ "name": "OperatorRegistered",
434
+ "inputs": [
435
+ {
436
+ "type": "address",
437
+ "name": "stakingProvider",
438
+ "indexed": true
439
+ },
440
+ {
441
+ "type": "address",
442
+ "name": "operator",
443
+ "indexed": true
444
+ }
445
+ ]
446
+ },
447
+ {
448
+ "type": "event",
449
+ "anonymous": false,
450
+ "name": "OperatorStatusUpdated",
451
+ "inputs": [
452
+ {
453
+ "type": "address",
454
+ "name": "stakingProvider",
455
+ "indexed": true
456
+ },
457
+ {
458
+ "type": "address",
459
+ "name": "operator",
460
+ "indexed": true
461
+ }
462
+ ]
463
+ },
464
+ {
465
+ "type": "event",
466
+ "anonymous": false,
467
+ "name": "RandomBeaconUpgraded",
468
+ "inputs": [
469
+ {
470
+ "type": "address",
471
+ "name": "randomBeacon",
472
+ "indexed": false
473
+ }
474
+ ]
475
+ },
476
+ {
477
+ "type": "event",
478
+ "anonymous": false,
479
+ "name": "ReimbursementPoolUpdated",
480
+ "inputs": [
481
+ {
482
+ "type": "address",
483
+ "name": "newReimbursementPool",
484
+ "indexed": false
485
+ }
486
+ ]
487
+ },
488
+ {
489
+ "type": "event",
490
+ "anonymous": false,
491
+ "name": "RewardParametersUpdated",
492
+ "inputs": [
493
+ {
494
+ "type": "uint256",
495
+ "name": "maliciousDkgResultNotificationRewardMultiplier",
496
+ "indexed": false
497
+ },
498
+ {
499
+ "type": "uint256",
500
+ "name": "sortitionPoolRewardsBanDuration",
501
+ "indexed": false
502
+ }
503
+ ]
504
+ },
505
+ {
506
+ "type": "event",
507
+ "anonymous": false,
508
+ "name": "RewardsWithdrawn",
509
+ "inputs": [
510
+ {
511
+ "type": "address",
512
+ "name": "stakingProvider",
513
+ "indexed": true
514
+ },
515
+ {
516
+ "type": "uint96",
517
+ "name": "amount",
518
+ "indexed": false
519
+ }
520
+ ]
521
+ },
522
+ {
523
+ "type": "event",
524
+ "anonymous": false,
525
+ "name": "SlashingParametersUpdated",
526
+ "inputs": [
527
+ {
528
+ "type": "uint256",
529
+ "name": "maliciousDkgResultSlashingAmount",
530
+ "indexed": false
531
+ }
532
+ ]
533
+ },
534
+ {
535
+ "type": "event",
536
+ "anonymous": false,
537
+ "name": "WalletClosed",
538
+ "inputs": [
539
+ {
540
+ "type": "bytes32",
541
+ "name": "walletID",
542
+ "indexed": true
543
+ }
544
+ ]
545
+ },
546
+ {
547
+ "type": "event",
548
+ "anonymous": false,
549
+ "name": "WalletCreated",
550
+ "inputs": [
551
+ {
552
+ "type": "bytes32",
553
+ "name": "walletID",
554
+ "indexed": true
555
+ },
556
+ {
557
+ "type": "bytes32",
558
+ "name": "dkgResultHash",
559
+ "indexed": true
560
+ }
561
+ ]
562
+ },
563
+ {
564
+ "type": "event",
565
+ "anonymous": false,
566
+ "name": "WalletOwnerUpdated",
567
+ "inputs": [
568
+ {
569
+ "type": "address",
570
+ "name": "walletOwner",
571
+ "indexed": false
572
+ }
573
+ ]
574
+ },
575
+ {
576
+ "type": "function",
577
+ "name": "__beaconCallback",
578
+ "constant": false,
579
+ "payable": false,
580
+ "gas": 29000000,
581
+ "inputs": [
582
+ {
583
+ "type": "uint256",
584
+ "name": "relayEntry"
585
+ },
586
+ {
587
+ "type": "uint256"
588
+ }
589
+ ],
590
+ "outputs": []
591
+ },
592
+ {
593
+ "type": "function",
594
+ "name": "approveAuthorizationDecrease",
595
+ "constant": false,
596
+ "payable": false,
597
+ "gas": 29000000,
598
+ "inputs": [
599
+ {
600
+ "type": "address",
601
+ "name": "stakingProvider"
602
+ }
603
+ ],
604
+ "outputs": []
605
+ },
606
+ {
607
+ "type": "function",
608
+ "name": "approveDkgResult",
609
+ "constant": false,
610
+ "payable": false,
611
+ "gas": 29000000,
612
+ "inputs": [
613
+ {
614
+ "type": "tuple",
615
+ "name": "dkgResult",
616
+ "components": [
617
+ {
618
+ "type": "uint256",
619
+ "name": "submitterMemberIndex"
620
+ },
621
+ {
622
+ "type": "bytes",
623
+ "name": "groupPubKey"
624
+ },
625
+ {
626
+ "type": "uint8[]",
627
+ "name": "misbehavedMembersIndices"
628
+ },
629
+ {
630
+ "type": "bytes",
631
+ "name": "signatures"
632
+ },
633
+ {
634
+ "type": "uint256[]",
635
+ "name": "signingMembersIndices"
636
+ },
637
+ {
638
+ "type": "uint32[]",
639
+ "name": "members"
640
+ },
641
+ {
642
+ "type": "bytes32",
643
+ "name": "membersHash"
644
+ }
645
+ ]
646
+ }
647
+ ],
648
+ "outputs": []
649
+ },
650
+ {
651
+ "type": "function",
652
+ "name": "authorizationDecreaseRequested",
653
+ "constant": false,
654
+ "payable": false,
655
+ "gas": 29000000,
656
+ "inputs": [
657
+ {
658
+ "type": "address",
659
+ "name": "stakingProvider"
660
+ },
661
+ {
662
+ "type": "uint96",
663
+ "name": "fromAmount"
664
+ },
665
+ {
666
+ "type": "uint96",
667
+ "name": "toAmount"
668
+ }
669
+ ],
670
+ "outputs": []
671
+ },
672
+ {
673
+ "type": "function",
674
+ "name": "authorizationIncreased",
675
+ "constant": false,
676
+ "payable": false,
677
+ "gas": 29000000,
678
+ "inputs": [
679
+ {
680
+ "type": "address",
681
+ "name": "stakingProvider"
682
+ },
683
+ {
684
+ "type": "uint96",
685
+ "name": "fromAmount"
686
+ },
687
+ {
688
+ "type": "uint96",
689
+ "name": "toAmount"
690
+ }
691
+ ],
692
+ "outputs": []
693
+ },
694
+ {
695
+ "type": "function",
696
+ "name": "authorizationParameters",
697
+ "constant": true,
698
+ "stateMutability": "view",
699
+ "payable": false,
700
+ "gas": 29000000,
701
+ "inputs": [],
702
+ "outputs": [
703
+ {
704
+ "type": "uint96",
705
+ "name": "minimumAuthorization"
706
+ },
707
+ {
708
+ "type": "uint64",
709
+ "name": "authorizationDecreaseDelay"
710
+ },
711
+ {
712
+ "type": "uint64",
713
+ "name": "authorizationDecreaseChangePeriod"
714
+ }
715
+ ]
716
+ },
717
+ {
718
+ "type": "function",
719
+ "name": "availableRewards",
720
+ "constant": true,
721
+ "stateMutability": "view",
722
+ "payable": false,
723
+ "gas": 29000000,
724
+ "inputs": [
725
+ {
726
+ "type": "address",
727
+ "name": "stakingProvider"
728
+ }
729
+ ],
730
+ "outputs": [
731
+ {
732
+ "type": "uint96"
733
+ }
734
+ ]
735
+ },
736
+ {
737
+ "type": "function",
738
+ "name": "challengeDkgResult",
739
+ "constant": false,
740
+ "payable": false,
741
+ "gas": 29000000,
742
+ "inputs": [
743
+ {
744
+ "type": "tuple",
745
+ "name": "dkgResult",
746
+ "components": [
747
+ {
748
+ "type": "uint256",
749
+ "name": "submitterMemberIndex"
750
+ },
751
+ {
752
+ "type": "bytes",
753
+ "name": "groupPubKey"
754
+ },
755
+ {
756
+ "type": "uint8[]",
757
+ "name": "misbehavedMembersIndices"
758
+ },
759
+ {
760
+ "type": "bytes",
761
+ "name": "signatures"
762
+ },
763
+ {
764
+ "type": "uint256[]",
765
+ "name": "signingMembersIndices"
766
+ },
767
+ {
768
+ "type": "uint32[]",
769
+ "name": "members"
770
+ },
771
+ {
772
+ "type": "bytes32",
773
+ "name": "membersHash"
774
+ }
775
+ ]
776
+ }
777
+ ],
778
+ "outputs": []
779
+ },
780
+ {
781
+ "type": "function",
782
+ "name": "closeWallet",
783
+ "constant": false,
784
+ "payable": false,
785
+ "gas": 29000000,
786
+ "inputs": [
787
+ {
788
+ "type": "bytes32",
789
+ "name": "walletID"
790
+ }
791
+ ],
792
+ "outputs": []
793
+ },
794
+ {
795
+ "type": "function",
796
+ "name": "dkgParameters",
797
+ "constant": true,
798
+ "stateMutability": "view",
799
+ "payable": false,
800
+ "gas": 29000000,
801
+ "inputs": [],
802
+ "outputs": [
803
+ {
804
+ "type": "tuple",
805
+ "components": [
806
+ {
807
+ "type": "uint256",
808
+ "name": "seedTimeout"
809
+ },
810
+ {
811
+ "type": "uint256",
812
+ "name": "resultChallengePeriodLength"
813
+ },
814
+ {
815
+ "type": "uint256",
816
+ "name": "resultSubmissionTimeout"
817
+ },
818
+ {
819
+ "type": "uint256",
820
+ "name": "submitterPrecedencePeriodLength"
821
+ }
822
+ ]
823
+ }
824
+ ]
825
+ },
826
+ {
827
+ "type": "function",
828
+ "name": "eligibleStake",
829
+ "constant": true,
830
+ "stateMutability": "view",
831
+ "payable": false,
832
+ "gas": 29000000,
833
+ "inputs": [
834
+ {
835
+ "type": "address",
836
+ "name": "stakingProvider"
837
+ }
838
+ ],
839
+ "outputs": [
840
+ {
841
+ "type": "uint96"
842
+ }
843
+ ]
844
+ },
845
+ {
846
+ "type": "function",
847
+ "name": "gasParameters",
848
+ "constant": true,
849
+ "stateMutability": "view",
850
+ "payable": false,
851
+ "gas": 29000000,
852
+ "inputs": [],
853
+ "outputs": [
854
+ {
855
+ "type": "uint256",
856
+ "name": "dkgResultSubmissionGas"
857
+ },
858
+ {
859
+ "type": "uint256",
860
+ "name": "dkgResultApprovalGasOffset"
861
+ },
862
+ {
863
+ "type": "uint256",
864
+ "name": "notifyOperatorInactivityGasOffset"
865
+ },
866
+ {
867
+ "type": "uint256",
868
+ "name": "notifySeedTimeoutGasOffset"
869
+ },
870
+ {
871
+ "type": "uint256",
872
+ "name": "notifyDkgTimeoutNegativeGasOffset"
873
+ }
874
+ ]
875
+ },
876
+ {
877
+ "type": "function",
878
+ "name": "getWallet",
879
+ "constant": true,
880
+ "stateMutability": "view",
881
+ "payable": false,
882
+ "gas": 29000000,
883
+ "inputs": [
884
+ {
885
+ "type": "bytes32",
886
+ "name": "walletID"
887
+ }
888
+ ],
889
+ "outputs": [
890
+ {
891
+ "type": "tuple",
892
+ "components": [
893
+ {
894
+ "type": "bytes32",
895
+ "name": "membersIdsHash"
896
+ },
897
+ {
898
+ "type": "bytes32",
899
+ "name": "publicKeyX"
900
+ },
901
+ {
902
+ "type": "bytes32",
903
+ "name": "publicKeyY"
904
+ }
905
+ ]
906
+ }
907
+ ]
908
+ },
909
+ {
910
+ "type": "function",
911
+ "name": "getWalletCreationState",
912
+ "constant": true,
913
+ "stateMutability": "view",
914
+ "payable": false,
915
+ "gas": 29000000,
916
+ "inputs": [],
917
+ "outputs": [
918
+ {
919
+ "type": "uint8"
920
+ }
921
+ ]
922
+ },
923
+ {
924
+ "type": "function",
925
+ "name": "getWalletPublicKey",
926
+ "constant": true,
927
+ "stateMutability": "view",
928
+ "payable": false,
929
+ "gas": 29000000,
930
+ "inputs": [
931
+ {
932
+ "type": "bytes32",
933
+ "name": "walletID"
934
+ }
935
+ ],
936
+ "outputs": [
937
+ {
938
+ "type": "bytes"
939
+ }
940
+ ]
941
+ },
942
+ {
943
+ "type": "function",
944
+ "name": "governance",
945
+ "constant": true,
946
+ "stateMutability": "view",
947
+ "payable": false,
948
+ "gas": 29000000,
949
+ "inputs": [],
950
+ "outputs": [
951
+ {
952
+ "type": "address"
953
+ }
954
+ ]
955
+ },
956
+ {
957
+ "type": "function",
958
+ "name": "hasDkgTimedOut",
959
+ "constant": true,
960
+ "stateMutability": "view",
961
+ "payable": false,
962
+ "gas": 29000000,
963
+ "inputs": [],
964
+ "outputs": [
965
+ {
966
+ "type": "bool"
967
+ }
968
+ ]
969
+ },
970
+ {
971
+ "type": "function",
972
+ "name": "hasSeedTimedOut",
973
+ "constant": true,
974
+ "stateMutability": "view",
975
+ "payable": false,
976
+ "gas": 29000000,
977
+ "inputs": [],
978
+ "outputs": [
979
+ {
980
+ "type": "bool"
981
+ }
982
+ ]
983
+ },
984
+ {
985
+ "type": "function",
986
+ "name": "inactivityClaimNonce",
987
+ "constant": true,
988
+ "stateMutability": "view",
989
+ "payable": false,
990
+ "gas": 29000000,
991
+ "inputs": [
992
+ {
993
+ "type": "bytes32"
994
+ }
995
+ ],
996
+ "outputs": [
997
+ {
998
+ "type": "uint256"
999
+ }
1000
+ ]
1001
+ },
1002
+ {
1003
+ "type": "function",
1004
+ "name": "initialize",
1005
+ "constant": false,
1006
+ "payable": false,
1007
+ "gas": 29000000,
1008
+ "inputs": [
1009
+ {
1010
+ "type": "address",
1011
+ "name": "_ecdsaDkgValidator"
1012
+ },
1013
+ {
1014
+ "type": "address",
1015
+ "name": "_randomBeacon"
1016
+ },
1017
+ {
1018
+ "type": "address",
1019
+ "name": "_reimbursementPool"
1020
+ }
1021
+ ],
1022
+ "outputs": []
1023
+ },
1024
+ {
1025
+ "type": "function",
1026
+ "name": "involuntaryAuthorizationDecrease",
1027
+ "constant": false,
1028
+ "payable": false,
1029
+ "gas": 29000000,
1030
+ "inputs": [
1031
+ {
1032
+ "type": "address",
1033
+ "name": "stakingProvider"
1034
+ },
1035
+ {
1036
+ "type": "uint96",
1037
+ "name": "fromAmount"
1038
+ },
1039
+ {
1040
+ "type": "uint96",
1041
+ "name": "toAmount"
1042
+ }
1043
+ ],
1044
+ "outputs": []
1045
+ },
1046
+ {
1047
+ "type": "function",
1048
+ "name": "isDkgResultValid",
1049
+ "constant": true,
1050
+ "stateMutability": "view",
1051
+ "payable": false,
1052
+ "gas": 29000000,
1053
+ "inputs": [
1054
+ {
1055
+ "type": "tuple",
1056
+ "name": "result",
1057
+ "components": [
1058
+ {
1059
+ "type": "uint256",
1060
+ "name": "submitterMemberIndex"
1061
+ },
1062
+ {
1063
+ "type": "bytes",
1064
+ "name": "groupPubKey"
1065
+ },
1066
+ {
1067
+ "type": "uint8[]",
1068
+ "name": "misbehavedMembersIndices"
1069
+ },
1070
+ {
1071
+ "type": "bytes",
1072
+ "name": "signatures"
1073
+ },
1074
+ {
1075
+ "type": "uint256[]",
1076
+ "name": "signingMembersIndices"
1077
+ },
1078
+ {
1079
+ "type": "uint32[]",
1080
+ "name": "members"
1081
+ },
1082
+ {
1083
+ "type": "bytes32",
1084
+ "name": "membersHash"
1085
+ }
1086
+ ]
1087
+ }
1088
+ ],
1089
+ "outputs": [
1090
+ {
1091
+ "type": "bool"
1092
+ },
1093
+ {
1094
+ "type": "string"
1095
+ }
1096
+ ]
1097
+ },
1098
+ {
1099
+ "type": "function",
1100
+ "name": "isOperatorInPool",
1101
+ "constant": true,
1102
+ "stateMutability": "view",
1103
+ "payable": false,
1104
+ "gas": 29000000,
1105
+ "inputs": [
1106
+ {
1107
+ "type": "address",
1108
+ "name": "operator"
1109
+ }
1110
+ ],
1111
+ "outputs": [
1112
+ {
1113
+ "type": "bool"
1114
+ }
1115
+ ]
1116
+ },
1117
+ {
1118
+ "type": "function",
1119
+ "name": "isOperatorUpToDate",
1120
+ "constant": true,
1121
+ "stateMutability": "view",
1122
+ "payable": false,
1123
+ "gas": 29000000,
1124
+ "inputs": [
1125
+ {
1126
+ "type": "address",
1127
+ "name": "operator"
1128
+ }
1129
+ ],
1130
+ "outputs": [
1131
+ {
1132
+ "type": "bool"
1133
+ }
1134
+ ]
1135
+ },
1136
+ {
1137
+ "type": "function",
1138
+ "name": "isWalletMember",
1139
+ "constant": true,
1140
+ "stateMutability": "view",
1141
+ "payable": false,
1142
+ "gas": 29000000,
1143
+ "inputs": [
1144
+ {
1145
+ "type": "bytes32",
1146
+ "name": "walletID"
1147
+ },
1148
+ {
1149
+ "type": "uint32[]",
1150
+ "name": "walletMembersIDs"
1151
+ },
1152
+ {
1153
+ "type": "address",
1154
+ "name": "operator"
1155
+ },
1156
+ {
1157
+ "type": "uint256",
1158
+ "name": "walletMemberIndex"
1159
+ }
1160
+ ],
1161
+ "outputs": [
1162
+ {
1163
+ "type": "bool"
1164
+ }
1165
+ ]
1166
+ },
1167
+ {
1168
+ "type": "function",
1169
+ "name": "isWalletRegistered",
1170
+ "constant": true,
1171
+ "stateMutability": "view",
1172
+ "payable": false,
1173
+ "gas": 29000000,
1174
+ "inputs": [
1175
+ {
1176
+ "type": "bytes32",
1177
+ "name": "walletID"
1178
+ }
1179
+ ],
1180
+ "outputs": [
1181
+ {
1182
+ "type": "bool"
1183
+ }
1184
+ ]
1185
+ },
1186
+ {
1187
+ "type": "function",
1188
+ "name": "joinSortitionPool",
1189
+ "constant": false,
1190
+ "payable": false,
1191
+ "gas": 29000000,
1192
+ "inputs": [],
1193
+ "outputs": []
1194
+ },
1195
+ {
1196
+ "type": "function",
1197
+ "name": "minimumAuthorization",
1198
+ "constant": true,
1199
+ "stateMutability": "view",
1200
+ "payable": false,
1201
+ "gas": 29000000,
1202
+ "inputs": [],
1203
+ "outputs": [
1204
+ {
1205
+ "type": "uint96"
1206
+ }
1207
+ ]
1208
+ },
1209
+ {
1210
+ "type": "function",
1211
+ "name": "notifyDkgTimeout",
1212
+ "constant": false,
1213
+ "payable": false,
1214
+ "gas": 29000000,
1215
+ "inputs": [],
1216
+ "outputs": []
1217
+ },
1218
+ {
1219
+ "type": "function",
1220
+ "name": "notifyOperatorInactivity",
1221
+ "constant": false,
1222
+ "payable": false,
1223
+ "gas": 29000000,
1224
+ "inputs": [
1225
+ {
1226
+ "type": "tuple",
1227
+ "name": "claim",
1228
+ "components": [
1229
+ {
1230
+ "type": "bytes32",
1231
+ "name": "walletID"
1232
+ },
1233
+ {
1234
+ "type": "uint256[]",
1235
+ "name": "inactiveMembersIndices"
1236
+ },
1237
+ {
1238
+ "type": "bool",
1239
+ "name": "heartbeatFailed"
1240
+ },
1241
+ {
1242
+ "type": "bytes",
1243
+ "name": "signatures"
1244
+ },
1245
+ {
1246
+ "type": "uint256[]",
1247
+ "name": "signingMembersIndices"
1248
+ }
1249
+ ]
1250
+ },
1251
+ {
1252
+ "type": "uint256",
1253
+ "name": "nonce"
1254
+ },
1255
+ {
1256
+ "type": "uint32[]",
1257
+ "name": "groupMembers"
1258
+ }
1259
+ ],
1260
+ "outputs": []
1261
+ },
1262
+ {
1263
+ "type": "function",
1264
+ "name": "notifySeedTimeout",
1265
+ "constant": false,
1266
+ "payable": false,
1267
+ "gas": 29000000,
1268
+ "inputs": [],
1269
+ "outputs": []
1270
+ },
1271
+ {
1272
+ "type": "function",
1273
+ "name": "operatorToStakingProvider",
1274
+ "constant": true,
1275
+ "stateMutability": "view",
1276
+ "payable": false,
1277
+ "gas": 29000000,
1278
+ "inputs": [
1279
+ {
1280
+ "type": "address",
1281
+ "name": "operator"
1282
+ }
1283
+ ],
1284
+ "outputs": [
1285
+ {
1286
+ "type": "address"
1287
+ }
1288
+ ]
1289
+ },
1290
+ {
1291
+ "type": "function",
1292
+ "name": "pendingAuthorizationDecrease",
1293
+ "constant": true,
1294
+ "stateMutability": "view",
1295
+ "payable": false,
1296
+ "gas": 29000000,
1297
+ "inputs": [
1298
+ {
1299
+ "type": "address",
1300
+ "name": "stakingProvider"
1301
+ }
1302
+ ],
1303
+ "outputs": [
1304
+ {
1305
+ "type": "uint96"
1306
+ }
1307
+ ]
1308
+ },
1309
+ {
1310
+ "type": "function",
1311
+ "name": "randomBeacon",
1312
+ "constant": true,
1313
+ "stateMutability": "view",
1314
+ "payable": false,
1315
+ "gas": 29000000,
1316
+ "inputs": [],
1317
+ "outputs": [
1318
+ {
1319
+ "type": "address"
1320
+ }
1321
+ ]
1322
+ },
1323
+ {
1324
+ "type": "function",
1325
+ "name": "registerOperator",
1326
+ "constant": false,
1327
+ "payable": false,
1328
+ "gas": 29000000,
1329
+ "inputs": [
1330
+ {
1331
+ "type": "address",
1332
+ "name": "operator"
1333
+ }
1334
+ ],
1335
+ "outputs": []
1336
+ },
1337
+ {
1338
+ "type": "function",
1339
+ "name": "reimbursementPool",
1340
+ "constant": true,
1341
+ "stateMutability": "view",
1342
+ "payable": false,
1343
+ "gas": 29000000,
1344
+ "inputs": [],
1345
+ "outputs": [
1346
+ {
1347
+ "type": "address"
1348
+ }
1349
+ ]
1350
+ },
1351
+ {
1352
+ "type": "function",
1353
+ "name": "remainingAuthorizationDecreaseDelay",
1354
+ "constant": true,
1355
+ "stateMutability": "view",
1356
+ "payable": false,
1357
+ "gas": 29000000,
1358
+ "inputs": [
1359
+ {
1360
+ "type": "address",
1361
+ "name": "stakingProvider"
1362
+ }
1363
+ ],
1364
+ "outputs": [
1365
+ {
1366
+ "type": "uint64"
1367
+ }
1368
+ ]
1369
+ },
1370
+ {
1371
+ "type": "function",
1372
+ "name": "requestNewWallet",
1373
+ "constant": false,
1374
+ "payable": false,
1375
+ "gas": 29000000,
1376
+ "inputs": [],
1377
+ "outputs": []
1378
+ },
1379
+ {
1380
+ "type": "function",
1381
+ "name": "rewardParameters",
1382
+ "constant": true,
1383
+ "stateMutability": "view",
1384
+ "payable": false,
1385
+ "gas": 29000000,
1386
+ "inputs": [],
1387
+ "outputs": [
1388
+ {
1389
+ "type": "uint256",
1390
+ "name": "maliciousDkgResultNotificationRewardMultiplier"
1391
+ },
1392
+ {
1393
+ "type": "uint256",
1394
+ "name": "sortitionPoolRewardsBanDuration"
1395
+ }
1396
+ ]
1397
+ },
1398
+ {
1399
+ "type": "function",
1400
+ "name": "seize",
1401
+ "constant": false,
1402
+ "payable": false,
1403
+ "gas": 29000000,
1404
+ "inputs": [
1405
+ {
1406
+ "type": "uint96",
1407
+ "name": "amount"
1408
+ },
1409
+ {
1410
+ "type": "uint256",
1411
+ "name": "rewardMultiplier"
1412
+ },
1413
+ {
1414
+ "type": "address",
1415
+ "name": "notifier"
1416
+ },
1417
+ {
1418
+ "type": "bytes32",
1419
+ "name": "walletID"
1420
+ },
1421
+ {
1422
+ "type": "uint32[]",
1423
+ "name": "walletMembersIDs"
1424
+ }
1425
+ ],
1426
+ "outputs": []
1427
+ },
1428
+ {
1429
+ "type": "function",
1430
+ "name": "selectGroup",
1431
+ "constant": true,
1432
+ "stateMutability": "view",
1433
+ "payable": false,
1434
+ "gas": 29000000,
1435
+ "inputs": [],
1436
+ "outputs": [
1437
+ {
1438
+ "type": "uint32[]"
1439
+ }
1440
+ ]
1441
+ },
1442
+ {
1443
+ "type": "function",
1444
+ "name": "slashingParameters",
1445
+ "constant": true,
1446
+ "stateMutability": "view",
1447
+ "payable": false,
1448
+ "gas": 29000000,
1449
+ "inputs": [],
1450
+ "outputs": [
1451
+ {
1452
+ "type": "uint96",
1453
+ "name": "maliciousDkgResultSlashingAmount"
1454
+ }
1455
+ ]
1456
+ },
1457
+ {
1458
+ "type": "function",
1459
+ "name": "sortitionPool",
1460
+ "constant": true,
1461
+ "stateMutability": "view",
1462
+ "payable": false,
1463
+ "gas": 29000000,
1464
+ "inputs": [],
1465
+ "outputs": [
1466
+ {
1467
+ "type": "address"
1468
+ }
1469
+ ]
1470
+ },
1471
+ {
1472
+ "type": "function",
1473
+ "name": "staking",
1474
+ "constant": true,
1475
+ "stateMutability": "view",
1476
+ "payable": false,
1477
+ "gas": 29000000,
1478
+ "inputs": [],
1479
+ "outputs": [
1480
+ {
1481
+ "type": "address"
1482
+ }
1483
+ ]
1484
+ },
1485
+ {
1486
+ "type": "function",
1487
+ "name": "stakingProviderToOperator",
1488
+ "constant": true,
1489
+ "stateMutability": "view",
1490
+ "payable": false,
1491
+ "gas": 29000000,
1492
+ "inputs": [
1493
+ {
1494
+ "type": "address",
1495
+ "name": "stakingProvider"
1496
+ }
1497
+ ],
1498
+ "outputs": [
1499
+ {
1500
+ "type": "address"
1501
+ }
1502
+ ]
1503
+ },
1504
+ {
1505
+ "type": "function",
1506
+ "name": "submitDkgResult",
1507
+ "constant": false,
1508
+ "payable": false,
1509
+ "gas": 29000000,
1510
+ "inputs": [
1511
+ {
1512
+ "type": "tuple",
1513
+ "name": "dkgResult",
1514
+ "components": [
1515
+ {
1516
+ "type": "uint256",
1517
+ "name": "submitterMemberIndex"
1518
+ },
1519
+ {
1520
+ "type": "bytes",
1521
+ "name": "groupPubKey"
1522
+ },
1523
+ {
1524
+ "type": "uint8[]",
1525
+ "name": "misbehavedMembersIndices"
1526
+ },
1527
+ {
1528
+ "type": "bytes",
1529
+ "name": "signatures"
1530
+ },
1531
+ {
1532
+ "type": "uint256[]",
1533
+ "name": "signingMembersIndices"
1534
+ },
1535
+ {
1536
+ "type": "uint32[]",
1537
+ "name": "members"
1538
+ },
1539
+ {
1540
+ "type": "bytes32",
1541
+ "name": "membersHash"
1542
+ }
1543
+ ]
1544
+ }
1545
+ ],
1546
+ "outputs": []
1547
+ },
1548
+ {
1549
+ "type": "function",
1550
+ "name": "transferGovernance",
1551
+ "constant": false,
1552
+ "payable": false,
1553
+ "gas": 29000000,
1554
+ "inputs": [
1555
+ {
1556
+ "type": "address",
1557
+ "name": "newGovernance"
1558
+ }
1559
+ ],
1560
+ "outputs": []
1561
+ },
1562
+ {
1563
+ "type": "function",
1564
+ "name": "updateAuthorizationParameters",
1565
+ "constant": false,
1566
+ "payable": false,
1567
+ "gas": 29000000,
1568
+ "inputs": [
1569
+ {
1570
+ "type": "uint96",
1571
+ "name": "_minimumAuthorization"
1572
+ },
1573
+ {
1574
+ "type": "uint64",
1575
+ "name": "_authorizationDecreaseDelay"
1576
+ },
1577
+ {
1578
+ "type": "uint64",
1579
+ "name": "_authorizationDecreaseChangePeriod"
1580
+ }
1581
+ ],
1582
+ "outputs": []
1583
+ },
1584
+ {
1585
+ "type": "function",
1586
+ "name": "updateDkgParameters",
1587
+ "constant": false,
1588
+ "payable": false,
1589
+ "gas": 29000000,
1590
+ "inputs": [
1591
+ {
1592
+ "type": "uint256",
1593
+ "name": "_seedTimeout"
1594
+ },
1595
+ {
1596
+ "type": "uint256",
1597
+ "name": "_resultChallengePeriodLength"
1598
+ },
1599
+ {
1600
+ "type": "uint256",
1601
+ "name": "_resultSubmissionTimeout"
1602
+ },
1603
+ {
1604
+ "type": "uint256",
1605
+ "name": "_submitterPrecedencePeriodLength"
1606
+ }
1607
+ ],
1608
+ "outputs": []
1609
+ },
1610
+ {
1611
+ "type": "function",
1612
+ "name": "updateGasParameters",
1613
+ "constant": false,
1614
+ "payable": false,
1615
+ "gas": 29000000,
1616
+ "inputs": [
1617
+ {
1618
+ "type": "uint256",
1619
+ "name": "dkgResultSubmissionGas"
1620
+ },
1621
+ {
1622
+ "type": "uint256",
1623
+ "name": "dkgResultApprovalGasOffset"
1624
+ },
1625
+ {
1626
+ "type": "uint256",
1627
+ "name": "notifyOperatorInactivityGasOffset"
1628
+ },
1629
+ {
1630
+ "type": "uint256",
1631
+ "name": "notifySeedTimeoutGasOffset"
1632
+ },
1633
+ {
1634
+ "type": "uint256",
1635
+ "name": "notifyDkgTimeoutNegativeGasOffset"
1636
+ }
1637
+ ],
1638
+ "outputs": []
1639
+ },
1640
+ {
1641
+ "type": "function",
1642
+ "name": "updateOperatorStatus",
1643
+ "constant": false,
1644
+ "payable": false,
1645
+ "gas": 29000000,
1646
+ "inputs": [
1647
+ {
1648
+ "type": "address",
1649
+ "name": "operator"
1650
+ }
1651
+ ],
1652
+ "outputs": []
1653
+ },
1654
+ {
1655
+ "type": "function",
1656
+ "name": "updateReimbursementPool",
1657
+ "constant": false,
1658
+ "payable": false,
1659
+ "gas": 29000000,
1660
+ "inputs": [
1661
+ {
1662
+ "type": "address",
1663
+ "name": "_reimbursementPool"
1664
+ }
1665
+ ],
1666
+ "outputs": []
1667
+ },
1668
+ {
1669
+ "type": "function",
1670
+ "name": "updateRewardParameters",
1671
+ "constant": false,
1672
+ "payable": false,
1673
+ "gas": 29000000,
1674
+ "inputs": [
1675
+ {
1676
+ "type": "uint256",
1677
+ "name": "maliciousDkgResultNotificationRewardMultiplier"
1678
+ },
1679
+ {
1680
+ "type": "uint256",
1681
+ "name": "sortitionPoolRewardsBanDuration"
1682
+ }
1683
+ ],
1684
+ "outputs": []
1685
+ },
1686
+ {
1687
+ "type": "function",
1688
+ "name": "updateSlashingParameters",
1689
+ "constant": false,
1690
+ "payable": false,
1691
+ "gas": 29000000,
1692
+ "inputs": [
1693
+ {
1694
+ "type": "uint96",
1695
+ "name": "maliciousDkgResultSlashingAmount"
1696
+ }
1697
+ ],
1698
+ "outputs": []
1699
+ },
1700
+ {
1701
+ "type": "function",
1702
+ "name": "updateWalletOwner",
1703
+ "constant": false,
1704
+ "payable": false,
1705
+ "gas": 29000000,
1706
+ "inputs": [
1707
+ {
1708
+ "type": "address",
1709
+ "name": "_walletOwner"
1710
+ }
1711
+ ],
1712
+ "outputs": []
1713
+ },
1714
+ {
1715
+ "type": "function",
1716
+ "name": "upgradeRandomBeacon",
1717
+ "constant": false,
1718
+ "payable": false,
1719
+ "gas": 29000000,
1720
+ "inputs": [
1721
+ {
1722
+ "type": "address",
1723
+ "name": "_randomBeacon"
1724
+ }
1725
+ ],
1726
+ "outputs": []
1727
+ },
1728
+ {
1729
+ "type": "function",
1730
+ "name": "walletOwner",
1731
+ "constant": true,
1732
+ "stateMutability": "view",
1733
+ "payable": false,
1734
+ "gas": 29000000,
1735
+ "inputs": [],
1736
+ "outputs": [
1737
+ {
1738
+ "type": "address"
1739
+ }
1740
+ ]
1741
+ },
1742
+ {
1743
+ "type": "function",
1744
+ "name": "withdrawIneligibleRewards",
1745
+ "constant": false,
1746
+ "payable": false,
1747
+ "gas": 29000000,
1748
+ "inputs": [
1749
+ {
1750
+ "type": "address",
1751
+ "name": "recipient"
1752
+ }
1753
+ ],
1754
+ "outputs": []
1755
+ },
1756
+ {
1757
+ "type": "function",
1758
+ "name": "withdrawRewards",
1759
+ "constant": false,
1760
+ "payable": false,
1761
+ "gas": 29000000,
1762
+ "inputs": [
1763
+ {
1764
+ "type": "address",
1765
+ "name": "stakingProvider"
1766
+ }
1767
+ ],
1768
+ "outputs": []
1769
+ }
1770
+ ],
1771
+ "transactionHash": "0x97eee107aba25ce5b05b9804fc156ef8cc903729639131f12ba8165a8a6d1980",
1772
+ "receipt": {
1773
+ "to": null,
1774
+ "from": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
1775
+ "contractAddress": "0x677df0cb865368207999F2862Ece576dC56D8dF6",
1776
+ "transactionIndex": 0,
1777
+ "gasUsed": "1031171",
1778
+ "logsBloom": "0x00000000000000000000000000000000400000004000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000080000000000000002000000000000000800000000000000000000000000000000000000000000000000000000800000000000000000020000000000000020000000000000000000000000000000000080000000000000800000000000000000000000000000000400000000000000000000000000000000000000000020000000000000020000040000000000000400000000000001000000000000000000000000000800000000000000000000000000000000000000000000",
1779
+ "blockHash": "0x9e69be727b437b57bec724bf1afa29bfa262c80b9771a17eef37ae1484ae7e09",
1780
+ "transactionHash": "0x97eee107aba25ce5b05b9804fc156ef8cc903729639131f12ba8165a8a6d1980",
1781
+ "logs": [
1782
+ {
1783
+ "transactionIndex": 0,
1784
+ "blockNumber": 29,
1785
+ "transactionHash": "0x97eee107aba25ce5b05b9804fc156ef8cc903729639131f12ba8165a8a6d1980",
1786
+ "address": "0x677df0cb865368207999F2862Ece576dC56D8dF6",
1787
+ "topics": [
1788
+ "0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b",
1789
+ "0x000000000000000000000000505d59fffd312983cc0ed114d7f117b91520d742"
1790
+ ],
1791
+ "data": "0x",
1792
+ "logIndex": 0,
1793
+ "blockHash": "0x9e69be727b437b57bec724bf1afa29bfa262c80b9771a17eef37ae1484ae7e09"
1794
+ },
1795
+ {
1796
+ "transactionIndex": 0,
1797
+ "blockNumber": 29,
1798
+ "transactionHash": "0x97eee107aba25ce5b05b9804fc156ef8cc903729639131f12ba8165a8a6d1980",
1799
+ "address": "0x677df0cb865368207999F2862Ece576dC56D8dF6",
1800
+ "topics": [
1801
+ "0x5f56bee8cffbe9a78652a74a60705edede02af10b0bbb888ca44b79a0d42ce80"
1802
+ ],
1803
+ "data": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000070997970c51812dc3a010c7d01b50e0d17dc79c8",
1804
+ "logIndex": 1,
1805
+ "blockHash": "0x9e69be727b437b57bec724bf1afa29bfa262c80b9771a17eef37ae1484ae7e09"
1806
+ },
1807
+ {
1808
+ "transactionIndex": 0,
1809
+ "blockNumber": 29,
1810
+ "transactionHash": "0x97eee107aba25ce5b05b9804fc156ef8cc903729639131f12ba8165a8a6d1980",
1811
+ "address": "0x677df0cb865368207999F2862Ece576dC56D8dF6",
1812
+ "topics": [
1813
+ "0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498"
1814
+ ],
1815
+ "data": "0x0000000000000000000000000000000000000000000000000000000000000001",
1816
+ "logIndex": 2,
1817
+ "blockHash": "0x9e69be727b437b57bec724bf1afa29bfa262c80b9771a17eef37ae1484ae7e09"
1818
+ },
1819
+ {
1820
+ "transactionIndex": 0,
1821
+ "blockNumber": 29,
1822
+ "transactionHash": "0x97eee107aba25ce5b05b9804fc156ef8cc903729639131f12ba8165a8a6d1980",
1823
+ "address": "0x677df0cb865368207999F2862Ece576dC56D8dF6",
1824
+ "topics": [
1825
+ "0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f"
1826
+ ],
1827
+ "data": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ed17543171c1459714cdc6519b58ffcc29a3c3c9",
1828
+ "logIndex": 3,
1829
+ "blockHash": "0x9e69be727b437b57bec724bf1afa29bfa262c80b9771a17eef37ae1484ae7e09"
1830
+ }
1831
+ ],
1832
+ "blockNumber": 29,
1833
+ "cumulativeGasUsed": "1031171",
1834
+ "status": 1,
1835
+ "byzantium": true
1836
+ },
1837
+ "numDeployments": 1,
1838
+ "libraries": {
1839
+ "EcdsaInactivity": "0x446e7636a5Fa9af46c3718719e465B547248bF62"
1840
+ },
1841
+ "implementation": "0x505d59ffFd312983Cc0eD114d7F117B91520d742",
1842
+ "devdoc": "Contract deployed as upgradable proxy"
1843
+ }