@keep-network/tbtc-v2 1.6.0-dev.5 → 1.6.0-dev.6

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 (140) hide show
  1. package/artifacts/BLS.json +1 -1
  2. package/artifacts/Bank.json +3 -3
  3. package/artifacts/BeaconAuthorization.json +1 -1
  4. package/artifacts/BeaconDkg.json +1 -1
  5. package/artifacts/BeaconDkgValidator.json +1 -1
  6. package/artifacts/BeaconInactivity.json +1 -1
  7. package/artifacts/BeaconSortitionPool.json +3 -3
  8. package/artifacts/Bridge.json +5 -5
  9. package/artifacts/BridgeGovernance.json +2 -2
  10. package/artifacts/BridgeGovernanceParameters.json +2 -2
  11. package/artifacts/Deposit.json +2 -2
  12. package/artifacts/DepositSweep.json +2 -2
  13. package/artifacts/DonationVault.json +3 -3
  14. package/artifacts/EcdsaDkgValidator.json +1 -1
  15. package/artifacts/EcdsaInactivity.json +1 -1
  16. package/artifacts/EcdsaSortitionPool.json +3 -3
  17. package/artifacts/Fraud.json +2 -2
  18. package/artifacts/KeepRegistry.json +1 -1
  19. package/artifacts/KeepStake.json +2 -2
  20. package/artifacts/KeepToken.json +2 -2
  21. package/artifacts/KeepTokenStaking.json +1 -1
  22. package/artifacts/LightRelay.json +18 -18
  23. package/artifacts/LightRelayMaintainerProxy.json +17 -17
  24. package/artifacts/MaintainerProxy.json +19 -19
  25. package/artifacts/MovingFunds.json +2 -2
  26. package/artifacts/NuCypherStakingEscrow.json +1 -1
  27. package/artifacts/NuCypherToken.json +2 -2
  28. package/artifacts/RandomBeacon.json +2 -2
  29. package/artifacts/RandomBeaconChaosnet.json +2 -2
  30. package/artifacts/RandomBeaconGovernance.json +2 -2
  31. package/artifacts/Redemption.json +2 -2
  32. package/artifacts/ReimbursementPool.json +2 -2
  33. package/artifacts/T.json +2 -2
  34. package/artifacts/TBTC.json +3 -3
  35. package/artifacts/TBTCToken.json +3 -3
  36. package/artifacts/TBTCVault.json +23 -23
  37. package/artifacts/TokenStaking.json +1 -1
  38. package/artifacts/TokenholderGovernor.json +9 -9
  39. package/artifacts/TokenholderTimelock.json +8 -8
  40. package/artifacts/VendingMachine.json +3 -3
  41. package/artifacts/VendingMachineKeep.json +1 -1
  42. package/artifacts/VendingMachineNuCypher.json +1 -1
  43. package/artifacts/VendingMachineV2.json +3 -3
  44. package/artifacts/VendingMachineV3.json +3 -3
  45. package/artifacts/WalletProposalValidator.json +389 -0
  46. package/artifacts/WalletRegistry.json +5 -5
  47. package/artifacts/WalletRegistryGovernance.json +2 -2
  48. package/artifacts/Wallets.json +2 -2
  49. package/artifacts/solcInputs/{d2d7e276da75d7184610fe11a4a103b7.json → d46fa1d8846c35adf326ab51a3910266.json} +2 -2
  50. package/build/contracts/GovernanceUtils.sol/GovernanceUtils.dbg.json +1 -1
  51. package/build/contracts/bank/Bank.sol/Bank.dbg.json +1 -1
  52. package/build/contracts/bank/IReceiveBalanceApproval.sol/IReceiveBalanceApproval.dbg.json +1 -1
  53. package/build/contracts/bridge/BitcoinTx.sol/BitcoinTx.dbg.json +1 -1
  54. package/build/contracts/bridge/Bridge.sol/Bridge.dbg.json +1 -1
  55. package/build/contracts/bridge/BridgeGovernanceParameters.sol/BridgeGovernanceParameters.dbg.json +1 -1
  56. package/build/contracts/bridge/BridgeState.sol/BridgeState.dbg.json +1 -1
  57. package/build/contracts/bridge/Deposit.sol/Deposit.dbg.json +1 -1
  58. package/build/contracts/bridge/DepositSweep.sol/DepositSweep.dbg.json +1 -1
  59. package/build/contracts/bridge/EcdsaLib.sol/EcdsaLib.dbg.json +1 -1
  60. package/build/contracts/bridge/Fraud.sol/Fraud.dbg.json +1 -1
  61. package/build/contracts/bridge/Heartbeat.sol/Heartbeat.dbg.json +1 -1
  62. package/build/contracts/bridge/IRelay.sol/IRelay.dbg.json +1 -1
  63. package/build/contracts/bridge/MovingFunds.sol/MovingFunds.dbg.json +1 -1
  64. package/build/contracts/bridge/Redemption.sol/OutboundTx.dbg.json +1 -1
  65. package/build/contracts/bridge/Redemption.sol/Redemption.dbg.json +1 -1
  66. package/build/contracts/bridge/VendingMachine.sol/VendingMachine.dbg.json +1 -1
  67. package/build/contracts/bridge/VendingMachineV2.sol/VendingMachineV2.dbg.json +1 -1
  68. package/build/contracts/bridge/VendingMachineV3.sol/VendingMachineV3.dbg.json +1 -1
  69. package/build/contracts/bridge/WalletProposalValidator.sol/WalletProposalValidator.dbg.json +4 -0
  70. package/build/contracts/bridge/WalletProposalValidator.sol/WalletProposalValidator.json +287 -0
  71. package/build/contracts/bridge/Wallets.sol/Wallets.dbg.json +1 -1
  72. package/build/contracts/l2/L2TBTC.sol/L2TBTC.dbg.json +1 -1
  73. package/build/contracts/l2/L2WormholeGateway.sol/IWormholeTokenBridge.dbg.json +1 -1
  74. package/build/contracts/l2/L2WormholeGateway.sol/L2WormholeGateway.dbg.json +1 -1
  75. package/build/contracts/maintainer/MaintainerProxy.sol/MaintainerProxy.dbg.json +1 -1
  76. package/build/contracts/relay/LightRelay.sol/ILightRelay.dbg.json +1 -1
  77. package/build/contracts/relay/LightRelay.sol/LightRelay.dbg.json +1 -1
  78. package/build/contracts/relay/LightRelay.sol/RelayUtils.dbg.json +1 -1
  79. package/build/contracts/relay/LightRelayMaintainerProxy.sol/LightRelayMaintainerProxy.dbg.json +1 -1
  80. package/build/contracts/token/TBTC.sol/TBTC.dbg.json +1 -1
  81. package/build/contracts/vault/DonationVault.sol/DonationVault.dbg.json +1 -1
  82. package/build/contracts/vault/IVault.sol/IVault.dbg.json +1 -1
  83. package/build/contracts/vault/TBTCOptimisticMinting.sol/TBTCOptimisticMinting.dbg.json +1 -1
  84. package/build/contracts/vault/TBTCVault.sol/TBTCVault.dbg.json +1 -1
  85. package/contracts/bridge/{WalletCoordinator.sol → WalletProposalValidator.sol} +55 -448
  86. package/deploy/39_deploy_wallet_proposal_validator.ts +33 -0
  87. package/export/artifacts/contracts/bridge/Bridge.sol/Bridge.json +22 -22
  88. package/export/artifacts/contracts/bridge/VendingMachine.sol/VendingMachine.json +6 -6
  89. package/export/artifacts/contracts/bridge/VendingMachineV2.sol/VendingMachineV2.json +6 -6
  90. package/export/artifacts/contracts/bridge/VendingMachineV3.sol/VendingMachineV3.json +6 -6
  91. package/export/artifacts/contracts/bridge/WalletProposalValidator.sol/WalletProposalValidator.json +22598 -0
  92. package/export/artifacts/contracts/l2/L2TBTC.sol/L2TBTC.json +40 -40
  93. package/export/artifacts/contracts/l2/L2WormholeGateway.sol/L2WormholeGateway.json +47 -47
  94. package/export/artifacts/contracts/maintainer/MaintainerProxy.sol/MaintainerProxy.json +88 -88
  95. package/export/artifacts/contracts/relay/LightRelay.sol/LightRelay.json +57 -57
  96. package/export/artifacts/contracts/relay/LightRelayMaintainerProxy.sol/LightRelayMaintainerProxy.json +31 -31
  97. package/export/artifacts/contracts/test/BankStub.sol/BankStub.json +2 -2
  98. package/export/artifacts/contracts/test/BridgeStub.sol/BridgeStub.json +58 -58
  99. package/export/artifacts/contracts/test/GoerliLightRelay.sol/GoerliLightRelay.json +59 -59
  100. package/export/artifacts/contracts/test/HeartbeatStub.sol/HeartbeatStub.json +2 -2
  101. package/export/artifacts/contracts/test/LightRelayStub.sol/LightRelayStub.json +59 -59
  102. package/export/artifacts/contracts/test/ReceiveApprovalStub.sol/ReceiveApprovalStub.json +7 -7
  103. package/export/artifacts/contracts/test/SepoliaLightRelay.sol/SepoliaLightRelay.json +59 -59
  104. package/export/artifacts/contracts/test/SystemTestRelay.sol/SystemTestRelay.json +14 -14
  105. package/export/artifacts/contracts/test/TestERC20.sol/TestERC20.json +6 -6
  106. package/export/artifacts/contracts/test/TestERC721.sol/TestERC721.json +8 -8
  107. package/export/artifacts/contracts/test/TestEcdsaLib.sol/TestEcdsaLib.json +2 -2
  108. package/export/artifacts/contracts/test/WormholeBridgeStub.sol/WormholeBridgeStub.json +37 -37
  109. package/export/artifacts/contracts/token/TBTC.sol/TBTC.json +2 -2
  110. package/export/artifacts/contracts/vault/DonationVault.sol/DonationVault.json +11 -11
  111. package/export/artifacts/contracts/vault/TBTCVault.sol/TBTCVault.json +135 -135
  112. package/export/deploy/39_deploy_wallet_proposal_validator.js +82 -0
  113. package/export/hardhat.config.js +0 -6
  114. package/export/typechain/factories/WalletProposalValidator__factory.js +366 -0
  115. package/export/typechain/index.js +3 -3
  116. package/package.json +1 -1
  117. package/artifacts/WalletCoordinator.json +0 -1107
  118. package/build/contracts/bridge/WalletCoordinator.sol/WalletCoordinator.dbg.json +0 -4
  119. package/build/contracts/bridge/WalletCoordinator.sol/WalletCoordinator.json +0 -1042
  120. package/deploy/34_deploy_wallet_coordinator.ts +0 -43
  121. package/deploy/35_add_coordinator_address.ts +0 -20
  122. package/deploy/36_transfer_wallet_coordinator_ownership.ts +0 -19
  123. package/deploy/81_upgrade_wallet_coordinator_v2.ts +0 -99
  124. package/export/artifacts/contracts/bridge/WalletCoordinator.sol/WalletCoordinator.json +0 -33310
  125. package/export/deploy/34_deploy_wallet_coordinator.js +0 -115
  126. package/export/deploy/35_add_coordinator_address.js +0 -60
  127. package/export/deploy/36_transfer_wallet_coordinator_ownership.js +0 -60
  128. package/export/deploy/81_upgrade_wallet_coordinator_v2.js +0 -140
  129. package/export/typechain/factories/WalletCoordinator__factory.js +0 -1121
  130. /package/deploy/{37_deploy_light_relay_maintainer_proxy.ts → 34_deploy_light_relay_maintainer_proxy.ts} +0 -0
  131. /package/deploy/{38_authorize_maintainer_in_light_relay_maintainer_proxy.ts → 35_authorize_maintainer_in_light_relay_maintainer_proxy.ts} +0 -0
  132. /package/deploy/{39_transfer_light_relay_maintainer_proxy_ownership.ts → 36_transfer_light_relay_maintainer_proxy_ownership.ts} +0 -0
  133. /package/deploy/{40_authorize_light_relay_maintainer_proxy_in_reimbursement_pool.ts → 37_authorize_light_relay_maintainer_proxy_in_reimbursement_pool.ts} +0 -0
  134. /package/deploy/{41_authorize_light_relay_maintainer_proxy_in_light_relay.ts → 38_authorize_light_relay_maintainer_proxy_in_light_relay.ts} +0 -0
  135. /package/export/deploy/{37_deploy_light_relay_maintainer_proxy.js → 34_deploy_light_relay_maintainer_proxy.js} +0 -0
  136. /package/export/deploy/{38_authorize_maintainer_in_light_relay_maintainer_proxy.js → 35_authorize_maintainer_in_light_relay_maintainer_proxy.js} +0 -0
  137. /package/export/deploy/{39_transfer_light_relay_maintainer_proxy_ownership.js → 36_transfer_light_relay_maintainer_proxy_ownership.js} +0 -0
  138. /package/export/deploy/{40_authorize_light_relay_maintainer_proxy_in_reimbursement_pool.js → 37_authorize_light_relay_maintainer_proxy_in_reimbursement_pool.js} +0 -0
  139. /package/export/deploy/{41_authorize_light_relay_maintainer_proxy_in_light_relay.js → 38_authorize_light_relay_maintainer_proxy_in_light_relay.js} +0 -0
  140. /package/export/typechain/{WalletCoordinator.js → WalletProposalValidator.js} +0 -0
@@ -1,1107 +0,0 @@
1
- {
2
- "address": "0x34E59e53Bd4f1A60ca8b6c21572509027571341d",
3
- "abi": [
4
- {
5
- "anonymous": false,
6
- "inputs": [
7
- {
8
- "indexed": true,
9
- "internalType": "address",
10
- "name": "coordinator",
11
- "type": "address"
12
- }
13
- ],
14
- "name": "CoordinatorAdded",
15
- "type": "event"
16
- },
17
- {
18
- "anonymous": false,
19
- "inputs": [
20
- {
21
- "indexed": true,
22
- "internalType": "address",
23
- "name": "coordinator",
24
- "type": "address"
25
- }
26
- ],
27
- "name": "CoordinatorRemoved",
28
- "type": "event"
29
- },
30
- {
31
- "anonymous": false,
32
- "inputs": [
33
- {
34
- "indexed": false,
35
- "internalType": "uint32",
36
- "name": "depositSweepProposalValidity",
37
- "type": "uint32"
38
- },
39
- {
40
- "indexed": false,
41
- "internalType": "uint32",
42
- "name": "depositMinAge",
43
- "type": "uint32"
44
- },
45
- {
46
- "indexed": false,
47
- "internalType": "uint32",
48
- "name": "depositRefundSafetyMargin",
49
- "type": "uint32"
50
- },
51
- {
52
- "indexed": false,
53
- "internalType": "uint16",
54
- "name": "depositSweepMaxSize",
55
- "type": "uint16"
56
- },
57
- {
58
- "indexed": false,
59
- "internalType": "uint32",
60
- "name": "depositSweepProposalSubmissionGasOffset",
61
- "type": "uint32"
62
- }
63
- ],
64
- "name": "DepositSweepProposalParametersUpdated",
65
- "type": "event"
66
- },
67
- {
68
- "anonymous": false,
69
- "inputs": [
70
- {
71
- "components": [
72
- {
73
- "internalType": "bytes20",
74
- "name": "walletPubKeyHash",
75
- "type": "bytes20"
76
- },
77
- {
78
- "components": [
79
- {
80
- "internalType": "bytes32",
81
- "name": "fundingTxHash",
82
- "type": "bytes32"
83
- },
84
- {
85
- "internalType": "uint32",
86
- "name": "fundingOutputIndex",
87
- "type": "uint32"
88
- }
89
- ],
90
- "internalType": "struct WalletCoordinator.DepositKey[]",
91
- "name": "depositsKeys",
92
- "type": "tuple[]"
93
- },
94
- {
95
- "internalType": "uint256",
96
- "name": "sweepTxFee",
97
- "type": "uint256"
98
- },
99
- {
100
- "internalType": "uint256[]",
101
- "name": "depositsRevealBlocks",
102
- "type": "uint256[]"
103
- }
104
- ],
105
- "indexed": false,
106
- "internalType": "struct WalletCoordinator.DepositSweepProposal",
107
- "name": "proposal",
108
- "type": "tuple"
109
- },
110
- {
111
- "indexed": true,
112
- "internalType": "address",
113
- "name": "coordinator",
114
- "type": "address"
115
- }
116
- ],
117
- "name": "DepositSweepProposalSubmitted",
118
- "type": "event"
119
- },
120
- {
121
- "anonymous": false,
122
- "inputs": [
123
- {
124
- "indexed": false,
125
- "internalType": "uint32",
126
- "name": "heartbeatRequestValidity",
127
- "type": "uint32"
128
- },
129
- {
130
- "indexed": false,
131
- "internalType": "uint32",
132
- "name": "heartbeatRequestGasOffset",
133
- "type": "uint32"
134
- }
135
- ],
136
- "name": "HeartbeatRequestParametersUpdated",
137
- "type": "event"
138
- },
139
- {
140
- "anonymous": false,
141
- "inputs": [
142
- {
143
- "indexed": false,
144
- "internalType": "bytes20",
145
- "name": "walletPubKeyHash",
146
- "type": "bytes20"
147
- },
148
- {
149
- "indexed": false,
150
- "internalType": "bytes",
151
- "name": "message",
152
- "type": "bytes"
153
- },
154
- {
155
- "indexed": true,
156
- "internalType": "address",
157
- "name": "coordinator",
158
- "type": "address"
159
- }
160
- ],
161
- "name": "HeartbeatRequestSubmitted",
162
- "type": "event"
163
- },
164
- {
165
- "anonymous": false,
166
- "inputs": [
167
- {
168
- "indexed": false,
169
- "internalType": "uint8",
170
- "name": "version",
171
- "type": "uint8"
172
- }
173
- ],
174
- "name": "Initialized",
175
- "type": "event"
176
- },
177
- {
178
- "anonymous": false,
179
- "inputs": [
180
- {
181
- "indexed": true,
182
- "internalType": "address",
183
- "name": "previousOwner",
184
- "type": "address"
185
- },
186
- {
187
- "indexed": true,
188
- "internalType": "address",
189
- "name": "newOwner",
190
- "type": "address"
191
- }
192
- ],
193
- "name": "OwnershipTransferred",
194
- "type": "event"
195
- },
196
- {
197
- "anonymous": false,
198
- "inputs": [
199
- {
200
- "indexed": false,
201
- "internalType": "uint32",
202
- "name": "redemptionProposalValidity",
203
- "type": "uint32"
204
- },
205
- {
206
- "indexed": false,
207
- "internalType": "uint32",
208
- "name": "redemptionRequestMinAge",
209
- "type": "uint32"
210
- },
211
- {
212
- "indexed": false,
213
- "internalType": "uint32",
214
- "name": "redemptionRequestTimeoutSafetyMargin",
215
- "type": "uint32"
216
- },
217
- {
218
- "indexed": false,
219
- "internalType": "uint16",
220
- "name": "redemptionMaxSize",
221
- "type": "uint16"
222
- },
223
- {
224
- "indexed": false,
225
- "internalType": "uint32",
226
- "name": "redemptionProposalSubmissionGasOffset",
227
- "type": "uint32"
228
- }
229
- ],
230
- "name": "RedemptionProposalParametersUpdated",
231
- "type": "event"
232
- },
233
- {
234
- "anonymous": false,
235
- "inputs": [
236
- {
237
- "components": [
238
- {
239
- "internalType": "bytes20",
240
- "name": "walletPubKeyHash",
241
- "type": "bytes20"
242
- },
243
- {
244
- "internalType": "bytes[]",
245
- "name": "redeemersOutputScripts",
246
- "type": "bytes[]"
247
- },
248
- {
249
- "internalType": "uint256",
250
- "name": "redemptionTxFee",
251
- "type": "uint256"
252
- }
253
- ],
254
- "indexed": false,
255
- "internalType": "struct WalletCoordinator.RedemptionProposal",
256
- "name": "proposal",
257
- "type": "tuple"
258
- },
259
- {
260
- "indexed": true,
261
- "internalType": "address",
262
- "name": "coordinator",
263
- "type": "address"
264
- }
265
- ],
266
- "name": "RedemptionProposalSubmitted",
267
- "type": "event"
268
- },
269
- {
270
- "anonymous": false,
271
- "inputs": [
272
- {
273
- "indexed": false,
274
- "internalType": "address",
275
- "name": "newReimbursementPool",
276
- "type": "address"
277
- }
278
- ],
279
- "name": "ReimbursementPoolUpdated",
280
- "type": "event"
281
- },
282
- {
283
- "anonymous": false,
284
- "inputs": [
285
- {
286
- "indexed": true,
287
- "internalType": "bytes20",
288
- "name": "walletPubKeyHash",
289
- "type": "bytes20"
290
- }
291
- ],
292
- "name": "WalletManuallyUnlocked",
293
- "type": "event"
294
- },
295
- {
296
- "inputs": [
297
- {
298
- "internalType": "address",
299
- "name": "coordinator",
300
- "type": "address"
301
- }
302
- ],
303
- "name": "addCoordinator",
304
- "outputs": [],
305
- "stateMutability": "nonpayable",
306
- "type": "function"
307
- },
308
- {
309
- "inputs": [],
310
- "name": "bridge",
311
- "outputs": [
312
- {
313
- "internalType": "contract Bridge",
314
- "name": "",
315
- "type": "address"
316
- }
317
- ],
318
- "stateMutability": "view",
319
- "type": "function"
320
- },
321
- {
322
- "inputs": [],
323
- "name": "depositMinAge",
324
- "outputs": [
325
- {
326
- "internalType": "uint32",
327
- "name": "",
328
- "type": "uint32"
329
- }
330
- ],
331
- "stateMutability": "view",
332
- "type": "function"
333
- },
334
- {
335
- "inputs": [],
336
- "name": "depositRefundSafetyMargin",
337
- "outputs": [
338
- {
339
- "internalType": "uint32",
340
- "name": "",
341
- "type": "uint32"
342
- }
343
- ],
344
- "stateMutability": "view",
345
- "type": "function"
346
- },
347
- {
348
- "inputs": [],
349
- "name": "depositSweepMaxSize",
350
- "outputs": [
351
- {
352
- "internalType": "uint16",
353
- "name": "",
354
- "type": "uint16"
355
- }
356
- ],
357
- "stateMutability": "view",
358
- "type": "function"
359
- },
360
- {
361
- "inputs": [],
362
- "name": "depositSweepProposalSubmissionGasOffset",
363
- "outputs": [
364
- {
365
- "internalType": "uint32",
366
- "name": "",
367
- "type": "uint32"
368
- }
369
- ],
370
- "stateMutability": "view",
371
- "type": "function"
372
- },
373
- {
374
- "inputs": [],
375
- "name": "depositSweepProposalValidity",
376
- "outputs": [
377
- {
378
- "internalType": "uint32",
379
- "name": "",
380
- "type": "uint32"
381
- }
382
- ],
383
- "stateMutability": "view",
384
- "type": "function"
385
- },
386
- {
387
- "inputs": [],
388
- "name": "heartbeatRequestGasOffset",
389
- "outputs": [
390
- {
391
- "internalType": "uint32",
392
- "name": "",
393
- "type": "uint32"
394
- }
395
- ],
396
- "stateMutability": "view",
397
- "type": "function"
398
- },
399
- {
400
- "inputs": [],
401
- "name": "heartbeatRequestValidity",
402
- "outputs": [
403
- {
404
- "internalType": "uint32",
405
- "name": "",
406
- "type": "uint32"
407
- }
408
- ],
409
- "stateMutability": "view",
410
- "type": "function"
411
- },
412
- {
413
- "inputs": [
414
- {
415
- "internalType": "contract Bridge",
416
- "name": "_bridge",
417
- "type": "address"
418
- }
419
- ],
420
- "name": "initialize",
421
- "outputs": [],
422
- "stateMutability": "nonpayable",
423
- "type": "function"
424
- },
425
- {
426
- "inputs": [
427
- {
428
- "internalType": "address",
429
- "name": "",
430
- "type": "address"
431
- }
432
- ],
433
- "name": "isCoordinator",
434
- "outputs": [
435
- {
436
- "internalType": "bool",
437
- "name": "",
438
- "type": "bool"
439
- }
440
- ],
441
- "stateMutability": "view",
442
- "type": "function"
443
- },
444
- {
445
- "inputs": [],
446
- "name": "owner",
447
- "outputs": [
448
- {
449
- "internalType": "address",
450
- "name": "",
451
- "type": "address"
452
- }
453
- ],
454
- "stateMutability": "view",
455
- "type": "function"
456
- },
457
- {
458
- "inputs": [],
459
- "name": "redemptionMaxSize",
460
- "outputs": [
461
- {
462
- "internalType": "uint16",
463
- "name": "",
464
- "type": "uint16"
465
- }
466
- ],
467
- "stateMutability": "view",
468
- "type": "function"
469
- },
470
- {
471
- "inputs": [],
472
- "name": "redemptionProposalSubmissionGasOffset",
473
- "outputs": [
474
- {
475
- "internalType": "uint32",
476
- "name": "",
477
- "type": "uint32"
478
- }
479
- ],
480
- "stateMutability": "view",
481
- "type": "function"
482
- },
483
- {
484
- "inputs": [],
485
- "name": "redemptionProposalValidity",
486
- "outputs": [
487
- {
488
- "internalType": "uint32",
489
- "name": "",
490
- "type": "uint32"
491
- }
492
- ],
493
- "stateMutability": "view",
494
- "type": "function"
495
- },
496
- {
497
- "inputs": [],
498
- "name": "redemptionRequestMinAge",
499
- "outputs": [
500
- {
501
- "internalType": "uint32",
502
- "name": "",
503
- "type": "uint32"
504
- }
505
- ],
506
- "stateMutability": "view",
507
- "type": "function"
508
- },
509
- {
510
- "inputs": [],
511
- "name": "redemptionRequestTimeoutSafetyMargin",
512
- "outputs": [
513
- {
514
- "internalType": "uint32",
515
- "name": "",
516
- "type": "uint32"
517
- }
518
- ],
519
- "stateMutability": "view",
520
- "type": "function"
521
- },
522
- {
523
- "inputs": [],
524
- "name": "reimbursementPool",
525
- "outputs": [
526
- {
527
- "internalType": "contract ReimbursementPool",
528
- "name": "",
529
- "type": "address"
530
- }
531
- ],
532
- "stateMutability": "view",
533
- "type": "function"
534
- },
535
- {
536
- "inputs": [
537
- {
538
- "internalType": "address",
539
- "name": "coordinator",
540
- "type": "address"
541
- }
542
- ],
543
- "name": "removeCoordinator",
544
- "outputs": [],
545
- "stateMutability": "nonpayable",
546
- "type": "function"
547
- },
548
- {
549
- "inputs": [],
550
- "name": "renounceOwnership",
551
- "outputs": [],
552
- "stateMutability": "nonpayable",
553
- "type": "function"
554
- },
555
- {
556
- "inputs": [
557
- {
558
- "internalType": "bytes20",
559
- "name": "walletPubKeyHash",
560
- "type": "bytes20"
561
- },
562
- {
563
- "internalType": "bytes",
564
- "name": "message",
565
- "type": "bytes"
566
- }
567
- ],
568
- "name": "requestHeartbeat",
569
- "outputs": [],
570
- "stateMutability": "nonpayable",
571
- "type": "function"
572
- },
573
- {
574
- "inputs": [
575
- {
576
- "internalType": "bytes20",
577
- "name": "walletPubKeyHash",
578
- "type": "bytes20"
579
- },
580
- {
581
- "internalType": "bytes",
582
- "name": "message",
583
- "type": "bytes"
584
- }
585
- ],
586
- "name": "requestHeartbeatWithReimbursement",
587
- "outputs": [],
588
- "stateMutability": "nonpayable",
589
- "type": "function"
590
- },
591
- {
592
- "inputs": [
593
- {
594
- "components": [
595
- {
596
- "internalType": "bytes20",
597
- "name": "walletPubKeyHash",
598
- "type": "bytes20"
599
- },
600
- {
601
- "components": [
602
- {
603
- "internalType": "bytes32",
604
- "name": "fundingTxHash",
605
- "type": "bytes32"
606
- },
607
- {
608
- "internalType": "uint32",
609
- "name": "fundingOutputIndex",
610
- "type": "uint32"
611
- }
612
- ],
613
- "internalType": "struct WalletCoordinator.DepositKey[]",
614
- "name": "depositsKeys",
615
- "type": "tuple[]"
616
- },
617
- {
618
- "internalType": "uint256",
619
- "name": "sweepTxFee",
620
- "type": "uint256"
621
- },
622
- {
623
- "internalType": "uint256[]",
624
- "name": "depositsRevealBlocks",
625
- "type": "uint256[]"
626
- }
627
- ],
628
- "internalType": "struct WalletCoordinator.DepositSweepProposal",
629
- "name": "proposal",
630
- "type": "tuple"
631
- }
632
- ],
633
- "name": "submitDepositSweepProposal",
634
- "outputs": [],
635
- "stateMutability": "nonpayable",
636
- "type": "function"
637
- },
638
- {
639
- "inputs": [
640
- {
641
- "components": [
642
- {
643
- "internalType": "bytes20",
644
- "name": "walletPubKeyHash",
645
- "type": "bytes20"
646
- },
647
- {
648
- "components": [
649
- {
650
- "internalType": "bytes32",
651
- "name": "fundingTxHash",
652
- "type": "bytes32"
653
- },
654
- {
655
- "internalType": "uint32",
656
- "name": "fundingOutputIndex",
657
- "type": "uint32"
658
- }
659
- ],
660
- "internalType": "struct WalletCoordinator.DepositKey[]",
661
- "name": "depositsKeys",
662
- "type": "tuple[]"
663
- },
664
- {
665
- "internalType": "uint256",
666
- "name": "sweepTxFee",
667
- "type": "uint256"
668
- },
669
- {
670
- "internalType": "uint256[]",
671
- "name": "depositsRevealBlocks",
672
- "type": "uint256[]"
673
- }
674
- ],
675
- "internalType": "struct WalletCoordinator.DepositSweepProposal",
676
- "name": "proposal",
677
- "type": "tuple"
678
- }
679
- ],
680
- "name": "submitDepositSweepProposalWithReimbursement",
681
- "outputs": [],
682
- "stateMutability": "nonpayable",
683
- "type": "function"
684
- },
685
- {
686
- "inputs": [
687
- {
688
- "components": [
689
- {
690
- "internalType": "bytes20",
691
- "name": "walletPubKeyHash",
692
- "type": "bytes20"
693
- },
694
- {
695
- "internalType": "bytes[]",
696
- "name": "redeemersOutputScripts",
697
- "type": "bytes[]"
698
- },
699
- {
700
- "internalType": "uint256",
701
- "name": "redemptionTxFee",
702
- "type": "uint256"
703
- }
704
- ],
705
- "internalType": "struct WalletCoordinator.RedemptionProposal",
706
- "name": "proposal",
707
- "type": "tuple"
708
- }
709
- ],
710
- "name": "submitRedemptionProposal",
711
- "outputs": [],
712
- "stateMutability": "nonpayable",
713
- "type": "function"
714
- },
715
- {
716
- "inputs": [
717
- {
718
- "components": [
719
- {
720
- "internalType": "bytes20",
721
- "name": "walletPubKeyHash",
722
- "type": "bytes20"
723
- },
724
- {
725
- "internalType": "bytes[]",
726
- "name": "redeemersOutputScripts",
727
- "type": "bytes[]"
728
- },
729
- {
730
- "internalType": "uint256",
731
- "name": "redemptionTxFee",
732
- "type": "uint256"
733
- }
734
- ],
735
- "internalType": "struct WalletCoordinator.RedemptionProposal",
736
- "name": "proposal",
737
- "type": "tuple"
738
- }
739
- ],
740
- "name": "submitRedemptionProposalWithReimbursement",
741
- "outputs": [],
742
- "stateMutability": "nonpayable",
743
- "type": "function"
744
- },
745
- {
746
- "inputs": [
747
- {
748
- "internalType": "address",
749
- "name": "newOwner",
750
- "type": "address"
751
- }
752
- ],
753
- "name": "transferOwnership",
754
- "outputs": [],
755
- "stateMutability": "nonpayable",
756
- "type": "function"
757
- },
758
- {
759
- "inputs": [
760
- {
761
- "internalType": "bytes20",
762
- "name": "walletPubKeyHash",
763
- "type": "bytes20"
764
- }
765
- ],
766
- "name": "unlockWallet",
767
- "outputs": [],
768
- "stateMutability": "nonpayable",
769
- "type": "function"
770
- },
771
- {
772
- "inputs": [
773
- {
774
- "internalType": "uint32",
775
- "name": "_depositSweepProposalValidity",
776
- "type": "uint32"
777
- },
778
- {
779
- "internalType": "uint32",
780
- "name": "_depositMinAge",
781
- "type": "uint32"
782
- },
783
- {
784
- "internalType": "uint32",
785
- "name": "_depositRefundSafetyMargin",
786
- "type": "uint32"
787
- },
788
- {
789
- "internalType": "uint16",
790
- "name": "_depositSweepMaxSize",
791
- "type": "uint16"
792
- },
793
- {
794
- "internalType": "uint32",
795
- "name": "_depositSweepProposalSubmissionGasOffset",
796
- "type": "uint32"
797
- }
798
- ],
799
- "name": "updateDepositSweepProposalParameters",
800
- "outputs": [],
801
- "stateMutability": "nonpayable",
802
- "type": "function"
803
- },
804
- {
805
- "inputs": [
806
- {
807
- "internalType": "uint32",
808
- "name": "_heartbeatRequestValidity",
809
- "type": "uint32"
810
- },
811
- {
812
- "internalType": "uint32",
813
- "name": "_heartbeatRequestGasOffset",
814
- "type": "uint32"
815
- }
816
- ],
817
- "name": "updateHeartbeatRequestParameters",
818
- "outputs": [],
819
- "stateMutability": "nonpayable",
820
- "type": "function"
821
- },
822
- {
823
- "inputs": [
824
- {
825
- "internalType": "uint32",
826
- "name": "_redemptionProposalValidity",
827
- "type": "uint32"
828
- },
829
- {
830
- "internalType": "uint32",
831
- "name": "_redemptionRequestMinAge",
832
- "type": "uint32"
833
- },
834
- {
835
- "internalType": "uint32",
836
- "name": "_redemptionRequestTimeoutSafetyMargin",
837
- "type": "uint32"
838
- },
839
- {
840
- "internalType": "uint16",
841
- "name": "_redemptionMaxSize",
842
- "type": "uint16"
843
- },
844
- {
845
- "internalType": "uint32",
846
- "name": "_redemptionProposalSubmissionGasOffset",
847
- "type": "uint32"
848
- }
849
- ],
850
- "name": "updateRedemptionProposalParameters",
851
- "outputs": [],
852
- "stateMutability": "nonpayable",
853
- "type": "function"
854
- },
855
- {
856
- "inputs": [
857
- {
858
- "internalType": "contract ReimbursementPool",
859
- "name": "_reimbursementPool",
860
- "type": "address"
861
- }
862
- ],
863
- "name": "updateReimbursementPool",
864
- "outputs": [],
865
- "stateMutability": "nonpayable",
866
- "type": "function"
867
- },
868
- {
869
- "inputs": [
870
- {
871
- "components": [
872
- {
873
- "internalType": "bytes20",
874
- "name": "walletPubKeyHash",
875
- "type": "bytes20"
876
- },
877
- {
878
- "components": [
879
- {
880
- "internalType": "bytes32",
881
- "name": "fundingTxHash",
882
- "type": "bytes32"
883
- },
884
- {
885
- "internalType": "uint32",
886
- "name": "fundingOutputIndex",
887
- "type": "uint32"
888
- }
889
- ],
890
- "internalType": "struct WalletCoordinator.DepositKey[]",
891
- "name": "depositsKeys",
892
- "type": "tuple[]"
893
- },
894
- {
895
- "internalType": "uint256",
896
- "name": "sweepTxFee",
897
- "type": "uint256"
898
- },
899
- {
900
- "internalType": "uint256[]",
901
- "name": "depositsRevealBlocks",
902
- "type": "uint256[]"
903
- }
904
- ],
905
- "internalType": "struct WalletCoordinator.DepositSweepProposal",
906
- "name": "proposal",
907
- "type": "tuple"
908
- },
909
- {
910
- "components": [
911
- {
912
- "components": [
913
- {
914
- "internalType": "bytes4",
915
- "name": "version",
916
- "type": "bytes4"
917
- },
918
- {
919
- "internalType": "bytes",
920
- "name": "inputVector",
921
- "type": "bytes"
922
- },
923
- {
924
- "internalType": "bytes",
925
- "name": "outputVector",
926
- "type": "bytes"
927
- },
928
- {
929
- "internalType": "bytes4",
930
- "name": "locktime",
931
- "type": "bytes4"
932
- }
933
- ],
934
- "internalType": "struct BitcoinTx.Info",
935
- "name": "fundingTx",
936
- "type": "tuple"
937
- },
938
- {
939
- "internalType": "bytes8",
940
- "name": "blindingFactor",
941
- "type": "bytes8"
942
- },
943
- {
944
- "internalType": "bytes20",
945
- "name": "walletPubKeyHash",
946
- "type": "bytes20"
947
- },
948
- {
949
- "internalType": "bytes20",
950
- "name": "refundPubKeyHash",
951
- "type": "bytes20"
952
- },
953
- {
954
- "internalType": "bytes4",
955
- "name": "refundLocktime",
956
- "type": "bytes4"
957
- }
958
- ],
959
- "internalType": "struct WalletCoordinator.DepositExtraInfo[]",
960
- "name": "depositsExtraInfo",
961
- "type": "tuple[]"
962
- }
963
- ],
964
- "name": "validateDepositSweepProposal",
965
- "outputs": [
966
- {
967
- "internalType": "bool",
968
- "name": "",
969
- "type": "bool"
970
- }
971
- ],
972
- "stateMutability": "view",
973
- "type": "function"
974
- },
975
- {
976
- "inputs": [
977
- {
978
- "components": [
979
- {
980
- "internalType": "bytes20",
981
- "name": "walletPubKeyHash",
982
- "type": "bytes20"
983
- },
984
- {
985
- "internalType": "bytes[]",
986
- "name": "redeemersOutputScripts",
987
- "type": "bytes[]"
988
- },
989
- {
990
- "internalType": "uint256",
991
- "name": "redemptionTxFee",
992
- "type": "uint256"
993
- }
994
- ],
995
- "internalType": "struct WalletCoordinator.RedemptionProposal",
996
- "name": "proposal",
997
- "type": "tuple"
998
- }
999
- ],
1000
- "name": "validateRedemptionProposal",
1001
- "outputs": [
1002
- {
1003
- "internalType": "bool",
1004
- "name": "",
1005
- "type": "bool"
1006
- }
1007
- ],
1008
- "stateMutability": "view",
1009
- "type": "function"
1010
- },
1011
- {
1012
- "inputs": [
1013
- {
1014
- "internalType": "bytes20",
1015
- "name": "",
1016
- "type": "bytes20"
1017
- }
1018
- ],
1019
- "name": "walletLock",
1020
- "outputs": [
1021
- {
1022
- "internalType": "uint32",
1023
- "name": "expiresAt",
1024
- "type": "uint32"
1025
- },
1026
- {
1027
- "internalType": "enum WalletCoordinator.WalletAction",
1028
- "name": "cause",
1029
- "type": "uint8"
1030
- }
1031
- ],
1032
- "stateMutability": "view",
1033
- "type": "function"
1034
- }
1035
- ],
1036
- "transactionHash": "0x5b7eb754a532dfb73c56919d896c14accfa3fa335930b597e0311bc72c20133d",
1037
- "receipt": {
1038
- "to": null,
1039
- "from": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
1040
- "contractAddress": "0x34E59e53Bd4f1A60ca8b6c21572509027571341d",
1041
- "transactionIndex": 0,
1042
- "gasUsed": "723325",
1043
- "logsBloom": "0x00000000000000000002000000000000400000000000000000800000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000002000001000000000000000000000000000000000800020000000000000000000800000000800000000000000000000000400000000000000000400000000000080000000000000080000000000000800000000000000000008000000000000400000000000000000000000000000000000000000020000000000000000000040000000000000400000000000000000030000000000000400000000000000000000001000000000000000000000000000000",
1044
- "blockHash": "0x87af5b8054402fb011874f7857ead8e93627ce5a83871db2af721de324a01fdb",
1045
- "transactionHash": "0x5b7eb754a532dfb73c56919d896c14accfa3fa335930b597e0311bc72c20133d",
1046
- "logs": [
1047
- {
1048
- "transactionIndex": 0,
1049
- "blockNumber": 81,
1050
- "transactionHash": "0x5b7eb754a532dfb73c56919d896c14accfa3fa335930b597e0311bc72c20133d",
1051
- "address": "0x34E59e53Bd4f1A60ca8b6c21572509027571341d",
1052
- "topics": [
1053
- "0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b",
1054
- "0x000000000000000000000000ee54514745b056f07040cacf801f59031d801431"
1055
- ],
1056
- "data": "0x",
1057
- "logIndex": 0,
1058
- "blockHash": "0x87af5b8054402fb011874f7857ead8e93627ce5a83871db2af721de324a01fdb"
1059
- },
1060
- {
1061
- "transactionIndex": 0,
1062
- "blockNumber": 81,
1063
- "transactionHash": "0x5b7eb754a532dfb73c56919d896c14accfa3fa335930b597e0311bc72c20133d",
1064
- "address": "0x34E59e53Bd4f1A60ca8b6c21572509027571341d",
1065
- "topics": [
1066
- "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
1067
- "0x0000000000000000000000000000000000000000000000000000000000000000",
1068
- "0x00000000000000000000000070997970c51812dc3a010c7d01b50e0d17dc79c8"
1069
- ],
1070
- "data": "0x",
1071
- "logIndex": 1,
1072
- "blockHash": "0x87af5b8054402fb011874f7857ead8e93627ce5a83871db2af721de324a01fdb"
1073
- },
1074
- {
1075
- "transactionIndex": 0,
1076
- "blockNumber": 81,
1077
- "transactionHash": "0x5b7eb754a532dfb73c56919d896c14accfa3fa335930b597e0311bc72c20133d",
1078
- "address": "0x34E59e53Bd4f1A60ca8b6c21572509027571341d",
1079
- "topics": [
1080
- "0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498"
1081
- ],
1082
- "data": "0x0000000000000000000000000000000000000000000000000000000000000001",
1083
- "logIndex": 2,
1084
- "blockHash": "0x87af5b8054402fb011874f7857ead8e93627ce5a83871db2af721de324a01fdb"
1085
- },
1086
- {
1087
- "transactionIndex": 0,
1088
- "blockNumber": 81,
1089
- "transactionHash": "0x5b7eb754a532dfb73c56919d896c14accfa3fa335930b597e0311bc72c20133d",
1090
- "address": "0x34E59e53Bd4f1A60ca8b6c21572509027571341d",
1091
- "topics": [
1092
- "0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f"
1093
- ],
1094
- "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000afdacd509e73115ea1654b1a770f1a807e7c9c0",
1095
- "logIndex": 3,
1096
- "blockHash": "0x87af5b8054402fb011874f7857ead8e93627ce5a83871db2af721de324a01fdb"
1097
- }
1098
- ],
1099
- "blockNumber": 81,
1100
- "cumulativeGasUsed": "723325",
1101
- "status": 1,
1102
- "byzantium": true
1103
- },
1104
- "numDeployments": 1,
1105
- "implementation": "0xEe54514745B056F07040CaCF801f59031D801431",
1106
- "devdoc": "Contract deployed as upgradable proxy"
1107
- }