@keep-network/tbtc-v2 1.6.0 → 1.7.0-dev.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 (143) hide show
  1. package/artifacts/.chainId +1 -1
  2. package/artifacts/BLS.json +223 -0
  3. package/artifacts/Bank.json +50 -40
  4. package/artifacts/BeaconAuthorization.json +273 -0
  5. package/artifacts/BeaconDkg.json +241 -0
  6. package/artifacts/BeaconDkgValidator.json +501 -0
  7. package/artifacts/BeaconInactivity.json +151 -0
  8. package/artifacts/BeaconSortitionPool.json +1187 -0
  9. package/artifacts/Bridge.json +449 -32
  10. package/artifacts/BridgeGovernance.json +22 -22
  11. package/artifacts/BridgeGovernanceParameters.json +10 -10
  12. package/artifacts/Deposit.json +12 -12
  13. package/artifacts/DepositSweep.json +12 -12
  14. package/artifacts/DonationVault.json +17 -17
  15. package/artifacts/EcdsaDkgValidator.json +517 -0
  16. package/artifacts/EcdsaInactivity.json +156 -0
  17. package/artifacts/EcdsaSortitionPool.json +1187 -0
  18. package/artifacts/Fraud.json +12 -12
  19. package/artifacts/LightRelay.json +38 -38
  20. package/artifacts/LightRelayMaintainerProxy.json +31 -31
  21. package/artifacts/MaintainerProxy.json +43 -43
  22. package/artifacts/MovingFunds.json +12 -12
  23. package/artifacts/NuCypherToken.json +711 -0
  24. package/artifacts/RandomBeacon.json +3271 -0
  25. package/artifacts/RandomBeaconChaosnet.json +252 -0
  26. package/artifacts/RandomBeaconGovernance.json +3499 -0
  27. package/artifacts/Redemption.json +12 -12
  28. package/artifacts/RedemptionWatchtower.json +39 -39
  29. package/artifacts/ReimbursementPool.json +509 -0
  30. package/artifacts/T.json +1148 -0
  31. package/artifacts/TBTC.json +37 -36
  32. package/artifacts/TBTCToken.json +738 -0
  33. package/artifacts/TBTCVault.json +47 -47
  34. package/artifacts/TokenStaking.json +2117 -0
  35. package/artifacts/TokenholderGovernor.json +1795 -0
  36. package/artifacts/TokenholderTimelock.json +1058 -0
  37. package/artifacts/VendingMachine.json +35 -34
  38. package/artifacts/VendingMachineNuCypher.json +400 -0
  39. package/artifacts/VendingMachineV2.json +21 -21
  40. package/artifacts/VendingMachineV3.json +21 -21
  41. package/artifacts/WalletProposalValidator.json +12 -12
  42. package/artifacts/WalletRegistry.json +1962 -0
  43. package/artifacts/WalletRegistryGovernance.json +2863 -0
  44. package/artifacts/Wallets.json +12 -12
  45. package/artifacts/solcInputs/{be146ce112252bdda3a03de3614fbbf1.json → c151efc9521638a56d4195bcc684d7ff.json} +2 -2
  46. package/build/contracts/GovernanceUtils.sol/GovernanceUtils.dbg.json +1 -1
  47. package/build/contracts/bank/Bank.sol/Bank.dbg.json +1 -1
  48. package/build/contracts/bank/IReceiveBalanceApproval.sol/IReceiveBalanceApproval.dbg.json +1 -1
  49. package/build/contracts/bridge/BitcoinTx.sol/BitcoinTx.dbg.json +1 -1
  50. package/build/contracts/bridge/Bridge.sol/Bridge.dbg.json +1 -1
  51. package/build/contracts/bridge/BridgeGovernanceParameters.sol/BridgeGovernanceParameters.dbg.json +1 -1
  52. package/build/contracts/bridge/BridgeState.sol/BridgeState.dbg.json +1 -1
  53. package/build/contracts/bridge/Deposit.sol/Deposit.dbg.json +1 -1
  54. package/build/contracts/bridge/DepositSweep.sol/DepositSweep.dbg.json +1 -1
  55. package/build/contracts/bridge/EcdsaLib.sol/EcdsaLib.dbg.json +1 -1
  56. package/build/contracts/bridge/Fraud.sol/Fraud.dbg.json +1 -1
  57. package/build/contracts/bridge/Heartbeat.sol/Heartbeat.dbg.json +1 -1
  58. package/build/contracts/bridge/IRelay.sol/IRelay.dbg.json +1 -1
  59. package/build/contracts/bridge/MovingFunds.sol/MovingFunds.dbg.json +1 -1
  60. package/build/contracts/bridge/Redemption.sol/IRedemptionWatchtower.dbg.json +1 -1
  61. package/build/contracts/bridge/Redemption.sol/OutboundTx.dbg.json +1 -1
  62. package/build/contracts/bridge/Redemption.sol/Redemption.dbg.json +1 -1
  63. package/build/contracts/bridge/RedemptionWatchtower.sol/RedemptionWatchtower.dbg.json +1 -1
  64. package/build/contracts/bridge/VendingMachine.sol/VendingMachine.dbg.json +1 -1
  65. package/build/contracts/bridge/VendingMachineV2.sol/VendingMachineV2.dbg.json +1 -1
  66. package/build/contracts/bridge/VendingMachineV3.sol/VendingMachineV3.dbg.json +1 -1
  67. package/build/contracts/bridge/WalletProposalValidator.sol/WalletProposalValidator.dbg.json +1 -1
  68. package/build/contracts/bridge/Wallets.sol/Wallets.dbg.json +1 -1
  69. package/build/contracts/integrator/AbstractTBTCDepositor.sol/AbstractTBTCDepositor.dbg.json +1 -1
  70. package/build/contracts/integrator/IBridge.sol/IBridge.dbg.json +1 -1
  71. package/build/contracts/integrator/IBridge.sol/IBridgeTypes.dbg.json +1 -1
  72. package/build/contracts/integrator/ITBTCVault.sol/ITBTCVault.dbg.json +1 -1
  73. package/build/contracts/l2/L2TBTC.sol/L2TBTC.dbg.json +1 -1
  74. package/build/contracts/l2/L2WormholeGateway.sol/IWormholeTokenBridge.dbg.json +1 -1
  75. package/build/contracts/l2/L2WormholeGateway.sol/L2WormholeGateway.dbg.json +1 -1
  76. package/build/contracts/maintainer/MaintainerProxy.sol/MaintainerProxy.dbg.json +1 -1
  77. package/build/contracts/relay/LightRelay.sol/ILightRelay.dbg.json +1 -1
  78. package/build/contracts/relay/LightRelay.sol/LightRelay.dbg.json +1 -1
  79. package/build/contracts/relay/LightRelay.sol/RelayUtils.dbg.json +1 -1
  80. package/build/contracts/relay/LightRelayMaintainerProxy.sol/LightRelayMaintainerProxy.dbg.json +1 -1
  81. package/build/contracts/test/BankStub.sol/BankStub.dbg.json +1 -1
  82. package/build/contracts/test/BridgeStub.sol/BridgeStub.dbg.json +1 -1
  83. package/build/contracts/test/HeartbeatStub.sol/HeartbeatStub.dbg.json +1 -1
  84. package/build/contracts/test/LightRelayStub.sol/LightRelayStub.dbg.json +1 -1
  85. package/build/contracts/test/ReceiveApprovalStub.sol/ReceiveApprovalStub.dbg.json +1 -1
  86. package/build/contracts/test/SepoliaLightRelay.sol/SepoliaLightRelay.dbg.json +1 -1
  87. package/build/contracts/test/SystemTestRelay.sol/SystemTestRelay.dbg.json +1 -1
  88. package/build/contracts/test/TestBitcoinTx.sol/TestBitcoinTx.dbg.json +1 -1
  89. package/build/contracts/test/TestERC20.sol/TestERC20.dbg.json +1 -1
  90. package/build/contracts/test/TestERC721.sol/TestERC721.dbg.json +1 -1
  91. package/build/contracts/test/TestEcdsaLib.sol/TestEcdsaLib.dbg.json +1 -1
  92. package/build/contracts/test/TestTBTCDepositor.sol/MockBridge.dbg.json +1 -1
  93. package/build/contracts/test/TestTBTCDepositor.sol/MockTBTCVault.dbg.json +1 -1
  94. package/build/contracts/test/TestTBTCDepositor.sol/TestTBTCDepositor.dbg.json +1 -1
  95. package/build/contracts/test/WormholeBridgeStub.sol/WormholeBridgeStub.dbg.json +1 -1
  96. package/build/contracts/token/TBTC.sol/TBTC.dbg.json +1 -1
  97. package/build/contracts/vault/DonationVault.sol/DonationVault.dbg.json +1 -1
  98. package/build/contracts/vault/IVault.sol/IVault.dbg.json +1 -1
  99. package/build/contracts/vault/TBTCOptimisticMinting.sol/TBTCOptimisticMinting.dbg.json +1 -1
  100. package/build/contracts/vault/TBTCVault.sol/TBTCVault.dbg.json +1 -1
  101. package/export/artifacts/@keep-network/ecdsa/contracts/WalletRegistry.sol/WalletRegistry.json +13 -13
  102. package/export/artifacts/contracts/bank/Bank.sol/Bank.json +58 -58
  103. package/export/artifacts/contracts/bridge/Bridge.sol/Bridge.json +318 -318
  104. package/export/artifacts/contracts/bridge/RedemptionWatchtower.sol/RedemptionWatchtower.json +103 -103
  105. package/export/artifacts/contracts/bridge/VendingMachine.sol/VendingMachine.json +71 -71
  106. package/export/artifacts/contracts/bridge/VendingMachineV2.sol/VendingMachineV2.json +24 -24
  107. package/export/artifacts/contracts/bridge/VendingMachineV3.sol/VendingMachineV3.json +26 -26
  108. package/export/artifacts/contracts/bridge/WalletProposalValidator.sol/WalletProposalValidator.json +67 -67
  109. package/export/artifacts/contracts/l2/L2TBTC.sol/L2TBTC.json +40 -40
  110. package/export/artifacts/contracts/l2/L2WormholeGateway.sol/L2WormholeGateway.json +47 -47
  111. package/export/artifacts/contracts/maintainer/MaintainerProxy.sol/MaintainerProxy.json +118 -118
  112. package/export/artifacts/contracts/relay/LightRelay.sol/LightRelay.json +57 -57
  113. package/export/artifacts/contracts/relay/LightRelayMaintainerProxy.sol/LightRelayMaintainerProxy.json +31 -31
  114. package/export/artifacts/contracts/test/BankStub.sol/BankStub.json +60 -60
  115. package/export/artifacts/contracts/test/BridgeStub.sol/BridgeStub.json +356 -356
  116. package/export/artifacts/contracts/test/HeartbeatStub.sol/HeartbeatStub.json +4 -4
  117. package/export/artifacts/contracts/test/LightRelayStub.sol/LightRelayStub.json +59 -59
  118. package/export/artifacts/contracts/test/ReceiveApprovalStub.sol/ReceiveApprovalStub.json +7 -7
  119. package/export/artifacts/contracts/test/SepoliaLightRelay.sol/SepoliaLightRelay.json +59 -59
  120. package/export/artifacts/contracts/test/SystemTestRelay.sol/SystemTestRelay.json +14 -14
  121. package/export/artifacts/contracts/test/TestBitcoinTx.sol/TestBitcoinTx.json +128 -128
  122. package/export/artifacts/contracts/test/TestERC20.sol/TestERC20.json +6 -6
  123. package/export/artifacts/contracts/test/TestERC721.sol/TestERC721.json +8 -8
  124. package/export/artifacts/contracts/test/TestEcdsaLib.sol/TestEcdsaLib.json +4 -4
  125. package/export/artifacts/contracts/test/TestTBTCDepositor.sol/MockBridge.json +34 -34
  126. package/export/artifacts/contracts/test/TestTBTCDepositor.sol/MockTBTCVault.json +18 -18
  127. package/export/artifacts/contracts/test/TestTBTCDepositor.sol/TestTBTCDepositor.json +48 -48
  128. package/export/artifacts/contracts/test/WormholeBridgeStub.sol/WormholeBridgeStub.json +37 -37
  129. package/export/artifacts/contracts/token/TBTC.sol/TBTC.json +2 -2
  130. package/export/artifacts/contracts/vault/DonationVault.sol/DonationVault.json +19 -19
  131. package/export/artifacts/contracts/vault/TBTCVault.sol/TBTCVault.json +143 -143
  132. package/export/typechain/factories/EcdsaAuthorization__factory.js +1 -1
  133. package/export/typechain/factories/IStaking__factory.js +24 -116
  134. package/export/typechain/factories/WalletRegistry__factory.js +1 -1
  135. package/package.json +5 -5
  136. package/artifacts/solcInputs/7c1f8f1dbded4c787d87a982d1fc8349.json +0 -410
  137. package/artifacts/solcInputs/7cc3eda3cb3ff2522d18b5e7b31ea228.json +0 -102
  138. package/artifacts/solcInputs/802132f7da69a8a4226cb9424480847b.json +0 -218
  139. package/artifacts/solcInputs/887fad6b16575ba42183543c324eeb0e.json +0 -335
  140. package/artifacts/solcInputs/b0025f1f7efe4824592ac0c9793776c3.json +0 -392
  141. package/artifacts/solcInputs/b7c5f3550cc22e16e6b6ea9582ccbee3.json +0 -341
  142. package/artifacts/solcInputs/d71d4b4434e6669852eaf643ebd2a7bc.json +0 -209
  143. package/artifacts/solcInputs/fccb130292c8c7cc958ab4fa31a3e180.json +0 -187
@@ -1,11 +1,6 @@
1
1
  {
2
- "address": "0x5e4861a80B55f035D899f66772117F00FA0E8e7B",
2
+ "address": "0x84227190685c25c4aF662EE1bD0E4cd82e57360D",
3
3
  "abi": [
4
- {
5
- "inputs": [],
6
- "stateMutability": "nonpayable",
7
- "type": "constructor"
8
- },
9
4
  {
10
5
  "anonymous": false,
11
6
  "inputs": [
@@ -1514,6 +1509,41 @@
1514
1509
  "stateMutability": "view",
1515
1510
  "type": "function"
1516
1511
  },
1512
+ {
1513
+ "inputs": [
1514
+ {
1515
+ "internalType": "bytes20",
1516
+ "name": "walletPubKeyHash",
1517
+ "type": "bytes20"
1518
+ },
1519
+ {
1520
+ "components": [
1521
+ {
1522
+ "internalType": "bytes32",
1523
+ "name": "txHash",
1524
+ "type": "bytes32"
1525
+ },
1526
+ {
1527
+ "internalType": "uint32",
1528
+ "name": "txOutputIndex",
1529
+ "type": "uint32"
1530
+ },
1531
+ {
1532
+ "internalType": "uint64",
1533
+ "name": "txOutputValue",
1534
+ "type": "uint64"
1535
+ }
1536
+ ],
1537
+ "internalType": "struct BitcoinTx.UTXO",
1538
+ "name": "utxo",
1539
+ "type": "tuple"
1540
+ }
1541
+ ],
1542
+ "name": "processPendingMovedFundsSweepRequest",
1543
+ "outputs": [],
1544
+ "stateMutability": "nonpayable",
1545
+ "type": "function"
1546
+ },
1517
1547
  {
1518
1548
  "inputs": [
1519
1549
  {
@@ -1817,6 +1847,162 @@
1817
1847
  "stateMutability": "nonpayable",
1818
1848
  "type": "function"
1819
1849
  },
1850
+ {
1851
+ "inputs": [
1852
+ {
1853
+ "internalType": "bytes20",
1854
+ "name": "activeWalletPubKeyHash",
1855
+ "type": "bytes20"
1856
+ }
1857
+ ],
1858
+ "name": "setActiveWallet",
1859
+ "outputs": [],
1860
+ "stateMutability": "nonpayable",
1861
+ "type": "function"
1862
+ },
1863
+ {
1864
+ "inputs": [
1865
+ {
1866
+ "internalType": "uint64",
1867
+ "name": "_depositDustThreshold",
1868
+ "type": "uint64"
1869
+ }
1870
+ ],
1871
+ "name": "setDepositDustThreshold",
1872
+ "outputs": [],
1873
+ "stateMutability": "nonpayable",
1874
+ "type": "function"
1875
+ },
1876
+ {
1877
+ "inputs": [
1878
+ {
1879
+ "internalType": "uint32",
1880
+ "name": "_depositRevealAheadPeriod",
1881
+ "type": "uint32"
1882
+ }
1883
+ ],
1884
+ "name": "setDepositRevealAheadPeriod",
1885
+ "outputs": [],
1886
+ "stateMutability": "nonpayable",
1887
+ "type": "function"
1888
+ },
1889
+ {
1890
+ "inputs": [
1891
+ {
1892
+ "internalType": "uint64",
1893
+ "name": "_depositTxMaxFee",
1894
+ "type": "uint64"
1895
+ }
1896
+ ],
1897
+ "name": "setDepositTxMaxFee",
1898
+ "outputs": [],
1899
+ "stateMutability": "nonpayable",
1900
+ "type": "function"
1901
+ },
1902
+ {
1903
+ "inputs": [
1904
+ {
1905
+ "internalType": "uint64",
1906
+ "name": "_movedFundsSweepTxMaxTotalFee",
1907
+ "type": "uint64"
1908
+ }
1909
+ ],
1910
+ "name": "setMovedFundsSweepTxMaxTotalFee",
1911
+ "outputs": [],
1912
+ "stateMutability": "nonpayable",
1913
+ "type": "function"
1914
+ },
1915
+ {
1916
+ "inputs": [
1917
+ {
1918
+ "internalType": "bytes20",
1919
+ "name": "walletPubKeyHash",
1920
+ "type": "bytes20"
1921
+ },
1922
+ {
1923
+ "components": [
1924
+ {
1925
+ "internalType": "bytes32",
1926
+ "name": "txHash",
1927
+ "type": "bytes32"
1928
+ },
1929
+ {
1930
+ "internalType": "uint32",
1931
+ "name": "txOutputIndex",
1932
+ "type": "uint32"
1933
+ },
1934
+ {
1935
+ "internalType": "uint64",
1936
+ "name": "txOutputValue",
1937
+ "type": "uint64"
1938
+ }
1939
+ ],
1940
+ "internalType": "struct BitcoinTx.UTXO",
1941
+ "name": "utxo",
1942
+ "type": "tuple"
1943
+ }
1944
+ ],
1945
+ "name": "setPendingMovedFundsSweepRequest",
1946
+ "outputs": [],
1947
+ "stateMutability": "nonpayable",
1948
+ "type": "function"
1949
+ },
1950
+ {
1951
+ "inputs": [
1952
+ {
1953
+ "components": [
1954
+ {
1955
+ "internalType": "bytes32",
1956
+ "name": "txHash",
1957
+ "type": "bytes32"
1958
+ },
1959
+ {
1960
+ "internalType": "uint32",
1961
+ "name": "txOutputIndex",
1962
+ "type": "uint32"
1963
+ },
1964
+ {
1965
+ "internalType": "uint64",
1966
+ "name": "txOutputValue",
1967
+ "type": "uint64"
1968
+ }
1969
+ ],
1970
+ "internalType": "struct BitcoinTx.UTXO[]",
1971
+ "name": "utxos",
1972
+ "type": "tuple[]"
1973
+ }
1974
+ ],
1975
+ "name": "setProcessedMovedFundsSweepRequests",
1976
+ "outputs": [],
1977
+ "stateMutability": "nonpayable",
1978
+ "type": "function"
1979
+ },
1980
+ {
1981
+ "inputs": [
1982
+ {
1983
+ "internalType": "uint64",
1984
+ "name": "_redemptionDustThreshold",
1985
+ "type": "uint64"
1986
+ }
1987
+ ],
1988
+ "name": "setRedemptionDustThreshold",
1989
+ "outputs": [],
1990
+ "stateMutability": "nonpayable",
1991
+ "type": "function"
1992
+ },
1993
+ {
1994
+ "inputs": [
1995
+ {
1996
+ "internalType": "uint64",
1997
+ "name": "_redemptionTreasuryFeeDivisor",
1998
+ "type": "uint64"
1999
+ }
2000
+ ],
2001
+ "name": "setRedemptionTreasuryFeeDivisor",
2002
+ "outputs": [],
2003
+ "stateMutability": "nonpayable",
2004
+ "type": "function"
2005
+ },
1820
2006
  {
1821
2007
  "inputs": [
1822
2008
  {
@@ -1830,6 +2016,36 @@
1830
2016
  "stateMutability": "nonpayable",
1831
2017
  "type": "function"
1832
2018
  },
2019
+ {
2020
+ "inputs": [
2021
+ {
2022
+ "components": [
2023
+ {
2024
+ "internalType": "bytes32",
2025
+ "name": "txHash",
2026
+ "type": "bytes32"
2027
+ },
2028
+ {
2029
+ "internalType": "uint32",
2030
+ "name": "txOutputIndex",
2031
+ "type": "uint32"
2032
+ },
2033
+ {
2034
+ "internalType": "uint64",
2035
+ "name": "txOutputValue",
2036
+ "type": "uint64"
2037
+ }
2038
+ ],
2039
+ "internalType": "struct BitcoinTx.UTXO[]",
2040
+ "name": "utxos",
2041
+ "type": "tuple[]"
2042
+ }
2043
+ ],
2044
+ "name": "setSpentMainUtxos",
2045
+ "outputs": [],
2046
+ "stateMutability": "nonpayable",
2047
+ "type": "function"
2048
+ },
1833
2049
  {
1834
2050
  "inputs": [
1835
2051
  {
@@ -1848,6 +2064,36 @@
1848
2064
  "stateMutability": "nonpayable",
1849
2065
  "type": "function"
1850
2066
  },
2067
+ {
2068
+ "inputs": [
2069
+ {
2070
+ "components": [
2071
+ {
2072
+ "internalType": "bytes32",
2073
+ "name": "txHash",
2074
+ "type": "bytes32"
2075
+ },
2076
+ {
2077
+ "internalType": "uint32",
2078
+ "name": "txOutputIndex",
2079
+ "type": "uint32"
2080
+ },
2081
+ {
2082
+ "internalType": "uint64",
2083
+ "name": "txOutputValue",
2084
+ "type": "uint64"
2085
+ }
2086
+ ],
2087
+ "internalType": "struct BitcoinTx.UTXO[]",
2088
+ "name": "utxos",
2089
+ "type": "tuple[]"
2090
+ }
2091
+ ],
2092
+ "name": "setSweptDeposits",
2093
+ "outputs": [],
2094
+ "stateMutability": "nonpayable",
2095
+ "type": "function"
2096
+ },
1851
2097
  {
1852
2098
  "inputs": [
1853
2099
  {
@@ -1866,6 +2112,106 @@
1866
2112
  "stateMutability": "nonpayable",
1867
2113
  "type": "function"
1868
2114
  },
2115
+ {
2116
+ "inputs": [
2117
+ {
2118
+ "internalType": "bytes20",
2119
+ "name": "walletPubKeyHash",
2120
+ "type": "bytes20"
2121
+ },
2122
+ {
2123
+ "components": [
2124
+ {
2125
+ "internalType": "bytes32",
2126
+ "name": "ecdsaWalletID",
2127
+ "type": "bytes32"
2128
+ },
2129
+ {
2130
+ "internalType": "bytes32",
2131
+ "name": "mainUtxoHash",
2132
+ "type": "bytes32"
2133
+ },
2134
+ {
2135
+ "internalType": "uint64",
2136
+ "name": "pendingRedemptionsValue",
2137
+ "type": "uint64"
2138
+ },
2139
+ {
2140
+ "internalType": "uint32",
2141
+ "name": "createdAt",
2142
+ "type": "uint32"
2143
+ },
2144
+ {
2145
+ "internalType": "uint32",
2146
+ "name": "movingFundsRequestedAt",
2147
+ "type": "uint32"
2148
+ },
2149
+ {
2150
+ "internalType": "uint32",
2151
+ "name": "closingStartedAt",
2152
+ "type": "uint32"
2153
+ },
2154
+ {
2155
+ "internalType": "uint32",
2156
+ "name": "pendingMovedFundsSweepRequestsCount",
2157
+ "type": "uint32"
2158
+ },
2159
+ {
2160
+ "internalType": "enum Wallets.WalletState",
2161
+ "name": "state",
2162
+ "type": "uint8"
2163
+ },
2164
+ {
2165
+ "internalType": "bytes32",
2166
+ "name": "movingFundsTargetWalletsCommitmentHash",
2167
+ "type": "bytes32"
2168
+ }
2169
+ ],
2170
+ "internalType": "struct Wallets.Wallet",
2171
+ "name": "wallet",
2172
+ "type": "tuple"
2173
+ }
2174
+ ],
2175
+ "name": "setWallet",
2176
+ "outputs": [],
2177
+ "stateMutability": "nonpayable",
2178
+ "type": "function"
2179
+ },
2180
+ {
2181
+ "inputs": [
2182
+ {
2183
+ "internalType": "bytes20",
2184
+ "name": "walletPubKeyHash",
2185
+ "type": "bytes20"
2186
+ },
2187
+ {
2188
+ "components": [
2189
+ {
2190
+ "internalType": "bytes32",
2191
+ "name": "txHash",
2192
+ "type": "bytes32"
2193
+ },
2194
+ {
2195
+ "internalType": "uint32",
2196
+ "name": "txOutputIndex",
2197
+ "type": "uint32"
2198
+ },
2199
+ {
2200
+ "internalType": "uint64",
2201
+ "name": "txOutputValue",
2202
+ "type": "uint64"
2203
+ }
2204
+ ],
2205
+ "internalType": "struct BitcoinTx.UTXO",
2206
+ "name": "utxo",
2207
+ "type": "tuple"
2208
+ }
2209
+ ],
2210
+ "name": "setWalletMainUtxo",
2211
+ "outputs": [],
2212
+ "stateMutability": "nonpayable",
2213
+ "type": "function"
2214
+ },
1869
2215
  {
1870
2216
  "inputs": [
1871
2217
  {
@@ -2392,6 +2738,41 @@
2392
2738
  "stateMutability": "view",
2393
2739
  "type": "function"
2394
2740
  },
2741
+ {
2742
+ "inputs": [
2743
+ {
2744
+ "internalType": "bytes20",
2745
+ "name": "walletPubKeyHash",
2746
+ "type": "bytes20"
2747
+ },
2748
+ {
2749
+ "components": [
2750
+ {
2751
+ "internalType": "bytes32",
2752
+ "name": "txHash",
2753
+ "type": "bytes32"
2754
+ },
2755
+ {
2756
+ "internalType": "uint32",
2757
+ "name": "txOutputIndex",
2758
+ "type": "uint32"
2759
+ },
2760
+ {
2761
+ "internalType": "uint64",
2762
+ "name": "txOutputValue",
2763
+ "type": "uint64"
2764
+ }
2765
+ ],
2766
+ "internalType": "struct BitcoinTx.UTXO",
2767
+ "name": "utxo",
2768
+ "type": "tuple"
2769
+ }
2770
+ ],
2771
+ "name": "timeoutPendingMovedFundsSweepRequest",
2772
+ "outputs": [],
2773
+ "stateMutability": "nonpayable",
2774
+ "type": "function"
2775
+ },
2395
2776
  {
2396
2777
  "inputs": [
2397
2778
  {
@@ -2759,45 +3140,81 @@
2759
3140
  "type": "function"
2760
3141
  }
2761
3142
  ],
2762
- "transactionHash": "0xa2980d644ed3713ca5ebd545dbd4daee76745ebaff4aca2e4222b859a8400ced",
3143
+ "transactionHash": "0x3f8abf509e49af979dcfde2afd9f0930562b1a5ac21b07078356809c78055993",
2763
3144
  "receipt": {
2764
- "to": "0x16A76d3cd3C1e3CE843C6680d6B37E9116b5C706",
2765
- "from": "0x123694886DBf5Ac94DDA07135349534536D14cAf",
2766
- "contractAddress": null,
2767
- "transactionIndex": 144,
2768
- "gasUsed": "38748",
2769
- "logsBloom": "0x00000000000000000000000000000000400000000000000000000000000000000000000000000000000000000200000000000000000000020000000000000000100000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000001000000000020000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
2770
- "blockHash": "0x3042ecc12f13d8a45f547456da41ee726fc960ab5e430bfe1184823d94439094",
2771
- "transactionHash": "0xa2980d644ed3713ca5ebd545dbd4daee76745ebaff4aca2e4222b859a8400ced",
3145
+ "to": null,
3146
+ "from": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
3147
+ "contractAddress": "0x84227190685c25c4aF662EE1bD0E4cd82e57360D",
3148
+ "transactionIndex": 0,
3149
+ "gasUsed": "972117",
3150
+ "logsBloom": "0x00000000000000000000000000000000400000004000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000800000000000000000000000000000000000000000000000000000200800000000000000000000000000080000000000000000000000000000000000000000080000000000000800000000000000080000000000000000400000000000000000000002010000000000000000020000000000000000000040000000000000400000000000000000000000000000000000000000800000000000000000000000000000000000000000000",
3151
+ "blockHash": "0x49b77491cbcc48c73235f928dbe2bea9041fa721037316bb9ae782ab1de8cbc1",
3152
+ "transactionHash": "0x3f8abf509e49af979dcfde2afd9f0930562b1a5ac21b07078356809c78055993",
2772
3153
  "logs": [
2773
3154
  {
2774
- "transactionIndex": 144,
2775
- "blockNumber": 16399102,
2776
- "transactionHash": "0xa2980d644ed3713ca5ebd545dbd4daee76745ebaff4aca2e4222b859a8400ced",
2777
- "address": "0x5e4861a80B55f035D899f66772117F00FA0E8e7B",
3155
+ "transactionIndex": 0,
3156
+ "blockNumber": 57,
3157
+ "transactionHash": "0x3f8abf509e49af979dcfde2afd9f0930562b1a5ac21b07078356809c78055993",
3158
+ "address": "0x84227190685c25c4aF662EE1bD0E4cd82e57360D",
2778
3159
  "topics": [
2779
3160
  "0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b",
2780
- "0x0000000000000000000000008d014903bf7867260584d714e11809fea5293234"
3161
+ "0x0000000000000000000000001d99a347b5ecdbaa3c5365470d461cf66b77ecd2"
2781
3162
  ],
2782
3163
  "data": "0x",
2783
- "logIndex": 167,
2784
- "blockHash": "0x3042ecc12f13d8a45f547456da41ee726fc960ab5e430bfe1184823d94439094"
3164
+ "logIndex": 0,
3165
+ "blockHash": "0x49b77491cbcc48c73235f928dbe2bea9041fa721037316bb9ae782ab1de8cbc1"
3166
+ },
3167
+ {
3168
+ "transactionIndex": 0,
3169
+ "blockNumber": 57,
3170
+ "transactionHash": "0x3f8abf509e49af979dcfde2afd9f0930562b1a5ac21b07078356809c78055993",
3171
+ "address": "0x84227190685c25c4aF662EE1bD0E4cd82e57360D",
3172
+ "topics": [
3173
+ "0x5f56bee8cffbe9a78652a74a60705edede02af10b0bbb888ca44b79a0d42ce80"
3174
+ ],
3175
+ "data": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000070997970c51812dc3a010c7d01b50e0d17dc79c8",
3176
+ "logIndex": 1,
3177
+ "blockHash": "0x49b77491cbcc48c73235f928dbe2bea9041fa721037316bb9ae782ab1de8cbc1"
3178
+ },
3179
+ {
3180
+ "transactionIndex": 0,
3181
+ "blockNumber": 57,
3182
+ "transactionHash": "0x3f8abf509e49af979dcfde2afd9f0930562b1a5ac21b07078356809c78055993",
3183
+ "address": "0x84227190685c25c4aF662EE1bD0E4cd82e57360D",
3184
+ "topics": [
3185
+ "0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498"
3186
+ ],
3187
+ "data": "0x0000000000000000000000000000000000000000000000000000000000000001",
3188
+ "logIndex": 2,
3189
+ "blockHash": "0x49b77491cbcc48c73235f928dbe2bea9041fa721037316bb9ae782ab1de8cbc1"
3190
+ },
3191
+ {
3192
+ "transactionIndex": 0,
3193
+ "blockNumber": 57,
3194
+ "transactionHash": "0x3f8abf509e49af979dcfde2afd9f0930562b1a5ac21b07078356809c78055993",
3195
+ "address": "0x84227190685c25c4aF662EE1bD0E4cd82e57360D",
3196
+ "topics": [
3197
+ "0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f"
3198
+ ],
3199
+ "data": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f818a7c2afc45cf4b9ddc48933c9a1edd624e46f",
3200
+ "logIndex": 3,
3201
+ "blockHash": "0x49b77491cbcc48c73235f928dbe2bea9041fa721037316bb9ae782ab1de8cbc1"
2785
3202
  }
2786
3203
  ],
2787
- "blockNumber": 16399102,
2788
- "cumulativeGasUsed": "8682572",
3204
+ "blockNumber": 57,
3205
+ "cumulativeGasUsed": "972117",
2789
3206
  "status": 1,
2790
3207
  "byzantium": true
2791
3208
  },
2792
- "numDeployments": 4,
3209
+ "numDeployments": 1,
2793
3210
  "libraries": {
2794
- "Deposit": "0xCD2EbDA2beA80484C55675e1965149054dCcD137",
2795
- "DepositSweep": "0x392635646Bc22FC13C86859d1f02B27974aC9b95",
2796
- "Redemption": "0x8EF1BEDA734E696CC055269b46BB5a0EC7Ac9f5E",
2797
- "Wallets": "0xc989d3E486AAe6355F65281B4d0bde08c8e32fBC",
2798
- "Fraud": "0x51bBeF1c7cC3a1D3bC5E64CE6C3BA6E66fbA3559",
2799
- "MovingFunds": "0x3E0407765FaC663d391aE738f3Aa0c98EAb67a90"
3211
+ "Deposit": "0xa85b028984bC54A2a3D844B070544F59dDDf89DE",
3212
+ "DepositSweep": "0xD499f5F7d3C918D0e553BA03954c4E02af16B6e4",
3213
+ "Redemption": "0xDadd1125B8Df98A66Abd5EB302C0d9Ca5A061dC2",
3214
+ "Wallets": "0x23d351BA89eaAc4E328133Cb48e050064C219A1E",
3215
+ "Fraud": "0x35D2F51DBC8b401B11fA3FE04423E0f5cd9fEDb4",
3216
+ "MovingFunds": "0x49FcbCC4E425add3a45AFC82F4dD0E5c227A0Ff8"
2800
3217
  },
2801
- "implementation": "0xA4996De73682BDF9CF514fbf238ee387C1a21A26",
3218
+ "implementation": "0x1D99a347B5EcdbAa3C5365470d461Cf66B77ECd2",
2802
3219
  "devdoc": "Contract deployed as upgradable proxy"
2803
3220
  }