@keep-network/tbtc-v2 1.5.0-dev.5 → 1.5.0-dev.7

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 (53) hide show
  1. package/artifacts/BLS.json +1 -1
  2. package/artifacts/Bank.json +2 -2
  3. package/artifacts/BeaconAuthorization.json +1 -1
  4. package/artifacts/BeaconDkg.json +1 -1
  5. package/artifacts/BeaconDkgValidator.json +1 -1
  6. package/artifacts/BeaconInactivity.json +1 -1
  7. package/artifacts/BeaconSortitionPool.json +3 -3
  8. package/artifacts/Bridge.json +5 -5
  9. package/artifacts/BridgeGovernance.json +2 -2
  10. package/artifacts/BridgeGovernanceParameters.json +1 -1
  11. package/artifacts/Deposit.json +1 -1
  12. package/artifacts/DepositSweep.json +1 -1
  13. package/artifacts/DonationVault.json +1 -1
  14. package/artifacts/EcdsaDkgValidator.json +1 -1
  15. package/artifacts/EcdsaInactivity.json +1 -1
  16. package/artifacts/EcdsaSortitionPool.json +3 -3
  17. package/artifacts/Fraud.json +1 -1
  18. package/artifacts/KeepRegistry.json +1 -1
  19. package/artifacts/KeepStake.json +2 -2
  20. package/artifacts/KeepToken.json +2 -2
  21. package/artifacts/KeepTokenStaking.json +1 -1
  22. package/artifacts/LightRelay.json +2 -2
  23. package/artifacts/LightRelayMaintainerProxy.json +2 -2
  24. package/artifacts/MaintainerProxy.json +2 -2
  25. package/artifacts/MovingFunds.json +1 -1
  26. package/artifacts/NuCypherStakingEscrow.json +1 -1
  27. package/artifacts/NuCypherToken.json +2 -2
  28. package/artifacts/RandomBeacon.json +2 -2
  29. package/artifacts/RandomBeaconChaosnet.json +2 -2
  30. package/artifacts/RandomBeaconGovernance.json +2 -2
  31. package/artifacts/Redemption.json +1 -1
  32. package/artifacts/ReimbursementPool.json +2 -2
  33. package/artifacts/T.json +2 -2
  34. package/artifacts/TBTC.json +2 -2
  35. package/artifacts/TBTCToken.json +2 -2
  36. package/artifacts/TBTCVault.json +2 -2
  37. package/artifacts/TokenStaking.json +1 -1
  38. package/artifacts/TokenholderGovernor.json +9 -9
  39. package/artifacts/TokenholderTimelock.json +8 -8
  40. package/artifacts/VendingMachine.json +2 -2
  41. package/artifacts/VendingMachineKeep.json +1 -1
  42. package/artifacts/VendingMachineNuCypher.json +1 -1
  43. package/artifacts/VendingMachineV2.json +2 -2
  44. package/artifacts/VendingMachineV3.json +2 -2
  45. package/artifacts/WalletCoordinator.json +5 -5
  46. package/artifacts/WalletRegistry.json +5 -5
  47. package/artifacts/WalletRegistryGovernance.json +2 -2
  48. package/artifacts/Wallets.json +1 -1
  49. package/deploy/81_upgrade_wallet_coordinator_v2.ts +99 -0
  50. package/export/deploy/81_upgrade_wallet_coordinator_v2.js +140 -0
  51. package/export/hardhat.config.js +1 -1
  52. package/export.json +267 -0
  53. package/package.json +3 -3
package/export.json CHANGED
@@ -11385,6 +11385,79 @@
11385
11385
  "name": "OwnershipTransferred",
11386
11386
  "type": "event"
11387
11387
  },
11388
+ {
11389
+ "anonymous": false,
11390
+ "inputs": [
11391
+ {
11392
+ "indexed": false,
11393
+ "internalType": "uint32",
11394
+ "name": "redemptionProposalValidity",
11395
+ "type": "uint32"
11396
+ },
11397
+ {
11398
+ "indexed": false,
11399
+ "internalType": "uint32",
11400
+ "name": "redemptionRequestMinAge",
11401
+ "type": "uint32"
11402
+ },
11403
+ {
11404
+ "indexed": false,
11405
+ "internalType": "uint32",
11406
+ "name": "redemptionRequestTimeoutSafetyMargin",
11407
+ "type": "uint32"
11408
+ },
11409
+ {
11410
+ "indexed": false,
11411
+ "internalType": "uint16",
11412
+ "name": "redemptionMaxSize",
11413
+ "type": "uint16"
11414
+ },
11415
+ {
11416
+ "indexed": false,
11417
+ "internalType": "uint32",
11418
+ "name": "redemptionProposalSubmissionGasOffset",
11419
+ "type": "uint32"
11420
+ }
11421
+ ],
11422
+ "name": "RedemptionProposalParametersUpdated",
11423
+ "type": "event"
11424
+ },
11425
+ {
11426
+ "anonymous": false,
11427
+ "inputs": [
11428
+ {
11429
+ "components": [
11430
+ {
11431
+ "internalType": "bytes20",
11432
+ "name": "walletPubKeyHash",
11433
+ "type": "bytes20"
11434
+ },
11435
+ {
11436
+ "internalType": "bytes[]",
11437
+ "name": "redeemersOutputScripts",
11438
+ "type": "bytes[]"
11439
+ },
11440
+ {
11441
+ "internalType": "uint256",
11442
+ "name": "redemptionTxFee",
11443
+ "type": "uint256"
11444
+ }
11445
+ ],
11446
+ "indexed": false,
11447
+ "internalType": "struct WalletCoordinator.RedemptionProposal",
11448
+ "name": "proposal",
11449
+ "type": "tuple"
11450
+ },
11451
+ {
11452
+ "indexed": true,
11453
+ "internalType": "address",
11454
+ "name": "coordinator",
11455
+ "type": "address"
11456
+ }
11457
+ ],
11458
+ "name": "RedemptionProposalSubmitted",
11459
+ "type": "event"
11460
+ },
11388
11461
  {
11389
11462
  "anonymous": false,
11390
11463
  "inputs": [
@@ -11573,6 +11646,71 @@
11573
11646
  "stateMutability": "view",
11574
11647
  "type": "function"
11575
11648
  },
11649
+ {
11650
+ "inputs": [],
11651
+ "name": "redemptionMaxSize",
11652
+ "outputs": [
11653
+ {
11654
+ "internalType": "uint16",
11655
+ "name": "",
11656
+ "type": "uint16"
11657
+ }
11658
+ ],
11659
+ "stateMutability": "view",
11660
+ "type": "function"
11661
+ },
11662
+ {
11663
+ "inputs": [],
11664
+ "name": "redemptionProposalSubmissionGasOffset",
11665
+ "outputs": [
11666
+ {
11667
+ "internalType": "uint32",
11668
+ "name": "",
11669
+ "type": "uint32"
11670
+ }
11671
+ ],
11672
+ "stateMutability": "view",
11673
+ "type": "function"
11674
+ },
11675
+ {
11676
+ "inputs": [],
11677
+ "name": "redemptionProposalValidity",
11678
+ "outputs": [
11679
+ {
11680
+ "internalType": "uint32",
11681
+ "name": "",
11682
+ "type": "uint32"
11683
+ }
11684
+ ],
11685
+ "stateMutability": "view",
11686
+ "type": "function"
11687
+ },
11688
+ {
11689
+ "inputs": [],
11690
+ "name": "redemptionRequestMinAge",
11691
+ "outputs": [
11692
+ {
11693
+ "internalType": "uint32",
11694
+ "name": "",
11695
+ "type": "uint32"
11696
+ }
11697
+ ],
11698
+ "stateMutability": "view",
11699
+ "type": "function"
11700
+ },
11701
+ {
11702
+ "inputs": [],
11703
+ "name": "redemptionRequestTimeoutSafetyMargin",
11704
+ "outputs": [
11705
+ {
11706
+ "internalType": "uint32",
11707
+ "name": "",
11708
+ "type": "uint32"
11709
+ }
11710
+ ],
11711
+ "stateMutability": "view",
11712
+ "type": "function"
11713
+ },
11576
11714
  {
11577
11715
  "inputs": [],
11578
11716
  "name": "reimbursementPool",
@@ -11736,6 +11874,66 @@
11736
11874
  "stateMutability": "nonpayable",
11737
11875
  "type": "function"
11738
11876
  },
11877
+ {
11878
+ "inputs": [
11879
+ {
11880
+ "components": [
11881
+ {
11882
+ "internalType": "bytes20",
11883
+ "name": "walletPubKeyHash",
11884
+ "type": "bytes20"
11885
+ },
11886
+ {
11887
+ "internalType": "bytes[]",
11888
+ "name": "redeemersOutputScripts",
11889
+ "type": "bytes[]"
11890
+ },
11891
+ {
11892
+ "internalType": "uint256",
11893
+ "name": "redemptionTxFee",
11894
+ "type": "uint256"
11895
+ }
11896
+ ],
11897
+ "internalType": "struct WalletCoordinator.RedemptionProposal",
11898
+ "name": "proposal",
11899
+ "type": "tuple"
11900
+ }
11901
+ ],
11902
+ "name": "submitRedemptionProposal",
11903
+ "outputs": [],
11904
+ "stateMutability": "nonpayable",
11905
+ "type": "function"
11906
+ },
11907
+ {
11908
+ "inputs": [
11909
+ {
11910
+ "components": [
11911
+ {
11912
+ "internalType": "bytes20",
11913
+ "name": "walletPubKeyHash",
11914
+ "type": "bytes20"
11915
+ },
11916
+ {
11917
+ "internalType": "bytes[]",
11918
+ "name": "redeemersOutputScripts",
11919
+ "type": "bytes[]"
11920
+ },
11921
+ {
11922
+ "internalType": "uint256",
11923
+ "name": "redemptionTxFee",
11924
+ "type": "uint256"
11925
+ }
11926
+ ],
11927
+ "internalType": "struct WalletCoordinator.RedemptionProposal",
11928
+ "name": "proposal",
11929
+ "type": "tuple"
11930
+ }
11931
+ ],
11932
+ "name": "submitRedemptionProposalWithReimbursement",
11933
+ "outputs": [],
11934
+ "stateMutability": "nonpayable",
11935
+ "type": "function"
11936
+ },
11739
11937
  {
11740
11938
  "inputs": [
11741
11939
  {
@@ -11813,6 +12011,39 @@
11813
12011
  "stateMutability": "nonpayable",
11814
12012
  "type": "function"
11815
12013
  },
12014
+ {
12015
+ "inputs": [
12016
+ {
12017
+ "internalType": "uint32",
12018
+ "name": "_redemptionProposalValidity",
12019
+ "type": "uint32"
12020
+ },
12021
+ {
12022
+ "internalType": "uint32",
12023
+ "name": "_redemptionRequestMinAge",
12024
+ "type": "uint32"
12025
+ },
12026
+ {
12027
+ "internalType": "uint32",
12028
+ "name": "_redemptionRequestTimeoutSafetyMargin",
12029
+ "type": "uint32"
12030
+ },
12031
+ {
12032
+ "internalType": "uint16",
12033
+ "name": "_redemptionMaxSize",
12034
+ "type": "uint16"
12035
+ },
12036
+ {
12037
+ "internalType": "uint32",
12038
+ "name": "_redemptionProposalSubmissionGasOffset",
12039
+ "type": "uint32"
12040
+ }
12041
+ ],
12042
+ "name": "updateRedemptionProposalParameters",
12043
+ "outputs": [],
12044
+ "stateMutability": "nonpayable",
12045
+ "type": "function"
12046
+ },
11816
12047
  {
11817
12048
  "inputs": [
11818
12049
  {
@@ -11933,6 +12164,42 @@
11933
12164
  "stateMutability": "view",
11934
12165
  "type": "function"
11935
12166
  },
12167
+ {
12168
+ "inputs": [
12169
+ {
12170
+ "components": [
12171
+ {
12172
+ "internalType": "bytes20",
12173
+ "name": "walletPubKeyHash",
12174
+ "type": "bytes20"
12175
+ },
12176
+ {
12177
+ "internalType": "bytes[]",
12178
+ "name": "redeemersOutputScripts",
12179
+ "type": "bytes[]"
12180
+ },
12181
+ {
12182
+ "internalType": "uint256",
12183
+ "name": "redemptionTxFee",
12184
+ "type": "uint256"
12185
+ }
12186
+ ],
12187
+ "internalType": "struct WalletCoordinator.RedemptionProposal",
12188
+ "name": "proposal",
12189
+ "type": "tuple"
12190
+ }
12191
+ ],
12192
+ "name": "validateRedemptionProposal",
12193
+ "outputs": [
12194
+ {
12195
+ "internalType": "bool",
12196
+ "name": "",
12197
+ "type": "bool"
12198
+ }
12199
+ ],
12200
+ "stateMutability": "view",
12201
+ "type": "function"
12202
+ },
11936
12203
  {
11937
12204
  "inputs": [
11938
12205
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keep-network/tbtc-v2",
3
- "version": "1.5.0-dev.5+main.c2b6b14d30ec4c6d35c2264855d48aa648e5e98c",
3
+ "version": "1.5.0-dev.7+main.e811db24c9c76650694f7c9dc06a9369bea06a60",
4
4
  "license": "GPL-3.0-only",
5
5
  "files": [
6
6
  "artifacts/",
@@ -32,8 +32,8 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@keep-network/bitcoin-spv-sol": "3.4.0-solc-0.8",
35
- "@keep-network/ecdsa": "2.1.0-dev.14",
36
- "@keep-network/random-beacon": "2.1.0-dev.15",
35
+ "@keep-network/ecdsa": "2.1.0-dev.15",
36
+ "@keep-network/random-beacon": "2.1.0-dev.16",
37
37
  "@keep-network/tbtc": "1.1.2-dev.1",
38
38
  "@openzeppelin/contracts": "^4.8.1",
39
39
  "@openzeppelin/contracts-upgradeable": "^4.8.1",