@keep-network/tbtc-v2 1.2.0-dev.1 → 1.2.0

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 (166) hide show
  1. package/artifacts/.chainId +1 -1
  2. package/artifacts/Bank.json +40 -50
  3. package/artifacts/Bridge.json +32 -449
  4. package/artifacts/BridgeGovernance.json +24 -24
  5. package/artifacts/BridgeGovernanceParameters.json +10 -10
  6. package/artifacts/Deposit.json +13 -13
  7. package/artifacts/DepositSweep.json +13 -13
  8. package/artifacts/DonationVault.json +17 -17
  9. package/artifacts/Fraud.json +14 -14
  10. package/artifacts/LightRelay.json +38 -38
  11. package/artifacts/MaintainerProxy.json +47 -47
  12. package/artifacts/MovingFunds.json +14 -14
  13. package/artifacts/Redemption.json +13 -13
  14. package/artifacts/TBTC.json +36 -37
  15. package/artifacts/TBTCVault.json +47 -47
  16. package/artifacts/VendingMachine.json +34 -35
  17. package/artifacts/VendingMachineV2.json +21 -21
  18. package/artifacts/VendingMachineV3.json +21 -21
  19. package/artifacts/Wallets.json +13 -13
  20. package/artifacts/solcInputs/7cc3eda3cb3ff2522d18b5e7b31ea228.json +102 -0
  21. package/artifacts/solcInputs/802132f7da69a8a4226cb9424480847b.json +218 -0
  22. package/artifacts/solcInputs/887fad6b16575ba42183543c324eeb0e.json +335 -0
  23. package/artifacts/solcInputs/{8445e3932e9b9683df0e9fb9258d7b11.json → b0025f1f7efe4824592ac0c9793776c3.json} +0 -9
  24. package/artifacts/solcInputs/{cc4433405642a987910ddb374547d19a.json → fccb130292c8c7cc958ab4fa31a3e180.json} +12 -15
  25. package/build/contracts/GovernanceUtils.sol/GovernanceUtils.dbg.json +1 -1
  26. package/build/contracts/bank/Bank.sol/Bank.dbg.json +1 -1
  27. package/build/contracts/bank/IReceiveBalanceApproval.sol/IReceiveBalanceApproval.dbg.json +1 -1
  28. package/build/contracts/bridge/BitcoinTx.sol/BitcoinTx.dbg.json +1 -1
  29. package/build/contracts/bridge/Bridge.sol/Bridge.dbg.json +1 -1
  30. package/build/contracts/bridge/BridgeGovernanceParameters.sol/BridgeGovernanceParameters.dbg.json +1 -1
  31. package/build/contracts/bridge/BridgeState.sol/BridgeState.dbg.json +1 -1
  32. package/build/contracts/bridge/Deposit.sol/Deposit.dbg.json +1 -1
  33. package/build/contracts/bridge/DepositSweep.sol/DepositSweep.dbg.json +1 -1
  34. package/build/contracts/bridge/EcdsaLib.sol/EcdsaLib.dbg.json +1 -1
  35. package/build/contracts/bridge/Fraud.sol/Fraud.dbg.json +1 -1
  36. package/build/contracts/bridge/Heartbeat.sol/Heartbeat.dbg.json +1 -1
  37. package/build/contracts/bridge/IRelay.sol/IRelay.dbg.json +1 -1
  38. package/build/contracts/bridge/MovingFunds.sol/MovingFunds.dbg.json +1 -1
  39. package/build/contracts/bridge/Redemption.sol/OutboundTx.dbg.json +1 -1
  40. package/build/contracts/bridge/Redemption.sol/Redemption.dbg.json +1 -1
  41. package/build/contracts/bridge/VendingMachine.sol/VendingMachine.dbg.json +1 -1
  42. package/build/contracts/bridge/VendingMachineV2.sol/VendingMachineV2.dbg.json +1 -1
  43. package/build/contracts/bridge/VendingMachineV3.sol/VendingMachineV3.dbg.json +1 -1
  44. package/build/contracts/bridge/Wallets.sol/Wallets.dbg.json +1 -1
  45. package/build/contracts/l2/L2TBTC.sol/L2TBTC.dbg.json +1 -1
  46. package/build/contracts/l2/L2WormholeGateway.sol/IWormholeTokenBridge.dbg.json +1 -1
  47. package/build/contracts/l2/L2WormholeGateway.sol/L2WormholeGateway.dbg.json +1 -1
  48. package/build/contracts/maintainer/MaintainerProxy.sol/MaintainerProxy.dbg.json +1 -1
  49. package/build/contracts/relay/LightRelay.sol/ILightRelay.dbg.json +1 -1
  50. package/build/contracts/relay/LightRelay.sol/LightRelay.dbg.json +1 -1
  51. package/build/contracts/relay/LightRelay.sol/RelayUtils.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/TBTCOptimisticMinting.sol/TBTCOptimisticMinting.dbg.json +1 -1
  56. package/build/contracts/vault/TBTCVault.sol/TBTCVault.dbg.json +1 -1
  57. package/export/artifacts/@keep-network/ecdsa/contracts/EcdsaDkgValidator.sol/EcdsaDkgValidator.json +24 -24
  58. package/export/artifacts/@keep-network/ecdsa/contracts/WalletRegistry.sol/WalletRegistry.json +245 -245
  59. package/export/artifacts/@keep-network/ecdsa/contracts/libraries/EcdsaDkg.sol/EcdsaDkg.json +2 -2
  60. package/export/artifacts/@keep-network/ecdsa/contracts/libraries/EcdsaInactivity.sol/EcdsaInactivity.json +23 -23
  61. package/export/artifacts/@keep-network/random-beacon/contracts/ReimbursementPool.sol/ReimbursementPool.json +53 -53
  62. package/export/artifacts/@keep-network/sortition-pools/contracts/Chaosnet.sol/Chaosnet.json +21 -21
  63. package/export/artifacts/@keep-network/sortition-pools/contracts/Rewards.sol/Rewards.json +16 -16
  64. package/export/artifacts/@keep-network/sortition-pools/contracts/SortitionPool.sol/SortitionPool.json +206 -206
  65. package/export/artifacts/@keep-network/sortition-pools/contracts/SortitionTree.sol/SortitionTree.json +26 -26
  66. package/export/artifacts/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol/ERC1967Proxy.json +46 -46
  67. package/export/artifacts/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol/ProxyAdmin.json +36 -36
  68. package/export/artifacts/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.json +78 -78
  69. package/export/artifacts/@openzeppelin/contracts/token/ERC721/ERC721.sol/ERC721.json +68 -68
  70. package/export/artifacts/@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol/ERC20Upgradeable.json +43 -43
  71. package/export/artifacts/@thesis/solidity-contracts/contracts/token/ERC20WithPermit.sol/ERC20WithPermit.json +79 -79
  72. package/export/artifacts/@thesis/solidity-contracts/contracts/token/MisfundRecovery.sol/MisfundRecovery.json +42 -42
  73. package/export/artifacts/contracts/bank/Bank.sol/Bank.json +77 -77
  74. package/export/artifacts/contracts/bridge/Bridge.sol/Bridge.json +320 -320
  75. package/export/artifacts/contracts/bridge/VendingMachine.sol/VendingMachine.json +108 -108
  76. package/export/artifacts/contracts/bridge/VendingMachineV2.sol/VendingMachineV2.json +63 -63
  77. package/export/artifacts/contracts/bridge/VendingMachineV3.sol/VendingMachineV3.json +65 -65
  78. package/export/artifacts/contracts/l2/L2TBTC.sol/L2TBTC.json +194 -194
  79. package/export/artifacts/contracts/l2/L2WormholeGateway.sol/L2WormholeGateway.json +100 -100
  80. package/export/artifacts/contracts/maintainer/MaintainerProxy.sol/MaintainerProxy.json +149 -149
  81. package/export/artifacts/contracts/relay/LightRelay.sol/LightRelay.json +76 -76
  82. package/export/artifacts/contracts/token/TBTC.sol/TBTC.json +104 -104
  83. package/export/artifacts/contracts/vault/DonationVault.sol/DonationVault.json +19 -19
  84. package/export/artifacts/contracts/vault/TBTCVault.sol/TBTCVault.json +184 -184
  85. package/export/deploy/00_resolve_relay.js +83 -0
  86. package/export/deploy/01_deploy_tbtc_v2_token.js +70 -0
  87. package/export/deploy/02_deploy_vending_machine.js +84 -0
  88. package/export/deploy/03_transfer_vending_machine_roles.js +69 -0
  89. package/export/deploy/04_deploy_bank.js +73 -0
  90. package/export/deploy/05_deploy_bridge.js +178 -0
  91. package/export/{test/integration/utils/staking.js → deploy/06_deploy_tbtc_vault.js} +32 -35
  92. package/export/deploy/07_deploy_bridge_governance.js +87 -0
  93. package/export/deploy/08_deploy_maintainer_proxy.js +80 -0
  94. package/export/deploy/09_bank_update_bridge.js +63 -0
  95. package/export/deploy/10_authorize_spv_maintainer_in_bridge.js +61 -0
  96. package/export/deploy/11_transfer_bank_ownership.js +60 -0
  97. package/export/deploy/12_transfer_bridge_governance.js +63 -0
  98. package/export/deploy/13_transfer_bridge_governance_ownership.js +60 -0
  99. package/export/deploy/14_transfer_tbtc_vault_ownership.js +60 -0
  100. package/export/deploy/15_transfer_maintainer_proxy_ownership.js +60 -0
  101. package/export/deploy/16_initialize_wallet_owner.js +63 -0
  102. package/export/deploy/16_transfer_proxy_admin_ownership.js +73 -0
  103. package/export/deploy/17_authorize_maintainer_proxy_in_bridge.js +63 -0
  104. package/export/deploy/17_transfer_proxy_admin_ownership.js +73 -0
  105. package/export/deploy/18_authorize_maintainer_proxy_in_bridge.js +63 -0
  106. package/export/deploy/18_authorize_maintainer_proxy_in_reimbursement_pool.js +63 -0
  107. package/export/deploy/19_authorize_bridge_in_reimbursement_pool.js +63 -0
  108. package/export/deploy/19_authorize_maintainer_proxy_in_reimbursement_pool.js +63 -0
  109. package/export/deploy/20_authorize_bridge_in_reimbursement_pool.js +63 -0
  110. package/export/deploy/20_deploy_proxy_admin_with_deputy.js +80 -0
  111. package/export/deploy/21_transfer_reimbursement_pool_ownership.js +60 -0
  112. package/export/deploy/22_deploy_proxy_admin_with_deputy.js +80 -0
  113. package/export/deploy/24_transfer_maintainer_proxy_ownership.js +60 -0
  114. package/export/deploy/25_transfer_proxy_admin_ownership.js +73 -0
  115. package/export/deploy/26_authorize_maintainer_proxy_in_reimbursement_pool.js +70 -0
  116. package/export/deploy/27_authorize_bridge_in_reimbursement_pool.js +70 -0
  117. package/export/deploy/28_deploy_proxy_admin_with_deputy.js +80 -0
  118. package/export/typechain/RelayStub.js +2 -0
  119. package/export/typechain/TestRelay.js +2 -0
  120. package/export/typechain/factories/RelayStub__factory.js +546 -0
  121. package/export/typechain/factories/TestRelay__factory.js +168 -0
  122. package/export/typechain/factories/WalletRegistry__factory.js +1 -1
  123. package/package.json +5 -5
  124. package/artifacts/BLS.json +0 -223
  125. package/artifacts/BeaconAuthorization.json +0 -273
  126. package/artifacts/BeaconDkg.json +0 -241
  127. package/artifacts/BeaconDkgValidator.json +0 -501
  128. package/artifacts/BeaconInactivity.json +0 -151
  129. package/artifacts/BeaconSortitionPool.json +0 -1187
  130. package/artifacts/EcdsaDkgValidator.json +0 -517
  131. package/artifacts/EcdsaInactivity.json +0 -156
  132. package/artifacts/EcdsaSortitionPool.json +0 -1187
  133. package/artifacts/KeepRegistry.json +0 -99
  134. package/artifacts/KeepStake.json +0 -286
  135. package/artifacts/KeepToken.json +0 -711
  136. package/artifacts/KeepTokenStaking.json +0 -483
  137. package/artifacts/NuCypherStakingEscrow.json +0 -287
  138. package/artifacts/NuCypherToken.json +0 -711
  139. package/artifacts/RandomBeacon.json +0 -3271
  140. package/artifacts/RandomBeaconChaosnet.json +0 -252
  141. package/artifacts/RandomBeaconGovernance.json +0 -3499
  142. package/artifacts/ReimbursementPool.json +0 -509
  143. package/artifacts/T.json +0 -1148
  144. package/artifacts/TBTCToken.json +0 -738
  145. package/artifacts/TokenStaking.json +0 -2288
  146. package/artifacts/TokenholderGovernor.json +0 -1795
  147. package/artifacts/TokenholderTimelock.json +0 -1058
  148. package/artifacts/VendingMachineKeep.json +0 -400
  149. package/artifacts/VendingMachineNuCypher.json +0 -400
  150. package/artifacts/WalletRegistry.json +0 -1962
  151. package/artifacts/WalletRegistryGovernance.json +0 -2863
  152. package/export/artifacts/contracts/test/BankStub.sol/BankStub.json +0 -11975
  153. package/export/artifacts/contracts/test/BridgeStub.sol/BridgeStub.json +0 -51806
  154. package/export/artifacts/contracts/test/GoerliLightRelay.sol/GoerliLightRelay.json +0 -11988
  155. package/export/artifacts/contracts/test/HeartbeatStub.sol/HeartbeatStub.json +0 -822
  156. package/export/artifacts/contracts/test/LightRelayStub.sol/LightRelayStub.json +0 -12729
  157. package/export/artifacts/contracts/test/ReceiveApprovalStub.sol/ReceiveApprovalStub.json +0 -2160
  158. package/export/artifacts/contracts/test/SystemTestRelay.sol/SystemTestRelay.json +0 -3407
  159. package/export/artifacts/contracts/test/TestERC20.sol/TestERC20.json +0 -14263
  160. package/export/artifacts/contracts/test/TestERC721.sol/TestERC721.json +0 -10644
  161. package/export/artifacts/contracts/test/TestEcdsaLib.sol/TestEcdsaLib.json +0 -1160
  162. package/export/artifacts/contracts/test/WormholeBridgeStub.sol/WormholeBridgeStub.json +0 -8665
  163. package/export/test/integration/data/bls.js +0 -12
  164. package/export/test/integration/data/integration.js +0 -133
  165. package/export/test/integration/utils/ecdsa-wallet-registry.js +0 -370
  166. package/export/test/integration/utils/random-beacon.js +0 -193
@@ -1,6 +1,11 @@
1
1
  {
2
- "address": "0x3c705dB336C81c7FEFC5746e283aB2c0781A4B7b",
2
+ "address": "0x5e4861a80B55f035D899f66772117F00FA0E8e7B",
3
3
  "abi": [
4
+ {
5
+ "inputs": [],
6
+ "stateMutability": "nonpayable",
7
+ "type": "constructor"
8
+ },
4
9
  {
5
10
  "anonymous": false,
6
11
  "inputs": [
@@ -1460,41 +1465,6 @@
1460
1465
  "stateMutability": "view",
1461
1466
  "type": "function"
1462
1467
  },
1463
- {
1464
- "inputs": [
1465
- {
1466
- "internalType": "bytes20",
1467
- "name": "walletPubKeyHash",
1468
- "type": "bytes20"
1469
- },
1470
- {
1471
- "components": [
1472
- {
1473
- "internalType": "bytes32",
1474
- "name": "txHash",
1475
- "type": "bytes32"
1476
- },
1477
- {
1478
- "internalType": "uint32",
1479
- "name": "txOutputIndex",
1480
- "type": "uint32"
1481
- },
1482
- {
1483
- "internalType": "uint64",
1484
- "name": "txOutputValue",
1485
- "type": "uint64"
1486
- }
1487
- ],
1488
- "internalType": "struct BitcoinTx.UTXO",
1489
- "name": "utxo",
1490
- "type": "tuple"
1491
- }
1492
- ],
1493
- "name": "processPendingMovedFundsSweepRequest",
1494
- "outputs": [],
1495
- "stateMutability": "nonpayable",
1496
- "type": "function"
1497
- },
1498
1468
  {
1499
1469
  "inputs": [
1500
1470
  {
@@ -1721,192 +1691,6 @@
1721
1691
  "stateMutability": "nonpayable",
1722
1692
  "type": "function"
1723
1693
  },
1724
- {
1725
- "inputs": [
1726
- {
1727
- "internalType": "bytes20",
1728
- "name": "activeWalletPubKeyHash",
1729
- "type": "bytes20"
1730
- }
1731
- ],
1732
- "name": "setActiveWallet",
1733
- "outputs": [],
1734
- "stateMutability": "nonpayable",
1735
- "type": "function"
1736
- },
1737
- {
1738
- "inputs": [
1739
- {
1740
- "internalType": "uint64",
1741
- "name": "_depositDustThreshold",
1742
- "type": "uint64"
1743
- }
1744
- ],
1745
- "name": "setDepositDustThreshold",
1746
- "outputs": [],
1747
- "stateMutability": "nonpayable",
1748
- "type": "function"
1749
- },
1750
- {
1751
- "inputs": [
1752
- {
1753
- "internalType": "uint32",
1754
- "name": "_depositRevealAheadPeriod",
1755
- "type": "uint32"
1756
- }
1757
- ],
1758
- "name": "setDepositRevealAheadPeriod",
1759
- "outputs": [],
1760
- "stateMutability": "nonpayable",
1761
- "type": "function"
1762
- },
1763
- {
1764
- "inputs": [
1765
- {
1766
- "internalType": "uint64",
1767
- "name": "_depositTxMaxFee",
1768
- "type": "uint64"
1769
- }
1770
- ],
1771
- "name": "setDepositTxMaxFee",
1772
- "outputs": [],
1773
- "stateMutability": "nonpayable",
1774
- "type": "function"
1775
- },
1776
- {
1777
- "inputs": [
1778
- {
1779
- "internalType": "uint64",
1780
- "name": "_movedFundsSweepTxMaxTotalFee",
1781
- "type": "uint64"
1782
- }
1783
- ],
1784
- "name": "setMovedFundsSweepTxMaxTotalFee",
1785
- "outputs": [],
1786
- "stateMutability": "nonpayable",
1787
- "type": "function"
1788
- },
1789
- {
1790
- "inputs": [
1791
- {
1792
- "internalType": "bytes20",
1793
- "name": "walletPubKeyHash",
1794
- "type": "bytes20"
1795
- },
1796
- {
1797
- "components": [
1798
- {
1799
- "internalType": "bytes32",
1800
- "name": "txHash",
1801
- "type": "bytes32"
1802
- },
1803
- {
1804
- "internalType": "uint32",
1805
- "name": "txOutputIndex",
1806
- "type": "uint32"
1807
- },
1808
- {
1809
- "internalType": "uint64",
1810
- "name": "txOutputValue",
1811
- "type": "uint64"
1812
- }
1813
- ],
1814
- "internalType": "struct BitcoinTx.UTXO",
1815
- "name": "utxo",
1816
- "type": "tuple"
1817
- }
1818
- ],
1819
- "name": "setPendingMovedFundsSweepRequest",
1820
- "outputs": [],
1821
- "stateMutability": "nonpayable",
1822
- "type": "function"
1823
- },
1824
- {
1825
- "inputs": [
1826
- {
1827
- "components": [
1828
- {
1829
- "internalType": "bytes32",
1830
- "name": "txHash",
1831
- "type": "bytes32"
1832
- },
1833
- {
1834
- "internalType": "uint32",
1835
- "name": "txOutputIndex",
1836
- "type": "uint32"
1837
- },
1838
- {
1839
- "internalType": "uint64",
1840
- "name": "txOutputValue",
1841
- "type": "uint64"
1842
- }
1843
- ],
1844
- "internalType": "struct BitcoinTx.UTXO[]",
1845
- "name": "utxos",
1846
- "type": "tuple[]"
1847
- }
1848
- ],
1849
- "name": "setProcessedMovedFundsSweepRequests",
1850
- "outputs": [],
1851
- "stateMutability": "nonpayable",
1852
- "type": "function"
1853
- },
1854
- {
1855
- "inputs": [
1856
- {
1857
- "internalType": "uint64",
1858
- "name": "_redemptionDustThreshold",
1859
- "type": "uint64"
1860
- }
1861
- ],
1862
- "name": "setRedemptionDustThreshold",
1863
- "outputs": [],
1864
- "stateMutability": "nonpayable",
1865
- "type": "function"
1866
- },
1867
- {
1868
- "inputs": [
1869
- {
1870
- "internalType": "uint64",
1871
- "name": "_redemptionTreasuryFeeDivisor",
1872
- "type": "uint64"
1873
- }
1874
- ],
1875
- "name": "setRedemptionTreasuryFeeDivisor",
1876
- "outputs": [],
1877
- "stateMutability": "nonpayable",
1878
- "type": "function"
1879
- },
1880
- {
1881
- "inputs": [
1882
- {
1883
- "components": [
1884
- {
1885
- "internalType": "bytes32",
1886
- "name": "txHash",
1887
- "type": "bytes32"
1888
- },
1889
- {
1890
- "internalType": "uint32",
1891
- "name": "txOutputIndex",
1892
- "type": "uint32"
1893
- },
1894
- {
1895
- "internalType": "uint64",
1896
- "name": "txOutputValue",
1897
- "type": "uint64"
1898
- }
1899
- ],
1900
- "internalType": "struct BitcoinTx.UTXO[]",
1901
- "name": "utxos",
1902
- "type": "tuple[]"
1903
- }
1904
- ],
1905
- "name": "setSpentMainUtxos",
1906
- "outputs": [],
1907
- "stateMutability": "nonpayable",
1908
- "type": "function"
1909
- },
1910
1694
  {
1911
1695
  "inputs": [
1912
1696
  {
@@ -1925,36 +1709,6 @@
1925
1709
  "stateMutability": "nonpayable",
1926
1710
  "type": "function"
1927
1711
  },
1928
- {
1929
- "inputs": [
1930
- {
1931
- "components": [
1932
- {
1933
- "internalType": "bytes32",
1934
- "name": "txHash",
1935
- "type": "bytes32"
1936
- },
1937
- {
1938
- "internalType": "uint32",
1939
- "name": "txOutputIndex",
1940
- "type": "uint32"
1941
- },
1942
- {
1943
- "internalType": "uint64",
1944
- "name": "txOutputValue",
1945
- "type": "uint64"
1946
- }
1947
- ],
1948
- "internalType": "struct BitcoinTx.UTXO[]",
1949
- "name": "utxos",
1950
- "type": "tuple[]"
1951
- }
1952
- ],
1953
- "name": "setSweptDeposits",
1954
- "outputs": [],
1955
- "stateMutability": "nonpayable",
1956
- "type": "function"
1957
- },
1958
1712
  {
1959
1713
  "inputs": [
1960
1714
  {
@@ -1973,106 +1727,6 @@
1973
1727
  "stateMutability": "nonpayable",
1974
1728
  "type": "function"
1975
1729
  },
1976
- {
1977
- "inputs": [
1978
- {
1979
- "internalType": "bytes20",
1980
- "name": "walletPubKeyHash",
1981
- "type": "bytes20"
1982
- },
1983
- {
1984
- "components": [
1985
- {
1986
- "internalType": "bytes32",
1987
- "name": "ecdsaWalletID",
1988
- "type": "bytes32"
1989
- },
1990
- {
1991
- "internalType": "bytes32",
1992
- "name": "mainUtxoHash",
1993
- "type": "bytes32"
1994
- },
1995
- {
1996
- "internalType": "uint64",
1997
- "name": "pendingRedemptionsValue",
1998
- "type": "uint64"
1999
- },
2000
- {
2001
- "internalType": "uint32",
2002
- "name": "createdAt",
2003
- "type": "uint32"
2004
- },
2005
- {
2006
- "internalType": "uint32",
2007
- "name": "movingFundsRequestedAt",
2008
- "type": "uint32"
2009
- },
2010
- {
2011
- "internalType": "uint32",
2012
- "name": "closingStartedAt",
2013
- "type": "uint32"
2014
- },
2015
- {
2016
- "internalType": "uint32",
2017
- "name": "pendingMovedFundsSweepRequestsCount",
2018
- "type": "uint32"
2019
- },
2020
- {
2021
- "internalType": "enum Wallets.WalletState",
2022
- "name": "state",
2023
- "type": "uint8"
2024
- },
2025
- {
2026
- "internalType": "bytes32",
2027
- "name": "movingFundsTargetWalletsCommitmentHash",
2028
- "type": "bytes32"
2029
- }
2030
- ],
2031
- "internalType": "struct Wallets.Wallet",
2032
- "name": "wallet",
2033
- "type": "tuple"
2034
- }
2035
- ],
2036
- "name": "setWallet",
2037
- "outputs": [],
2038
- "stateMutability": "nonpayable",
2039
- "type": "function"
2040
- },
2041
- {
2042
- "inputs": [
2043
- {
2044
- "internalType": "bytes20",
2045
- "name": "walletPubKeyHash",
2046
- "type": "bytes20"
2047
- },
2048
- {
2049
- "components": [
2050
- {
2051
- "internalType": "bytes32",
2052
- "name": "txHash",
2053
- "type": "bytes32"
2054
- },
2055
- {
2056
- "internalType": "uint32",
2057
- "name": "txOutputIndex",
2058
- "type": "uint32"
2059
- },
2060
- {
2061
- "internalType": "uint64",
2062
- "name": "txOutputValue",
2063
- "type": "uint64"
2064
- }
2065
- ],
2066
- "internalType": "struct BitcoinTx.UTXO",
2067
- "name": "utxo",
2068
- "type": "tuple"
2069
- }
2070
- ],
2071
- "name": "setWalletMainUtxo",
2072
- "outputs": [],
2073
- "stateMutability": "nonpayable",
2074
- "type": "function"
2075
- },
2076
1730
  {
2077
1731
  "inputs": [
2078
1732
  {
@@ -2559,41 +2213,6 @@
2559
2213
  "stateMutability": "view",
2560
2214
  "type": "function"
2561
2215
  },
2562
- {
2563
- "inputs": [
2564
- {
2565
- "internalType": "bytes20",
2566
- "name": "walletPubKeyHash",
2567
- "type": "bytes20"
2568
- },
2569
- {
2570
- "components": [
2571
- {
2572
- "internalType": "bytes32",
2573
- "name": "txHash",
2574
- "type": "bytes32"
2575
- },
2576
- {
2577
- "internalType": "uint32",
2578
- "name": "txOutputIndex",
2579
- "type": "uint32"
2580
- },
2581
- {
2582
- "internalType": "uint64",
2583
- "name": "txOutputValue",
2584
- "type": "uint64"
2585
- }
2586
- ],
2587
- "internalType": "struct BitcoinTx.UTXO",
2588
- "name": "utxo",
2589
- "type": "tuple"
2590
- }
2591
- ],
2592
- "name": "timeoutPendingMovedFundsSweepRequest",
2593
- "outputs": [],
2594
- "stateMutability": "nonpayable",
2595
- "type": "function"
2596
- },
2597
2216
  {
2598
2217
  "inputs": [
2599
2218
  {
@@ -2961,81 +2580,45 @@
2961
2580
  "type": "function"
2962
2581
  }
2963
2582
  ],
2964
- "transactionHash": "0x03241e0b86d1eea38e662389d63c7e5fa667df53a7a726342360c9f95e538857",
2583
+ "transactionHash": "0xa2980d644ed3713ca5ebd545dbd4daee76745ebaff4aca2e4222b859a8400ced",
2965
2584
  "receipt": {
2966
- "to": null,
2967
- "from": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
2968
- "contractAddress": "0x3c705dB336C81c7FEFC5746e283aB2c0781A4B7b",
2969
- "transactionIndex": 0,
2970
- "gasUsed": "972117",
2971
- "logsBloom": "0x00000000000000000000000000000000400000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000800080000000000000000000000000000000000000000000002000000800000000000000020000000000000008000000000000000000000000000000000000080000000000000800000000000000000000000000000000400000000000000000000000000000000000000000020000000000000000000040000000000000400000000000000000000000000081000000000000800000000000000000000000000000000000000000000",
2972
- "blockHash": "0x78c4d16c4b64c6c08740879386cac277e488d050d0856fc3002ef1088d2b1863",
2973
- "transactionHash": "0x03241e0b86d1eea38e662389d63c7e5fa667df53a7a726342360c9f95e538857",
2585
+ "to": "0x16A76d3cd3C1e3CE843C6680d6B37E9116b5C706",
2586
+ "from": "0x123694886DBf5Ac94DDA07135349534536D14cAf",
2587
+ "contractAddress": null,
2588
+ "transactionIndex": 144,
2589
+ "gasUsed": "38748",
2590
+ "logsBloom": "0x00000000000000000000000000000000400000000000000000000000000000000000000000000000000000000200000000000000000000020000000000000000100000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000001000000000020000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
2591
+ "blockHash": "0x3042ecc12f13d8a45f547456da41ee726fc960ab5e430bfe1184823d94439094",
2592
+ "transactionHash": "0xa2980d644ed3713ca5ebd545dbd4daee76745ebaff4aca2e4222b859a8400ced",
2974
2593
  "logs": [
2975
2594
  {
2976
- "transactionIndex": 0,
2977
- "blockNumber": 66,
2978
- "transactionHash": "0x03241e0b86d1eea38e662389d63c7e5fa667df53a7a726342360c9f95e538857",
2979
- "address": "0x3c705dB336C81c7FEFC5746e283aB2c0781A4B7b",
2595
+ "transactionIndex": 144,
2596
+ "blockNumber": 16399102,
2597
+ "transactionHash": "0xa2980d644ed3713ca5ebd545dbd4daee76745ebaff4aca2e4222b859a8400ced",
2598
+ "address": "0x5e4861a80B55f035D899f66772117F00FA0E8e7B",
2980
2599
  "topics": [
2981
2600
  "0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b",
2982
- "0x000000000000000000000000199c27b10a195ee79e02d50846e59a4afb82cad1"
2601
+ "0x0000000000000000000000008d014903bf7867260584d714e11809fea5293234"
2983
2602
  ],
2984
2603
  "data": "0x",
2985
- "logIndex": 0,
2986
- "blockHash": "0x78c4d16c4b64c6c08740879386cac277e488d050d0856fc3002ef1088d2b1863"
2987
- },
2988
- {
2989
- "transactionIndex": 0,
2990
- "blockNumber": 66,
2991
- "transactionHash": "0x03241e0b86d1eea38e662389d63c7e5fa667df53a7a726342360c9f95e538857",
2992
- "address": "0x3c705dB336C81c7FEFC5746e283aB2c0781A4B7b",
2993
- "topics": [
2994
- "0x5f56bee8cffbe9a78652a74a60705edede02af10b0bbb888ca44b79a0d42ce80"
2995
- ],
2996
- "data": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000070997970c51812dc3a010c7d01b50e0d17dc79c8",
2997
- "logIndex": 1,
2998
- "blockHash": "0x78c4d16c4b64c6c08740879386cac277e488d050d0856fc3002ef1088d2b1863"
2999
- },
3000
- {
3001
- "transactionIndex": 0,
3002
- "blockNumber": 66,
3003
- "transactionHash": "0x03241e0b86d1eea38e662389d63c7e5fa667df53a7a726342360c9f95e538857",
3004
- "address": "0x3c705dB336C81c7FEFC5746e283aB2c0781A4B7b",
3005
- "topics": [
3006
- "0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498"
3007
- ],
3008
- "data": "0x0000000000000000000000000000000000000000000000000000000000000001",
3009
- "logIndex": 2,
3010
- "blockHash": "0x78c4d16c4b64c6c08740879386cac277e488d050d0856fc3002ef1088d2b1863"
3011
- },
3012
- {
3013
- "transactionIndex": 0,
3014
- "blockNumber": 66,
3015
- "transactionHash": "0x03241e0b86d1eea38e662389d63c7e5fa667df53a7a726342360c9f95e538857",
3016
- "address": "0x3c705dB336C81c7FEFC5746e283aB2c0781A4B7b",
3017
- "topics": [
3018
- "0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f"
3019
- ],
3020
- "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000afdacd509e73115ea1654b1a770f1a807e7c9c0",
3021
- "logIndex": 3,
3022
- "blockHash": "0x78c4d16c4b64c6c08740879386cac277e488d050d0856fc3002ef1088d2b1863"
2604
+ "logIndex": 167,
2605
+ "blockHash": "0x3042ecc12f13d8a45f547456da41ee726fc960ab5e430bfe1184823d94439094"
3023
2606
  }
3024
2607
  ],
3025
- "blockNumber": 66,
3026
- "cumulativeGasUsed": "972117",
2608
+ "blockNumber": 16399102,
2609
+ "cumulativeGasUsed": "8682572",
3027
2610
  "status": 1,
3028
2611
  "byzantium": true
3029
2612
  },
3030
- "numDeployments": 1,
2613
+ "numDeployments": 2,
3031
2614
  "libraries": {
3032
- "Deposit": "0xA82ED5224ba72f2f776e09B11DC99E30Ee65Da8d",
3033
- "DepositSweep": "0x17C8b71E5eE01A726766c99d397D619219C8CAF3",
3034
- "Redemption": "0x8990C5DAAA40673eF8826990A6Fd8284a0a17d61",
3035
- "Wallets": "0xE4F89Fb0dBb45378633c05ACAb071eB998F0A736",
3036
- "Fraud": "0xf69E1dFAc3D43F438Bae80090b8E186B0231CFeb",
3037
- "MovingFunds": "0xDDEec1224034F4A68A2697eF13379a014fa60261"
2615
+ "Deposit": "0x1Ac1841a47054E070236F1664991e52c30C04dC5",
2616
+ "DepositSweep": "0xE6F919e62c370Ef04EDF4cA5E2a901Ea1aa87085",
2617
+ "Redemption": "0xfa4FC53BEB5B7721d173342FfC24058e9D47a1Ff",
2618
+ "Wallets": "0xC67913137429985416DbCe28D9fa9ec960BA47BF",
2619
+ "Fraud": "0xd040Def4bC6372Cd27b433288008aDCe7c9de71C",
2620
+ "MovingFunds": "0xB857117ae7639255d7305DdbC7346b4a644CA432"
3038
2621
  },
3039
- "implementation": "0x199c27B10a195ee79e02d50846e59A4aFB82CAD1",
2622
+ "implementation": "0x8D014903BF7867260584d714e11809fea5293234",
3040
2623
  "devdoc": "Contract deployed as upgradable proxy"
3041
2624
  }