@keep-network/tbtc-v2 0.1.1-dev.84 → 0.1.1-dev.87

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.
Files changed (59) hide show
  1. package/artifacts/Bank.json +3 -3
  2. package/artifacts/Bridge.json +5 -5
  3. package/artifacts/Deposit.json +2 -2
  4. package/artifacts/DepositSweep.json +2 -2
  5. package/artifacts/EcdsaDkgValidator.json +1 -1
  6. package/artifacts/EcdsaInactivity.json +1 -1
  7. package/artifacts/EcdsaSortitionPool.json +2 -2
  8. package/artifacts/Fraud.json +2 -2
  9. package/artifacts/KeepRegistry.json +1 -1
  10. package/artifacts/KeepStake.json +2 -2
  11. package/artifacts/KeepToken.json +2 -2
  12. package/artifacts/KeepTokenStaking.json +1 -1
  13. package/artifacts/MovingFunds.json +2 -2
  14. package/artifacts/NuCypherStakingEscrow.json +1 -1
  15. package/artifacts/NuCypherToken.json +2 -2
  16. package/artifacts/RandomBeaconStub.json +1 -1
  17. package/artifacts/Redemption.json +2 -2
  18. package/artifacts/ReimbursementPool.json +2 -2
  19. package/artifacts/Relay.json +2 -2
  20. package/artifacts/T.json +2 -2
  21. package/artifacts/TBTC.json +3 -3
  22. package/artifacts/TBTCToken.json +3 -3
  23. package/artifacts/TBTCVault.json +212 -13
  24. package/artifacts/TokenStaking.json +1 -1
  25. package/artifacts/TokenholderGovernor.json +9 -9
  26. package/artifacts/TokenholderTimelock.json +8 -8
  27. package/artifacts/VendingMachine.json +3 -3
  28. package/artifacts/VendingMachineKeep.json +1 -1
  29. package/artifacts/VendingMachineNuCypher.json +1 -1
  30. package/artifacts/WalletRegistry.json +5 -5
  31. package/artifacts/WalletRegistryGovernance.json +2 -2
  32. package/artifacts/Wallets.json +2 -2
  33. package/artifacts/solcInputs/{0f79d51f4c2e0d6bf7d919933c677b91.json → b91d5d2f63dffec051f14a2922c0abf4.json} +7 -7
  34. package/build/contracts/GovernanceUtils.sol/GovernanceUtils.dbg.json +1 -1
  35. package/build/contracts/bank/Bank.sol/Bank.dbg.json +1 -1
  36. package/build/contracts/bank/IReceiveBalanceApproval.sol/IReceiveBalanceApproval.dbg.json +1 -1
  37. package/build/contracts/bridge/BitcoinTx.sol/BitcoinTx.dbg.json +1 -1
  38. package/build/contracts/bridge/Bridge.sol/Bridge.dbg.json +1 -1
  39. package/build/contracts/bridge/BridgeState.sol/BridgeState.dbg.json +1 -1
  40. package/build/contracts/bridge/Deposit.sol/Deposit.dbg.json +1 -1
  41. package/build/contracts/bridge/DepositSweep.sol/DepositSweep.dbg.json +1 -1
  42. package/build/contracts/bridge/EcdsaLib.sol/EcdsaLib.dbg.json +1 -1
  43. package/build/contracts/bridge/Fraud.sol/Fraud.dbg.json +1 -1
  44. package/build/contracts/bridge/Heartbeat.sol/Heartbeat.dbg.json +1 -1
  45. package/build/contracts/bridge/IRelay.sol/IRelay.dbg.json +1 -1
  46. package/build/contracts/bridge/MovingFunds.sol/MovingFunds.dbg.json +1 -1
  47. package/build/contracts/bridge/Redemption.sol/OutboundTx.dbg.json +1 -1
  48. package/build/contracts/bridge/Redemption.sol/Redemption.dbg.json +1 -1
  49. package/build/contracts/bridge/VendingMachine.sol/VendingMachine.dbg.json +1 -1
  50. package/build/contracts/bridge/Wallets.sol/Wallets.dbg.json +1 -1
  51. package/build/contracts/token/TBTC.sol/TBTC.dbg.json +1 -1
  52. package/build/contracts/vault/DonationVault.sol/DonationVault.dbg.json +1 -1
  53. package/build/contracts/vault/IVault.sol/IVault.dbg.json +1 -1
  54. package/build/contracts/vault/TBTCVault.sol/TBTCVault.dbg.json +1 -1
  55. package/build/contracts/vault/TBTCVault.sol/TBTCVault.json +144 -2
  56. package/contracts/vault/TBTCVault.sol +118 -29
  57. package/deploy/11_initialize_wallet_owner.ts +18 -0
  58. package/export.json +142 -0
  59. package/package.json +1 -1
package/export.json CHANGED
@@ -16883,6 +16883,51 @@
16883
16883
  "name": "Unminted",
16884
16884
  "type": "event"
16885
16885
  },
16886
+ {
16887
+ "anonymous": false,
16888
+ "inputs": [
16889
+ {
16890
+ "indexed": false,
16891
+ "internalType": "address",
16892
+ "name": "newVault",
16893
+ "type": "address"
16894
+ }
16895
+ ],
16896
+ "name": "UpgradeFinalized",
16897
+ "type": "event"
16898
+ },
16899
+ {
16900
+ "anonymous": false,
16901
+ "inputs": [
16902
+ {
16903
+ "indexed": false,
16904
+ "internalType": "address",
16905
+ "name": "newVault",
16906
+ "type": "address"
16907
+ },
16908
+ {
16909
+ "indexed": false,
16910
+ "internalType": "uint256",
16911
+ "name": "timestamp",
16912
+ "type": "uint256"
16913
+ }
16914
+ ],
16915
+ "name": "UpgradeInitiated",
16916
+ "type": "event"
16917
+ },
16918
+ {
16919
+ "inputs": [],
16920
+ "name": "UPGRADE_GOVERNANCE_DELAY",
16921
+ "outputs": [
16922
+ {
16923
+ "internalType": "uint256",
16924
+ "name": "",
16925
+ "type": "uint256"
16926
+ }
16927
+ ],
16928
+ "stateMutability": "view",
16929
+ "type": "function"
16930
+ },
16886
16931
  {
16887
16932
  "inputs": [],
16888
16933
  "name": "bank",
@@ -16896,6 +16941,13 @@
16896
16941
  "stateMutability": "view",
16897
16942
  "type": "function"
16898
16943
  },
16944
+ {
16945
+ "inputs": [],
16946
+ "name": "finalizeUpgrade",
16947
+ "outputs": [],
16948
+ "stateMutability": "nonpayable",
16949
+ "type": "function"
16950
+ },
16899
16951
  {
16900
16952
  "inputs": [],
16901
16953
  "name": "governance",
@@ -16909,6 +16961,19 @@
16909
16961
  "stateMutability": "view",
16910
16962
  "type": "function"
16911
16963
  },
16964
+ {
16965
+ "inputs": [
16966
+ {
16967
+ "internalType": "address",
16968
+ "name": "_newVault",
16969
+ "type": "address"
16970
+ }
16971
+ ],
16972
+ "name": "initiateUpgrade",
16973
+ "outputs": [],
16974
+ "stateMutability": "nonpayable",
16975
+ "type": "function"
16976
+ },
16912
16977
  {
16913
16978
  "inputs": [
16914
16979
  {
@@ -16922,6 +16987,19 @@
16922
16987
  "stateMutability": "nonpayable",
16923
16988
  "type": "function"
16924
16989
  },
16990
+ {
16991
+ "inputs": [],
16992
+ "name": "newVault",
16993
+ "outputs": [
16994
+ {
16995
+ "internalType": "address",
16996
+ "name": "",
16997
+ "type": "address"
16998
+ }
16999
+ ],
17000
+ "stateMutability": "view",
17001
+ "type": "function"
17002
+ },
16925
17003
  {
16926
17004
  "inputs": [
16927
17005
  {
@@ -17014,6 +17092,29 @@
17014
17092
  "stateMutability": "nonpayable",
17015
17093
  "type": "function"
17016
17094
  },
17095
+ {
17096
+ "inputs": [
17097
+ {
17098
+ "internalType": "contract IERC20",
17099
+ "name": "token",
17100
+ "type": "address"
17101
+ },
17102
+ {
17103
+ "internalType": "address",
17104
+ "name": "recipient",
17105
+ "type": "address"
17106
+ },
17107
+ {
17108
+ "internalType": "uint256",
17109
+ "name": "amount",
17110
+ "type": "uint256"
17111
+ }
17112
+ ],
17113
+ "name": "recoverERC20FromToken",
17114
+ "outputs": [],
17115
+ "stateMutability": "nonpayable",
17116
+ "type": "function"
17117
+ },
17017
17118
  {
17018
17119
  "inputs": [
17019
17120
  {
@@ -17042,6 +17143,34 @@
17042
17143
  "stateMutability": "nonpayable",
17043
17144
  "type": "function"
17044
17145
  },
17146
+ {
17147
+ "inputs": [
17148
+ {
17149
+ "internalType": "contract IERC721",
17150
+ "name": "token",
17151
+ "type": "address"
17152
+ },
17153
+ {
17154
+ "internalType": "address",
17155
+ "name": "recipient",
17156
+ "type": "address"
17157
+ },
17158
+ {
17159
+ "internalType": "uint256",
17160
+ "name": "tokenId",
17161
+ "type": "uint256"
17162
+ },
17163
+ {
17164
+ "internalType": "bytes",
17165
+ "name": "data",
17166
+ "type": "bytes"
17167
+ }
17168
+ ],
17169
+ "name": "recoverERC721FromToken",
17170
+ "outputs": [],
17171
+ "stateMutability": "nonpayable",
17172
+ "type": "function"
17173
+ },
17045
17174
  {
17046
17175
  "inputs": [],
17047
17176
  "name": "tbtcToken",
@@ -17098,6 +17227,19 @@
17098
17227
  "outputs": [],
17099
17228
  "stateMutability": "nonpayable",
17100
17229
  "type": "function"
17230
+ },
17231
+ {
17232
+ "inputs": [],
17233
+ "name": "upgradeInitiatedTimestamp",
17234
+ "outputs": [
17235
+ {
17236
+ "internalType": "uint256",
17237
+ "name": "",
17238
+ "type": "uint256"
17239
+ }
17240
+ ],
17241
+ "stateMutability": "view",
17242
+ "type": "function"
17101
17243
  }
17102
17244
  ]
17103
17245
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keep-network/tbtc-v2",
3
- "version": "0.1.1-dev.84+main.a75bdeccd9bb9e381d79fb9df51e2af42de98794",
3
+ "version": "0.1.1-dev.87+main.449ee59e8cd474fa2d6308a7818abe95bdf386ef",
4
4
  "license": "MIT",
5
5
  "files": [
6
6
  "artifacts/",