@keep-network/tbtc-v2 0.1.1-dev.116 → 0.1.1-dev.117
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/README.adoc +2 -0
- package/artifacts/BLS.json +1 -1
- package/artifacts/Bank.json +3 -3
- package/artifacts/BeaconAuthorization.json +1 -1
- package/artifacts/BeaconDkg.json +1 -1
- package/artifacts/BeaconDkgValidator.json +1 -1
- package/artifacts/BeaconInactivity.json +1 -1
- package/artifacts/BeaconSortitionPool.json +3 -3
- package/artifacts/Bridge.json +5 -5
- package/artifacts/BridgeGovernance.json +9 -9
- package/artifacts/BridgeGovernanceParameters.json +2 -2
- package/artifacts/Deposit.json +7 -7
- package/artifacts/DepositSweep.json +7 -7
- package/artifacts/EcdsaDkgValidator.json +1 -1
- package/artifacts/EcdsaInactivity.json +1 -1
- package/artifacts/EcdsaSortitionPool.json +3 -3
- 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/LightRelay.json +18 -18
- package/artifacts/MaintainerProxy.json +27 -27
- package/artifacts/MovingFunds.json +7 -7
- package/artifacts/NuCypherStakingEscrow.json +1 -1
- package/artifacts/NuCypherToken.json +2 -2
- package/artifacts/RandomBeacon.json +2 -2
- package/artifacts/RandomBeaconGovernance.json +2 -2
- package/artifacts/Redemption.json +7 -7
- package/artifacts/ReimbursementPool.json +2 -2
- package/artifacts/T.json +2 -2
- package/artifacts/TBTC.json +3 -3
- package/artifacts/TBTCToken.json +3 -3
- package/artifacts/TBTCVault.json +9 -9
- 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 +5 -5
- package/artifacts/WalletRegistryGovernance.json +2 -2
- package/artifacts/Wallets.json +7 -7
- package/artifacts/solcInputs/{f7ff7ddc42064d2c40854232bbcd5f1b.json → 4a21395909809a22013f000fefe93743.json} +2 -2
- package/artifacts/solcInputs/{1e4e6f55e5e99c9d7cfbefc01a506a21.json → 9218fe35b2e73ed11dd7662e700e5add.json} +2 -2
- package/build/contracts/GovernanceUtils.sol/GovernanceUtils.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/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 +2 -2
- package/build/contracts/bridge/BridgeGovernance.sol/BridgeGovernance.dbg.json +1 -1
- package/build/contracts/bridge/BridgeGovernance.sol/BridgeGovernance.json +2 -2
- 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/BridgeState.sol/BridgeState.json +2 -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/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/MovingFunds.sol/MovingFunds.json +2 -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/maintainer/MaintainerProxy.sol/MaintainerProxy.dbg.json +1 -1
- package/build/contracts/maintainer/MaintainerProxy.sol/MaintainerProxy.json +2 -2
- 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/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/TBTCVault.sol/TBTCVault.dbg.json +1 -1
- package/contracts/bridge/Bridge.sol +5 -2
- package/contracts/bridge/BridgeState.sol +2 -12
- package/export/artifacts/contracts/bridge/Bridge.sol/Bridge.json +1282 -1744
- package/export/artifacts/contracts/bridge/BridgeGovernance.sol/BridgeGovernance.json +5 -5
- package/export/artifacts/contracts/bridge/VendingMachine.sol/VendingMachine.json +67 -67
- package/export/artifacts/contracts/maintainer/MaintainerProxy.sol/MaintainerProxy.json +93 -93
- package/export/artifacts/contracts/relay/LightRelay.sol/LightRelay.json +57 -57
- package/export/artifacts/contracts/test/BankStub.sol/BankStub.json +2 -2
- package/export/artifacts/contracts/test/BridgeStub.sol/BridgeStub.json +1333 -1795
- package/export/artifacts/contracts/test/HeartbeatStub.sol/HeartbeatStub.json +4 -4
- 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/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 +4 -4
- package/export/artifacts/contracts/test/TestRelay.sol/TestRelay.json +19 -19
- 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 +54 -54
- package/export/typechain/factories/BridgeGovernance__factory.js +1 -1
- package/export/typechain/factories/BridgeState__factory.js +1 -1
- package/export/typechain/factories/BridgeStub__factory.js +1 -1
- package/export/typechain/factories/Bridge__factory.js +1 -1
- package/export/typechain/factories/DepositSweep__factory.js +1 -1
- package/export/typechain/factories/Deposit__factory.js +1 -1
- package/export/typechain/factories/Fraud__factory.js +1 -1
- package/export/typechain/factories/MaintainerProxy__factory.js +1 -1
- package/export/typechain/factories/MovingFunds__factory.js +1 -1
- package/export/typechain/factories/Redemption__factory.js +1 -1
- package/export/typechain/factories/TestRelay__factory.js +1 -1
- package/export/typechain/factories/Wallets__factory.js +1 -1
- package/package.json +1 -1
|
@@ -1240,7 +1240,7 @@ contract Bridge is
|
|
|
1240
1240
|
/// deposit refund locktime.
|
|
1241
1241
|
/// @dev Requirements:
|
|
1242
1242
|
/// - Deposit dust threshold must be greater than zero,
|
|
1243
|
-
/// - Deposit
|
|
1243
|
+
/// - Deposit dust threshold must be greater than deposit TX max fee,
|
|
1244
1244
|
/// - Deposit transaction max fee must be greater than zero.
|
|
1245
1245
|
function updateDepositParameters(
|
|
1246
1246
|
uint64 depositDustThreshold,
|
|
@@ -1302,8 +1302,11 @@ contract Bridge is
|
|
|
1302
1302
|
/// @dev Requirements:
|
|
1303
1303
|
/// - Redemption dust threshold must be greater than moving funds dust
|
|
1304
1304
|
/// threshold,
|
|
1305
|
-
/// - Redemption
|
|
1305
|
+
/// - Redemption dust threshold must be greater than the redemption TX
|
|
1306
|
+
/// max fee,
|
|
1306
1307
|
/// - Redemption transaction max fee must be greater than zero,
|
|
1308
|
+
/// - Redemption transaction max total fee must be greater than or
|
|
1309
|
+
/// equal to the redemption transaction per-request max fee,
|
|
1307
1310
|
/// - Redemption timeout must be greater than zero,
|
|
1308
1311
|
/// - Redemption timeout notifier reward multiplier must be in the
|
|
1309
1312
|
/// range [0, 100].
|
|
@@ -399,7 +399,6 @@ library BridgeState {
|
|
|
399
399
|
/// @dev Requirements:
|
|
400
400
|
/// - Deposit dust threshold must be greater than zero,
|
|
401
401
|
/// - Deposit dust threshold must be greater than deposit TX max fee,
|
|
402
|
-
/// - Deposit treasury fee divisor must be greater than zero,
|
|
403
402
|
/// - Deposit transaction max fee must be greater than zero.
|
|
404
403
|
function updateDepositParameters(
|
|
405
404
|
Storage storage self,
|
|
@@ -418,11 +417,6 @@ library BridgeState {
|
|
|
418
417
|
"Deposit dust threshold must be greater than deposit TX max fee"
|
|
419
418
|
);
|
|
420
419
|
|
|
421
|
-
require(
|
|
422
|
-
_depositTreasuryFeeDivisor > 0,
|
|
423
|
-
"Deposit treasury fee divisor must be greater than zero"
|
|
424
|
-
);
|
|
425
|
-
|
|
426
420
|
require(
|
|
427
421
|
_depositTxMaxFee > 0,
|
|
428
422
|
"Deposit transaction max fee must be greater than zero"
|
|
@@ -489,8 +483,9 @@ library BridgeState {
|
|
|
489
483
|
/// threshold,
|
|
490
484
|
/// - Redemption dust threshold must be greater than the redemption TX
|
|
491
485
|
/// max fee,
|
|
492
|
-
/// - Redemption treasury fee divisor must be greater than zero,
|
|
493
486
|
/// - Redemption transaction max fee must be greater than zero,
|
|
487
|
+
/// - Redemption transaction max total fee must be greater than or
|
|
488
|
+
/// equal to the redemption transaction per-request max fee,
|
|
494
489
|
/// - Redemption timeout must be greater than zero,
|
|
495
490
|
/// - Redemption timeout notifier reward multiplier must be in the
|
|
496
491
|
/// range [0, 100].
|
|
@@ -514,11 +509,6 @@ library BridgeState {
|
|
|
514
509
|
"Redemption dust threshold must be greater than redemption TX max fee"
|
|
515
510
|
);
|
|
516
511
|
|
|
517
|
-
require(
|
|
518
|
-
_redemptionTreasuryFeeDivisor > 0,
|
|
519
|
-
"Redemption treasury fee divisor must be greater than zero"
|
|
520
|
-
);
|
|
521
|
-
|
|
522
512
|
require(
|
|
523
513
|
_redemptionTxMaxFee > 0,
|
|
524
514
|
"Redemption transaction max fee must be greater than zero"
|