@keep-network/tbtc-v2 1.1.0 → 1.2.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.
- package/artifacts/.chainId +1 -1
- package/artifacts/BLS.json +223 -0
- package/artifacts/Bank.json +50 -40
- package/artifacts/BeaconAuthorization.json +273 -0
- package/artifacts/BeaconDkg.json +241 -0
- package/artifacts/BeaconDkgValidator.json +501 -0
- package/artifacts/BeaconInactivity.json +151 -0
- package/artifacts/BeaconSortitionPool.json +1187 -0
- package/artifacts/Bridge.json +449 -32
- package/artifacts/BridgeGovernance.json +24 -24
- package/artifacts/BridgeGovernanceParameters.json +10 -10
- package/artifacts/Deposit.json +13 -13
- package/artifacts/DepositSweep.json +13 -13
- package/artifacts/DonationVault.json +17 -17
- package/artifacts/EcdsaDkgValidator.json +517 -0
- package/artifacts/EcdsaInactivity.json +156 -0
- package/artifacts/EcdsaSortitionPool.json +1187 -0
- package/artifacts/Fraud.json +14 -14
- package/artifacts/KeepRegistry.json +99 -0
- package/artifacts/KeepStake.json +286 -0
- package/artifacts/KeepToken.json +711 -0
- package/artifacts/KeepTokenStaking.json +483 -0
- package/artifacts/LightRelay.json +38 -38
- package/artifacts/MaintainerProxy.json +47 -47
- package/artifacts/MovingFunds.json +14 -14
- package/artifacts/NuCypherStakingEscrow.json +287 -0
- package/artifacts/NuCypherToken.json +711 -0
- package/artifacts/RandomBeacon.json +3271 -0
- package/artifacts/RandomBeaconChaosnet.json +252 -0
- package/artifacts/RandomBeaconGovernance.json +3499 -0
- package/artifacts/Redemption.json +13 -13
- package/artifacts/ReimbursementPool.json +509 -0
- package/artifacts/T.json +1148 -0
- package/artifacts/TBTC.json +37 -36
- package/artifacts/TBTCToken.json +738 -0
- package/artifacts/TBTCVault.json +47 -47
- package/artifacts/TokenStaking.json +2288 -0
- package/artifacts/TokenholderGovernor.json +1795 -0
- package/artifacts/TokenholderTimelock.json +1058 -0
- package/artifacts/VendingMachine.json +35 -34
- package/artifacts/VendingMachineKeep.json +400 -0
- package/artifacts/VendingMachineNuCypher.json +400 -0
- package/artifacts/VendingMachineV2.json +19 -19
- package/artifacts/VendingMachineV3.json +19 -19
- package/artifacts/WalletRegistry.json +1962 -0
- package/artifacts/WalletRegistryGovernance.json +2863 -0
- package/artifacts/Wallets.json +13 -13
- package/artifacts/solcInputs/{fccb130292c8c7cc958ab4fa31a3e180.json → cc4433405642a987910ddb374547d19a.json} +15 -12
- package/export/artifacts/contracts/test/BankStub.sol/BankStub.json +11975 -0
- package/export/artifacts/contracts/test/BridgeStub.sol/BridgeStub.json +51806 -0
- package/export/artifacts/contracts/test/GoerliLightRelay.sol/GoerliLightRelay.json +11988 -0
- package/export/artifacts/contracts/test/HeartbeatStub.sol/HeartbeatStub.json +822 -0
- package/export/artifacts/contracts/test/LightRelayStub.sol/LightRelayStub.json +12729 -0
- package/export/artifacts/contracts/test/ReceiveApprovalStub.sol/ReceiveApprovalStub.json +2160 -0
- package/export/artifacts/contracts/test/SystemTestRelay.sol/SystemTestRelay.json +3407 -0
- package/export/artifacts/contracts/test/TestERC20.sol/TestERC20.json +14263 -0
- package/export/artifacts/contracts/test/TestERC721.sol/TestERC721.json +10644 -0
- package/export/artifacts/contracts/test/TestEcdsaLib.sol/TestEcdsaLib.json +1160 -0
- package/export/test/integration/data/bls.js +12 -0
- package/export/test/integration/data/integration.js +133 -0
- package/export/test/integration/utils/ecdsa-wallet-registry.js +370 -0
- package/export/test/integration/utils/random-beacon.js +193 -0
- package/export/{deploy/08_deploy_maintainer_proxy.js → test/integration/utils/staking.js} +35 -32
- package/package.json +5 -5
- package/artifacts/solcInputs/7cc3eda3cb3ff2522d18b5e7b31ea228.json +0 -102
- package/artifacts/solcInputs/802132f7da69a8a4226cb9424480847b.json +0 -218
- package/artifacts/solcInputs/887fad6b16575ba42183543c324eeb0e.json +0 -335
- package/export/deploy/00_resolve_relay.js +0 -83
- package/export/deploy/01_deploy_tbtc_v2_token.js +0 -70
- package/export/deploy/02_deploy_vending_machine.js +0 -84
- package/export/deploy/03_transfer_vending_machine_roles.js +0 -69
- package/export/deploy/04_deploy_bank.js +0 -73
- package/export/deploy/05_deploy_bridge.js +0 -178
- package/export/deploy/06_deploy_tbtc_vault.js +0 -80
- package/export/deploy/07_deploy_bridge_governance.js +0 -87
- package/export/deploy/09_bank_update_bridge.js +0 -63
- package/export/deploy/10_authorize_spv_maintainer_in_bridge.js +0 -61
- package/export/deploy/11_transfer_bank_ownership.js +0 -60
- package/export/deploy/12_transfer_bridge_governance.js +0 -63
- package/export/deploy/13_transfer_bridge_governance_ownership.js +0 -60
- package/export/deploy/14_transfer_tbtc_vault_ownership.js +0 -60
- package/export/deploy/15_transfer_maintainer_proxy_ownership.js +0 -60
- package/export/deploy/16_initialize_wallet_owner.js +0 -63
- package/export/deploy/16_transfer_proxy_admin_ownership.js +0 -73
- package/export/deploy/17_authorize_maintainer_proxy_in_bridge.js +0 -63
- package/export/deploy/17_transfer_proxy_admin_ownership.js +0 -73
- package/export/deploy/18_authorize_maintainer_proxy_in_bridge.js +0 -63
- package/export/deploy/18_authorize_maintainer_proxy_in_reimbursement_pool.js +0 -63
- package/export/deploy/19_authorize_bridge_in_reimbursement_pool.js +0 -63
- package/export/deploy/19_authorize_maintainer_proxy_in_reimbursement_pool.js +0 -63
- package/export/deploy/20_authorize_bridge_in_reimbursement_pool.js +0 -63
- package/export/deploy/20_deploy_proxy_admin_with_deputy.js +0 -80
- package/export/deploy/21_transfer_reimbursement_pool_ownership.js +0 -60
- package/export/deploy/22_deploy_proxy_admin_with_deputy.js +0 -80
- package/export/deploy/24_transfer_maintainer_proxy_ownership.js +0 -60
- package/export/deploy/25_transfer_proxy_admin_ownership.js +0 -73
- package/export/deploy/26_authorize_maintainer_proxy_in_reimbursement_pool.js +0 -70
- package/export/deploy/27_authorize_bridge_in_reimbursement_pool.js +0 -70
- package/export/deploy/28_deploy_proxy_admin_with_deputy.js +0 -80
- package/export/typechain/RelayStub.js +0 -2
- package/export/typechain/TestRelay.js +0 -2
- package/export/typechain/factories/RelayStub__factory.js +0 -546
- package/export/typechain/factories/TestRelay__factory.js +0 -168
package/artifacts/Bridge.json
CHANGED
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"address": "
|
|
2
|
+
"address": "0x3c705dB336C81c7FEFC5746e283aB2c0781A4B7b",
|
|
3
3
|
"abi": [
|
|
4
|
-
{
|
|
5
|
-
"inputs": [],
|
|
6
|
-
"stateMutability": "nonpayable",
|
|
7
|
-
"type": "constructor"
|
|
8
|
-
},
|
|
9
4
|
{
|
|
10
5
|
"anonymous": false,
|
|
11
6
|
"inputs": [
|
|
@@ -1465,6 +1460,41 @@
|
|
|
1465
1460
|
"stateMutability": "view",
|
|
1466
1461
|
"type": "function"
|
|
1467
1462
|
},
|
|
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
|
+
},
|
|
1468
1498
|
{
|
|
1469
1499
|
"inputs": [
|
|
1470
1500
|
{
|
|
@@ -1691,6 +1721,192 @@
|
|
|
1691
1721
|
"stateMutability": "nonpayable",
|
|
1692
1722
|
"type": "function"
|
|
1693
1723
|
},
|
|
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
|
+
},
|
|
1694
1910
|
{
|
|
1695
1911
|
"inputs": [
|
|
1696
1912
|
{
|
|
@@ -1709,6 +1925,36 @@
|
|
|
1709
1925
|
"stateMutability": "nonpayable",
|
|
1710
1926
|
"type": "function"
|
|
1711
1927
|
},
|
|
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
|
+
},
|
|
1712
1958
|
{
|
|
1713
1959
|
"inputs": [
|
|
1714
1960
|
{
|
|
@@ -1727,6 +1973,106 @@
|
|
|
1727
1973
|
"stateMutability": "nonpayable",
|
|
1728
1974
|
"type": "function"
|
|
1729
1975
|
},
|
|
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
|
+
},
|
|
1730
2076
|
{
|
|
1731
2077
|
"inputs": [
|
|
1732
2078
|
{
|
|
@@ -2213,6 +2559,41 @@
|
|
|
2213
2559
|
"stateMutability": "view",
|
|
2214
2560
|
"type": "function"
|
|
2215
2561
|
},
|
|
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
|
+
},
|
|
2216
2597
|
{
|
|
2217
2598
|
"inputs": [
|
|
2218
2599
|
{
|
|
@@ -2580,45 +2961,81 @@
|
|
|
2580
2961
|
"type": "function"
|
|
2581
2962
|
}
|
|
2582
2963
|
],
|
|
2583
|
-
"transactionHash": "
|
|
2964
|
+
"transactionHash": "0x03241e0b86d1eea38e662389d63c7e5fa667df53a7a726342360c9f95e538857",
|
|
2584
2965
|
"receipt": {
|
|
2585
|
-
"to":
|
|
2586
|
-
"from": "
|
|
2587
|
-
"contractAddress":
|
|
2588
|
-
"transactionIndex":
|
|
2589
|
-
"gasUsed": "
|
|
2590
|
-
"logsBloom": "
|
|
2591
|
-
"blockHash": "
|
|
2592
|
-
"transactionHash": "
|
|
2966
|
+
"to": null,
|
|
2967
|
+
"from": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
|
|
2968
|
+
"contractAddress": "0x3c705dB336C81c7FEFC5746e283aB2c0781A4B7b",
|
|
2969
|
+
"transactionIndex": 0,
|
|
2970
|
+
"gasUsed": "972117",
|
|
2971
|
+
"logsBloom": "0x00000000000000000000000000000000400000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000800080000000000000000000000000000000000000000000002000000800000000000000020000000000000008000000000000000000000000000000000000080000000000000800000000000000000000000000000000400000000000000000000000000000000000000000020000000000000000000040000000000000400000000000000000000000000081000000000000800000000000000000000000000000000000000000000",
|
|
2972
|
+
"blockHash": "0x3a7079238a7702647c5686921ebdcd5b6f97e3f06debd7837a632ce4f7af4615",
|
|
2973
|
+
"transactionHash": "0x03241e0b86d1eea38e662389d63c7e5fa667df53a7a726342360c9f95e538857",
|
|
2593
2974
|
"logs": [
|
|
2594
2975
|
{
|
|
2595
|
-
"transactionIndex":
|
|
2596
|
-
"blockNumber":
|
|
2597
|
-
"transactionHash": "
|
|
2598
|
-
"address": "
|
|
2976
|
+
"transactionIndex": 0,
|
|
2977
|
+
"blockNumber": 66,
|
|
2978
|
+
"transactionHash": "0x03241e0b86d1eea38e662389d63c7e5fa667df53a7a726342360c9f95e538857",
|
|
2979
|
+
"address": "0x3c705dB336C81c7FEFC5746e283aB2c0781A4B7b",
|
|
2599
2980
|
"topics": [
|
|
2600
2981
|
"0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b",
|
|
2601
|
-
"
|
|
2982
|
+
"0x000000000000000000000000199c27b10a195ee79e02d50846e59a4afb82cad1"
|
|
2602
2983
|
],
|
|
2603
2984
|
"data": "0x",
|
|
2604
|
-
"logIndex":
|
|
2605
|
-
"blockHash": "
|
|
2985
|
+
"logIndex": 0,
|
|
2986
|
+
"blockHash": "0x3a7079238a7702647c5686921ebdcd5b6f97e3f06debd7837a632ce4f7af4615"
|
|
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": "0x3a7079238a7702647c5686921ebdcd5b6f97e3f06debd7837a632ce4f7af4615"
|
|
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": "0x3a7079238a7702647c5686921ebdcd5b6f97e3f06debd7837a632ce4f7af4615"
|
|
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": "0x3a7079238a7702647c5686921ebdcd5b6f97e3f06debd7837a632ce4f7af4615"
|
|
2606
3023
|
}
|
|
2607
3024
|
],
|
|
2608
|
-
"blockNumber":
|
|
2609
|
-
"cumulativeGasUsed": "
|
|
3025
|
+
"blockNumber": 66,
|
|
3026
|
+
"cumulativeGasUsed": "972117",
|
|
2610
3027
|
"status": 1,
|
|
2611
3028
|
"byzantium": true
|
|
2612
3029
|
},
|
|
2613
|
-
"numDeployments":
|
|
3030
|
+
"numDeployments": 1,
|
|
2614
3031
|
"libraries": {
|
|
2615
|
-
"Deposit": "
|
|
2616
|
-
"DepositSweep": "
|
|
2617
|
-
"Redemption": "
|
|
2618
|
-
"Wallets": "
|
|
2619
|
-
"Fraud": "
|
|
2620
|
-
"MovingFunds": "
|
|
3032
|
+
"Deposit": "0xA82ED5224ba72f2f776e09B11DC99E30Ee65Da8d",
|
|
3033
|
+
"DepositSweep": "0x17C8b71E5eE01A726766c99d397D619219C8CAF3",
|
|
3034
|
+
"Redemption": "0x8990C5DAAA40673eF8826990A6Fd8284a0a17d61",
|
|
3035
|
+
"Wallets": "0xE4F89Fb0dBb45378633c05ACAb071eB998F0A736",
|
|
3036
|
+
"Fraud": "0xf69E1dFAc3D43F438Bae80090b8E186B0231CFeb",
|
|
3037
|
+
"MovingFunds": "0xDDEec1224034F4A68A2697eF13379a014fa60261"
|
|
2621
3038
|
},
|
|
2622
|
-
"implementation": "
|
|
3039
|
+
"implementation": "0x199c27B10a195ee79e02d50846e59A4aFB82CAD1",
|
|
2623
3040
|
"devdoc": "Contract deployed as upgradable proxy"
|
|
2624
3041
|
}
|