@keep-network/tbtc-v2 0.1.1-dev.4 → 0.1.1-dev.42

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 (60) hide show
  1. package/README.adoc +12 -0
  2. package/artifacts/TBTC.json +19 -18
  3. package/artifacts/TBTCToken.json +19 -18
  4. package/artifacts/VendingMachine.json +20 -19
  5. package/artifacts/solcInputs/002940e9cc8128f6629e90620c66cba5.json +215 -0
  6. package/build/contracts/GovernanceUtils.sol/GovernanceUtils.dbg.json +1 -1
  7. package/build/contracts/GovernanceUtils.sol/GovernanceUtils.json +2 -2
  8. package/build/contracts/bank/Bank.sol/Bank.dbg.json +1 -1
  9. package/build/contracts/bank/Bank.sol/Bank.json +20 -2
  10. package/build/contracts/bridge/BitcoinTx.sol/BitcoinTx.dbg.json +4 -0
  11. package/build/contracts/bridge/BitcoinTx.sol/BitcoinTx.json +10 -0
  12. package/build/contracts/bridge/Bridge.sol/Bridge.dbg.json +1 -1
  13. package/build/contracts/bridge/Bridge.sol/Bridge.json +1664 -63
  14. package/build/contracts/bridge/BridgeState.sol/BridgeState.dbg.json +4 -0
  15. package/build/contracts/bridge/BridgeState.sol/BridgeState.json +42 -0
  16. package/build/contracts/bridge/Deposit.sol/Deposit.dbg.json +4 -0
  17. package/build/contracts/bridge/Deposit.sol/Deposit.json +72 -0
  18. package/build/contracts/bridge/EcdsaLib.sol/EcdsaLib.dbg.json +4 -0
  19. package/build/contracts/bridge/EcdsaLib.sol/EcdsaLib.json +10 -0
  20. package/build/contracts/bridge/Fraud.sol/Fraud.dbg.json +4 -0
  21. package/build/contracts/bridge/Fraud.sol/Fraud.json +138 -0
  22. package/build/contracts/bridge/IRelay.sol/IRelay.dbg.json +4 -0
  23. package/build/contracts/bridge/IRelay.sol/IRelay.json +37 -0
  24. package/build/contracts/bridge/MovingFunds.sol/MovingFunds.dbg.json +4 -0
  25. package/build/contracts/bridge/MovingFunds.sol/MovingFunds.json +30 -0
  26. package/build/contracts/bridge/Redeem.sol/OutboundTx.dbg.json +4 -0
  27. package/build/contracts/bridge/Redeem.sol/OutboundTx.json +10 -0
  28. package/build/contracts/bridge/Redeem.sol/Redeem.dbg.json +4 -0
  29. package/build/contracts/bridge/Redeem.sol/Redeem.json +92 -0
  30. package/build/contracts/bridge/Sweep.sol/Sweep.dbg.json +4 -0
  31. package/build/contracts/bridge/Sweep.sol/Sweep.json +30 -0
  32. package/build/contracts/bridge/VendingMachine.sol/VendingMachine.dbg.json +1 -1
  33. package/build/contracts/bridge/VendingMachine.sol/VendingMachine.json +2 -2
  34. package/build/contracts/bridge/Wallets.sol/Wallets.dbg.json +4 -0
  35. package/build/contracts/bridge/Wallets.sol/Wallets.json +93 -0
  36. package/build/contracts/token/TBTC.sol/TBTC.dbg.json +1 -1
  37. package/build/contracts/token/TBTC.sol/TBTC.json +2 -2
  38. package/build/contracts/vault/IVault.sol/IVault.dbg.json +1 -1
  39. package/build/contracts/vault/IVault.sol/IVault.json +19 -1
  40. package/build/contracts/vault/TBTCVault.sol/TBTCVault.dbg.json +1 -1
  41. package/build/contracts/vault/TBTCVault.sol/TBTCVault.json +36 -18
  42. package/contracts/GovernanceUtils.sol +1 -1
  43. package/contracts/bank/Bank.sol +34 -18
  44. package/contracts/bridge/BitcoinTx.sol +241 -0
  45. package/contracts/bridge/Bridge.sol +942 -123
  46. package/contracts/bridge/BridgeState.sol +251 -0
  47. package/contracts/bridge/Deposit.sol +244 -0
  48. package/contracts/bridge/EcdsaLib.sol +30 -0
  49. package/contracts/bridge/Fraud.sol +455 -0
  50. package/contracts/bridge/IRelay.sol +28 -0
  51. package/contracts/bridge/MovingFunds.sol +278 -0
  52. package/contracts/bridge/Redeem.sol +844 -0
  53. package/contracts/bridge/Sweep.sol +509 -0
  54. package/contracts/bridge/VendingMachine.sol +1 -1
  55. package/contracts/bridge/Wallets.sol +510 -0
  56. package/contracts/token/TBTC.sol +1 -1
  57. package/contracts/vault/IVault.sol +32 -10
  58. package/contracts/vault/TBTCVault.sol +20 -2
  59. package/package.json +28 -24
  60. package/artifacts/solcInputs/d71966212a658480bad5748ad85b1396.json +0 -116
@@ -4,14 +4,39 @@
4
4
  "sourceName": "contracts/bridge/Bridge.sol",
5
5
  "abi": [
6
6
  {
7
- "anonymous": false,
8
7
  "inputs": [
9
8
  {
10
- "indexed": false,
9
+ "internalType": "address",
10
+ "name": "_bank",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "address",
15
+ "name": "_relay",
16
+ "type": "address"
17
+ },
18
+ {
19
+ "internalType": "address",
20
+ "name": "_treasury",
21
+ "type": "address"
22
+ },
23
+ {
24
+ "internalType": "address",
25
+ "name": "_ecdsaWalletRegistry",
26
+ "type": "address"
27
+ },
28
+ {
11
29
  "internalType": "uint256",
12
- "name": "depositId",
30
+ "name": "_txProofDifficultyFactor",
13
31
  "type": "uint256"
14
- },
32
+ }
33
+ ],
34
+ "stateMutability": "nonpayable",
35
+ "type": "constructor"
36
+ },
37
+ {
38
+ "anonymous": false,
39
+ "inputs": [
15
40
  {
16
41
  "indexed": false,
17
42
  "internalType": "bytes32",
@@ -20,9 +45,9 @@
20
45
  },
21
46
  {
22
47
  "indexed": false,
23
- "internalType": "uint8",
48
+ "internalType": "uint32",
24
49
  "name": "fundingOutputIndex",
25
- "type": "uint8"
50
+ "type": "uint32"
26
51
  },
27
52
  {
28
53
  "indexed": false,
@@ -33,20 +58,32 @@
33
58
  {
34
59
  "indexed": false,
35
60
  "internalType": "uint64",
36
- "name": "blindingFactor",
61
+ "name": "amount",
37
62
  "type": "uint64"
38
63
  },
39
64
  {
40
65
  "indexed": false,
41
- "internalType": "bytes",
42
- "name": "refundPubKey",
43
- "type": "bytes"
66
+ "internalType": "bytes8",
67
+ "name": "blindingFactor",
68
+ "type": "bytes8"
44
69
  },
45
70
  {
46
71
  "indexed": false,
47
- "internalType": "uint64",
48
- "name": "amount",
49
- "type": "uint64"
72
+ "internalType": "bytes20",
73
+ "name": "walletPubKeyHash",
74
+ "type": "bytes20"
75
+ },
76
+ {
77
+ "indexed": false,
78
+ "internalType": "bytes20",
79
+ "name": "refundPubKeyHash",
80
+ "type": "bytes20"
81
+ },
82
+ {
83
+ "indexed": false,
84
+ "internalType": "bytes4",
85
+ "name": "refundLocktime",
86
+ "type": "bytes4"
50
87
  },
51
88
  {
52
89
  "indexed": false,
@@ -59,109 +96,1519 @@
59
96
  "type": "event"
60
97
  },
61
98
  {
99
+ "anonymous": false,
62
100
  "inputs": [
63
101
  {
102
+ "indexed": false,
103
+ "internalType": "bytes20",
104
+ "name": "walletPubKeyHash",
105
+ "type": "bytes20"
106
+ },
107
+ {
108
+ "indexed": false,
64
109
  "internalType": "bytes32",
65
- "name": "fundingTxHash",
110
+ "name": "sweepTxHash",
111
+ "type": "bytes32"
112
+ }
113
+ ],
114
+ "name": "DepositsSwept",
115
+ "type": "event"
116
+ },
117
+ {
118
+ "anonymous": false,
119
+ "inputs": [
120
+ {
121
+ "indexed": false,
122
+ "internalType": "bytes20",
123
+ "name": "walletPublicKeyHash",
124
+ "type": "bytes20"
125
+ },
126
+ {
127
+ "indexed": false,
128
+ "internalType": "bytes32",
129
+ "name": "sighash",
130
+ "type": "bytes32"
131
+ }
132
+ ],
133
+ "name": "FraudChallengeDefeatTimedOut",
134
+ "type": "event"
135
+ },
136
+ {
137
+ "anonymous": false,
138
+ "inputs": [
139
+ {
140
+ "indexed": false,
141
+ "internalType": "uint256",
142
+ "name": "newFraudChallengeDefeatTimeout",
143
+ "type": "uint256"
144
+ }
145
+ ],
146
+ "name": "FraudChallengeDefeatTimeoutUpdated",
147
+ "type": "event"
148
+ },
149
+ {
150
+ "anonymous": false,
151
+ "inputs": [
152
+ {
153
+ "indexed": false,
154
+ "internalType": "bytes20",
155
+ "name": "walletPublicKeyHash",
156
+ "type": "bytes20"
157
+ },
158
+ {
159
+ "indexed": false,
160
+ "internalType": "bytes32",
161
+ "name": "sighash",
162
+ "type": "bytes32"
163
+ }
164
+ ],
165
+ "name": "FraudChallengeDefeated",
166
+ "type": "event"
167
+ },
168
+ {
169
+ "anonymous": false,
170
+ "inputs": [
171
+ {
172
+ "indexed": false,
173
+ "internalType": "uint256",
174
+ "name": "newFraudChallengeDepositAmount",
175
+ "type": "uint256"
176
+ }
177
+ ],
178
+ "name": "FraudChallengeDepositAmountUpdated",
179
+ "type": "event"
180
+ },
181
+ {
182
+ "anonymous": false,
183
+ "inputs": [
184
+ {
185
+ "indexed": false,
186
+ "internalType": "bytes20",
187
+ "name": "walletPublicKeyHash",
188
+ "type": "bytes20"
189
+ },
190
+ {
191
+ "indexed": false,
192
+ "internalType": "bytes32",
193
+ "name": "sighash",
66
194
  "type": "bytes32"
67
195
  },
68
196
  {
197
+ "indexed": false,
69
198
  "internalType": "uint8",
70
- "name": "fundingOutputIndex",
199
+ "name": "v",
71
200
  "type": "uint8"
72
201
  },
73
202
  {
74
- "internalType": "uint64",
75
- "name": "blindingFactor",
76
- "type": "uint64"
203
+ "indexed": false,
204
+ "internalType": "bytes32",
205
+ "name": "r",
206
+ "type": "bytes32"
77
207
  },
78
208
  {
79
- "internalType": "bytes",
80
- "name": "refundPubKey",
81
- "type": "bytes"
209
+ "indexed": false,
210
+ "internalType": "bytes32",
211
+ "name": "s",
212
+ "type": "bytes32"
213
+ }
214
+ ],
215
+ "name": "FraudChallengeSubmitted",
216
+ "type": "event"
217
+ },
218
+ {
219
+ "anonymous": false,
220
+ "inputs": [
221
+ {
222
+ "indexed": false,
223
+ "internalType": "uint256",
224
+ "name": "newFraudNotifierRewardMultiplier",
225
+ "type": "uint256"
226
+ }
227
+ ],
228
+ "name": "FraudNotifierRewardMultiplierUpdated",
229
+ "type": "event"
230
+ },
231
+ {
232
+ "anonymous": false,
233
+ "inputs": [
234
+ {
235
+ "indexed": false,
236
+ "internalType": "uint256",
237
+ "name": "newFraudSlashingAmount",
238
+ "type": "uint256"
239
+ }
240
+ ],
241
+ "name": "FraudSlashingAmountUpdated",
242
+ "type": "event"
243
+ },
244
+ {
245
+ "anonymous": false,
246
+ "inputs": [
247
+ {
248
+ "indexed": false,
249
+ "internalType": "bytes20",
250
+ "name": "walletPubKeyHash",
251
+ "type": "bytes20"
82
252
  },
83
253
  {
84
- "internalType": "uint64",
85
- "name": "amount",
86
- "type": "uint64"
254
+ "indexed": false,
255
+ "internalType": "bytes32",
256
+ "name": "movingFundsTxHash",
257
+ "type": "bytes32"
258
+ }
259
+ ],
260
+ "name": "MovingFundsCompleted",
261
+ "type": "event"
262
+ },
263
+ {
264
+ "anonymous": false,
265
+ "inputs": [
266
+ {
267
+ "indexed": true,
268
+ "internalType": "bytes32",
269
+ "name": "ecdsaWalletID",
270
+ "type": "bytes32"
87
271
  },
88
272
  {
273
+ "indexed": true,
274
+ "internalType": "bytes20",
275
+ "name": "walletPubKeyHash",
276
+ "type": "bytes20"
277
+ }
278
+ ],
279
+ "name": "NewWalletRegistered",
280
+ "type": "event"
281
+ },
282
+ {
283
+ "anonymous": false,
284
+ "inputs": [],
285
+ "name": "NewWalletRequested",
286
+ "type": "event"
287
+ },
288
+ {
289
+ "anonymous": false,
290
+ "inputs": [
291
+ {
292
+ "indexed": true,
89
293
  "internalType": "address",
90
- "name": "vault",
294
+ "name": "previousOwner",
295
+ "type": "address"
296
+ },
297
+ {
298
+ "indexed": true,
299
+ "internalType": "address",
300
+ "name": "newOwner",
91
301
  "type": "address"
92
302
  }
93
303
  ],
94
- "name": "revealDeposit",
95
- "outputs": [],
96
- "stateMutability": "nonpayable",
97
- "type": "function"
304
+ "name": "OwnershipTransferred",
305
+ "type": "event"
98
306
  },
99
307
  {
308
+ "anonymous": false,
100
309
  "inputs": [
101
310
  {
102
- "internalType": "bytes4",
103
- "name": "txVersion",
104
- "type": "bytes4"
311
+ "indexed": false,
312
+ "internalType": "bytes20",
313
+ "name": "walletPubKeyHash",
314
+ "type": "bytes20"
105
315
  },
106
316
  {
317
+ "indexed": false,
107
318
  "internalType": "bytes",
108
- "name": "txInputVector",
319
+ "name": "redeemerOutputScript",
109
320
  "type": "bytes"
110
321
  },
111
322
  {
112
- "internalType": "bytes",
113
- "name": "txOutput",
114
- "type": "bytes"
323
+ "indexed": false,
324
+ "internalType": "address",
325
+ "name": "redeemer",
326
+ "type": "address"
115
327
  },
116
328
  {
117
- "internalType": "bytes4",
118
- "name": "txLocktime",
119
- "type": "bytes4"
329
+ "indexed": false,
330
+ "internalType": "uint64",
331
+ "name": "requestedAmount",
332
+ "type": "uint64"
120
333
  },
121
334
  {
122
- "internalType": "bytes",
123
- "name": "merkleProof",
124
- "type": "bytes"
335
+ "indexed": false,
336
+ "internalType": "uint64",
337
+ "name": "treasuryFee",
338
+ "type": "uint64"
125
339
  },
126
340
  {
127
- "internalType": "uint256",
128
- "name": "txIndexInBlock",
129
- "type": "uint256"
341
+ "indexed": false,
342
+ "internalType": "uint64",
343
+ "name": "txMaxFee",
344
+ "type": "uint64"
345
+ }
346
+ ],
347
+ "name": "RedemptionRequested",
348
+ "type": "event"
349
+ },
350
+ {
351
+ "anonymous": false,
352
+ "inputs": [
353
+ {
354
+ "indexed": false,
355
+ "internalType": "bytes20",
356
+ "name": "walletPubKeyHash",
357
+ "type": "bytes20"
130
358
  },
131
359
  {
360
+ "indexed": false,
132
361
  "internalType": "bytes",
133
- "name": "bitcoinHeaders",
362
+ "name": "redeemerOutputScript",
134
363
  "type": "bytes"
135
364
  }
136
365
  ],
137
- "name": "sweep",
138
- "outputs": [],
139
- "stateMutability": "nonpayable",
140
- "type": "function"
366
+ "name": "RedemptionTimedOut",
367
+ "type": "event"
141
368
  },
142
369
  {
370
+ "anonymous": false,
143
371
  "inputs": [
144
372
  {
145
- "internalType": "uint256",
146
- "name": "",
147
- "type": "uint256"
373
+ "indexed": false,
374
+ "internalType": "bytes20",
375
+ "name": "walletPubKeyHash",
376
+ "type": "bytes20"
377
+ },
378
+ {
379
+ "indexed": false,
380
+ "internalType": "bytes32",
381
+ "name": "redemptionTxHash",
382
+ "type": "bytes32"
148
383
  }
149
384
  ],
150
- "name": "unswept",
151
- "outputs": [
385
+ "name": "RedemptionsCompleted",
386
+ "type": "event"
387
+ },
388
+ {
389
+ "anonymous": false,
390
+ "inputs": [
152
391
  {
153
- "internalType": "uint64",
154
- "name": "amount",
155
- "type": "uint64"
392
+ "indexed": true,
393
+ "internalType": "address",
394
+ "name": "vault",
395
+ "type": "address"
396
+ },
397
+ {
398
+ "indexed": false,
399
+ "internalType": "bool",
400
+ "name": "isTrusted",
401
+ "type": "bool"
402
+ }
403
+ ],
404
+ "name": "VaultStatusUpdated",
405
+ "type": "event"
406
+ },
407
+ {
408
+ "anonymous": false,
409
+ "inputs": [
410
+ {
411
+ "indexed": true,
412
+ "internalType": "bytes32",
413
+ "name": "ecdsaWalletID",
414
+ "type": "bytes32"
415
+ },
416
+ {
417
+ "indexed": true,
418
+ "internalType": "bytes20",
419
+ "name": "walletPubKeyHash",
420
+ "type": "bytes20"
421
+ }
422
+ ],
423
+ "name": "WalletClosed",
424
+ "type": "event"
425
+ },
426
+ {
427
+ "anonymous": false,
428
+ "inputs": [
429
+ {
430
+ "indexed": true,
431
+ "internalType": "bytes32",
432
+ "name": "ecdsaWalletID",
433
+ "type": "bytes32"
434
+ },
435
+ {
436
+ "indexed": true,
437
+ "internalType": "bytes20",
438
+ "name": "walletPubKeyHash",
439
+ "type": "bytes20"
440
+ }
441
+ ],
442
+ "name": "WalletMovingFunds",
443
+ "type": "event"
444
+ },
445
+ {
446
+ "anonymous": false,
447
+ "inputs": [
448
+ {
449
+ "indexed": false,
450
+ "internalType": "uint32",
451
+ "name": "walletCreationPeriod",
452
+ "type": "uint32"
453
+ },
454
+ {
455
+ "indexed": false,
456
+ "internalType": "uint64",
457
+ "name": "walletMinBtcBalance",
458
+ "type": "uint64"
459
+ },
460
+ {
461
+ "indexed": false,
462
+ "internalType": "uint64",
463
+ "name": "walletMaxBtcBalance",
464
+ "type": "uint64"
465
+ },
466
+ {
467
+ "indexed": false,
468
+ "internalType": "uint32",
469
+ "name": "walletMaxAge",
470
+ "type": "uint32"
471
+ }
472
+ ],
473
+ "name": "WalletParametersUpdated",
474
+ "type": "event"
475
+ },
476
+ {
477
+ "anonymous": false,
478
+ "inputs": [
479
+ {
480
+ "indexed": true,
481
+ "internalType": "bytes32",
482
+ "name": "ecdsaWalletID",
483
+ "type": "bytes32"
484
+ },
485
+ {
486
+ "indexed": true,
487
+ "internalType": "bytes20",
488
+ "name": "walletPubKeyHash",
489
+ "type": "bytes20"
490
+ }
491
+ ],
492
+ "name": "WalletTerminated",
493
+ "type": "event"
494
+ },
495
+ {
496
+ "inputs": [
497
+ {
498
+ "internalType": "bytes32",
499
+ "name": "ecdsaWalletID",
500
+ "type": "bytes32"
501
+ },
502
+ {
503
+ "internalType": "bytes32",
504
+ "name": "publicKeyX",
505
+ "type": "bytes32"
506
+ },
507
+ {
508
+ "internalType": "bytes32",
509
+ "name": "publicKeyY",
510
+ "type": "bytes32"
511
+ }
512
+ ],
513
+ "name": "__ecdsaWalletCreatedCallback",
514
+ "outputs": [],
515
+ "stateMutability": "nonpayable",
516
+ "type": "function"
517
+ },
518
+ {
519
+ "inputs": [
520
+ {
521
+ "internalType": "bytes32",
522
+ "name": "",
523
+ "type": "bytes32"
524
+ },
525
+ {
526
+ "internalType": "bytes32",
527
+ "name": "publicKeyX",
528
+ "type": "bytes32"
529
+ },
530
+ {
531
+ "internalType": "bytes32",
532
+ "name": "publicKeyY",
533
+ "type": "bytes32"
534
+ }
535
+ ],
536
+ "name": "__ecdsaWalletHeartbeatFailedCallback",
537
+ "outputs": [],
538
+ "stateMutability": "nonpayable",
539
+ "type": "function"
540
+ },
541
+ {
542
+ "inputs": [
543
+ {
544
+ "internalType": "bytes",
545
+ "name": "walletPublicKey",
546
+ "type": "bytes"
547
+ },
548
+ {
549
+ "internalType": "bytes",
550
+ "name": "preimage",
551
+ "type": "bytes"
552
+ },
553
+ {
554
+ "internalType": "bool",
555
+ "name": "witness",
556
+ "type": "bool"
557
+ }
558
+ ],
559
+ "name": "defeatFraudChallenge",
560
+ "outputs": [],
561
+ "stateMutability": "nonpayable",
562
+ "type": "function"
563
+ },
564
+ {
565
+ "inputs": [],
566
+ "name": "depositParameters",
567
+ "outputs": [
568
+ {
569
+ "internalType": "uint64",
570
+ "name": "depositDustThreshold",
571
+ "type": "uint64"
572
+ },
573
+ {
574
+ "internalType": "uint64",
575
+ "name": "depositTreasuryFeeDivisor",
576
+ "type": "uint64"
577
+ },
578
+ {
579
+ "internalType": "uint64",
580
+ "name": "depositTxMaxFee",
581
+ "type": "uint64"
582
+ }
583
+ ],
584
+ "stateMutability": "view",
585
+ "type": "function"
586
+ },
587
+ {
588
+ "inputs": [
589
+ {
590
+ "internalType": "uint256",
591
+ "name": "depositKey",
592
+ "type": "uint256"
593
+ }
594
+ ],
595
+ "name": "deposits",
596
+ "outputs": [
597
+ {
598
+ "components": [
599
+ {
600
+ "internalType": "address",
601
+ "name": "depositor",
602
+ "type": "address"
603
+ },
604
+ {
605
+ "internalType": "uint64",
606
+ "name": "amount",
607
+ "type": "uint64"
608
+ },
609
+ {
610
+ "internalType": "uint32",
611
+ "name": "revealedAt",
612
+ "type": "uint32"
613
+ },
614
+ {
615
+ "internalType": "address",
616
+ "name": "vault",
617
+ "type": "address"
618
+ },
619
+ {
620
+ "internalType": "uint64",
621
+ "name": "treasuryFee",
622
+ "type": "uint64"
623
+ },
624
+ {
625
+ "internalType": "uint32",
626
+ "name": "sweptAt",
627
+ "type": "uint32"
628
+ }
629
+ ],
630
+ "internalType": "struct Deposit.DepositRequest",
631
+ "name": "",
632
+ "type": "tuple"
633
+ }
634
+ ],
635
+ "stateMutability": "view",
636
+ "type": "function"
637
+ },
638
+ {
639
+ "inputs": [
640
+ {
641
+ "internalType": "uint256",
642
+ "name": "challengeKey",
643
+ "type": "uint256"
644
+ }
645
+ ],
646
+ "name": "fraudChallenges",
647
+ "outputs": [
648
+ {
649
+ "components": [
650
+ {
651
+ "internalType": "address",
652
+ "name": "challenger",
653
+ "type": "address"
654
+ },
655
+ {
656
+ "internalType": "uint256",
657
+ "name": "depositAmount",
658
+ "type": "uint256"
659
+ },
660
+ {
661
+ "internalType": "uint32",
662
+ "name": "reportedAt",
663
+ "type": "uint32"
664
+ },
665
+ {
666
+ "internalType": "bool",
667
+ "name": "resolved",
668
+ "type": "bool"
669
+ }
670
+ ],
671
+ "internalType": "struct Fraud.FraudChallenge",
672
+ "name": "",
673
+ "type": "tuple"
674
+ }
675
+ ],
676
+ "stateMutability": "view",
677
+ "type": "function"
678
+ },
679
+ {
680
+ "inputs": [],
681
+ "name": "fraudParameters",
682
+ "outputs": [
683
+ {
684
+ "internalType": "uint256",
685
+ "name": "fraudSlashingAmount",
686
+ "type": "uint256"
687
+ },
688
+ {
689
+ "internalType": "uint256",
690
+ "name": "fraudNotifierRewardMultiplier",
691
+ "type": "uint256"
692
+ },
693
+ {
694
+ "internalType": "uint256",
695
+ "name": "fraudChallengeDefeatTimeout",
696
+ "type": "uint256"
697
+ },
698
+ {
699
+ "internalType": "uint256",
700
+ "name": "fraudChallengeDepositAmount",
701
+ "type": "uint256"
702
+ }
703
+ ],
704
+ "stateMutability": "view",
705
+ "type": "function"
706
+ },
707
+ {
708
+ "inputs": [],
709
+ "name": "getActiveWalletPubKeyHash",
710
+ "outputs": [
711
+ {
712
+ "internalType": "bytes20",
713
+ "name": "",
714
+ "type": "bytes20"
715
+ }
716
+ ],
717
+ "stateMutability": "view",
718
+ "type": "function"
719
+ },
720
+ {
721
+ "inputs": [],
722
+ "name": "getContracts",
723
+ "outputs": [
724
+ {
725
+ "internalType": "contract Bank",
726
+ "name": "bank",
727
+ "type": "address"
728
+ },
729
+ {
730
+ "internalType": "contract IRelay",
731
+ "name": "relay",
732
+ "type": "address"
733
+ }
734
+ ],
735
+ "stateMutability": "view",
736
+ "type": "function"
737
+ },
738
+ {
739
+ "inputs": [
740
+ {
741
+ "internalType": "bytes20",
742
+ "name": "walletPubKeyHash",
743
+ "type": "bytes20"
744
+ }
745
+ ],
746
+ "name": "getWallet",
747
+ "outputs": [
748
+ {
749
+ "components": [
750
+ {
751
+ "internalType": "bytes32",
752
+ "name": "ecdsaWalletID",
753
+ "type": "bytes32"
754
+ },
755
+ {
756
+ "internalType": "bytes32",
757
+ "name": "mainUtxoHash",
758
+ "type": "bytes32"
759
+ },
760
+ {
761
+ "internalType": "uint64",
762
+ "name": "pendingRedemptionsValue",
763
+ "type": "uint64"
764
+ },
765
+ {
766
+ "internalType": "uint32",
767
+ "name": "createdAt",
768
+ "type": "uint32"
769
+ },
770
+ {
771
+ "internalType": "uint32",
772
+ "name": "movingFundsRequestedAt",
773
+ "type": "uint32"
774
+ },
775
+ {
776
+ "internalType": "enum Wallets.WalletState",
777
+ "name": "state",
778
+ "type": "uint8"
779
+ },
780
+ {
781
+ "internalType": "bytes32",
782
+ "name": "movingFundsTargetWalletsCommitmentHash",
783
+ "type": "bytes32"
784
+ }
785
+ ],
786
+ "internalType": "struct Wallets.Wallet",
787
+ "name": "",
788
+ "type": "tuple"
789
+ }
790
+ ],
791
+ "stateMutability": "view",
792
+ "type": "function"
793
+ },
794
+ {
795
+ "inputs": [
796
+ {
797
+ "internalType": "address",
798
+ "name": "vault",
799
+ "type": "address"
800
+ }
801
+ ],
802
+ "name": "isVaultTrusted",
803
+ "outputs": [
804
+ {
805
+ "internalType": "bool",
806
+ "name": "",
807
+ "type": "bool"
808
+ }
809
+ ],
810
+ "stateMutability": "view",
811
+ "type": "function"
812
+ },
813
+ {
814
+ "inputs": [],
815
+ "name": "movingFundsParameters",
816
+ "outputs": [
817
+ {
818
+ "internalType": "uint64",
819
+ "name": "movingFundsTxMaxTotalFee",
820
+ "type": "uint64"
821
+ }
822
+ ],
823
+ "stateMutability": "view",
824
+ "type": "function"
825
+ },
826
+ {
827
+ "inputs": [
828
+ {
829
+ "internalType": "bytes20",
830
+ "name": "walletPubKeyHash",
831
+ "type": "bytes20"
832
+ },
833
+ {
834
+ "components": [
835
+ {
836
+ "internalType": "bytes32",
837
+ "name": "txHash",
838
+ "type": "bytes32"
839
+ },
840
+ {
841
+ "internalType": "uint32",
842
+ "name": "txOutputIndex",
843
+ "type": "uint32"
844
+ },
845
+ {
846
+ "internalType": "uint64",
847
+ "name": "txOutputValue",
848
+ "type": "uint64"
849
+ }
850
+ ],
851
+ "internalType": "struct BitcoinTx.UTXO",
852
+ "name": "walletMainUtxo",
853
+ "type": "tuple"
854
+ }
855
+ ],
856
+ "name": "notifyCloseableWallet",
857
+ "outputs": [],
858
+ "stateMutability": "nonpayable",
859
+ "type": "function"
860
+ },
861
+ {
862
+ "inputs": [
863
+ {
864
+ "internalType": "bytes",
865
+ "name": "walletPublicKey",
866
+ "type": "bytes"
867
+ },
868
+ {
869
+ "internalType": "bytes32",
870
+ "name": "sighash",
871
+ "type": "bytes32"
872
+ }
873
+ ],
874
+ "name": "notifyFraudChallengeDefeatTimeout",
875
+ "outputs": [],
876
+ "stateMutability": "nonpayable",
877
+ "type": "function"
878
+ },
879
+ {
880
+ "inputs": [
881
+ {
882
+ "internalType": "bytes20",
883
+ "name": "walletPubKeyHash",
884
+ "type": "bytes20"
885
+ },
886
+ {
887
+ "internalType": "bytes",
888
+ "name": "redeemerOutputScript",
889
+ "type": "bytes"
890
+ }
891
+ ],
892
+ "name": "notifyRedemptionTimeout",
893
+ "outputs": [],
894
+ "stateMutability": "nonpayable",
895
+ "type": "function"
896
+ },
897
+ {
898
+ "inputs": [],
899
+ "name": "owner",
900
+ "outputs": [
901
+ {
902
+ "internalType": "address",
903
+ "name": "",
904
+ "type": "address"
905
+ }
906
+ ],
907
+ "stateMutability": "view",
908
+ "type": "function"
909
+ },
910
+ {
911
+ "inputs": [
912
+ {
913
+ "internalType": "uint256",
914
+ "name": "redemptionKey",
915
+ "type": "uint256"
916
+ }
917
+ ],
918
+ "name": "pendingRedemptions",
919
+ "outputs": [
920
+ {
921
+ "components": [
922
+ {
923
+ "internalType": "address",
924
+ "name": "redeemer",
925
+ "type": "address"
926
+ },
927
+ {
928
+ "internalType": "uint64",
929
+ "name": "requestedAmount",
930
+ "type": "uint64"
931
+ },
932
+ {
933
+ "internalType": "uint64",
934
+ "name": "treasuryFee",
935
+ "type": "uint64"
936
+ },
937
+ {
938
+ "internalType": "uint64",
939
+ "name": "txMaxFee",
940
+ "type": "uint64"
941
+ },
942
+ {
943
+ "internalType": "uint32",
944
+ "name": "requestedAt",
945
+ "type": "uint32"
946
+ }
947
+ ],
948
+ "internalType": "struct Redeem.RedemptionRequest",
949
+ "name": "",
950
+ "type": "tuple"
951
+ }
952
+ ],
953
+ "stateMutability": "view",
954
+ "type": "function"
955
+ },
956
+ {
957
+ "inputs": [],
958
+ "name": "redemptionParameters",
959
+ "outputs": [
960
+ {
961
+ "internalType": "uint64",
962
+ "name": "redemptionDustThreshold",
963
+ "type": "uint64"
964
+ },
965
+ {
966
+ "internalType": "uint64",
967
+ "name": "redemptionTreasuryFeeDivisor",
968
+ "type": "uint64"
969
+ },
970
+ {
971
+ "internalType": "uint64",
972
+ "name": "redemptionTxMaxFee",
973
+ "type": "uint64"
974
+ },
975
+ {
976
+ "internalType": "uint256",
977
+ "name": "redemptionTimeout",
978
+ "type": "uint256"
979
+ },
980
+ {
981
+ "internalType": "address",
982
+ "name": "treasury",
983
+ "type": "address"
984
+ },
985
+ {
986
+ "internalType": "uint256",
987
+ "name": "txProofDifficultyFactor",
988
+ "type": "uint256"
989
+ }
990
+ ],
991
+ "stateMutability": "view",
992
+ "type": "function"
993
+ },
994
+ {
995
+ "inputs": [],
996
+ "name": "renounceOwnership",
997
+ "outputs": [],
998
+ "stateMutability": "nonpayable",
999
+ "type": "function"
1000
+ },
1001
+ {
1002
+ "inputs": [
1003
+ {
1004
+ "components": [
1005
+ {
1006
+ "internalType": "bytes32",
1007
+ "name": "txHash",
1008
+ "type": "bytes32"
1009
+ },
1010
+ {
1011
+ "internalType": "uint32",
1012
+ "name": "txOutputIndex",
1013
+ "type": "uint32"
1014
+ },
1015
+ {
1016
+ "internalType": "uint64",
1017
+ "name": "txOutputValue",
1018
+ "type": "uint64"
1019
+ }
1020
+ ],
1021
+ "internalType": "struct BitcoinTx.UTXO",
1022
+ "name": "activeWalletMainUtxo",
1023
+ "type": "tuple"
1024
+ }
1025
+ ],
1026
+ "name": "requestNewWallet",
1027
+ "outputs": [],
1028
+ "stateMutability": "nonpayable",
1029
+ "type": "function"
1030
+ },
1031
+ {
1032
+ "inputs": [
1033
+ {
1034
+ "internalType": "bytes20",
1035
+ "name": "walletPubKeyHash",
1036
+ "type": "bytes20"
1037
+ },
1038
+ {
1039
+ "components": [
1040
+ {
1041
+ "internalType": "bytes32",
1042
+ "name": "txHash",
1043
+ "type": "bytes32"
1044
+ },
1045
+ {
1046
+ "internalType": "uint32",
1047
+ "name": "txOutputIndex",
1048
+ "type": "uint32"
1049
+ },
1050
+ {
1051
+ "internalType": "uint64",
1052
+ "name": "txOutputValue",
1053
+ "type": "uint64"
1054
+ }
1055
+ ],
1056
+ "internalType": "struct BitcoinTx.UTXO",
1057
+ "name": "mainUtxo",
1058
+ "type": "tuple"
156
1059
  },
1060
+ {
1061
+ "internalType": "bytes",
1062
+ "name": "redeemerOutputScript",
1063
+ "type": "bytes"
1064
+ },
1065
+ {
1066
+ "internalType": "uint64",
1067
+ "name": "amount",
1068
+ "type": "uint64"
1069
+ }
1070
+ ],
1071
+ "name": "requestRedemption",
1072
+ "outputs": [],
1073
+ "stateMutability": "nonpayable",
1074
+ "type": "function"
1075
+ },
1076
+ {
1077
+ "inputs": [
1078
+ {
1079
+ "components": [
1080
+ {
1081
+ "internalType": "bytes4",
1082
+ "name": "version",
1083
+ "type": "bytes4"
1084
+ },
1085
+ {
1086
+ "internalType": "bytes",
1087
+ "name": "inputVector",
1088
+ "type": "bytes"
1089
+ },
1090
+ {
1091
+ "internalType": "bytes",
1092
+ "name": "outputVector",
1093
+ "type": "bytes"
1094
+ },
1095
+ {
1096
+ "internalType": "bytes4",
1097
+ "name": "locktime",
1098
+ "type": "bytes4"
1099
+ }
1100
+ ],
1101
+ "internalType": "struct BitcoinTx.Info",
1102
+ "name": "fundingTx",
1103
+ "type": "tuple"
1104
+ },
1105
+ {
1106
+ "components": [
1107
+ {
1108
+ "internalType": "uint32",
1109
+ "name": "fundingOutputIndex",
1110
+ "type": "uint32"
1111
+ },
1112
+ {
1113
+ "internalType": "address",
1114
+ "name": "depositor",
1115
+ "type": "address"
1116
+ },
1117
+ {
1118
+ "internalType": "bytes8",
1119
+ "name": "blindingFactor",
1120
+ "type": "bytes8"
1121
+ },
1122
+ {
1123
+ "internalType": "bytes20",
1124
+ "name": "walletPubKeyHash",
1125
+ "type": "bytes20"
1126
+ },
1127
+ {
1128
+ "internalType": "bytes20",
1129
+ "name": "refundPubKeyHash",
1130
+ "type": "bytes20"
1131
+ },
1132
+ {
1133
+ "internalType": "bytes4",
1134
+ "name": "refundLocktime",
1135
+ "type": "bytes4"
1136
+ },
1137
+ {
1138
+ "internalType": "address",
1139
+ "name": "vault",
1140
+ "type": "address"
1141
+ }
1142
+ ],
1143
+ "internalType": "struct Deposit.DepositRevealInfo",
1144
+ "name": "reveal",
1145
+ "type": "tuple"
1146
+ }
1147
+ ],
1148
+ "name": "revealDeposit",
1149
+ "outputs": [],
1150
+ "stateMutability": "nonpayable",
1151
+ "type": "function"
1152
+ },
1153
+ {
1154
+ "inputs": [
157
1155
  {
158
1156
  "internalType": "address",
159
1157
  "name": "vault",
160
1158
  "type": "address"
161
1159
  },
1160
+ {
1161
+ "internalType": "bool",
1162
+ "name": "isTrusted",
1163
+ "type": "bool"
1164
+ }
1165
+ ],
1166
+ "name": "setVaultStatus",
1167
+ "outputs": [],
1168
+ "stateMutability": "nonpayable",
1169
+ "type": "function"
1170
+ },
1171
+ {
1172
+ "inputs": [
1173
+ {
1174
+ "internalType": "uint256",
1175
+ "name": "utxoKey",
1176
+ "type": "uint256"
1177
+ }
1178
+ ],
1179
+ "name": "spentMainUTXOs",
1180
+ "outputs": [
1181
+ {
1182
+ "internalType": "bool",
1183
+ "name": "",
1184
+ "type": "bool"
1185
+ }
1186
+ ],
1187
+ "stateMutability": "view",
1188
+ "type": "function"
1189
+ },
1190
+ {
1191
+ "inputs": [
1192
+ {
1193
+ "internalType": "bytes",
1194
+ "name": "walletPublicKey",
1195
+ "type": "bytes"
1196
+ },
1197
+ {
1198
+ "internalType": "bytes32",
1199
+ "name": "sighash",
1200
+ "type": "bytes32"
1201
+ },
1202
+ {
1203
+ "components": [
1204
+ {
1205
+ "internalType": "bytes32",
1206
+ "name": "r",
1207
+ "type": "bytes32"
1208
+ },
1209
+ {
1210
+ "internalType": "bytes32",
1211
+ "name": "s",
1212
+ "type": "bytes32"
1213
+ },
1214
+ {
1215
+ "internalType": "uint8",
1216
+ "name": "v",
1217
+ "type": "uint8"
1218
+ }
1219
+ ],
1220
+ "internalType": "struct BitcoinTx.RSVSignature",
1221
+ "name": "signature",
1222
+ "type": "tuple"
1223
+ }
1224
+ ],
1225
+ "name": "submitFraudChallenge",
1226
+ "outputs": [],
1227
+ "stateMutability": "payable",
1228
+ "type": "function"
1229
+ },
1230
+ {
1231
+ "inputs": [
1232
+ {
1233
+ "components": [
1234
+ {
1235
+ "internalType": "bytes4",
1236
+ "name": "version",
1237
+ "type": "bytes4"
1238
+ },
1239
+ {
1240
+ "internalType": "bytes",
1241
+ "name": "inputVector",
1242
+ "type": "bytes"
1243
+ },
1244
+ {
1245
+ "internalType": "bytes",
1246
+ "name": "outputVector",
1247
+ "type": "bytes"
1248
+ },
1249
+ {
1250
+ "internalType": "bytes4",
1251
+ "name": "locktime",
1252
+ "type": "bytes4"
1253
+ }
1254
+ ],
1255
+ "internalType": "struct BitcoinTx.Info",
1256
+ "name": "movingFundsTx",
1257
+ "type": "tuple"
1258
+ },
1259
+ {
1260
+ "components": [
1261
+ {
1262
+ "internalType": "bytes",
1263
+ "name": "merkleProof",
1264
+ "type": "bytes"
1265
+ },
1266
+ {
1267
+ "internalType": "uint256",
1268
+ "name": "txIndexInBlock",
1269
+ "type": "uint256"
1270
+ },
1271
+ {
1272
+ "internalType": "bytes",
1273
+ "name": "bitcoinHeaders",
1274
+ "type": "bytes"
1275
+ }
1276
+ ],
1277
+ "internalType": "struct BitcoinTx.Proof",
1278
+ "name": "movingFundsProof",
1279
+ "type": "tuple"
1280
+ },
1281
+ {
1282
+ "components": [
1283
+ {
1284
+ "internalType": "bytes32",
1285
+ "name": "txHash",
1286
+ "type": "bytes32"
1287
+ },
1288
+ {
1289
+ "internalType": "uint32",
1290
+ "name": "txOutputIndex",
1291
+ "type": "uint32"
1292
+ },
1293
+ {
1294
+ "internalType": "uint64",
1295
+ "name": "txOutputValue",
1296
+ "type": "uint64"
1297
+ }
1298
+ ],
1299
+ "internalType": "struct BitcoinTx.UTXO",
1300
+ "name": "mainUtxo",
1301
+ "type": "tuple"
1302
+ },
1303
+ {
1304
+ "internalType": "bytes20",
1305
+ "name": "walletPubKeyHash",
1306
+ "type": "bytes20"
1307
+ }
1308
+ ],
1309
+ "name": "submitMovingFundsProof",
1310
+ "outputs": [],
1311
+ "stateMutability": "nonpayable",
1312
+ "type": "function"
1313
+ },
1314
+ {
1315
+ "inputs": [
1316
+ {
1317
+ "components": [
1318
+ {
1319
+ "internalType": "bytes4",
1320
+ "name": "version",
1321
+ "type": "bytes4"
1322
+ },
1323
+ {
1324
+ "internalType": "bytes",
1325
+ "name": "inputVector",
1326
+ "type": "bytes"
1327
+ },
1328
+ {
1329
+ "internalType": "bytes",
1330
+ "name": "outputVector",
1331
+ "type": "bytes"
1332
+ },
1333
+ {
1334
+ "internalType": "bytes4",
1335
+ "name": "locktime",
1336
+ "type": "bytes4"
1337
+ }
1338
+ ],
1339
+ "internalType": "struct BitcoinTx.Info",
1340
+ "name": "redemptionTx",
1341
+ "type": "tuple"
1342
+ },
1343
+ {
1344
+ "components": [
1345
+ {
1346
+ "internalType": "bytes",
1347
+ "name": "merkleProof",
1348
+ "type": "bytes"
1349
+ },
1350
+ {
1351
+ "internalType": "uint256",
1352
+ "name": "txIndexInBlock",
1353
+ "type": "uint256"
1354
+ },
1355
+ {
1356
+ "internalType": "bytes",
1357
+ "name": "bitcoinHeaders",
1358
+ "type": "bytes"
1359
+ }
1360
+ ],
1361
+ "internalType": "struct BitcoinTx.Proof",
1362
+ "name": "redemptionProof",
1363
+ "type": "tuple"
1364
+ },
1365
+ {
1366
+ "components": [
1367
+ {
1368
+ "internalType": "bytes32",
1369
+ "name": "txHash",
1370
+ "type": "bytes32"
1371
+ },
1372
+ {
1373
+ "internalType": "uint32",
1374
+ "name": "txOutputIndex",
1375
+ "type": "uint32"
1376
+ },
1377
+ {
1378
+ "internalType": "uint64",
1379
+ "name": "txOutputValue",
1380
+ "type": "uint64"
1381
+ }
1382
+ ],
1383
+ "internalType": "struct BitcoinTx.UTXO",
1384
+ "name": "mainUtxo",
1385
+ "type": "tuple"
1386
+ },
1387
+ {
1388
+ "internalType": "bytes20",
1389
+ "name": "walletPubKeyHash",
1390
+ "type": "bytes20"
1391
+ }
1392
+ ],
1393
+ "name": "submitRedemptionProof",
1394
+ "outputs": [],
1395
+ "stateMutability": "nonpayable",
1396
+ "type": "function"
1397
+ },
1398
+ {
1399
+ "inputs": [
1400
+ {
1401
+ "components": [
1402
+ {
1403
+ "internalType": "bytes4",
1404
+ "name": "version",
1405
+ "type": "bytes4"
1406
+ },
1407
+ {
1408
+ "internalType": "bytes",
1409
+ "name": "inputVector",
1410
+ "type": "bytes"
1411
+ },
1412
+ {
1413
+ "internalType": "bytes",
1414
+ "name": "outputVector",
1415
+ "type": "bytes"
1416
+ },
1417
+ {
1418
+ "internalType": "bytes4",
1419
+ "name": "locktime",
1420
+ "type": "bytes4"
1421
+ }
1422
+ ],
1423
+ "internalType": "struct BitcoinTx.Info",
1424
+ "name": "sweepTx",
1425
+ "type": "tuple"
1426
+ },
1427
+ {
1428
+ "components": [
1429
+ {
1430
+ "internalType": "bytes",
1431
+ "name": "merkleProof",
1432
+ "type": "bytes"
1433
+ },
1434
+ {
1435
+ "internalType": "uint256",
1436
+ "name": "txIndexInBlock",
1437
+ "type": "uint256"
1438
+ },
1439
+ {
1440
+ "internalType": "bytes",
1441
+ "name": "bitcoinHeaders",
1442
+ "type": "bytes"
1443
+ }
1444
+ ],
1445
+ "internalType": "struct BitcoinTx.Proof",
1446
+ "name": "sweepProof",
1447
+ "type": "tuple"
1448
+ },
1449
+ {
1450
+ "components": [
1451
+ {
1452
+ "internalType": "bytes32",
1453
+ "name": "txHash",
1454
+ "type": "bytes32"
1455
+ },
1456
+ {
1457
+ "internalType": "uint32",
1458
+ "name": "txOutputIndex",
1459
+ "type": "uint32"
1460
+ },
1461
+ {
1462
+ "internalType": "uint64",
1463
+ "name": "txOutputValue",
1464
+ "type": "uint64"
1465
+ }
1466
+ ],
1467
+ "internalType": "struct BitcoinTx.UTXO",
1468
+ "name": "mainUtxo",
1469
+ "type": "tuple"
1470
+ }
1471
+ ],
1472
+ "name": "submitSweepProof",
1473
+ "outputs": [],
1474
+ "stateMutability": "nonpayable",
1475
+ "type": "function"
1476
+ },
1477
+ {
1478
+ "inputs": [
1479
+ {
1480
+ "internalType": "uint256",
1481
+ "name": "redemptionKey",
1482
+ "type": "uint256"
1483
+ }
1484
+ ],
1485
+ "name": "timedOutRedemptions",
1486
+ "outputs": [
1487
+ {
1488
+ "components": [
1489
+ {
1490
+ "internalType": "address",
1491
+ "name": "redeemer",
1492
+ "type": "address"
1493
+ },
1494
+ {
1495
+ "internalType": "uint64",
1496
+ "name": "requestedAmount",
1497
+ "type": "uint64"
1498
+ },
1499
+ {
1500
+ "internalType": "uint64",
1501
+ "name": "treasuryFee",
1502
+ "type": "uint64"
1503
+ },
1504
+ {
1505
+ "internalType": "uint64",
1506
+ "name": "txMaxFee",
1507
+ "type": "uint64"
1508
+ },
1509
+ {
1510
+ "internalType": "uint32",
1511
+ "name": "requestedAt",
1512
+ "type": "uint32"
1513
+ }
1514
+ ],
1515
+ "internalType": "struct Redeem.RedemptionRequest",
1516
+ "name": "",
1517
+ "type": "tuple"
1518
+ }
1519
+ ],
1520
+ "stateMutability": "view",
1521
+ "type": "function"
1522
+ },
1523
+ {
1524
+ "inputs": [
1525
+ {
1526
+ "internalType": "address",
1527
+ "name": "newOwner",
1528
+ "type": "address"
1529
+ }
1530
+ ],
1531
+ "name": "transferOwnership",
1532
+ "outputs": [],
1533
+ "stateMutability": "nonpayable",
1534
+ "type": "function"
1535
+ },
1536
+ {
1537
+ "inputs": [],
1538
+ "name": "treasury",
1539
+ "outputs": [
1540
+ {
1541
+ "internalType": "address",
1542
+ "name": "treasury",
1543
+ "type": "address"
1544
+ }
1545
+ ],
1546
+ "stateMutability": "view",
1547
+ "type": "function"
1548
+ },
1549
+ {
1550
+ "inputs": [],
1551
+ "name": "txProofDifficultyFactor",
1552
+ "outputs": [
1553
+ {
1554
+ "internalType": "uint256",
1555
+ "name": "txProofDifficultyFactor",
1556
+ "type": "uint256"
1557
+ }
1558
+ ],
1559
+ "stateMutability": "view",
1560
+ "type": "function"
1561
+ },
1562
+ {
1563
+ "inputs": [
1564
+ {
1565
+ "internalType": "uint32",
1566
+ "name": "walletCreationPeriod",
1567
+ "type": "uint32"
1568
+ },
1569
+ {
1570
+ "internalType": "uint64",
1571
+ "name": "walletMinBtcBalance",
1572
+ "type": "uint64"
1573
+ },
1574
+ {
1575
+ "internalType": "uint64",
1576
+ "name": "walletMaxBtcBalance",
1577
+ "type": "uint64"
1578
+ },
1579
+ {
1580
+ "internalType": "uint32",
1581
+ "name": "walletMaxAge",
1582
+ "type": "uint32"
1583
+ }
1584
+ ],
1585
+ "name": "updateWalletParameters",
1586
+ "outputs": [],
1587
+ "stateMutability": "nonpayable",
1588
+ "type": "function"
1589
+ },
1590
+ {
1591
+ "inputs": [],
1592
+ "name": "walletParameters",
1593
+ "outputs": [
1594
+ {
1595
+ "internalType": "uint32",
1596
+ "name": "walletCreationPeriod",
1597
+ "type": "uint32"
1598
+ },
1599
+ {
1600
+ "internalType": "uint64",
1601
+ "name": "walletMinBtcBalance",
1602
+ "type": "uint64"
1603
+ },
1604
+ {
1605
+ "internalType": "uint64",
1606
+ "name": "walletMaxBtcBalance",
1607
+ "type": "uint64"
1608
+ },
162
1609
  {
163
1610
  "internalType": "uint32",
164
- "name": "revealedAt",
1611
+ "name": "walletMaxAge",
165
1612
  "type": "uint32"
166
1613
  }
167
1614
  ],
@@ -169,8 +1616,162 @@
169
1616
  "type": "function"
170
1617
  }
171
1618
  ],
172
- "bytecode": "0x608060405234801561001057600080fd5b506109f0806100206000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80632c3e1d121461004657806342b1f1a41461006257806343c6de291461007e575b600080fd5b610060600480360381019061005b91906103df565b6100b0565b005b61007c60048036038101906100779190610486565b610238565b005b61009860048036038101906100939190610584565b610241565b6040516100a793929190610735565b60405180910390f35b60008787336040516020016100c793929190610657565b6040516020818303038152906040528051906020012060001c905060008060008381526020019081526020016000209050600081600001601c9054906101000a900463ffffffff1663ffffffff1614610155576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161014c9061068e565b60405180910390fd5b838160000160006101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550828160000160086101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055504281600001601c6101000a81548163ffffffff021916908363ffffffff1602179055507fed7e2a3180a53ccf8540bf67f1679359557837b4c2350f3c7f1d1409eaac3739828a8a338b8b8b8b8b604051610225999897969594939291906106ae565b60405180910390a1505050505050505050565b50505050505050565b60006020528060005260406000206000915090508060000160009054906101000a900467ffffffffffffffff16908060000160089054906101000a900473ffffffffffffffffffffffffffffffffffffffff169080600001601c9054906101000a900463ffffffff16905083565b60006102c26102bd84610791565b61076c565b9050828152602081018484840111156102da57600080fd5b6102e5848285610887565b509392505050565b6000813590506102fc81610930565b92915050565b60008135905061031181610947565b92915050565b6000813590506103268161095e565b92915050565b60008083601f84011261033e57600080fd5b8235905067ffffffffffffffff81111561035757600080fd5b60208301915083600182028301111561036f57600080fd5b9250929050565b600082601f83011261038757600080fd5b81356103978482602086016102af565b91505092915050565b6000813590506103af81610975565b92915050565b6000813590506103c48161098c565b92915050565b6000813590506103d9816109a3565b92915050565b600080600080600080600060c0888a0312156103fa57600080fd5b60006104088a828b01610302565b97505060206104198a828b016103ca565b965050604061042a8a828b016103b5565b955050606088013567ffffffffffffffff81111561044757600080fd5b6104538a828b0161032c565b945094505060806104668a828b016103b5565b92505060a06104778a828b016102ed565b91505092959891949750929550565b600080600080600080600060e0888a0312156104a157600080fd5b60006104af8a828b01610317565b975050602088013567ffffffffffffffff8111156104cc57600080fd5b6104d88a828b01610376565b965050604088013567ffffffffffffffff8111156104f557600080fd5b6105018a828b01610376565b95505060606105128a828b01610317565b945050608088013567ffffffffffffffff81111561052f57600080fd5b61053b8a828b01610376565b93505060a061054c8a828b016103a0565b92505060c088013567ffffffffffffffff81111561056957600080fd5b6105758a828b01610376565b91505092959891949750929550565b60006020828403121561059657600080fd5b60006105a4848285016103a0565b91505092915050565b6105b6816107e4565b82525050565b6105c5816107f6565b82525050565b60006105d783856107c2565b93506105e4838584610887565b6105ed836108f6565b840190509392505050565b60006106056018836107d3565b915061061082610907565b602082019050919050565b6106248161084c565b82525050565b61063381610856565b82525050565b61064281610866565b82525050565b6106518161087a565b82525050565b600060608201905061066c60008301866105bc565b6106796020830185610648565b61068660408301846105ad565b949350505050565b600060208201905081810360008301526106a7816105f8565b9050919050565b6000610100820190506106c4600083018c61061b565b6106d1602083018b6105bc565b6106de604083018a610648565b6106eb60608301896105ad565b6106f86080830188610639565b81810360a083015261070b8186886105cb565b905061071a60c0830185610639565b61072760e08301846105ad565b9a9950505050505050505050565b600060608201905061074a6000830186610639565b61075760208301856105ad565b610764604083018461062a565b949350505050565b6000610776610787565b90506107828282610896565b919050565b6000604051905090565b600067ffffffffffffffff8211156107ac576107ab6108c7565b5b6107b5826108f6565b9050602081019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b60006107ef8261082c565b9050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600063ffffffff82169050919050565b600067ffffffffffffffff82169050919050565b600060ff82169050919050565b82818337600083830152505050565b61089f826108f6565b810181811067ffffffffffffffff821117156108be576108bd6108c7565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4465706f73697420616c72656164792072657665616c65640000000000000000600082015250565b610939816107e4565b811461094457600080fd5b50565b610950816107f6565b811461095b57600080fd5b50565b61096781610800565b811461097257600080fd5b50565b61097e8161084c565b811461098957600080fd5b50565b61099581610866565b81146109a057600080fd5b50565b6109ac8161087a565b81146109b757600080fd5b5056fea26469706673582212207d1e61f37f8d0f4d2e819ea92984d0f23b9d069fd850451fb407141395ccff2864736f6c63430008040033",
173
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100415760003560e01c80632c3e1d121461004657806342b1f1a41461006257806343c6de291461007e575b600080fd5b610060600480360381019061005b91906103df565b6100b0565b005b61007c60048036038101906100779190610486565b610238565b005b61009860048036038101906100939190610584565b610241565b6040516100a793929190610735565b60405180910390f35b60008787336040516020016100c793929190610657565b6040516020818303038152906040528051906020012060001c905060008060008381526020019081526020016000209050600081600001601c9054906101000a900463ffffffff1663ffffffff1614610155576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161014c9061068e565b60405180910390fd5b838160000160006101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550828160000160086101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055504281600001601c6101000a81548163ffffffff021916908363ffffffff1602179055507fed7e2a3180a53ccf8540bf67f1679359557837b4c2350f3c7f1d1409eaac3739828a8a338b8b8b8b8b604051610225999897969594939291906106ae565b60405180910390a1505050505050505050565b50505050505050565b60006020528060005260406000206000915090508060000160009054906101000a900467ffffffffffffffff16908060000160089054906101000a900473ffffffffffffffffffffffffffffffffffffffff169080600001601c9054906101000a900463ffffffff16905083565b60006102c26102bd84610791565b61076c565b9050828152602081018484840111156102da57600080fd5b6102e5848285610887565b509392505050565b6000813590506102fc81610930565b92915050565b60008135905061031181610947565b92915050565b6000813590506103268161095e565b92915050565b60008083601f84011261033e57600080fd5b8235905067ffffffffffffffff81111561035757600080fd5b60208301915083600182028301111561036f57600080fd5b9250929050565b600082601f83011261038757600080fd5b81356103978482602086016102af565b91505092915050565b6000813590506103af81610975565b92915050565b6000813590506103c48161098c565b92915050565b6000813590506103d9816109a3565b92915050565b600080600080600080600060c0888a0312156103fa57600080fd5b60006104088a828b01610302565b97505060206104198a828b016103ca565b965050604061042a8a828b016103b5565b955050606088013567ffffffffffffffff81111561044757600080fd5b6104538a828b0161032c565b945094505060806104668a828b016103b5565b92505060a06104778a828b016102ed565b91505092959891949750929550565b600080600080600080600060e0888a0312156104a157600080fd5b60006104af8a828b01610317565b975050602088013567ffffffffffffffff8111156104cc57600080fd5b6104d88a828b01610376565b965050604088013567ffffffffffffffff8111156104f557600080fd5b6105018a828b01610376565b95505060606105128a828b01610317565b945050608088013567ffffffffffffffff81111561052f57600080fd5b61053b8a828b01610376565b93505060a061054c8a828b016103a0565b92505060c088013567ffffffffffffffff81111561056957600080fd5b6105758a828b01610376565b91505092959891949750929550565b60006020828403121561059657600080fd5b60006105a4848285016103a0565b91505092915050565b6105b6816107e4565b82525050565b6105c5816107f6565b82525050565b60006105d783856107c2565b93506105e4838584610887565b6105ed836108f6565b840190509392505050565b60006106056018836107d3565b915061061082610907565b602082019050919050565b6106248161084c565b82525050565b61063381610856565b82525050565b61064281610866565b82525050565b6106518161087a565b82525050565b600060608201905061066c60008301866105bc565b6106796020830185610648565b61068660408301846105ad565b949350505050565b600060208201905081810360008301526106a7816105f8565b9050919050565b6000610100820190506106c4600083018c61061b565b6106d1602083018b6105bc565b6106de604083018a610648565b6106eb60608301896105ad565b6106f86080830188610639565b81810360a083015261070b8186886105cb565b905061071a60c0830185610639565b61072760e08301846105ad565b9a9950505050505050505050565b600060608201905061074a6000830186610639565b61075760208301856105ad565b610764604083018461062a565b949350505050565b6000610776610787565b90506107828282610896565b919050565b6000604051905090565b600067ffffffffffffffff8211156107ac576107ab6108c7565b5b6107b5826108f6565b9050602081019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b60006107ef8261082c565b9050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600063ffffffff82169050919050565b600067ffffffffffffffff82169050919050565b600060ff82169050919050565b82818337600083830152505050565b61089f826108f6565b810181811067ffffffffffffffff821117156108be576108bd6108c7565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4465706f73697420616c72656164792072657665616c65640000000000000000600082015250565b610939816107e4565b811461094457600080fd5b50565b610950816107f6565b811461095b57600080fd5b50565b61096781610800565b811461097257600080fd5b50565b61097e8161084c565b811461098957600080fd5b50565b61099581610866565b81146109a057600080fd5b50565b6109ac8161087a565b81146109b757600080fd5b5056fea26469706673582212207d1e61f37f8d0f4d2e819ea92984d0f23b9d069fd850451fb407141395ccff2864736f6c63430008040033",
174
- "linkReferences": {},
175
- "deployedLinkReferences": {}
1619
+ "bytecode": "0x60806040523480156200001157600080fd5b50604051620025d8380380620025d8833981016040819052620000349162000333565b6200003f33620002c6565b6001600160a01b0385166200009b5760405162461bcd60e51b815260206004820152601b60248201527f42616e6b20616464726573732063616e6e6f74206265207a65726f000000000060448201526064015b60405180910390fd5b600180546001600160a01b0319166001600160a01b038781169190911790915584166200010b5760405162461bcd60e51b815260206004820152601c60248201527f52656c617920616464726573732063616e6e6f74206265207a65726f00000000604482015260640162000092565b600280546001600160a01b0319166001600160a01b03868116919091179091558216620001905760405162461bcd60e51b815260206004820152602c60248201527f45434453412057616c6c6574205265676973747279206164647265737320636160448201526b6e6e6f74206265207a65726f60a01b606482015260840162000092565b600380546001600160a01b0319166001600160a01b03848116919091179091558316620002005760405162461bcd60e51b815260206004820152601f60248201527f547265617375727920616464726573732063616e6e6f74206265207a65726f00604482015260640162000092565b600580546004929092556001600160a01b03939093166001600160e01b031990911617613d0960a61b179091555050600680546001600160801b03191669271000000000000007d0179055506202a300600a5579271000000000000007d000000000000f4240000000000000271060095569021e19e0c9bab2400000600d556064600e5562093a80600f55671bc16d674ec80000601055601380546001600160c01b03191676eff100000000003b9aca000000000005f5e10000093a801790556200039a565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146200032e57600080fd5b919050565b600080600080600060a086880312156200034c57600080fd5b620003578662000316565b9450620003676020870162000316565b9350620003776040870162000316565b9250620003876060870162000316565b9150608086015190509295509295909350565b61222e80620003aa6000396000f3fe6080604052600436106102195760003560e01c806377145f211161011d578063b34b3216116100b0578063d6eccdf01161007f578063e53c0b5511610064578063e53c0b5514610aea578063e86a1be614610b23578063f2fde38b14610b4357600080fd5b8063d6eccdf014610aaa578063d95027b714610aca57600080fd5b8063b34b3216146109dd578063be05abe3146109fd578063c3a2a93a14610a26578063c42b64d014610a5957600080fd5b8063a145e2d5116100ec578063a145e2d5146107ff578063a8fa0f421461081f578063b02c43d01461083f578063b2146cd61461099d57600080fd5b806377145f2114610763578063793bb473146107835780638da5cb5b146107b45780638fa4ad28146107d257600080fd5b80635c0b4812116101b057806367f272471161017f5780636e70ce41116101645780636e70ce4114610698578063715018a61461071557806375b922d11461072a57600080fd5b806367f27247146106655780636d02b43c1461068557600080fd5b80635c0b48121461058f57806360d712fc146105af57806361ccf97a146105cf57806361d027b31461063357600080fd5b806333e957cb116101ec57806333e957cb146104505780633dce98121461052f578063575e42791461054f57806359a9d90a1461056f57600080fd5b806303d952f71461021e5780630b6ba19d1461034d5780632bb818c2146104105780632f429b641461042e575b600080fd5b34801561022a57600080fd5b506102e16102393660046116c8565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152506000908152600b6020908152604091829020825160a08101845281546001600160a01b0381168252600160a01b900467ffffffffffffffff90811693820193909352600190910154808316938201939093526801000000000000000083049091166060820152600160801b90910463ffffffff16608082015290565b6040516103449190600060a0820190506001600160a01b038351168252602083015167ffffffffffffffff8082166020850152806040860151166040850152806060860151166060850152505063ffffffff608084015116608083015292915050565b60405180910390f35b34801561035957600080fd5b506102e16103683660046116c8565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152506000908152600c6020908152604091829020825160a08101845281546001600160a01b0381168252600160a01b900467ffffffffffffffff90811693820193909352600190910154808316938201939093526801000000000000000083049091166060820152600160801b90910463ffffffff16608082015290565b34801561041c57600080fd5b50600454604051908152602001610344565b34801561043a57600080fd5b5061044e61044936600461172d565b610b63565b005b34801561045c57600080fd5b506104eb61046b3660046116c8565b60408051608081018252600080825260208201819052918101829052606081019190915250600090815260116020908152604091829020825160808101845281546001600160a01b031681526001820154928101929092526002015463ffffffff81169282019290925264010000000090910460ff161515606082015290565b604051610344919081516001600160a01b031681526020808301519082015260408083015163ffffffff169082015260609182015115159181019190915260800190565b34801561053b57600080fd5b5061044e61054a3660046117b3565b610bf0565b34801561055b57600080fd5b5061044e61056a3660046117df565b610c80565b34801561057b57600080fd5b5061044e61058a366004611813565b610d09565b34801561059b57600080fd5b5061044e6105aa366004611888565b610d60565b3480156105bb57600080fd5b5061044e6105ca36600461190a565b610db5565b3480156105db57600080fd5b506013546040805163ffffffff808416825267ffffffffffffffff6401000000008504811660208401526c0100000000000000000000000085041692820192909252600160a01b909204166060820152608001610344565b34801561063f57600080fd5b506005546001600160a01b03165b6040516001600160a01b039091168152602001610344565b34801561067157600080fd5b5061044e61068036600461197d565b610e73565b61044e6106933660046119d0565b610eca565b3480156106a457600080fd5b50600954600a546040805167ffffffffffffffff68010000000000000000850481168252600160801b850481166020830152780100000000000000000000000000000000000000000000000090940490931690830152606082015260006080820181905260a082015260c001610344565b34801561072157600080fd5b5061044e610f23565b34801561073657600080fd5b50600d54600e54600f54601054604080519485526020850193909352918301526060820152608001610344565b34801561076f57600080fd5b5061044e61077e366004611a23565b610f89565b34801561078f57600080fd5b5060145460601b6040516bffffffffffffffffffffffff199091168152602001610344565b3480156107c057600080fd5b506000546001600160a01b031661064d565b3480156107de57600080fd5b506107f26107ed366004611aa4565b61101b565b6040516103449190611adc565b34801561080b57600080fd5b5061044e61081a366004611b60565b61111c565b34801561082b57600080fd5b5061044e61083a3660046117b3565b6111a2565b34801561084b57600080fd5b5061092761085a3660046116c8565b6040805160c081018252600080825260208201819052918101829052606081018290526080810182905260a081019190915250600090815260076020908152604091829020825160c08101845281546001600160a01b03808216835267ffffffffffffffff600160a01b80840482169685019690965263ffffffff7c0100000000000000000000000000000000000000000000000000000000938490048116978501979097526001949094015490811660608401529384049092166080820152910490911660a082015290565b6040516103449190600060c0820190506001600160a01b03808451168352602084015167ffffffffffffffff80821660208601526040860151915063ffffffff80831660408701528360608801511660608701528160808801511660808701528060a08801511660a08701525050505092915050565b3480156109a957600080fd5b506109cd6109b83660046116c8565b60009081526012602052604090205460ff1690565b6040519015158152602001610344565b3480156109e957600080fd5b5061044e6109f836600461172d565b611208565b348015610a0957600080fd5b5060095460405167ffffffffffffffff9091168152602001610344565b348015610a3257600080fd5b50600154600254604080516001600160a01b03938416815292909116602083015201610344565b348015610a6557600080fd5b5060055460065460408051600160a01b90930467ffffffffffffffff908116845280831660208501526801000000000000000090920490911690820152606001610344565b348015610ab657600080fd5b5061044e610ac5366004611b94565b611261565b348015610ad657600080fd5b5061044e610ae5366004611bff565b6112bc565b348015610af657600080fd5b506109cd610b05366004611c4b565b6001600160a01b031660009081526008602052604090205460ff1690565b348015610b2f57600080fd5b5061044e610b3e366004611c7a565b611313565b348015610b4f57600080fd5b5061044e610b5e366004611c4b565b611381565b6040517e92bac900000000000000000000000000000000000000000000000000000000815273__$edce581bb06331cf4dae1387760565e5d1$__906292bac990610bba906001908890889088908890600401611e88565b60006040518083038186803b158015610bd257600080fd5b505af4158015610be6573d6000803e3d6000fd5b5050505050505050565b6040517fc87de7f400000000000000000000000000000000000000000000000000000000815260016004820152602481018390526044810182905273__$0f118c52967a3847a37f0a2ef02ffcee04$__9063c87de7f4906064015b60006040518083038186803b158015610c6357600080fd5b505af4158015610c77573d6000803e3d6000fd5b50505050505050565b6040517f99b0b84700000000000000000000000000000000000000000000000000000000815273__$0f118c52967a3847a37f0a2ef02ffcee04$__906399b0b84790610cd59060019086908690600401611ee2565b60006040518083038186803b158015610ced57600080fd5b505af4158015610d01573d6000803e3d6000fd5b505050505050565b6040517f510fc50a00000000000000000000000000000000000000000000000000000000815273__$61f169726e973bba1227e0c23d2755f88e$__9063510fc50a90610c4b90600190879087908790600401611f13565b6040517faea7fd0b00000000000000000000000000000000000000000000000000000000815273__$894ce12e79ca3e5683c1b49e363f37fa22$__9063aea7fd0b90610cd59060019086908690600401611f57565b6000546001600160a01b03163314610e145760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6001600160a01b038216600081815260086020908152604091829020805460ff191685151590811790915591519182527f9065599c12c4294d9e2201638226d0d0beb95c228f468c4e7c2bdb8322b6066f910160405180910390a25050565b6040517f13d0c66800000000000000000000000000000000000000000000000000000000815273__$faca6b149b11b9e5dd3c54d44c40a95c4f$__906313d0c66890610c4b90600190879087908790600401612094565b6040517f3b5d9f2400000000000000000000000000000000000000000000000000000000815273__$a542940934c03bae9a39609192cb25cc3c$__90633b5d9f2490610bba9060019088908890889088906004016120c3565b6000546001600160a01b03163314610f7d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610e0b565b610f876000611463565b565b6040517f624526fe00000000000000000000000000000000000000000000000000000000815273__$a542940934c03bae9a39609192cb25cc3c$__9063624526fe90610fe4906001908990899089908990899060040161211d565b60006040518083038186803b158015610ffc57600080fd5b505af4158015611010573d6000803e3d6000fd5b505050505050505050565b6040805160e081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091526bffffffffffffffffffffffff198216600090815260156020908152604091829020825160e08101845281548152600182015492810192909252600281015467ffffffffffffffff81169383019390935263ffffffff680100000000000000008404811660608401526c010000000000000000000000008404166080830152909160a083019060ff600160801b9091041660048111156110f6576110f6611ac6565b600481111561110757611107611ac6565b81526020016003820154815250509050919050565b6040517fd079fbb100000000000000000000000000000000000000000000000000000000815273__$0f118c52967a3847a37f0a2ef02ffcee04$__9063d079fbb19061116f906001908590600401612160565b60006040518083038186803b15801561118757600080fd5b505af415801561119b573d6000803e3d6000fd5b5050505050565b6040517f4afbe4c90000000000000000000000000000000000000000000000000000000081526001600482015260248101849052604481018390526064810182905273__$0f118c52967a3847a37f0a2ef02ffcee04$__90634afbe4c990608401610c4b565b6040517fa164de6e00000000000000000000000000000000000000000000000000000000815273__$faca6b149b11b9e5dd3c54d44c40a95c4f$__9063a164de6e90610bba906001908890889088908890600401611e88565b6040517f7333b36900000000000000000000000000000000000000000000000000000000815273__$faca6b149b11b9e5dd3c54d44c40a95c4f$__90637333b36990610fe49060019089908990899089908990600401612174565b6040517f72c9c91c00000000000000000000000000000000000000000000000000000000815273__$a542940934c03bae9a39609192cb25cc3c$__906372c9c91c90610c4b906001908790879087906004016121cd565b6000546001600160a01b0316331461136d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610e0b565b61137b6001858585856114cb565b50505050565b6000546001600160a01b031633146113db5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610e0b565b6001600160a01b0381166114575760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610e0b565b61146081611463565b50565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60008367ffffffffffffffff161161154b5760405162461bcd60e51b815260206004820152603460248201527f57616c6c6574206d696e696d756d204254432062616c616e6365206d7573742060448201527f62652067726561746572207468616e207a65726f0000000000000000000000006064820152608401610e0b565b8267ffffffffffffffff168267ffffffffffffffff16116115d45760405162461bcd60e51b815260206004820152603b60248201527f57616c6c6574206d6178696d756d204254432062616c616e6365206d7573742060448201527f62652067726561746572207468616e20746865206d696e696d756d00000000006064820152608401610e0b565b60128501805463ffffffff8681166bffffffffffffffffffffffff19909216821764010000000067ffffffffffffffff888116918202929092177fffffffffffffffff000000000000000000000000ffffffffffffffffffffffff166c010000000000000000000000009288169283027fffffffffffffffff00000000ffffffffffffffffffffffffffffffffffffffff1617600160a01b938716938402179094556040805193845260208401949094529282019290925260608101919091527fc5e6f9192c5d47e7f338142843062686c7659943485864e5998551473c18505e9060800160405180910390a15050505050565b6000602082840312156116da57600080fd5b5035919050565b6000608082840312156116f357600080fd5b50919050565b6000606082840312156116f357600080fd5b80356bffffffffffffffffffffffff198116811461172857600080fd5b919050565b60008060008060c0858703121561174357600080fd5b843567ffffffffffffffff8082111561175b57600080fd5b611767888389016116e1565b9550602087013591508082111561177d57600080fd5b5061178a878288016116f9565b93505061179a86604087016116f9565b91506117a860a0860161170b565b905092959194509250565b6000806000606084860312156117c857600080fd5b505081359360208301359350604090920135919050565b600080608083850312156117f257600080fd5b6117fb8361170b565b915061180a84602085016116f9565b90509250929050565b600080600060a0848603121561182857600080fd5b833567ffffffffffffffff8082111561184057600080fd5b61184c878388016116e1565b9450602086013591508082111561186257600080fd5b5061186f868287016116f9565b92505061187f85604086016116f9565b90509250925092565b60008082840361010081121561189d57600080fd5b833567ffffffffffffffff8111156118b457600080fd5b6118c0868287016116e1565b93505060e0601f19820112156118d557600080fd5b506020830190509250929050565b80356001600160a01b038116811461172857600080fd5b8035801515811461172857600080fd5b6000806040838503121561191d57600080fd5b611926836118e3565b915061180a602084016118fa565b60008083601f84011261194657600080fd5b50813567ffffffffffffffff81111561195e57600080fd5b60208301915083602082850101111561197657600080fd5b9250929050565b60008060006040848603121561199257600080fd5b61199b8461170b565b9250602084013567ffffffffffffffff8111156119b757600080fd5b6119c386828701611934565b9497909650939450505050565b60008060008060a085870312156119e657600080fd5b843567ffffffffffffffff8111156119fd57600080fd5b611a0987828801611934565b909550935050602085013591506117a886604087016116f9565b600080600080600060608688031215611a3b57600080fd5b853567ffffffffffffffff80821115611a5357600080fd5b611a5f89838a01611934565b90975095506020880135915080821115611a7857600080fd5b50611a8588828901611934565b9094509250611a989050604087016118fa565b90509295509295909350565b600060208284031215611ab657600080fd5b611abf8261170b565b9392505050565b634e487b7160e01b600052602160045260246000fd5b600060e082019050825182526020830151602083015267ffffffffffffffff6040840151166040830152606083015163ffffffff8082166060850152806080860151166080850152505060a083015160058110611b4957634e487b7160e01b600052602160045260246000fd5b8060a08401525060c083015160c083015292915050565b600060608284031215611b7257600080fd5b611abf83836116f9565b803567ffffffffffffffff8116811461172857600080fd5b600080600080600060c08688031215611bac57600080fd5b611bb58661170b565b9450611bc487602088016116f9565b9350608086013567ffffffffffffffff811115611be057600080fd5b611bec88828901611934565b9094509250611a98905060a08701611b7c565b600080600060408486031215611c1457600080fd5b833567ffffffffffffffff811115611c2b57600080fd5b611c3786828701611934565b909790965060209590950135949350505050565b600060208284031215611c5d57600080fd5b611abf826118e3565b803563ffffffff8116811461172857600080fd5b60008060008060808587031215611c9057600080fd5b611c9985611c66565b9350611ca760208601611b7c565b9250611cb560408601611b7c565b91506117a860608601611c66565b80357fffffffff000000000000000000000000000000000000000000000000000000008116811461172857600080fd5b6000808335601e19843603018112611d0a57600080fd5b830160208101925035905067ffffffffffffffff811115611d2a57600080fd5b80360383131561197657600080fd5b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b60007fffffffff0000000000000000000000000000000000000000000000000000000080611d8f84611cc3565b168452611d9f6020840184611cf3565b60806020870152611db4608087018284611d39565b915050611dc46040850185611cf3565b8683036040880152611dd7838284611d39565b9250505081611de860608601611cc3565b166060860152809250505092915050565b6000611e058283611cf3565b60608552611e17606086018284611d39565b91505060208301356020850152611e316040840184611cf3565b8583036040870152611e44838284611d39565b9695505050505050565b8035825263ffffffff611e6360208301611c66565b16602083015267ffffffffffffffff611e7e60408301611b7c565b1660408301525050565b85815260e060208201526000611ea160e0830187611d62565b8281036040840152611eb38187611df9565b915050611ec36060830185611e4e565b6bffffffffffffffffffffffff19831660c08301529695505050505050565b8381526bffffffffffffffffffffffff198316602082015260a08101611f0b6040830184611e4e565b949350505050565b84815260c060208201526000611f2c60c0830186611d62565b8281036040840152611f3e8186611df9565b915050611f4e6060830184611e4e565b95945050505050565b6000610120858352806020840152611f7181840186611d62565b91505063ffffffff611f8284611c66565b1660408301526001600160a01b03611f9c602085016118e3565b16606083015260408301357fffffffffffffffff00000000000000000000000000000000000000000000000081168114611fd557600080fd5b7fffffffffffffffff0000000000000000000000000000000000000000000000001660808301526120086060840161170b565b6bffffffffffffffffffffffff191660a08301526120286080840161170b565b6bffffffffffffffffffffffff191660c083015261204860a08401611cc3565b7fffffffff000000000000000000000000000000000000000000000000000000001660e083015261207b60c084016118e3565b6001600160a01b03811661010084015250949350505050565b8481526bffffffffffffffffffffffff1984166020820152606060408201526000611e44606083018486611d39565b85815260c0602082015260006120dd60c083018688611d39565b90508360408301528235606083015260208301356080830152604083013560ff811680821461210b57600080fd5b8060a085015250509695505050505050565b868152608060208201526000612137608083018789611d39565b828103604084015261214a818688611d39565b9150508215156060830152979650505050505050565b82815260808101611abf6020830184611e4e565b8681526bffffffffffffffffffffffff19861660208201526121996040820186611e4e565b60e060a082015260006121b060e083018587611d39565b905067ffffffffffffffff831660c0830152979650505050505050565b8481526060602082015260006121e7606083018587611d39565b90508260408301529594505050505056fea26469706673582212206232e984e49ddb02ba60f50b915a9603fe36941a37462c827bdee6df1135bbb564736f6c63430008090033",
1620
+ "deployedBytecode": "0x6080604052600436106102195760003560e01c806377145f211161011d578063b34b3216116100b0578063d6eccdf01161007f578063e53c0b5511610064578063e53c0b5514610aea578063e86a1be614610b23578063f2fde38b14610b4357600080fd5b8063d6eccdf014610aaa578063d95027b714610aca57600080fd5b8063b34b3216146109dd578063be05abe3146109fd578063c3a2a93a14610a26578063c42b64d014610a5957600080fd5b8063a145e2d5116100ec578063a145e2d5146107ff578063a8fa0f421461081f578063b02c43d01461083f578063b2146cd61461099d57600080fd5b806377145f2114610763578063793bb473146107835780638da5cb5b146107b45780638fa4ad28146107d257600080fd5b80635c0b4812116101b057806367f272471161017f5780636e70ce41116101645780636e70ce4114610698578063715018a61461071557806375b922d11461072a57600080fd5b806367f27247146106655780636d02b43c1461068557600080fd5b80635c0b48121461058f57806360d712fc146105af57806361ccf97a146105cf57806361d027b31461063357600080fd5b806333e957cb116101ec57806333e957cb146104505780633dce98121461052f578063575e42791461054f57806359a9d90a1461056f57600080fd5b806303d952f71461021e5780630b6ba19d1461034d5780632bb818c2146104105780632f429b641461042e575b600080fd5b34801561022a57600080fd5b506102e16102393660046116c8565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152506000908152600b6020908152604091829020825160a08101845281546001600160a01b0381168252600160a01b900467ffffffffffffffff90811693820193909352600190910154808316938201939093526801000000000000000083049091166060820152600160801b90910463ffffffff16608082015290565b6040516103449190600060a0820190506001600160a01b038351168252602083015167ffffffffffffffff8082166020850152806040860151166040850152806060860151166060850152505063ffffffff608084015116608083015292915050565b60405180910390f35b34801561035957600080fd5b506102e16103683660046116c8565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152506000908152600c6020908152604091829020825160a08101845281546001600160a01b0381168252600160a01b900467ffffffffffffffff90811693820193909352600190910154808316938201939093526801000000000000000083049091166060820152600160801b90910463ffffffff16608082015290565b34801561041c57600080fd5b50600454604051908152602001610344565b34801561043a57600080fd5b5061044e61044936600461172d565b610b63565b005b34801561045c57600080fd5b506104eb61046b3660046116c8565b60408051608081018252600080825260208201819052918101829052606081019190915250600090815260116020908152604091829020825160808101845281546001600160a01b031681526001820154928101929092526002015463ffffffff81169282019290925264010000000090910460ff161515606082015290565b604051610344919081516001600160a01b031681526020808301519082015260408083015163ffffffff169082015260609182015115159181019190915260800190565b34801561053b57600080fd5b5061044e61054a3660046117b3565b610bf0565b34801561055b57600080fd5b5061044e61056a3660046117df565b610c80565b34801561057b57600080fd5b5061044e61058a366004611813565b610d09565b34801561059b57600080fd5b5061044e6105aa366004611888565b610d60565b3480156105bb57600080fd5b5061044e6105ca36600461190a565b610db5565b3480156105db57600080fd5b506013546040805163ffffffff808416825267ffffffffffffffff6401000000008504811660208401526c0100000000000000000000000085041692820192909252600160a01b909204166060820152608001610344565b34801561063f57600080fd5b506005546001600160a01b03165b6040516001600160a01b039091168152602001610344565b34801561067157600080fd5b5061044e61068036600461197d565b610e73565b61044e6106933660046119d0565b610eca565b3480156106a457600080fd5b50600954600a546040805167ffffffffffffffff68010000000000000000850481168252600160801b850481166020830152780100000000000000000000000000000000000000000000000090940490931690830152606082015260006080820181905260a082015260c001610344565b34801561072157600080fd5b5061044e610f23565b34801561073657600080fd5b50600d54600e54600f54601054604080519485526020850193909352918301526060820152608001610344565b34801561076f57600080fd5b5061044e61077e366004611a23565b610f89565b34801561078f57600080fd5b5060145460601b6040516bffffffffffffffffffffffff199091168152602001610344565b3480156107c057600080fd5b506000546001600160a01b031661064d565b3480156107de57600080fd5b506107f26107ed366004611aa4565b61101b565b6040516103449190611adc565b34801561080b57600080fd5b5061044e61081a366004611b60565b61111c565b34801561082b57600080fd5b5061044e61083a3660046117b3565b6111a2565b34801561084b57600080fd5b5061092761085a3660046116c8565b6040805160c081018252600080825260208201819052918101829052606081018290526080810182905260a081019190915250600090815260076020908152604091829020825160c08101845281546001600160a01b03808216835267ffffffffffffffff600160a01b80840482169685019690965263ffffffff7c0100000000000000000000000000000000000000000000000000000000938490048116978501979097526001949094015490811660608401529384049092166080820152910490911660a082015290565b6040516103449190600060c0820190506001600160a01b03808451168352602084015167ffffffffffffffff80821660208601526040860151915063ffffffff80831660408701528360608801511660608701528160808801511660808701528060a08801511660a08701525050505092915050565b3480156109a957600080fd5b506109cd6109b83660046116c8565b60009081526012602052604090205460ff1690565b6040519015158152602001610344565b3480156109e957600080fd5b5061044e6109f836600461172d565b611208565b348015610a0957600080fd5b5060095460405167ffffffffffffffff9091168152602001610344565b348015610a3257600080fd5b50600154600254604080516001600160a01b03938416815292909116602083015201610344565b348015610a6557600080fd5b5060055460065460408051600160a01b90930467ffffffffffffffff908116845280831660208501526801000000000000000090920490911690820152606001610344565b348015610ab657600080fd5b5061044e610ac5366004611b94565b611261565b348015610ad657600080fd5b5061044e610ae5366004611bff565b6112bc565b348015610af657600080fd5b506109cd610b05366004611c4b565b6001600160a01b031660009081526008602052604090205460ff1690565b348015610b2f57600080fd5b5061044e610b3e366004611c7a565b611313565b348015610b4f57600080fd5b5061044e610b5e366004611c4b565b611381565b6040517e92bac900000000000000000000000000000000000000000000000000000000815273__$edce581bb06331cf4dae1387760565e5d1$__906292bac990610bba906001908890889088908890600401611e88565b60006040518083038186803b158015610bd257600080fd5b505af4158015610be6573d6000803e3d6000fd5b5050505050505050565b6040517fc87de7f400000000000000000000000000000000000000000000000000000000815260016004820152602481018390526044810182905273__$0f118c52967a3847a37f0a2ef02ffcee04$__9063c87de7f4906064015b60006040518083038186803b158015610c6357600080fd5b505af4158015610c77573d6000803e3d6000fd5b50505050505050565b6040517f99b0b84700000000000000000000000000000000000000000000000000000000815273__$0f118c52967a3847a37f0a2ef02ffcee04$__906399b0b84790610cd59060019086908690600401611ee2565b60006040518083038186803b158015610ced57600080fd5b505af4158015610d01573d6000803e3d6000fd5b505050505050565b6040517f510fc50a00000000000000000000000000000000000000000000000000000000815273__$61f169726e973bba1227e0c23d2755f88e$__9063510fc50a90610c4b90600190879087908790600401611f13565b6040517faea7fd0b00000000000000000000000000000000000000000000000000000000815273__$894ce12e79ca3e5683c1b49e363f37fa22$__9063aea7fd0b90610cd59060019086908690600401611f57565b6000546001600160a01b03163314610e145760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6001600160a01b038216600081815260086020908152604091829020805460ff191685151590811790915591519182527f9065599c12c4294d9e2201638226d0d0beb95c228f468c4e7c2bdb8322b6066f910160405180910390a25050565b6040517f13d0c66800000000000000000000000000000000000000000000000000000000815273__$faca6b149b11b9e5dd3c54d44c40a95c4f$__906313d0c66890610c4b90600190879087908790600401612094565b6040517f3b5d9f2400000000000000000000000000000000000000000000000000000000815273__$a542940934c03bae9a39609192cb25cc3c$__90633b5d9f2490610bba9060019088908890889088906004016120c3565b6000546001600160a01b03163314610f7d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610e0b565b610f876000611463565b565b6040517f624526fe00000000000000000000000000000000000000000000000000000000815273__$a542940934c03bae9a39609192cb25cc3c$__9063624526fe90610fe4906001908990899089908990899060040161211d565b60006040518083038186803b158015610ffc57600080fd5b505af4158015611010573d6000803e3d6000fd5b505050505050505050565b6040805160e081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091526bffffffffffffffffffffffff198216600090815260156020908152604091829020825160e08101845281548152600182015492810192909252600281015467ffffffffffffffff81169383019390935263ffffffff680100000000000000008404811660608401526c010000000000000000000000008404166080830152909160a083019060ff600160801b9091041660048111156110f6576110f6611ac6565b600481111561110757611107611ac6565b81526020016003820154815250509050919050565b6040517fd079fbb100000000000000000000000000000000000000000000000000000000815273__$0f118c52967a3847a37f0a2ef02ffcee04$__9063d079fbb19061116f906001908590600401612160565b60006040518083038186803b15801561118757600080fd5b505af415801561119b573d6000803e3d6000fd5b5050505050565b6040517f4afbe4c90000000000000000000000000000000000000000000000000000000081526001600482015260248101849052604481018390526064810182905273__$0f118c52967a3847a37f0a2ef02ffcee04$__90634afbe4c990608401610c4b565b6040517fa164de6e00000000000000000000000000000000000000000000000000000000815273__$faca6b149b11b9e5dd3c54d44c40a95c4f$__9063a164de6e90610bba906001908890889088908890600401611e88565b6040517f7333b36900000000000000000000000000000000000000000000000000000000815273__$faca6b149b11b9e5dd3c54d44c40a95c4f$__90637333b36990610fe49060019089908990899089908990600401612174565b6040517f72c9c91c00000000000000000000000000000000000000000000000000000000815273__$a542940934c03bae9a39609192cb25cc3c$__906372c9c91c90610c4b906001908790879087906004016121cd565b6000546001600160a01b0316331461136d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610e0b565b61137b6001858585856114cb565b50505050565b6000546001600160a01b031633146113db5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610e0b565b6001600160a01b0381166114575760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610e0b565b61146081611463565b50565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60008367ffffffffffffffff161161154b5760405162461bcd60e51b815260206004820152603460248201527f57616c6c6574206d696e696d756d204254432062616c616e6365206d7573742060448201527f62652067726561746572207468616e207a65726f0000000000000000000000006064820152608401610e0b565b8267ffffffffffffffff168267ffffffffffffffff16116115d45760405162461bcd60e51b815260206004820152603b60248201527f57616c6c6574206d6178696d756d204254432062616c616e6365206d7573742060448201527f62652067726561746572207468616e20746865206d696e696d756d00000000006064820152608401610e0b565b60128501805463ffffffff8681166bffffffffffffffffffffffff19909216821764010000000067ffffffffffffffff888116918202929092177fffffffffffffffff000000000000000000000000ffffffffffffffffffffffff166c010000000000000000000000009288169283027fffffffffffffffff00000000ffffffffffffffffffffffffffffffffffffffff1617600160a01b938716938402179094556040805193845260208401949094529282019290925260608101919091527fc5e6f9192c5d47e7f338142843062686c7659943485864e5998551473c18505e9060800160405180910390a15050505050565b6000602082840312156116da57600080fd5b5035919050565b6000608082840312156116f357600080fd5b50919050565b6000606082840312156116f357600080fd5b80356bffffffffffffffffffffffff198116811461172857600080fd5b919050565b60008060008060c0858703121561174357600080fd5b843567ffffffffffffffff8082111561175b57600080fd5b611767888389016116e1565b9550602087013591508082111561177d57600080fd5b5061178a878288016116f9565b93505061179a86604087016116f9565b91506117a860a0860161170b565b905092959194509250565b6000806000606084860312156117c857600080fd5b505081359360208301359350604090920135919050565b600080608083850312156117f257600080fd5b6117fb8361170b565b915061180a84602085016116f9565b90509250929050565b600080600060a0848603121561182857600080fd5b833567ffffffffffffffff8082111561184057600080fd5b61184c878388016116e1565b9450602086013591508082111561186257600080fd5b5061186f868287016116f9565b92505061187f85604086016116f9565b90509250925092565b60008082840361010081121561189d57600080fd5b833567ffffffffffffffff8111156118b457600080fd5b6118c0868287016116e1565b93505060e0601f19820112156118d557600080fd5b506020830190509250929050565b80356001600160a01b038116811461172857600080fd5b8035801515811461172857600080fd5b6000806040838503121561191d57600080fd5b611926836118e3565b915061180a602084016118fa565b60008083601f84011261194657600080fd5b50813567ffffffffffffffff81111561195e57600080fd5b60208301915083602082850101111561197657600080fd5b9250929050565b60008060006040848603121561199257600080fd5b61199b8461170b565b9250602084013567ffffffffffffffff8111156119b757600080fd5b6119c386828701611934565b9497909650939450505050565b60008060008060a085870312156119e657600080fd5b843567ffffffffffffffff8111156119fd57600080fd5b611a0987828801611934565b909550935050602085013591506117a886604087016116f9565b600080600080600060608688031215611a3b57600080fd5b853567ffffffffffffffff80821115611a5357600080fd5b611a5f89838a01611934565b90975095506020880135915080821115611a7857600080fd5b50611a8588828901611934565b9094509250611a989050604087016118fa565b90509295509295909350565b600060208284031215611ab657600080fd5b611abf8261170b565b9392505050565b634e487b7160e01b600052602160045260246000fd5b600060e082019050825182526020830151602083015267ffffffffffffffff6040840151166040830152606083015163ffffffff8082166060850152806080860151166080850152505060a083015160058110611b4957634e487b7160e01b600052602160045260246000fd5b8060a08401525060c083015160c083015292915050565b600060608284031215611b7257600080fd5b611abf83836116f9565b803567ffffffffffffffff8116811461172857600080fd5b600080600080600060c08688031215611bac57600080fd5b611bb58661170b565b9450611bc487602088016116f9565b9350608086013567ffffffffffffffff811115611be057600080fd5b611bec88828901611934565b9094509250611a98905060a08701611b7c565b600080600060408486031215611c1457600080fd5b833567ffffffffffffffff811115611c2b57600080fd5b611c3786828701611934565b909790965060209590950135949350505050565b600060208284031215611c5d57600080fd5b611abf826118e3565b803563ffffffff8116811461172857600080fd5b60008060008060808587031215611c9057600080fd5b611c9985611c66565b9350611ca760208601611b7c565b9250611cb560408601611b7c565b91506117a860608601611c66565b80357fffffffff000000000000000000000000000000000000000000000000000000008116811461172857600080fd5b6000808335601e19843603018112611d0a57600080fd5b830160208101925035905067ffffffffffffffff811115611d2a57600080fd5b80360383131561197657600080fd5b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b60007fffffffff0000000000000000000000000000000000000000000000000000000080611d8f84611cc3565b168452611d9f6020840184611cf3565b60806020870152611db4608087018284611d39565b915050611dc46040850185611cf3565b8683036040880152611dd7838284611d39565b9250505081611de860608601611cc3565b166060860152809250505092915050565b6000611e058283611cf3565b60608552611e17606086018284611d39565b91505060208301356020850152611e316040840184611cf3565b8583036040870152611e44838284611d39565b9695505050505050565b8035825263ffffffff611e6360208301611c66565b16602083015267ffffffffffffffff611e7e60408301611b7c565b1660408301525050565b85815260e060208201526000611ea160e0830187611d62565b8281036040840152611eb38187611df9565b915050611ec36060830185611e4e565b6bffffffffffffffffffffffff19831660c08301529695505050505050565b8381526bffffffffffffffffffffffff198316602082015260a08101611f0b6040830184611e4e565b949350505050565b84815260c060208201526000611f2c60c0830186611d62565b8281036040840152611f3e8186611df9565b915050611f4e6060830184611e4e565b95945050505050565b6000610120858352806020840152611f7181840186611d62565b91505063ffffffff611f8284611c66565b1660408301526001600160a01b03611f9c602085016118e3565b16606083015260408301357fffffffffffffffff00000000000000000000000000000000000000000000000081168114611fd557600080fd5b7fffffffffffffffff0000000000000000000000000000000000000000000000001660808301526120086060840161170b565b6bffffffffffffffffffffffff191660a08301526120286080840161170b565b6bffffffffffffffffffffffff191660c083015261204860a08401611cc3565b7fffffffff000000000000000000000000000000000000000000000000000000001660e083015261207b60c084016118e3565b6001600160a01b03811661010084015250949350505050565b8481526bffffffffffffffffffffffff1984166020820152606060408201526000611e44606083018486611d39565b85815260c0602082015260006120dd60c083018688611d39565b90508360408301528235606083015260208301356080830152604083013560ff811680821461210b57600080fd5b8060a085015250509695505050505050565b868152608060208201526000612137608083018789611d39565b828103604084015261214a818688611d39565b9150508215156060830152979650505050505050565b82815260808101611abf6020830184611e4e565b8681526bffffffffffffffffffffffff19861660208201526121996040820186611e4e565b60e060a082015260006121b060e083018587611d39565b905067ffffffffffffffff831660c0830152979650505050505050565b8481526060602082015260006121e7606083018587611d39565b90508260408301529594505050505056fea26469706673582212206232e984e49ddb02ba60f50b915a9603fe36941a37462c827bdee6df1135bbb564736f6c63430008090033",
1621
+ "linkReferences": {
1622
+ "contracts/bridge/Deposit.sol": {
1623
+ "Deposit": [
1624
+ {
1625
+ "length": 20,
1626
+ "start": 4402
1627
+ }
1628
+ ]
1629
+ },
1630
+ "contracts/bridge/Fraud.sol": {
1631
+ "Fraud": [
1632
+ {
1633
+ "length": 20,
1634
+ "start": 4764
1635
+ },
1636
+ {
1637
+ "length": 20,
1638
+ "start": 4955
1639
+ },
1640
+ {
1641
+ "length": 20,
1642
+ "start": 5774
1643
+ }
1644
+ ]
1645
+ },
1646
+ "contracts/bridge/MovingFunds.sol": {
1647
+ "MovingFunds": [
1648
+ {
1649
+ "length": 20,
1650
+ "start": 3892
1651
+ }
1652
+ ]
1653
+ },
1654
+ "contracts/bridge/Redeem.sol": {
1655
+ "Redeem": [
1656
+ {
1657
+ "length": 20,
1658
+ "start": 4677
1659
+ },
1660
+ {
1661
+ "length": 20,
1662
+ "start": 5594
1663
+ },
1664
+ {
1665
+ "length": 20,
1666
+ "start": 5683
1667
+ }
1668
+ ]
1669
+ },
1670
+ "contracts/bridge/Sweep.sol": {
1671
+ "Sweep": [
1672
+ {
1673
+ "length": 20,
1674
+ "start": 4315
1675
+ }
1676
+ ]
1677
+ },
1678
+ "contracts/bridge/Wallets.sol": {
1679
+ "Wallets": [
1680
+ {
1681
+ "length": 20,
1682
+ "start": 4055
1683
+ },
1684
+ {
1685
+ "length": 20,
1686
+ "start": 4178
1687
+ },
1688
+ {
1689
+ "length": 20,
1690
+ "start": 5358
1691
+ },
1692
+ {
1693
+ "length": 20,
1694
+ "start": 5520
1695
+ }
1696
+ ]
1697
+ }
1698
+ },
1699
+ "deployedLinkReferences": {
1700
+ "contracts/bridge/Deposit.sol": {
1701
+ "Deposit": [
1702
+ {
1703
+ "length": 20,
1704
+ "start": 3464
1705
+ }
1706
+ ]
1707
+ },
1708
+ "contracts/bridge/Fraud.sol": {
1709
+ "Fraud": [
1710
+ {
1711
+ "length": 20,
1712
+ "start": 3826
1713
+ },
1714
+ {
1715
+ "length": 20,
1716
+ "start": 4017
1717
+ },
1718
+ {
1719
+ "length": 20,
1720
+ "start": 4836
1721
+ }
1722
+ ]
1723
+ },
1724
+ "contracts/bridge/MovingFunds.sol": {
1725
+ "MovingFunds": [
1726
+ {
1727
+ "length": 20,
1728
+ "start": 2954
1729
+ }
1730
+ ]
1731
+ },
1732
+ "contracts/bridge/Redeem.sol": {
1733
+ "Redeem": [
1734
+ {
1735
+ "length": 20,
1736
+ "start": 3739
1737
+ },
1738
+ {
1739
+ "length": 20,
1740
+ "start": 4656
1741
+ },
1742
+ {
1743
+ "length": 20,
1744
+ "start": 4745
1745
+ }
1746
+ ]
1747
+ },
1748
+ "contracts/bridge/Sweep.sol": {
1749
+ "Sweep": [
1750
+ {
1751
+ "length": 20,
1752
+ "start": 3377
1753
+ }
1754
+ ]
1755
+ },
1756
+ "contracts/bridge/Wallets.sol": {
1757
+ "Wallets": [
1758
+ {
1759
+ "length": 20,
1760
+ "start": 3117
1761
+ },
1762
+ {
1763
+ "length": 20,
1764
+ "start": 3240
1765
+ },
1766
+ {
1767
+ "length": 20,
1768
+ "start": 4420
1769
+ },
1770
+ {
1771
+ "length": 20,
1772
+ "start": 4582
1773
+ }
1774
+ ]
1775
+ }
1776
+ }
176
1777
  }