@keep-network/tbtc-v2 1.2.0-dev.1 → 1.2.0

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