@keep-network/tbtc-v2 1.7.0 → 1.8.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 +22 -22
- package/artifacts/BridgeGovernanceParameters.json +10 -10
- package/artifacts/Deposit.json +12 -12
- package/artifacts/DepositSweep.json +12 -12
- 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 +12 -12
- 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/LightRelayMaintainerProxy.json +31 -31
- package/artifacts/MaintainerProxy.json +48 -48
- package/artifacts/MovingFunds.json +12 -12
- 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 +12 -12
- package/artifacts/RedemptionWatchtower.json +39 -39
- 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/Timelock.json +148 -148
- package/artifacts/TokenStaking.json +2269 -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 +21 -21
- package/artifacts/VendingMachineV3.json +21 -21
- package/artifacts/WalletProposalValidator.json +12 -12
- package/artifacts/WalletRegistry.json +1962 -0
- package/artifacts/WalletRegistryGovernance.json +2863 -0
- package/artifacts/Wallets.json +12 -12
- package/artifacts/solcInputs/{be146ce112252bdda3a03de3614fbbf1.json → fe0eebcebee1dc423b54e929e5519304.json} +31 -7
- package/build/contracts/GovernanceUtils.sol/GovernanceUtils.dbg.json +1 -1
- package/build/contracts/Timelock.sol/Timelock.dbg.json +1 -1
- package/build/contracts/bank/Bank.sol/Bank.dbg.json +1 -1
- package/build/contracts/bank/IReceiveBalanceApproval.sol/IReceiveBalanceApproval.dbg.json +1 -1
- package/build/contracts/bridge/BitcoinTx.sol/BitcoinTx.dbg.json +1 -1
- package/build/contracts/bridge/Bridge.sol/Bridge.dbg.json +1 -1
- package/build/contracts/bridge/BridgeGovernanceParameters.sol/BridgeGovernanceParameters.dbg.json +1 -1
- package/build/contracts/bridge/BridgeState.sol/BridgeState.dbg.json +1 -1
- package/build/contracts/bridge/Deposit.sol/Deposit.dbg.json +1 -1
- package/build/contracts/bridge/DepositSweep.sol/DepositSweep.dbg.json +1 -1
- package/build/contracts/bridge/EcdsaLib.sol/EcdsaLib.dbg.json +1 -1
- package/build/contracts/bridge/Fraud.sol/Fraud.dbg.json +1 -1
- package/build/contracts/bridge/Heartbeat.sol/Heartbeat.dbg.json +1 -1
- package/build/contracts/bridge/IRelay.sol/IRelay.dbg.json +1 -1
- package/build/contracts/bridge/MovingFunds.sol/MovingFunds.dbg.json +1 -1
- package/build/contracts/bridge/Redemption.sol/IRedemptionWatchtower.dbg.json +1 -1
- package/build/contracts/bridge/Redemption.sol/OutboundTx.dbg.json +1 -1
- package/build/contracts/bridge/Redemption.sol/Redemption.dbg.json +1 -1
- package/build/contracts/bridge/RedemptionWatchtower.sol/RedemptionWatchtower.dbg.json +1 -1
- package/build/contracts/bridge/VendingMachine.sol/VendingMachine.dbg.json +1 -1
- package/build/contracts/bridge/VendingMachineV2.sol/VendingMachineV2.dbg.json +1 -1
- package/build/contracts/bridge/VendingMachineV3.sol/VendingMachineV3.dbg.json +1 -1
- package/build/contracts/bridge/WalletProposalValidator.sol/WalletProposalValidator.dbg.json +1 -1
- package/build/contracts/bridge/Wallets.sol/Wallets.dbg.json +1 -1
- package/build/contracts/integrator/AbstractTBTCDepositor.sol/AbstractTBTCDepositor.dbg.json +1 -1
- package/build/contracts/integrator/IBridge.sol/IBridge.dbg.json +1 -1
- package/build/contracts/integrator/IBridge.sol/IBridgeTypes.dbg.json +1 -1
- package/build/contracts/integrator/ITBTCVault.sol/ITBTCVault.dbg.json +1 -1
- package/build/contracts/l2/L1BitcoinDepositor.sol/L1BitcoinDepositor.dbg.json +1 -1
- package/build/contracts/l2/L1BitcoinDepositor.sol/L1BitcoinDepositor.json +41 -2
- package/build/contracts/l2/L2BitcoinDepositor.sol/IL2WormholeGateway.dbg.json +1 -1
- package/build/contracts/l2/L2BitcoinDepositor.sol/L2BitcoinDepositor.dbg.json +1 -1
- package/build/contracts/l2/L2TBTC.sol/L2TBTC.dbg.json +1 -1
- package/build/contracts/l2/L2WormholeGateway.sol/L2WormholeGateway.dbg.json +1 -1
- package/build/contracts/l2/Wormhole.sol/IWormhole.dbg.json +1 -1
- package/build/contracts/l2/Wormhole.sol/IWormholeReceiver.dbg.json +1 -1
- package/build/contracts/l2/Wormhole.sol/IWormholeRelayer.dbg.json +1 -1
- package/build/contracts/l2/Wormhole.sol/IWormholeTokenBridge.dbg.json +1 -1
- package/build/contracts/l2/Wormhole.sol/WormholeTypes.dbg.json +1 -1
- package/build/contracts/l2/Wormhole.sol/WormholeUtils.dbg.json +1 -1
- package/build/contracts/maintainer/MaintainerProxy.sol/MaintainerProxy.dbg.json +1 -1
- package/build/contracts/relay/LightRelay.sol/ILightRelay.dbg.json +1 -1
- package/build/contracts/relay/LightRelay.sol/LightRelay.dbg.json +1 -1
- package/build/contracts/relay/LightRelay.sol/RelayUtils.dbg.json +1 -1
- package/build/contracts/relay/LightRelayMaintainerProxy.sol/LightRelayMaintainerProxy.dbg.json +1 -1
- package/build/contracts/test/BankStub.sol/BankStub.dbg.json +1 -1
- package/build/contracts/test/BridgeStub.sol/BridgeStub.dbg.json +1 -1
- package/build/contracts/test/HeartbeatStub.sol/HeartbeatStub.dbg.json +1 -1
- package/build/contracts/test/LightRelayStub.sol/LightRelayStub.dbg.json +1 -1
- package/build/contracts/test/ReceiveApprovalStub.sol/ReceiveApprovalStub.dbg.json +1 -1
- package/build/contracts/test/SepoliaLightRelay.sol/SepoliaLightRelay.dbg.json +1 -1
- package/build/contracts/test/SystemTestRelay.sol/SystemTestRelay.dbg.json +1 -1
- package/build/contracts/test/TestBitcoinTx.sol/TestBitcoinTx.dbg.json +1 -1
- package/build/contracts/test/TestERC20.sol/TestERC20.dbg.json +1 -1
- package/build/contracts/test/TestERC721.sol/TestERC721.dbg.json +1 -1
- package/build/contracts/test/TestEcdsaLib.sol/TestEcdsaLib.dbg.json +1 -1
- package/build/contracts/test/TestTBTCDepositor.sol/MockBridge.dbg.json +1 -1
- package/build/contracts/test/TestTBTCDepositor.sol/MockTBTCVault.dbg.json +1 -1
- package/build/contracts/test/TestTBTCDepositor.sol/TestTBTCDepositor.dbg.json +1 -1
- package/build/contracts/test/WormholeBridgeStub.sol/WormholeBridgeStub.dbg.json +1 -1
- package/build/contracts/token/TBTC.sol/TBTC.dbg.json +1 -1
- package/build/contracts/vault/DonationVault.sol/DonationVault.dbg.json +1 -1
- package/build/contracts/vault/IVault.sol/IVault.dbg.json +1 -1
- package/build/contracts/vault/TBTCOptimisticMinting.sol/TBTCOptimisticMinting.dbg.json +1 -1
- package/build/contracts/vault/TBTCVault.sol/TBTCVault.dbg.json +1 -1
- package/contracts/l2/L1BitcoinDepositor.sol +31 -0
- package/export/artifacts/contracts/bridge/VendingMachine.sol/VendingMachine.json +6 -6
- package/export/artifacts/contracts/bridge/VendingMachineV2.sol/VendingMachineV2.json +6 -6
- package/export/artifacts/contracts/bridge/VendingMachineV3.sol/VendingMachineV3.json +6 -6
- package/export/artifacts/contracts/l2/L1BitcoinDepositor.sol/L1BitcoinDepositor.json +4288 -4028
- package/export/artifacts/contracts/l2/L2BitcoinDepositor.sol/L2BitcoinDepositor.json +33 -33
- package/export/artifacts/contracts/l2/L2TBTC.sol/L2TBTC.json +40 -40
- package/export/artifacts/contracts/l2/L2WormholeGateway.sol/L2WormholeGateway.json +51 -51
- package/export/artifacts/contracts/maintainer/MaintainerProxy.sol/MaintainerProxy.json +88 -88
- package/export/artifacts/contracts/relay/LightRelay.sol/LightRelay.json +57 -57
- package/export/artifacts/contracts/relay/LightRelayMaintainerProxy.sol/LightRelayMaintainerProxy.json +31 -31
- package/export/artifacts/contracts/test/BankStub.sol/BankStub.json +2 -2
- package/export/artifacts/contracts/test/BridgeStub.sol/BridgeStub.json +30 -30
- package/export/artifacts/contracts/test/HeartbeatStub.sol/HeartbeatStub.json +2 -2
- package/export/artifacts/contracts/test/LightRelayStub.sol/LightRelayStub.json +59 -59
- package/export/artifacts/contracts/test/ReceiveApprovalStub.sol/ReceiveApprovalStub.json +7 -7
- package/export/artifacts/contracts/test/SepoliaLightRelay.sol/SepoliaLightRelay.json +59 -59
- package/export/artifacts/contracts/test/SystemTestRelay.sol/SystemTestRelay.json +14 -14
- package/export/artifacts/contracts/test/TestBitcoinTx.sol/TestBitcoinTx.json +5 -5
- package/export/artifacts/contracts/test/TestERC20.sol/TestERC20.json +6 -6
- package/export/artifacts/contracts/test/TestERC721.sol/TestERC721.json +8 -8
- package/export/artifacts/contracts/test/TestEcdsaLib.sol/TestEcdsaLib.json +2 -2
- package/export/artifacts/contracts/test/TestTBTCDepositor.sol/MockBridge.json +18 -18
- package/export/artifacts/contracts/test/TestTBTCDepositor.sol/MockTBTCVault.json +20 -20
- package/export/artifacts/contracts/test/TestTBTCDepositor.sol/TestTBTCDepositor.json +10 -10
- package/export/artifacts/contracts/test/WormholeBridgeStub.sol/WormholeBridgeStub.json +37 -37
- package/export/artifacts/contracts/token/TBTC.sol/TBTC.json +2 -2
- package/export/artifacts/contracts/vault/DonationVault.sol/DonationVault.json +11 -11
- package/export/artifacts/contracts/vault/TBTCVault.sol/TBTCVault.json +135 -135
- package/export/typechain/factories/L1BitcoinDepositor__factory.js +40 -1
- package/package.json +1 -1
- package/artifacts/solcInputs/7c1f8f1dbded4c787d87a982d1fc8349.json +0 -410
- package/artifacts/solcInputs/7cc3eda3cb3ff2522d18b5e7b31ea228.json +0 -102
- package/artifacts/solcInputs/802132f7da69a8a4226cb9424480847b.json +0 -218
- package/artifacts/solcInputs/887fad6b16575ba42183543c324eeb0e.json +0 -335
- package/artifacts/solcInputs/98e272e2fbf178ec895387b6c503f9de.json +0 -68
- package/artifacts/solcInputs/b0025f1f7efe4824592ac0c9793776c3.json +0 -392
- package/artifacts/solcInputs/b7c5f3550cc22e16e6b6ea9582ccbee3.json +0 -341
- package/artifacts/solcInputs/d71d4b4434e6669852eaf643ebd2a7bc.json +0 -209
- package/artifacts/solcInputs/fccb130292c8c7cc958ab4fa31a3e180.json +0 -187
- 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/08_deploy_maintainer_proxy.js +0 -80
- 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/deploy/34_deploy_wallet_coordinator.js +0 -115
- package/export/deploy/35_add_coordinator_address.js +0 -60
- package/export/deploy/35_transfer_wallet_coordinator_ownership.js +0 -60
- package/export/deploy/36_deploy_light_relay_maintainer_proxy.js +0 -86
- package/export/deploy/36_transfer_wallet_coordinator_ownership.js +0 -60
- package/export/deploy/37_authorize_maintainer_in_light_relay_maintainer_proxy.js +0 -65
- package/export/deploy/37_deploy_light_relay_maintainer_proxy.js +0 -86
- package/export/deploy/37_transfer_light_relay_maintainer_proxy_ownership.js +0 -60
- package/export/deploy/38_authorize_light_relay_maintainer_proxy_in_reimbursement_pool.js +0 -70
- package/export/deploy/38_authorize_maintainer_in_light_relay_maintainer_proxy.js +0 -65
- package/export/deploy/38_transfer_light_relay_maintainer_proxy_ownership.js +0 -60
- package/export/deploy/39_authorize_light_relay_maintainer_proxy_in_light_relay.js +0 -63
- package/export/deploy/39_authorize_light_relay_maintainer_proxy_in_reimbursement_pool.js +0 -70
- package/export/deploy/39_transfer_light_relay_maintainer_proxy_ownership.js +0 -60
- package/export/deploy/40_authorize_light_relay_maintainer_proxy_in_light_relay.js +0 -66
- package/export/deploy/40_authorize_light_relay_maintainer_proxy_in_reimbursement_pool.js +0 -70
- package/export/deploy/41_authorize_light_relay_maintainer_proxy_in_light_relay.js +0 -66
- package/export/typechain/GoerliLightRelay.js +0 -2
- package/export/typechain/RelayStub.js +0 -2
- package/export/typechain/TestRelay.js +0 -2
- package/export/typechain/WalletCoordinator.js +0 -2
- package/export/typechain/factories/GoerliLightRelay__factory.js +0 -535
- package/export/typechain/factories/RelayStub__factory.js +0 -546
- package/export/typechain/factories/TestRelay__factory.js +0 -168
- package/export/typechain/factories/WalletCoordinator__factory.js +0 -1121
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": [
|
|
@@ -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": "
|
|
3143
|
+
"transactionHash": "0x03241e0b86d1eea38e662389d63c7e5fa667df53a7a726342360c9f95e538857",
|
|
2763
3144
|
"receipt": {
|
|
2764
|
-
"to":
|
|
2765
|
-
"from": "
|
|
2766
|
-
"contractAddress":
|
|
2767
|
-
"transactionIndex":
|
|
2768
|
-
"gasUsed": "
|
|
2769
|
-
"logsBloom": "
|
|
2770
|
-
"blockHash": "
|
|
2771
|
-
"transactionHash": "
|
|
3145
|
+
"to": null,
|
|
3146
|
+
"from": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
|
|
3147
|
+
"contractAddress": "0x3c705dB336C81c7FEFC5746e283aB2c0781A4B7b",
|
|
3148
|
+
"transactionIndex": 0,
|
|
3149
|
+
"gasUsed": "972117",
|
|
3150
|
+
"logsBloom": "0x00000000000000000000000000000000400000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000800080000000000000000000000000000000000000000000002000000800000000000000020000000000000008000000000000000000000000000000000000080000000000000800000000000000000000000000000000400000000000000000000000000000000000000000020000000000000000000040000000000000400000000000000000000000000081000000000000800000000000000000000000000000000000000000000",
|
|
3151
|
+
"blockHash": "0x1d2ab77d9f0fdd2b7d79ab308b20cdb8898502b1eda3dc3bd83274b5e5ed3e06",
|
|
3152
|
+
"transactionHash": "0x03241e0b86d1eea38e662389d63c7e5fa667df53a7a726342360c9f95e538857",
|
|
2772
3153
|
"logs": [
|
|
2773
3154
|
{
|
|
2774
|
-
"transactionIndex":
|
|
2775
|
-
"blockNumber":
|
|
2776
|
-
"transactionHash": "
|
|
2777
|
-
"address": "
|
|
3155
|
+
"transactionIndex": 0,
|
|
3156
|
+
"blockNumber": 66,
|
|
3157
|
+
"transactionHash": "0x03241e0b86d1eea38e662389d63c7e5fa667df53a7a726342360c9f95e538857",
|
|
3158
|
+
"address": "0x3c705dB336C81c7FEFC5746e283aB2c0781A4B7b",
|
|
2778
3159
|
"topics": [
|
|
2779
3160
|
"0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b",
|
|
2780
|
-
"
|
|
3161
|
+
"0x000000000000000000000000199c27b10a195ee79e02d50846e59a4afb82cad1"
|
|
2781
3162
|
],
|
|
2782
3163
|
"data": "0x",
|
|
2783
|
-
"logIndex":
|
|
2784
|
-
"blockHash": "
|
|
3164
|
+
"logIndex": 0,
|
|
3165
|
+
"blockHash": "0x1d2ab77d9f0fdd2b7d79ab308b20cdb8898502b1eda3dc3bd83274b5e5ed3e06"
|
|
3166
|
+
},
|
|
3167
|
+
{
|
|
3168
|
+
"transactionIndex": 0,
|
|
3169
|
+
"blockNumber": 66,
|
|
3170
|
+
"transactionHash": "0x03241e0b86d1eea38e662389d63c7e5fa667df53a7a726342360c9f95e538857",
|
|
3171
|
+
"address": "0x3c705dB336C81c7FEFC5746e283aB2c0781A4B7b",
|
|
3172
|
+
"topics": [
|
|
3173
|
+
"0x5f56bee8cffbe9a78652a74a60705edede02af10b0bbb888ca44b79a0d42ce80"
|
|
3174
|
+
],
|
|
3175
|
+
"data": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000070997970c51812dc3a010c7d01b50e0d17dc79c8",
|
|
3176
|
+
"logIndex": 1,
|
|
3177
|
+
"blockHash": "0x1d2ab77d9f0fdd2b7d79ab308b20cdb8898502b1eda3dc3bd83274b5e5ed3e06"
|
|
3178
|
+
},
|
|
3179
|
+
{
|
|
3180
|
+
"transactionIndex": 0,
|
|
3181
|
+
"blockNumber": 66,
|
|
3182
|
+
"transactionHash": "0x03241e0b86d1eea38e662389d63c7e5fa667df53a7a726342360c9f95e538857",
|
|
3183
|
+
"address": "0x3c705dB336C81c7FEFC5746e283aB2c0781A4B7b",
|
|
3184
|
+
"topics": [
|
|
3185
|
+
"0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498"
|
|
3186
|
+
],
|
|
3187
|
+
"data": "0x0000000000000000000000000000000000000000000000000000000000000001",
|
|
3188
|
+
"logIndex": 2,
|
|
3189
|
+
"blockHash": "0x1d2ab77d9f0fdd2b7d79ab308b20cdb8898502b1eda3dc3bd83274b5e5ed3e06"
|
|
3190
|
+
},
|
|
3191
|
+
{
|
|
3192
|
+
"transactionIndex": 0,
|
|
3193
|
+
"blockNumber": 66,
|
|
3194
|
+
"transactionHash": "0x03241e0b86d1eea38e662389d63c7e5fa667df53a7a726342360c9f95e538857",
|
|
3195
|
+
"address": "0x3c705dB336C81c7FEFC5746e283aB2c0781A4B7b",
|
|
3196
|
+
"topics": [
|
|
3197
|
+
"0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f"
|
|
3198
|
+
],
|
|
3199
|
+
"data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000afdacd509e73115ea1654b1a770f1a807e7c9c0",
|
|
3200
|
+
"logIndex": 3,
|
|
3201
|
+
"blockHash": "0x1d2ab77d9f0fdd2b7d79ab308b20cdb8898502b1eda3dc3bd83274b5e5ed3e06"
|
|
2785
3202
|
}
|
|
2786
3203
|
],
|
|
2787
|
-
"blockNumber":
|
|
2788
|
-
"cumulativeGasUsed": "
|
|
3204
|
+
"blockNumber": 66,
|
|
3205
|
+
"cumulativeGasUsed": "972117",
|
|
2789
3206
|
"status": 1,
|
|
2790
3207
|
"byzantium": true
|
|
2791
3208
|
},
|
|
2792
|
-
"numDeployments":
|
|
3209
|
+
"numDeployments": 1,
|
|
2793
3210
|
"libraries": {
|
|
2794
|
-
"Deposit": "
|
|
2795
|
-
"DepositSweep": "
|
|
2796
|
-
"Redemption": "
|
|
2797
|
-
"Wallets": "
|
|
2798
|
-
"Fraud": "
|
|
2799
|
-
"MovingFunds": "
|
|
3211
|
+
"Deposit": "0xA82ED5224ba72f2f776e09B11DC99E30Ee65Da8d",
|
|
3212
|
+
"DepositSweep": "0x17C8b71E5eE01A726766c99d397D619219C8CAF3",
|
|
3213
|
+
"Redemption": "0x8990C5DAAA40673eF8826990A6Fd8284a0a17d61",
|
|
3214
|
+
"Wallets": "0xE4F89Fb0dBb45378633c05ACAb071eB998F0A736",
|
|
3215
|
+
"Fraud": "0xf69E1dFAc3D43F438Bae80090b8E186B0231CFeb",
|
|
3216
|
+
"MovingFunds": "0xDDEec1224034F4A68A2697eF13379a014fa60261"
|
|
2800
3217
|
},
|
|
2801
|
-
"implementation": "
|
|
3218
|
+
"implementation": "0x199c27B10a195ee79e02d50846e59A4aFB82CAD1",
|
|
2802
3219
|
"devdoc": "Contract deployed as upgradable proxy"
|
|
2803
3220
|
}
|