@keep-network/tbtc-v2 0.1.1-dev.89 → 0.1.1-dev.91

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/artifacts/Bank.json +24 -34
  2. package/artifacts/Bridge.json +13 -379
  3. package/artifacts/Deposit.json +4 -4
  4. package/artifacts/DepositSweep.json +4 -4
  5. package/artifacts/EcdsaDkgValidator.json +1 -1
  6. package/artifacts/EcdsaInactivity.json +1 -1
  7. package/artifacts/EcdsaSortitionPool.json +2 -2
  8. package/artifacts/Fraud.json +4 -4
  9. package/artifacts/KeepRegistry.json +1 -1
  10. package/artifacts/KeepStake.json +2 -2
  11. package/artifacts/KeepToken.json +2 -2
  12. package/artifacts/KeepTokenStaking.json +1 -1
  13. package/artifacts/MovingFunds.json +4 -4
  14. package/artifacts/NuCypherStakingEscrow.json +1 -1
  15. package/artifacts/NuCypherToken.json +2 -2
  16. package/artifacts/RandomBeaconStub.json +1 -1
  17. package/artifacts/Redemption.json +4 -4
  18. package/artifacts/ReimbursementPool.json +2 -2
  19. package/artifacts/Relay.json +7 -7
  20. package/artifacts/T.json +2 -2
  21. package/artifacts/TBTC.json +3 -3
  22. package/artifacts/TBTCToken.json +3 -3
  23. package/artifacts/TBTCVault.json +6 -6
  24. package/artifacts/TokenStaking.json +1 -1
  25. package/artifacts/TokenholderGovernor.json +9 -9
  26. package/artifacts/TokenholderTimelock.json +8 -8
  27. package/artifacts/VendingMachine.json +3 -3
  28. package/artifacts/VendingMachineKeep.json +1 -1
  29. package/artifacts/VendingMachineNuCypher.json +1 -1
  30. package/artifacts/WalletRegistry.json +5 -5
  31. package/artifacts/WalletRegistryGovernance.json +2 -2
  32. package/artifacts/Wallets.json +4 -4
  33. package/artifacts/solcInputs/{00e4740299c76687f54267cd49adc9d5.json → 6e28b66ed60b6dd7b2b25b3a1c4fe89b.json} +1 -1
  34. package/build/contracts/GovernanceUtils.sol/GovernanceUtils.dbg.json +1 -1
  35. package/build/contracts/bank/Bank.sol/Bank.dbg.json +1 -1
  36. package/build/contracts/bank/IReceiveBalanceApproval.sol/IReceiveBalanceApproval.dbg.json +1 -1
  37. package/build/contracts/bridge/BitcoinTx.sol/BitcoinTx.dbg.json +1 -1
  38. package/build/contracts/bridge/Bridge.sol/Bridge.dbg.json +1 -1
  39. package/build/contracts/bridge/Bridge.sol/Bridge.json +2 -2
  40. package/build/contracts/bridge/BridgeState.sol/BridgeState.dbg.json +1 -1
  41. package/build/contracts/bridge/Deposit.sol/Deposit.dbg.json +1 -1
  42. package/build/contracts/bridge/DepositSweep.sol/DepositSweep.dbg.json +1 -1
  43. package/build/contracts/bridge/EcdsaLib.sol/EcdsaLib.dbg.json +1 -1
  44. package/build/contracts/bridge/Fraud.sol/Fraud.dbg.json +1 -1
  45. package/build/contracts/bridge/Heartbeat.sol/Heartbeat.dbg.json +1 -1
  46. package/build/contracts/bridge/IRelay.sol/IRelay.dbg.json +1 -1
  47. package/build/contracts/bridge/MovingFunds.sol/MovingFunds.dbg.json +1 -1
  48. package/build/contracts/bridge/Redemption.sol/OutboundTx.dbg.json +1 -1
  49. package/build/contracts/bridge/Redemption.sol/Redemption.dbg.json +1 -1
  50. package/build/contracts/bridge/VendingMachine.sol/VendingMachine.dbg.json +1 -1
  51. package/build/contracts/bridge/Wallets.sol/Wallets.dbg.json +1 -1
  52. package/build/contracts/token/TBTC.sol/TBTC.dbg.json +1 -1
  53. package/build/contracts/vault/DonationVault.sol/DonationVault.dbg.json +1 -1
  54. package/build/contracts/vault/IVault.sol/IVault.dbg.json +1 -1
  55. package/build/contracts/vault/TBTCVault.sol/TBTCVault.dbg.json +1 -1
  56. package/contracts/bridge/Bridge.sol +14 -2
  57. package/deploy/04_deploy_bank.ts +1 -1
  58. package/deploy/05_deploy_bridge.ts +1 -1
  59. package/export.json +5 -384
  60. package/package.json +3 -2
@@ -1263,38 +1263,6 @@
1263
1263
  }
1264
1264
  ]
1265
1265
  },
1266
- {
1267
- "type": "function",
1268
- "name": "processPendingMovedFundsSweepRequest",
1269
- "constant": false,
1270
- "payable": false,
1271
- "gas": 29000000,
1272
- "inputs": [
1273
- {
1274
- "type": "bytes20",
1275
- "name": "walletPubKeyHash"
1276
- },
1277
- {
1278
- "type": "tuple",
1279
- "name": "utxo",
1280
- "components": [
1281
- {
1282
- "type": "bytes32",
1283
- "name": "txHash"
1284
- },
1285
- {
1286
- "type": "uint32",
1287
- "name": "txOutputIndex"
1288
- },
1289
- {
1290
- "type": "uint64",
1291
- "name": "txOutputValue"
1292
- }
1293
- ]
1294
- }
1295
- ],
1296
- "outputs": []
1297
- },
1298
1266
  {
1299
1267
  "type": "function",
1300
1268
  "name": "receiveBalanceApproval",
@@ -1500,220 +1468,6 @@
1500
1468
  ],
1501
1469
  "outputs": []
1502
1470
  },
1503
- {
1504
- "type": "function",
1505
- "name": "setActiveWallet",
1506
- "constant": false,
1507
- "payable": false,
1508
- "gas": 29000000,
1509
- "inputs": [
1510
- {
1511
- "type": "bytes20",
1512
- "name": "activeWalletPubKeyHash"
1513
- }
1514
- ],
1515
- "outputs": []
1516
- },
1517
- {
1518
- "type": "function",
1519
- "name": "setDepositDustThreshold",
1520
- "constant": false,
1521
- "payable": false,
1522
- "gas": 29000000,
1523
- "inputs": [
1524
- {
1525
- "type": "uint64",
1526
- "name": "_depositDustThreshold"
1527
- }
1528
- ],
1529
- "outputs": []
1530
- },
1531
- {
1532
- "type": "function",
1533
- "name": "setDepositTxMaxFee",
1534
- "constant": false,
1535
- "payable": false,
1536
- "gas": 29000000,
1537
- "inputs": [
1538
- {
1539
- "type": "uint64",
1540
- "name": "_depositTxMaxFee"
1541
- }
1542
- ],
1543
- "outputs": []
1544
- },
1545
- {
1546
- "type": "function",
1547
- "name": "setMovedFundsSweepTxMaxTotalFee",
1548
- "constant": false,
1549
- "payable": false,
1550
- "gas": 29000000,
1551
- "inputs": [
1552
- {
1553
- "type": "uint64",
1554
- "name": "_movedFundsSweepTxMaxTotalFee"
1555
- }
1556
- ],
1557
- "outputs": []
1558
- },
1559
- {
1560
- "type": "function",
1561
- "name": "setMovingFundsTxMaxTotalFee",
1562
- "constant": false,
1563
- "payable": false,
1564
- "gas": 29000000,
1565
- "inputs": [
1566
- {
1567
- "type": "uint64",
1568
- "name": "_movingFundsTxMaxTotalFee"
1569
- }
1570
- ],
1571
- "outputs": []
1572
- },
1573
- {
1574
- "type": "function",
1575
- "name": "setPendingMovedFundsSweepRequest",
1576
- "constant": false,
1577
- "payable": false,
1578
- "gas": 29000000,
1579
- "inputs": [
1580
- {
1581
- "type": "bytes20",
1582
- "name": "walletPubKeyHash"
1583
- },
1584
- {
1585
- "type": "tuple",
1586
- "name": "utxo",
1587
- "components": [
1588
- {
1589
- "type": "bytes32",
1590
- "name": "txHash"
1591
- },
1592
- {
1593
- "type": "uint32",
1594
- "name": "txOutputIndex"
1595
- },
1596
- {
1597
- "type": "uint64",
1598
- "name": "txOutputValue"
1599
- }
1600
- ]
1601
- }
1602
- ],
1603
- "outputs": []
1604
- },
1605
- {
1606
- "type": "function",
1607
- "name": "setProcessedMovedFundsSweepRequests",
1608
- "constant": false,
1609
- "payable": false,
1610
- "gas": 29000000,
1611
- "inputs": [
1612
- {
1613
- "type": "tuple[]",
1614
- "name": "utxos",
1615
- "components": [
1616
- {
1617
- "type": "bytes32",
1618
- "name": "txHash"
1619
- },
1620
- {
1621
- "type": "uint32",
1622
- "name": "txOutputIndex"
1623
- },
1624
- {
1625
- "type": "uint64",
1626
- "name": "txOutputValue"
1627
- }
1628
- ]
1629
- }
1630
- ],
1631
- "outputs": []
1632
- },
1633
- {
1634
- "type": "function",
1635
- "name": "setRedemptionDustThreshold",
1636
- "constant": false,
1637
- "payable": false,
1638
- "gas": 29000000,
1639
- "inputs": [
1640
- {
1641
- "type": "uint64",
1642
- "name": "_redemptionDustThreshold"
1643
- }
1644
- ],
1645
- "outputs": []
1646
- },
1647
- {
1648
- "type": "function",
1649
- "name": "setRedemptionTreasuryFeeDivisor",
1650
- "constant": false,
1651
- "payable": false,
1652
- "gas": 29000000,
1653
- "inputs": [
1654
- {
1655
- "type": "uint64",
1656
- "name": "_redemptionTreasuryFeeDivisor"
1657
- }
1658
- ],
1659
- "outputs": []
1660
- },
1661
- {
1662
- "type": "function",
1663
- "name": "setSpentMainUtxos",
1664
- "constant": false,
1665
- "payable": false,
1666
- "gas": 29000000,
1667
- "inputs": [
1668
- {
1669
- "type": "tuple[]",
1670
- "name": "utxos",
1671
- "components": [
1672
- {
1673
- "type": "bytes32",
1674
- "name": "txHash"
1675
- },
1676
- {
1677
- "type": "uint32",
1678
- "name": "txOutputIndex"
1679
- },
1680
- {
1681
- "type": "uint64",
1682
- "name": "txOutputValue"
1683
- }
1684
- ]
1685
- }
1686
- ],
1687
- "outputs": []
1688
- },
1689
- {
1690
- "type": "function",
1691
- "name": "setSweptDeposits",
1692
- "constant": false,
1693
- "payable": false,
1694
- "gas": 29000000,
1695
- "inputs": [
1696
- {
1697
- "type": "tuple[]",
1698
- "name": "utxos",
1699
- "components": [
1700
- {
1701
- "type": "bytes32",
1702
- "name": "txHash"
1703
- },
1704
- {
1705
- "type": "uint32",
1706
- "name": "txOutputIndex"
1707
- },
1708
- {
1709
- "type": "uint64",
1710
- "name": "txOutputValue"
1711
- }
1712
- ]
1713
- }
1714
- ],
1715
- "outputs": []
1716
- },
1717
1471
  {
1718
1472
  "type": "function",
1719
1473
  "name": "setVaultStatus",
@@ -1732,94 +1486,6 @@
1732
1486
  ],
1733
1487
  "outputs": []
1734
1488
  },
1735
- {
1736
- "type": "function",
1737
- "name": "setWallet",
1738
- "constant": false,
1739
- "payable": false,
1740
- "gas": 29000000,
1741
- "inputs": [
1742
- {
1743
- "type": "bytes20",
1744
- "name": "walletPubKeyHash"
1745
- },
1746
- {
1747
- "type": "tuple",
1748
- "name": "wallet",
1749
- "components": [
1750
- {
1751
- "type": "bytes32",
1752
- "name": "ecdsaWalletID"
1753
- },
1754
- {
1755
- "type": "bytes32",
1756
- "name": "mainUtxoHash"
1757
- },
1758
- {
1759
- "type": "uint64",
1760
- "name": "pendingRedemptionsValue"
1761
- },
1762
- {
1763
- "type": "uint32",
1764
- "name": "createdAt"
1765
- },
1766
- {
1767
- "type": "uint32",
1768
- "name": "movingFundsRequestedAt"
1769
- },
1770
- {
1771
- "type": "uint32",
1772
- "name": "closingStartedAt"
1773
- },
1774
- {
1775
- "type": "uint32",
1776
- "name": "pendingMovedFundsSweepRequestsCount"
1777
- },
1778
- {
1779
- "type": "uint8",
1780
- "name": "state"
1781
- },
1782
- {
1783
- "type": "bytes32",
1784
- "name": "movingFundsTargetWalletsCommitmentHash"
1785
- }
1786
- ]
1787
- }
1788
- ],
1789
- "outputs": []
1790
- },
1791
- {
1792
- "type": "function",
1793
- "name": "setWalletMainUtxo",
1794
- "constant": false,
1795
- "payable": false,
1796
- "gas": 29000000,
1797
- "inputs": [
1798
- {
1799
- "type": "bytes20",
1800
- "name": "walletPubKeyHash"
1801
- },
1802
- {
1803
- "type": "tuple",
1804
- "name": "utxo",
1805
- "components": [
1806
- {
1807
- "type": "bytes32",
1808
- "name": "txHash"
1809
- },
1810
- {
1811
- "type": "uint32",
1812
- "name": "txOutputIndex"
1813
- },
1814
- {
1815
- "type": "uint64",
1816
- "name": "txOutputValue"
1817
- }
1818
- ]
1819
- }
1820
- ],
1821
- "outputs": []
1822
- },
1823
1489
  {
1824
1490
  "type": "function",
1825
1491
  "name": "spentMainUTXOs",
@@ -2245,38 +1911,6 @@
2245
1911
  }
2246
1912
  ]
2247
1913
  },
2248
- {
2249
- "type": "function",
2250
- "name": "timeoutPendingMovedFundsSweepRequest",
2251
- "constant": false,
2252
- "payable": false,
2253
- "gas": 29000000,
2254
- "inputs": [
2255
- {
2256
- "type": "bytes20",
2257
- "name": "walletPubKeyHash"
2258
- },
2259
- {
2260
- "type": "tuple",
2261
- "name": "utxo",
2262
- "components": [
2263
- {
2264
- "type": "bytes32",
2265
- "name": "txHash"
2266
- },
2267
- {
2268
- "type": "uint32",
2269
- "name": "txOutputIndex"
2270
- },
2271
- {
2272
- "type": "uint64",
2273
- "name": "txOutputValue"
2274
- }
2275
- ]
2276
- }
2277
- ],
2278
- "outputs": []
2279
- },
2280
1914
  {
2281
1915
  "type": "function",
2282
1916
  "name": "transferGovernance",
@@ -2586,21 +2220,21 @@
2586
2220
  ]
2587
2221
  }
2588
2222
  ],
2589
- "transactionHash": "0x3dc5423df5d599ae59501104061724687a0a9eaed0b56eb8b2e5201a1dd10dc2",
2223
+ "transactionHash": "0xf0f5df8239cff296827d1b39d74f4da660498dd72f9208b2956d7b0181435ce1",
2590
2224
  "receipt": {
2591
2225
  "to": null,
2592
2226
  "from": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
2593
2227
  "contractAddress": "0xD499f5F7d3C918D0e553BA03954c4E02af16B6e4",
2594
2228
  "transactionIndex": 0,
2595
- "gasUsed": "1132559",
2229
+ "gasUsed": "1132499",
2596
2230
  "logsBloom": "0x00000000000000000000000000000000400000004000000000000000000000000000000000000040000040000000000000000000000000000000000010000000000000000000000000000000000002000000000000000800000000000100000000000000000000000000000000000000000000800000000000000000001000000000000000000000000000000000000000000000000080000000000000800000000000000000000000000000000400000000000000000000000000000000000000000020040000000000000000040000000000000400000000000000000000000000000000000000000800000000000000000000000000000000000000000000",
2597
- "blockHash": "0x10dd81488fd125c8763e41b3987d27c4c561635e03eccd1d96a8b413d4f19e73",
2598
- "transactionHash": "0x3dc5423df5d599ae59501104061724687a0a9eaed0b56eb8b2e5201a1dd10dc2",
2231
+ "blockHash": "0x57f2f46b9d9fb7a7d4b3f7edf1cebcaccb3e2435c06b82cbb1efe26222b64b4d",
2232
+ "transactionHash": "0xf0f5df8239cff296827d1b39d74f4da660498dd72f9208b2956d7b0181435ce1",
2599
2233
  "logs": [
2600
2234
  {
2601
2235
  "transactionIndex": 0,
2602
2236
  "blockNumber": 50,
2603
- "transactionHash": "0x3dc5423df5d599ae59501104061724687a0a9eaed0b56eb8b2e5201a1dd10dc2",
2237
+ "transactionHash": "0xf0f5df8239cff296827d1b39d74f4da660498dd72f9208b2956d7b0181435ce1",
2604
2238
  "address": "0xD499f5F7d3C918D0e553BA03954c4E02af16B6e4",
2605
2239
  "topics": [
2606
2240
  "0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b",
@@ -2608,47 +2242,47 @@
2608
2242
  ],
2609
2243
  "data": "0x",
2610
2244
  "logIndex": 0,
2611
- "blockHash": "0x10dd81488fd125c8763e41b3987d27c4c561635e03eccd1d96a8b413d4f19e73"
2245
+ "blockHash": "0x57f2f46b9d9fb7a7d4b3f7edf1cebcaccb3e2435c06b82cbb1efe26222b64b4d"
2612
2246
  },
2613
2247
  {
2614
2248
  "transactionIndex": 0,
2615
2249
  "blockNumber": 50,
2616
- "transactionHash": "0x3dc5423df5d599ae59501104061724687a0a9eaed0b56eb8b2e5201a1dd10dc2",
2250
+ "transactionHash": "0xf0f5df8239cff296827d1b39d74f4da660498dd72f9208b2956d7b0181435ce1",
2617
2251
  "address": "0xD499f5F7d3C918D0e553BA03954c4E02af16B6e4",
2618
2252
  "topics": [
2619
2253
  "0x5f56bee8cffbe9a78652a74a60705edede02af10b0bbb888ca44b79a0d42ce80"
2620
2254
  ],
2621
2255
  "data": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000070997970c51812dc3a010c7d01b50e0d17dc79c8",
2622
2256
  "logIndex": 1,
2623
- "blockHash": "0x10dd81488fd125c8763e41b3987d27c4c561635e03eccd1d96a8b413d4f19e73"
2257
+ "blockHash": "0x57f2f46b9d9fb7a7d4b3f7edf1cebcaccb3e2435c06b82cbb1efe26222b64b4d"
2624
2258
  },
2625
2259
  {
2626
2260
  "transactionIndex": 0,
2627
2261
  "blockNumber": 50,
2628
- "transactionHash": "0x3dc5423df5d599ae59501104061724687a0a9eaed0b56eb8b2e5201a1dd10dc2",
2262
+ "transactionHash": "0xf0f5df8239cff296827d1b39d74f4da660498dd72f9208b2956d7b0181435ce1",
2629
2263
  "address": "0xD499f5F7d3C918D0e553BA03954c4E02af16B6e4",
2630
2264
  "topics": [
2631
2265
  "0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498"
2632
2266
  ],
2633
2267
  "data": "0x0000000000000000000000000000000000000000000000000000000000000001",
2634
2268
  "logIndex": 2,
2635
- "blockHash": "0x10dd81488fd125c8763e41b3987d27c4c561635e03eccd1d96a8b413d4f19e73"
2269
+ "blockHash": "0x57f2f46b9d9fb7a7d4b3f7edf1cebcaccb3e2435c06b82cbb1efe26222b64b4d"
2636
2270
  },
2637
2271
  {
2638
2272
  "transactionIndex": 0,
2639
2273
  "blockNumber": 50,
2640
- "transactionHash": "0x3dc5423df5d599ae59501104061724687a0a9eaed0b56eb8b2e5201a1dd10dc2",
2274
+ "transactionHash": "0xf0f5df8239cff296827d1b39d74f4da660498dd72f9208b2956d7b0181435ce1",
2641
2275
  "address": "0xD499f5F7d3C918D0e553BA03954c4E02af16B6e4",
2642
2276
  "topics": [
2643
2277
  "0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f"
2644
2278
  ],
2645
2279
  "data": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ed17543171c1459714cdc6519b58ffcc29a3c3c9",
2646
2280
  "logIndex": 3,
2647
- "blockHash": "0x10dd81488fd125c8763e41b3987d27c4c561635e03eccd1d96a8b413d4f19e73"
2281
+ "blockHash": "0x57f2f46b9d9fb7a7d4b3f7edf1cebcaccb3e2435c06b82cbb1efe26222b64b4d"
2648
2282
  }
2649
2283
  ],
2650
2284
  "blockNumber": 50,
2651
- "cumulativeGasUsed": "1132559",
2285
+ "cumulativeGasUsed": "1132499",
2652
2286
  "status": 1,
2653
2287
  "byzantium": true
2654
2288
  },