@keep-network/tbtc-v2 0.1.1-dev.56 → 0.1.1-dev.59
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/Bank.json +3 -3
- package/artifacts/Bridge.json +402 -177
- package/artifacts/Deposit.json +9 -9
- package/artifacts/DepositSweep.json +9 -9
- package/artifacts/EcdsaDkgValidator.json +1 -1
- package/artifacts/EcdsaInactivity.json +1 -1
- package/artifacts/Fraud.json +9 -9
- package/artifacts/KeepRegistry.json +1 -1
- package/artifacts/KeepStake.json +2 -2
- package/artifacts/KeepToken.json +2 -2
- package/artifacts/KeepTokenStaking.json +1 -1
- package/artifacts/MovingFunds.json +47 -11
- package/artifacts/NuCypherStakingEscrow.json +1 -1
- package/artifacts/NuCypherToken.json +2 -2
- package/artifacts/RandomBeaconStub.json +1 -1
- package/artifacts/Redemption.json +9 -9
- package/artifacts/ReimbursementPool.json +2 -2
- package/artifacts/Relay.json +9 -9
- package/artifacts/SortitionPool.json +2 -2
- package/artifacts/T.json +2 -2
- package/artifacts/TBTC.json +3 -3
- package/artifacts/TBTCToken.json +3 -3
- package/artifacts/TokenStaking.json +1 -1
- package/artifacts/TokenholderGovernor.json +9 -9
- package/artifacts/TokenholderTimelock.json +8 -8
- package/artifacts/VendingMachine.json +10 -10
- package/artifacts/VendingMachineKeep.json +1 -1
- package/artifacts/VendingMachineNuCypher.json +1 -1
- package/artifacts/WalletRegistry.json +2 -2
- package/artifacts/WalletRegistryGovernance.json +2 -2
- package/artifacts/Wallets.json +9 -9
- package/artifacts/solcInputs/{5dd2a7c685770548b7ea9ce25e179326.json → c86d08e5f2ce89fcf398a4658c796260.json} +6 -6
- package/build/contracts/GovernanceUtils.sol/GovernanceUtils.dbg.json +1 -1
- package/build/contracts/bank/Bank.sol/Bank.dbg.json +1 -1
- package/build/contracts/bridge/BitcoinTx.sol/BitcoinTx.dbg.json +1 -1
- package/build/contracts/bridge/BitcoinTx.sol/BitcoinTx.json +2 -2
- package/build/contracts/bridge/Bridge.sol/Bridge.dbg.json +1 -1
- package/build/contracts/bridge/Bridge.sol/Bridge.json +148 -39
- package/build/contracts/bridge/BridgeState.sol/BridgeState.dbg.json +1 -1
- package/build/contracts/bridge/BridgeState.sol/BridgeState.json +20 -2
- package/build/contracts/bridge/Deposit.sol/Deposit.dbg.json +1 -1
- package/build/contracts/bridge/Deposit.sol/Deposit.json +2 -2
- package/build/contracts/bridge/DepositSweep.sol/DepositSweep.dbg.json +1 -1
- package/build/contracts/bridge/DepositSweep.sol/DepositSweep.json +2 -2
- 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/Fraud.sol/Fraud.json +2 -2
- 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/MovingFunds.sol/MovingFunds.json +27 -2
- package/build/contracts/bridge/Redemption.sol/OutboundTx.dbg.json +1 -1
- package/build/contracts/bridge/Redemption.sol/OutboundTx.json +2 -2
- package/build/contracts/bridge/Redemption.sol/Redemption.dbg.json +1 -1
- package/build/contracts/bridge/Redemption.sol/Redemption.json +2 -2
- package/build/contracts/bridge/VendingMachine.sol/VendingMachine.dbg.json +1 -1
- package/build/contracts/bridge/Wallets.sol/Wallets.dbg.json +1 -1
- package/build/contracts/bridge/Wallets.sol/Wallets.json +2 -2
- package/build/contracts/token/TBTC.sol/TBTC.dbg.json +1 -1
- package/build/contracts/vault/IVault.sol/IVault.dbg.json +1 -1
- package/build/contracts/vault/TBTCVault.sol/TBTCVault.dbg.json +1 -1
- package/contracts/bridge/Bridge.sol +89 -4
- package/contracts/bridge/BridgeState.sol +54 -3
- package/contracts/bridge/Fraud.sol +5 -1
- package/contracts/bridge/MovingFunds.sol +135 -18
- package/contracts/bridge/Wallets.sol +2 -0
- package/export.json +235 -39
- package/package.json +1 -1
package/export.json
CHANGED
|
@@ -13918,6 +13918,31 @@
|
|
|
13918
13918
|
"MovingFunds": {
|
|
13919
13919
|
"address": "0x1a6a3e7Bb246158dF31d8f924B84D961669Ba4e5",
|
|
13920
13920
|
"abi": [
|
|
13921
|
+
{
|
|
13922
|
+
"anonymous": false,
|
|
13923
|
+
"inputs": [
|
|
13924
|
+
{
|
|
13925
|
+
"indexed": false,
|
|
13926
|
+
"internalType": "bytes20",
|
|
13927
|
+
"name": "walletPubKeyHash",
|
|
13928
|
+
"type": "bytes20"
|
|
13929
|
+
},
|
|
13930
|
+
{
|
|
13931
|
+
"indexed": false,
|
|
13932
|
+
"internalType": "bytes32",
|
|
13933
|
+
"name": "movingFundsTxHash",
|
|
13934
|
+
"type": "bytes32"
|
|
13935
|
+
},
|
|
13936
|
+
{
|
|
13937
|
+
"indexed": false,
|
|
13938
|
+
"internalType": "uint32",
|
|
13939
|
+
"name": "movingFundsTxOutputIndex",
|
|
13940
|
+
"type": "uint32"
|
|
13941
|
+
}
|
|
13942
|
+
],
|
|
13943
|
+
"name": "MovedFundsSweepTimedOut",
|
|
13944
|
+
"type": "event"
|
|
13945
|
+
},
|
|
13921
13946
|
{
|
|
13922
13947
|
"anonymous": false,
|
|
13923
13948
|
"inputs": [
|
|
@@ -14273,6 +14298,31 @@
|
|
|
14273
14298
|
"name": "GovernanceTransferred",
|
|
14274
14299
|
"type": "event"
|
|
14275
14300
|
},
|
|
14301
|
+
{
|
|
14302
|
+
"anonymous": false,
|
|
14303
|
+
"inputs": [
|
|
14304
|
+
{
|
|
14305
|
+
"indexed": false,
|
|
14306
|
+
"internalType": "bytes20",
|
|
14307
|
+
"name": "walletPubKeyHash",
|
|
14308
|
+
"type": "bytes20"
|
|
14309
|
+
},
|
|
14310
|
+
{
|
|
14311
|
+
"indexed": false,
|
|
14312
|
+
"internalType": "bytes32",
|
|
14313
|
+
"name": "movingFundsTxHash",
|
|
14314
|
+
"type": "bytes32"
|
|
14315
|
+
},
|
|
14316
|
+
{
|
|
14317
|
+
"indexed": false,
|
|
14318
|
+
"internalType": "uint32",
|
|
14319
|
+
"name": "movingFundsTxOutputIndex",
|
|
14320
|
+
"type": "uint32"
|
|
14321
|
+
}
|
|
14322
|
+
],
|
|
14323
|
+
"name": "MovedFundsSweepTimedOut",
|
|
14324
|
+
"type": "event"
|
|
14325
|
+
},
|
|
14276
14326
|
{
|
|
14277
14327
|
"anonymous": false,
|
|
14278
14328
|
"inputs": [
|
|
@@ -14387,6 +14437,24 @@
|
|
|
14387
14437
|
"internalType": "uint64",
|
|
14388
14438
|
"name": "movedFundsSweepTxMaxTotalFee",
|
|
14389
14439
|
"type": "uint64"
|
|
14440
|
+
},
|
|
14441
|
+
{
|
|
14442
|
+
"indexed": false,
|
|
14443
|
+
"internalType": "uint32",
|
|
14444
|
+
"name": "movedFundsSweepTimeout",
|
|
14445
|
+
"type": "uint32"
|
|
14446
|
+
},
|
|
14447
|
+
{
|
|
14448
|
+
"indexed": false,
|
|
14449
|
+
"internalType": "uint96",
|
|
14450
|
+
"name": "movedFundsSweepTimeoutSlashingAmount",
|
|
14451
|
+
"type": "uint96"
|
|
14452
|
+
},
|
|
14453
|
+
{
|
|
14454
|
+
"indexed": false,
|
|
14455
|
+
"internalType": "uint256",
|
|
14456
|
+
"name": "movedFundsSweepTimeoutNotifierRewardMultiplier",
|
|
14457
|
+
"type": "uint256"
|
|
14390
14458
|
}
|
|
14391
14459
|
],
|
|
14392
14460
|
"name": "MovingFundsParametersUpdated",
|
|
@@ -15019,9 +15087,9 @@
|
|
|
15019
15087
|
"type": "uint32"
|
|
15020
15088
|
},
|
|
15021
15089
|
{
|
|
15022
|
-
"internalType": "
|
|
15023
|
-
"name": "
|
|
15024
|
-
"type": "
|
|
15090
|
+
"internalType": "enum MovingFunds.MovedFundsSweepRequestState",
|
|
15091
|
+
"name": "state",
|
|
15092
|
+
"type": "uint8"
|
|
15025
15093
|
}
|
|
15026
15094
|
],
|
|
15027
15095
|
"internalType": "struct MovingFunds.MovedFundsSweepRequest",
|
|
@@ -15065,6 +15133,21 @@
|
|
|
15065
15133
|
"internalType": "uint64",
|
|
15066
15134
|
"name": "movedFundsSweepTxMaxTotalFee",
|
|
15067
15135
|
"type": "uint64"
|
|
15136
|
+
},
|
|
15137
|
+
{
|
|
15138
|
+
"internalType": "uint32",
|
|
15139
|
+
"name": "movedFundsSweepTimeout",
|
|
15140
|
+
"type": "uint32"
|
|
15141
|
+
},
|
|
15142
|
+
{
|
|
15143
|
+
"internalType": "uint96",
|
|
15144
|
+
"name": "movedFundsSweepTimeoutSlashingAmount",
|
|
15145
|
+
"type": "uint96"
|
|
15146
|
+
},
|
|
15147
|
+
{
|
|
15148
|
+
"internalType": "uint256",
|
|
15149
|
+
"name": "movedFundsSweepTimeoutNotifierRewardMultiplier",
|
|
15150
|
+
"type": "uint256"
|
|
15068
15151
|
}
|
|
15069
15152
|
],
|
|
15070
15153
|
"stateMutability": "view",
|
|
@@ -15128,6 +15211,29 @@
|
|
|
15128
15211
|
"stateMutability": "nonpayable",
|
|
15129
15212
|
"type": "function"
|
|
15130
15213
|
},
|
|
15214
|
+
{
|
|
15215
|
+
"inputs": [
|
|
15216
|
+
{
|
|
15217
|
+
"internalType": "bytes32",
|
|
15218
|
+
"name": "movingFundsTxHash",
|
|
15219
|
+
"type": "bytes32"
|
|
15220
|
+
},
|
|
15221
|
+
{
|
|
15222
|
+
"internalType": "uint32",
|
|
15223
|
+
"name": "movingFundsTxOutputIndex",
|
|
15224
|
+
"type": "uint32"
|
|
15225
|
+
},
|
|
15226
|
+
{
|
|
15227
|
+
"internalType": "uint32[]",
|
|
15228
|
+
"name": "walletMembersIDs",
|
|
15229
|
+
"type": "uint32[]"
|
|
15230
|
+
}
|
|
15231
|
+
],
|
|
15232
|
+
"name": "notifyMovedFundsSweepTimeout",
|
|
15233
|
+
"outputs": [],
|
|
15234
|
+
"stateMutability": "nonpayable",
|
|
15235
|
+
"type": "function"
|
|
15236
|
+
},
|
|
15131
15237
|
{
|
|
15132
15238
|
"inputs": [
|
|
15133
15239
|
{
|
|
@@ -15263,6 +15369,41 @@
|
|
|
15263
15369
|
"stateMutability": "view",
|
|
15264
15370
|
"type": "function"
|
|
15265
15371
|
},
|
|
15372
|
+
{
|
|
15373
|
+
"inputs": [
|
|
15374
|
+
{
|
|
15375
|
+
"internalType": "bytes20",
|
|
15376
|
+
"name": "walletPubKeyHash",
|
|
15377
|
+
"type": "bytes20"
|
|
15378
|
+
},
|
|
15379
|
+
{
|
|
15380
|
+
"components": [
|
|
15381
|
+
{
|
|
15382
|
+
"internalType": "bytes32",
|
|
15383
|
+
"name": "txHash",
|
|
15384
|
+
"type": "bytes32"
|
|
15385
|
+
},
|
|
15386
|
+
{
|
|
15387
|
+
"internalType": "uint32",
|
|
15388
|
+
"name": "txOutputIndex",
|
|
15389
|
+
"type": "uint32"
|
|
15390
|
+
},
|
|
15391
|
+
{
|
|
15392
|
+
"internalType": "uint64",
|
|
15393
|
+
"name": "txOutputValue",
|
|
15394
|
+
"type": "uint64"
|
|
15395
|
+
}
|
|
15396
|
+
],
|
|
15397
|
+
"internalType": "struct BitcoinTx.UTXO",
|
|
15398
|
+
"name": "utxo",
|
|
15399
|
+
"type": "tuple"
|
|
15400
|
+
}
|
|
15401
|
+
],
|
|
15402
|
+
"name": "processPendingMovedFundsSweepRequest",
|
|
15403
|
+
"outputs": [],
|
|
15404
|
+
"stateMutability": "nonpayable",
|
|
15405
|
+
"type": "function"
|
|
15406
|
+
},
|
|
15266
15407
|
{
|
|
15267
15408
|
"inputs": [],
|
|
15268
15409
|
"name": "redemptionParameters",
|
|
@@ -15492,41 +15633,6 @@
|
|
|
15492
15633
|
"stateMutability": "nonpayable",
|
|
15493
15634
|
"type": "function"
|
|
15494
15635
|
},
|
|
15495
|
-
{
|
|
15496
|
-
"inputs": [
|
|
15497
|
-
{
|
|
15498
|
-
"internalType": "bytes20",
|
|
15499
|
-
"name": "walletPubKeyHash",
|
|
15500
|
-
"type": "bytes20"
|
|
15501
|
-
},
|
|
15502
|
-
{
|
|
15503
|
-
"components": [
|
|
15504
|
-
{
|
|
15505
|
-
"internalType": "bytes32",
|
|
15506
|
-
"name": "txHash",
|
|
15507
|
-
"type": "bytes32"
|
|
15508
|
-
},
|
|
15509
|
-
{
|
|
15510
|
-
"internalType": "uint32",
|
|
15511
|
-
"name": "txOutputIndex",
|
|
15512
|
-
"type": "uint32"
|
|
15513
|
-
},
|
|
15514
|
-
{
|
|
15515
|
-
"internalType": "uint64",
|
|
15516
|
-
"name": "txOutputValue",
|
|
15517
|
-
"type": "uint64"
|
|
15518
|
-
}
|
|
15519
|
-
],
|
|
15520
|
-
"internalType": "struct BitcoinTx.UTXO",
|
|
15521
|
-
"name": "utxo",
|
|
15522
|
-
"type": "tuple"
|
|
15523
|
-
}
|
|
15524
|
-
],
|
|
15525
|
-
"name": "setMovedFundsSweepRequest",
|
|
15526
|
-
"outputs": [],
|
|
15527
|
-
"stateMutability": "nonpayable",
|
|
15528
|
-
"type": "function"
|
|
15529
|
-
},
|
|
15530
15636
|
{
|
|
15531
15637
|
"inputs": [
|
|
15532
15638
|
{
|
|
@@ -15583,7 +15689,37 @@
|
|
|
15583
15689
|
"type": "tuple"
|
|
15584
15690
|
}
|
|
15585
15691
|
],
|
|
15586
|
-
"name": "
|
|
15692
|
+
"name": "setPendingMovedFundsSweepRequest",
|
|
15693
|
+
"outputs": [],
|
|
15694
|
+
"stateMutability": "nonpayable",
|
|
15695
|
+
"type": "function"
|
|
15696
|
+
},
|
|
15697
|
+
{
|
|
15698
|
+
"inputs": [
|
|
15699
|
+
{
|
|
15700
|
+
"components": [
|
|
15701
|
+
{
|
|
15702
|
+
"internalType": "bytes32",
|
|
15703
|
+
"name": "txHash",
|
|
15704
|
+
"type": "bytes32"
|
|
15705
|
+
},
|
|
15706
|
+
{
|
|
15707
|
+
"internalType": "uint32",
|
|
15708
|
+
"name": "txOutputIndex",
|
|
15709
|
+
"type": "uint32"
|
|
15710
|
+
},
|
|
15711
|
+
{
|
|
15712
|
+
"internalType": "uint64",
|
|
15713
|
+
"name": "txOutputValue",
|
|
15714
|
+
"type": "uint64"
|
|
15715
|
+
}
|
|
15716
|
+
],
|
|
15717
|
+
"internalType": "struct BitcoinTx.UTXO[]",
|
|
15718
|
+
"name": "utxos",
|
|
15719
|
+
"type": "tuple[]"
|
|
15720
|
+
}
|
|
15721
|
+
],
|
|
15722
|
+
"name": "setProcessedMovedFundsSweepRequests",
|
|
15587
15723
|
"outputs": [],
|
|
15588
15724
|
"stateMutability": "nonpayable",
|
|
15589
15725
|
"type": "function"
|
|
@@ -15731,6 +15867,11 @@
|
|
|
15731
15867
|
"name": "closingStartedAt",
|
|
15732
15868
|
"type": "uint32"
|
|
15733
15869
|
},
|
|
15870
|
+
{
|
|
15871
|
+
"internalType": "uint32",
|
|
15872
|
+
"name": "pendingMovedFundsSweepRequestsCount",
|
|
15873
|
+
"type": "uint32"
|
|
15874
|
+
},
|
|
15734
15875
|
{
|
|
15735
15876
|
"internalType": "enum Wallets.WalletState",
|
|
15736
15877
|
"name": "state",
|
|
@@ -16268,6 +16409,41 @@
|
|
|
16268
16409
|
"stateMutability": "view",
|
|
16269
16410
|
"type": "function"
|
|
16270
16411
|
},
|
|
16412
|
+
{
|
|
16413
|
+
"inputs": [
|
|
16414
|
+
{
|
|
16415
|
+
"internalType": "bytes20",
|
|
16416
|
+
"name": "walletPubKeyHash",
|
|
16417
|
+
"type": "bytes20"
|
|
16418
|
+
},
|
|
16419
|
+
{
|
|
16420
|
+
"components": [
|
|
16421
|
+
{
|
|
16422
|
+
"internalType": "bytes32",
|
|
16423
|
+
"name": "txHash",
|
|
16424
|
+
"type": "bytes32"
|
|
16425
|
+
},
|
|
16426
|
+
{
|
|
16427
|
+
"internalType": "uint32",
|
|
16428
|
+
"name": "txOutputIndex",
|
|
16429
|
+
"type": "uint32"
|
|
16430
|
+
},
|
|
16431
|
+
{
|
|
16432
|
+
"internalType": "uint64",
|
|
16433
|
+
"name": "txOutputValue",
|
|
16434
|
+
"type": "uint64"
|
|
16435
|
+
}
|
|
16436
|
+
],
|
|
16437
|
+
"internalType": "struct BitcoinTx.UTXO",
|
|
16438
|
+
"name": "utxo",
|
|
16439
|
+
"type": "tuple"
|
|
16440
|
+
}
|
|
16441
|
+
],
|
|
16442
|
+
"name": "timeoutPendingMovedFundsSweepRequest",
|
|
16443
|
+
"outputs": [],
|
|
16444
|
+
"stateMutability": "nonpayable",
|
|
16445
|
+
"type": "function"
|
|
16446
|
+
},
|
|
16271
16447
|
{
|
|
16272
16448
|
"inputs": [
|
|
16273
16449
|
{
|
|
@@ -16389,6 +16565,21 @@
|
|
|
16389
16565
|
"internalType": "uint64",
|
|
16390
16566
|
"name": "movedFundsSweepTxMaxTotalFee",
|
|
16391
16567
|
"type": "uint64"
|
|
16568
|
+
},
|
|
16569
|
+
{
|
|
16570
|
+
"internalType": "uint32",
|
|
16571
|
+
"name": "movedFundsSweepTimeout",
|
|
16572
|
+
"type": "uint32"
|
|
16573
|
+
},
|
|
16574
|
+
{
|
|
16575
|
+
"internalType": "uint96",
|
|
16576
|
+
"name": "movedFundsSweepTimeoutSlashingAmount",
|
|
16577
|
+
"type": "uint96"
|
|
16578
|
+
},
|
|
16579
|
+
{
|
|
16580
|
+
"internalType": "uint256",
|
|
16581
|
+
"name": "movedFundsSweepTimeoutNotifierRewardMultiplier",
|
|
16582
|
+
"type": "uint256"
|
|
16392
16583
|
}
|
|
16393
16584
|
],
|
|
16394
16585
|
"name": "updateMovingFundsParameters",
|
|
@@ -16562,6 +16753,11 @@
|
|
|
16562
16753
|
"name": "closingStartedAt",
|
|
16563
16754
|
"type": "uint32"
|
|
16564
16755
|
},
|
|
16756
|
+
{
|
|
16757
|
+
"internalType": "uint32",
|
|
16758
|
+
"name": "pendingMovedFundsSweepRequestsCount",
|
|
16759
|
+
"type": "uint32"
|
|
16760
|
+
},
|
|
16565
16761
|
{
|
|
16566
16762
|
"internalType": "enum Wallets.WalletState",
|
|
16567
16763
|
"name": "state",
|