@keep-network/tbtc-v2 0.1.1-dev.44 → 0.1.1-dev.47
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 +11 -11
- package/artifacts/Bridge.json +183 -151
- package/artifacts/Deposit.json +9 -9
- package/artifacts/EcdsaDkgValidator.json +1 -1
- package/artifacts/EcdsaInactivity.json +1 -1
- package/artifacts/Fraud.json +7 -7
- 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 +7 -7
- package/artifacts/NuCypherStakingEscrow.json +1 -1
- package/artifacts/NuCypherToken.json +2 -2
- package/artifacts/RandomBeaconStub.json +1 -1
- package/artifacts/Redemption.json +7 -7
- package/artifacts/ReimbursementPool.json +2 -2
- package/artifacts/Relay.json +11 -11
- package/artifacts/SortitionPool.json +2 -2
- package/artifacts/Sweep.json +9 -9
- package/artifacts/T.json +2 -2
- package/artifacts/TBTC.json +13 -13
- package/artifacts/TBTCToken.json +13 -13
- package/artifacts/TokenStaking.json +1 -1
- package/artifacts/TokenholderGovernor.json +9 -9
- package/artifacts/TokenholderTimelock.json +8 -8
- package/artifacts/VendingMachine.json +14 -14
- 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 +7 -7
- package/artifacts/solcInputs/{bbe44823ec28554a9429cce5cafee035.json → d31b3d6fef87d6f4300c2a5aea432ae5.json} +6 -3
- 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 +89 -67
- package/build/contracts/bridge/BridgeState.sol/BridgeState.dbg.json +1 -1
- package/build/contracts/bridge/BridgeState.sol/BridgeState.json +8 -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/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 +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/Sweep.sol/Sweep.dbg.json +1 -1
- package/build/contracts/bridge/Sweep.sol/Sweep.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 +54 -12
- package/contracts/bridge/BridgeState.sol +54 -4
- package/contracts/bridge/Wallets.sol +28 -5
- package/deploy/07_transfer_ownership.ts +1 -3
- package/deploy/08_transfer_governance.ts +20 -0
- package/export.json +57 -35
- package/package.json +1 -1
package/export.json
CHANGED
|
@@ -14209,6 +14209,25 @@
|
|
|
14209
14209
|
"name": "FraudParametersUpdated",
|
|
14210
14210
|
"type": "event"
|
|
14211
14211
|
},
|
|
14212
|
+
{
|
|
14213
|
+
"anonymous": false,
|
|
14214
|
+
"inputs": [
|
|
14215
|
+
{
|
|
14216
|
+
"indexed": false,
|
|
14217
|
+
"internalType": "address",
|
|
14218
|
+
"name": "oldGovernance",
|
|
14219
|
+
"type": "address"
|
|
14220
|
+
},
|
|
14221
|
+
{
|
|
14222
|
+
"indexed": false,
|
|
14223
|
+
"internalType": "address",
|
|
14224
|
+
"name": "newGovernance",
|
|
14225
|
+
"type": "address"
|
|
14226
|
+
}
|
|
14227
|
+
],
|
|
14228
|
+
"name": "GovernanceTransferred",
|
|
14229
|
+
"type": "event"
|
|
14230
|
+
},
|
|
14212
14231
|
{
|
|
14213
14232
|
"anonymous": false,
|
|
14214
14233
|
"inputs": [
|
|
@@ -14310,25 +14329,6 @@
|
|
|
14310
14329
|
"name": "NewWalletRequested",
|
|
14311
14330
|
"type": "event"
|
|
14312
14331
|
},
|
|
14313
|
-
{
|
|
14314
|
-
"anonymous": false,
|
|
14315
|
-
"inputs": [
|
|
14316
|
-
{
|
|
14317
|
-
"indexed": true,
|
|
14318
|
-
"internalType": "address",
|
|
14319
|
-
"name": "previousOwner",
|
|
14320
|
-
"type": "address"
|
|
14321
|
-
},
|
|
14322
|
-
{
|
|
14323
|
-
"indexed": true,
|
|
14324
|
-
"internalType": "address",
|
|
14325
|
-
"name": "newOwner",
|
|
14326
|
-
"type": "address"
|
|
14327
|
-
}
|
|
14328
|
-
],
|
|
14329
|
-
"name": "OwnershipTransferred",
|
|
14330
|
-
"type": "event"
|
|
14331
|
-
},
|
|
14332
14332
|
{
|
|
14333
14333
|
"anonymous": false,
|
|
14334
14334
|
"inputs": [
|
|
@@ -14549,6 +14549,12 @@
|
|
|
14549
14549
|
"internalType": "uint64",
|
|
14550
14550
|
"name": "walletMaxBtcTransfer",
|
|
14551
14551
|
"type": "uint64"
|
|
14552
|
+
},
|
|
14553
|
+
{
|
|
14554
|
+
"indexed": false,
|
|
14555
|
+
"internalType": "uint32",
|
|
14556
|
+
"name": "walletClosingPeriod",
|
|
14557
|
+
"type": "uint32"
|
|
14552
14558
|
}
|
|
14553
14559
|
],
|
|
14554
14560
|
"name": "WalletParametersUpdated",
|
|
@@ -14816,6 +14822,19 @@
|
|
|
14816
14822
|
"stateMutability": "view",
|
|
14817
14823
|
"type": "function"
|
|
14818
14824
|
},
|
|
14825
|
+
{
|
|
14826
|
+
"inputs": [],
|
|
14827
|
+
"name": "governance",
|
|
14828
|
+
"outputs": [
|
|
14829
|
+
{
|
|
14830
|
+
"internalType": "address",
|
|
14831
|
+
"name": "",
|
|
14832
|
+
"type": "address"
|
|
14833
|
+
}
|
|
14834
|
+
],
|
|
14835
|
+
"stateMutability": "view",
|
|
14836
|
+
"type": "function"
|
|
14837
|
+
},
|
|
14819
14838
|
{
|
|
14820
14839
|
"inputs": [
|
|
14821
14840
|
{
|
|
@@ -14951,16 +14970,16 @@
|
|
|
14951
14970
|
"type": "function"
|
|
14952
14971
|
},
|
|
14953
14972
|
{
|
|
14954
|
-
"inputs": [
|
|
14955
|
-
"name": "owner",
|
|
14956
|
-
"outputs": [
|
|
14973
|
+
"inputs": [
|
|
14957
14974
|
{
|
|
14958
|
-
"internalType": "
|
|
14959
|
-
"name": "",
|
|
14960
|
-
"type": "
|
|
14975
|
+
"internalType": "bytes20",
|
|
14976
|
+
"name": "walletPubKeyHash",
|
|
14977
|
+
"type": "bytes20"
|
|
14961
14978
|
}
|
|
14962
14979
|
],
|
|
14963
|
-
"
|
|
14980
|
+
"name": "notifyWalletClosingPeriodElapsed",
|
|
14981
|
+
"outputs": [],
|
|
14982
|
+
"stateMutability": "nonpayable",
|
|
14964
14983
|
"type": "function"
|
|
14965
14984
|
},
|
|
14966
14985
|
{
|
|
@@ -15037,13 +15056,6 @@
|
|
|
15037
15056
|
"stateMutability": "view",
|
|
15038
15057
|
"type": "function"
|
|
15039
15058
|
},
|
|
15040
|
-
{
|
|
15041
|
-
"inputs": [],
|
|
15042
|
-
"name": "renounceOwnership",
|
|
15043
|
-
"outputs": [],
|
|
15044
|
-
"stateMutability": "nonpayable",
|
|
15045
|
-
"type": "function"
|
|
15046
|
-
},
|
|
15047
15059
|
{
|
|
15048
15060
|
"inputs": [
|
|
15049
15061
|
{
|
|
@@ -15620,11 +15632,11 @@
|
|
|
15620
15632
|
"inputs": [
|
|
15621
15633
|
{
|
|
15622
15634
|
"internalType": "address",
|
|
15623
|
-
"name": "
|
|
15635
|
+
"name": "newGovernance",
|
|
15624
15636
|
"type": "address"
|
|
15625
15637
|
}
|
|
15626
15638
|
],
|
|
15627
|
-
"name": "
|
|
15639
|
+
"name": "transferGovernance",
|
|
15628
15640
|
"outputs": [],
|
|
15629
15641
|
"stateMutability": "nonpayable",
|
|
15630
15642
|
"type": "function"
|
|
@@ -15778,6 +15790,11 @@
|
|
|
15778
15790
|
"internalType": "uint64",
|
|
15779
15791
|
"name": "walletMaxBtcTransfer",
|
|
15780
15792
|
"type": "uint64"
|
|
15793
|
+
},
|
|
15794
|
+
{
|
|
15795
|
+
"internalType": "uint32",
|
|
15796
|
+
"name": "walletClosingPeriod",
|
|
15797
|
+
"type": "uint32"
|
|
15781
15798
|
}
|
|
15782
15799
|
],
|
|
15783
15800
|
"name": "updateWalletParameters",
|
|
@@ -15813,6 +15830,11 @@
|
|
|
15813
15830
|
"internalType": "uint64",
|
|
15814
15831
|
"name": "walletMaxBtcTransfer",
|
|
15815
15832
|
"type": "uint64"
|
|
15833
|
+
},
|
|
15834
|
+
{
|
|
15835
|
+
"internalType": "uint32",
|
|
15836
|
+
"name": "walletClosingPeriod",
|
|
15837
|
+
"type": "uint32"
|
|
15816
15838
|
}
|
|
15817
15839
|
],
|
|
15818
15840
|
"stateMutability": "view",
|