@keep-network/tbtc-v2 0.1.1-dev.80 → 0.1.1-dev.83

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 (74) hide show
  1. package/artifacts/Bank.json +94 -34
  2. package/artifacts/Bridge.json +33 -11
  3. package/artifacts/Deposit.json +7 -7
  4. package/artifacts/DepositSweep.json +7 -7
  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 +7 -7
  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 +9 -9
  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 +26 -14
  18. package/artifacts/ReimbursementPool.json +2 -2
  19. package/artifacts/Relay.json +9 -9
  20. package/artifacts/T.json +2 -2
  21. package/artifacts/TBTC.json +10 -10
  22. package/artifacts/TBTCToken.json +10 -10
  23. package/artifacts/TBTCVault.json +40 -40
  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 +11 -11
  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 +7 -7
  33. package/artifacts/solcInputs/{4f6d4f5cd1e3d835e20ed55926a445cd.json → 21fcfd91cc383ddf1b3799814408151d.json} +11 -8
  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/Bank.sol/Bank.json +4 -4
  37. package/build/contracts/bank/IReceiveBalanceApproval.sol/IReceiveBalanceApproval.dbg.json +1 -1
  38. package/build/contracts/bridge/BitcoinTx.sol/BitcoinTx.dbg.json +1 -1
  39. package/build/contracts/bridge/BitcoinTx.sol/BitcoinTx.json +2 -2
  40. package/build/contracts/bridge/Bridge.sol/Bridge.dbg.json +1 -1
  41. package/build/contracts/bridge/Bridge.sol/Bridge.json +73 -42
  42. package/build/contracts/bridge/BridgeState.sol/BridgeState.dbg.json +1 -1
  43. package/build/contracts/bridge/BridgeState.sol/BridgeState.json +2 -2
  44. package/build/contracts/bridge/Deposit.sol/Deposit.dbg.json +1 -1
  45. package/build/contracts/bridge/Deposit.sol/Deposit.json +2 -2
  46. package/build/contracts/bridge/DepositSweep.sol/DepositSweep.dbg.json +1 -1
  47. package/build/contracts/bridge/DepositSweep.sol/DepositSweep.json +2 -2
  48. package/build/contracts/bridge/EcdsaLib.sol/EcdsaLib.dbg.json +1 -1
  49. package/build/contracts/bridge/Fraud.sol/Fraud.dbg.json +1 -1
  50. package/build/contracts/bridge/Fraud.sol/Fraud.json +2 -2
  51. package/build/contracts/bridge/Heartbeat.sol/Heartbeat.dbg.json +1 -1
  52. package/build/contracts/bridge/IRelay.sol/IRelay.dbg.json +1 -1
  53. package/build/contracts/bridge/MovingFunds.sol/MovingFunds.dbg.json +1 -1
  54. package/build/contracts/bridge/MovingFunds.sol/MovingFunds.json +2 -2
  55. package/build/contracts/bridge/Redemption.sol/OutboundTx.dbg.json +1 -1
  56. package/build/contracts/bridge/Redemption.sol/OutboundTx.json +2 -2
  57. package/build/contracts/bridge/Redemption.sol/Redemption.dbg.json +1 -1
  58. package/build/contracts/bridge/Redemption.sol/Redemption.json +2 -2
  59. package/build/contracts/bridge/VendingMachine.sol/VendingMachine.dbg.json +1 -1
  60. package/build/contracts/bridge/Wallets.sol/Wallets.dbg.json +1 -1
  61. package/build/contracts/bridge/Wallets.sol/Wallets.json +2 -2
  62. package/build/contracts/token/TBTC.sol/TBTC.dbg.json +1 -1
  63. package/build/contracts/vault/DonationVault.sol/DonationVault.dbg.json +1 -1
  64. package/build/contracts/vault/DonationVault.sol/DonationVault.json +2 -2
  65. package/build/contracts/vault/IVault.sol/IVault.dbg.json +1 -1
  66. package/build/contracts/vault/TBTCVault.sol/TBTCVault.dbg.json +1 -1
  67. package/build/contracts/vault/TBTCVault.sol/TBTCVault.json +16 -16
  68. package/contracts/bank/Bank.sol +76 -39
  69. package/contracts/bridge/BitcoinTx.sol +1 -1
  70. package/contracts/bridge/Bridge.sol +85 -6
  71. package/contracts/bridge/Redemption.sol +160 -6
  72. package/contracts/vault/TBTCVault.sol +14 -14
  73. package/export.json +38 -16
  74. package/package.json +1 -1
@@ -1295,6 +1295,28 @@
1295
1295
  ],
1296
1296
  "outputs": []
1297
1297
  },
1298
+ {
1299
+ "type": "function",
1300
+ "name": "receiveBalanceApproval",
1301
+ "constant": false,
1302
+ "payable": false,
1303
+ "gas": 29000000,
1304
+ "inputs": [
1305
+ {
1306
+ "type": "address",
1307
+ "name": "balanceOwner"
1308
+ },
1309
+ {
1310
+ "type": "uint256",
1311
+ "name": "amount"
1312
+ },
1313
+ {
1314
+ "type": "bytes",
1315
+ "name": "redemptionData"
1316
+ }
1317
+ ],
1318
+ "outputs": []
1319
+ },
1298
1320
  {
1299
1321
  "type": "function",
1300
1322
  "name": "redemptionParameters",
@@ -2564,7 +2586,7 @@
2564
2586
  ]
2565
2587
  }
2566
2588
  ],
2567
- "transactionHash": "0x0a017e4cc840576d650eef4af9f11516ed84eb230f2104bd3a30f0a5375a4356",
2589
+ "transactionHash": "0x1a02ef62eccb4d3026046fdf379b662e1fd0ed89d19b20160808505f5398b3f6",
2568
2590
  "receipt": {
2569
2591
  "to": null,
2570
2592
  "from": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
@@ -2572,13 +2594,13 @@
2572
2594
  "transactionIndex": 0,
2573
2595
  "gasUsed": "1132559",
2574
2596
  "logsBloom": "0x00000000000000000000000000000000400000004000000000000000000000000000000000000040000040000000000000000000000000000000000010000000000000000000000000000000000002000000000000000800000000000100000000000000000000000000000000000000000000800000000000000000001000000000000000000000000000000000000000000000000080000000000000800000000000000000000000000000000400000000000000000000000000000000000000000020040000000000000000040000000000000400000000000000000000000000000000000000000800000000000000000000000000000000000000000000",
2575
- "blockHash": "0xf4ee1f742c1a5da3ea7a99ebe1133c5698d479a723b8939789354183c158548b",
2576
- "transactionHash": "0x0a017e4cc840576d650eef4af9f11516ed84eb230f2104bd3a30f0a5375a4356",
2597
+ "blockHash": "0xf3eebd0873f0e88679e219ffe5651c08e66a1ccc10e0221108bef08b4e6e2a77",
2598
+ "transactionHash": "0x1a02ef62eccb4d3026046fdf379b662e1fd0ed89d19b20160808505f5398b3f6",
2577
2599
  "logs": [
2578
2600
  {
2579
2601
  "transactionIndex": 0,
2580
2602
  "blockNumber": 50,
2581
- "transactionHash": "0x0a017e4cc840576d650eef4af9f11516ed84eb230f2104bd3a30f0a5375a4356",
2603
+ "transactionHash": "0x1a02ef62eccb4d3026046fdf379b662e1fd0ed89d19b20160808505f5398b3f6",
2582
2604
  "address": "0xD499f5F7d3C918D0e553BA03954c4E02af16B6e4",
2583
2605
  "topics": [
2584
2606
  "0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b",
@@ -2586,43 +2608,43 @@
2586
2608
  ],
2587
2609
  "data": "0x",
2588
2610
  "logIndex": 0,
2589
- "blockHash": "0xf4ee1f742c1a5da3ea7a99ebe1133c5698d479a723b8939789354183c158548b"
2611
+ "blockHash": "0xf3eebd0873f0e88679e219ffe5651c08e66a1ccc10e0221108bef08b4e6e2a77"
2590
2612
  },
2591
2613
  {
2592
2614
  "transactionIndex": 0,
2593
2615
  "blockNumber": 50,
2594
- "transactionHash": "0x0a017e4cc840576d650eef4af9f11516ed84eb230f2104bd3a30f0a5375a4356",
2616
+ "transactionHash": "0x1a02ef62eccb4d3026046fdf379b662e1fd0ed89d19b20160808505f5398b3f6",
2595
2617
  "address": "0xD499f5F7d3C918D0e553BA03954c4E02af16B6e4",
2596
2618
  "topics": [
2597
2619
  "0x5f56bee8cffbe9a78652a74a60705edede02af10b0bbb888ca44b79a0d42ce80"
2598
2620
  ],
2599
2621
  "data": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000070997970c51812dc3a010c7d01b50e0d17dc79c8",
2600
2622
  "logIndex": 1,
2601
- "blockHash": "0xf4ee1f742c1a5da3ea7a99ebe1133c5698d479a723b8939789354183c158548b"
2623
+ "blockHash": "0xf3eebd0873f0e88679e219ffe5651c08e66a1ccc10e0221108bef08b4e6e2a77"
2602
2624
  },
2603
2625
  {
2604
2626
  "transactionIndex": 0,
2605
2627
  "blockNumber": 50,
2606
- "transactionHash": "0x0a017e4cc840576d650eef4af9f11516ed84eb230f2104bd3a30f0a5375a4356",
2628
+ "transactionHash": "0x1a02ef62eccb4d3026046fdf379b662e1fd0ed89d19b20160808505f5398b3f6",
2607
2629
  "address": "0xD499f5F7d3C918D0e553BA03954c4E02af16B6e4",
2608
2630
  "topics": [
2609
2631
  "0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498"
2610
2632
  ],
2611
2633
  "data": "0x0000000000000000000000000000000000000000000000000000000000000001",
2612
2634
  "logIndex": 2,
2613
- "blockHash": "0xf4ee1f742c1a5da3ea7a99ebe1133c5698d479a723b8939789354183c158548b"
2635
+ "blockHash": "0xf3eebd0873f0e88679e219ffe5651c08e66a1ccc10e0221108bef08b4e6e2a77"
2614
2636
  },
2615
2637
  {
2616
2638
  "transactionIndex": 0,
2617
2639
  "blockNumber": 50,
2618
- "transactionHash": "0x0a017e4cc840576d650eef4af9f11516ed84eb230f2104bd3a30f0a5375a4356",
2640
+ "transactionHash": "0x1a02ef62eccb4d3026046fdf379b662e1fd0ed89d19b20160808505f5398b3f6",
2619
2641
  "address": "0xD499f5F7d3C918D0e553BA03954c4E02af16B6e4",
2620
2642
  "topics": [
2621
2643
  "0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f"
2622
2644
  ],
2623
2645
  "data": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ed17543171c1459714cdc6519b58ffcc29a3c3c9",
2624
2646
  "logIndex": 3,
2625
- "blockHash": "0xf4ee1f742c1a5da3ea7a99ebe1133c5698d479a723b8939789354183c158548b"
2647
+ "blockHash": "0xf3eebd0873f0e88679e219ffe5651c08e66a1ccc10e0221108bef08b4e6e2a77"
2626
2648
  }
2627
2649
  ],
2628
2650
  "blockNumber": 50,