@keep-network/tbtc-v2 0.1.1-dev.1 → 0.1.1-dev.101

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