@keep-network/tbtc-v2 0.1.1-dev.125 → 0.1.1-dev.126

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 (111) hide show
  1. package/artifacts/BLS.json +1 -1
  2. package/artifacts/Bank.json +8 -8
  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 +2 -2
  11. package/artifacts/Deposit.json +2 -2
  12. package/artifacts/DepositSweep.json +2 -2
  13. package/artifacts/EcdsaDkgValidator.json +1 -1
  14. package/artifacts/EcdsaInactivity.json +1 -1
  15. package/artifacts/EcdsaSortitionPool.json +3 -3
  16. package/artifacts/Fraud.json +2 -2
  17. package/artifacts/KeepRegistry.json +1 -1
  18. package/artifacts/KeepStake.json +2 -2
  19. package/artifacts/KeepToken.json +2 -2
  20. package/artifacts/KeepTokenStaking.json +1 -1
  21. package/artifacts/LightRelay.json +19 -19
  22. package/artifacts/MaintainerProxy.json +26 -26
  23. package/artifacts/MovingFunds.json +2 -2
  24. package/artifacts/NuCypherStakingEscrow.json +1 -1
  25. package/artifacts/NuCypherToken.json +2 -2
  26. package/artifacts/RandomBeacon.json +2 -2
  27. package/artifacts/RandomBeaconChaosnet.json +2 -2
  28. package/artifacts/RandomBeaconGovernance.json +2 -2
  29. package/artifacts/Redemption.json +2 -2
  30. package/artifacts/ReimbursementPool.json +2 -2
  31. package/artifacts/T.json +2 -2
  32. package/artifacts/TBTC.json +10 -10
  33. package/artifacts/TBTCToken.json +10 -10
  34. package/artifacts/TBTCVault.json +24 -24
  35. package/artifacts/TokenStaking.json +1 -1
  36. package/artifacts/TokenholderGovernor.json +9 -9
  37. package/artifacts/TokenholderTimelock.json +8 -8
  38. package/artifacts/VendingMachine.json +11 -11
  39. package/artifacts/VendingMachineKeep.json +1 -1
  40. package/artifacts/VendingMachineNuCypher.json +1 -1
  41. package/artifacts/WalletRegistry.json +5 -5
  42. package/artifacts/WalletRegistryGovernance.json +49 -49
  43. package/artifacts/Wallets.json +2 -2
  44. package/artifacts/solcInputs/{392170edc034929d363ada40bfeefe31.json → 898e0f70d11502bb7c40e2859883a26e.json} +1 -1
  45. package/build/contracts/GovernanceUtils.sol/GovernanceUtils.dbg.json +1 -1
  46. package/build/contracts/bank/Bank.sol/Bank.dbg.json +1 -1
  47. package/build/contracts/bank/IReceiveBalanceApproval.sol/IReceiveBalanceApproval.dbg.json +1 -1
  48. package/build/contracts/bridge/BitcoinTx.sol/BitcoinTx.dbg.json +1 -1
  49. package/build/contracts/bridge/Bridge.sol/Bridge.dbg.json +1 -1
  50. package/build/contracts/bridge/BridgeGovernanceParameters.sol/BridgeGovernanceParameters.dbg.json +1 -1
  51. package/build/contracts/bridge/BridgeState.sol/BridgeState.dbg.json +1 -1
  52. package/build/contracts/bridge/Deposit.sol/Deposit.dbg.json +1 -1
  53. package/build/contracts/bridge/DepositSweep.sol/DepositSweep.dbg.json +1 -1
  54. package/build/contracts/bridge/EcdsaLib.sol/EcdsaLib.dbg.json +1 -1
  55. package/build/contracts/bridge/Fraud.sol/Fraud.dbg.json +1 -1
  56. package/build/contracts/bridge/Heartbeat.sol/Heartbeat.dbg.json +1 -1
  57. package/build/contracts/bridge/IRelay.sol/IRelay.dbg.json +1 -1
  58. package/build/contracts/bridge/MovingFunds.sol/MovingFunds.dbg.json +1 -1
  59. package/build/contracts/bridge/Redemption.sol/OutboundTx.dbg.json +1 -1
  60. package/build/contracts/bridge/Redemption.sol/Redemption.dbg.json +1 -1
  61. package/build/contracts/bridge/VendingMachine.sol/VendingMachine.dbg.json +1 -1
  62. package/build/contracts/bridge/Wallets.sol/Wallets.dbg.json +1 -1
  63. package/build/contracts/maintainer/MaintainerProxy.sol/MaintainerProxy.dbg.json +1 -1
  64. package/build/contracts/relay/LightRelay.sol/ILightRelay.dbg.json +1 -1
  65. package/build/contracts/relay/LightRelay.sol/LightRelay.dbg.json +1 -1
  66. package/build/contracts/relay/LightRelay.sol/RelayUtils.dbg.json +1 -1
  67. package/build/contracts/token/TBTC.sol/TBTC.dbg.json +1 -1
  68. package/build/contracts/vault/DonationVault.sol/DonationVault.dbg.json +1 -1
  69. package/build/contracts/vault/IVault.sol/IVault.dbg.json +1 -1
  70. package/build/contracts/vault/TBTCOptimisticMinting.sol/TBTCOptimisticMinting.dbg.json +1 -1
  71. package/build/contracts/vault/TBTCVault.sol/TBTCVault.dbg.json +1 -1
  72. package/deploy/91_genesis_relay.ts +35 -0
  73. package/deploy/92_retarget_relay.ts +119 -0
  74. package/deploy/93_authorize_relay_maintainer.ts +24 -0
  75. package/export/artifacts/@keep-network/ecdsa/contracts/EcdsaDkgValidator.sol/EcdsaDkgValidator.json +26 -26
  76. package/export/artifacts/@keep-network/ecdsa/contracts/WalletRegistry.sol/WalletRegistry.json +251 -251
  77. package/export/artifacts/@keep-network/ecdsa/contracts/libraries/EcdsaDkg.sol/EcdsaDkg.json +2 -2
  78. package/export/artifacts/@keep-network/ecdsa/contracts/libraries/EcdsaInactivity.sol/EcdsaInactivity.json +25 -25
  79. package/export/artifacts/@keep-network/random-beacon/contracts/ReimbursementPool.sol/ReimbursementPool.json +47 -47
  80. package/export/artifacts/@keep-network/sortition-pools/contracts/Chaosnet.sol/Chaosnet.json +21 -21
  81. package/export/artifacts/@keep-network/sortition-pools/contracts/Rewards.sol/Rewards.json +16 -16
  82. package/export/artifacts/@keep-network/sortition-pools/contracts/SortitionPool.sol/SortitionPool.json +204 -204
  83. package/export/artifacts/@keep-network/sortition-pools/contracts/SortitionTree.sol/SortitionTree.json +26 -26
  84. package/export/artifacts/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol/ERC1967Proxy.json +42 -42
  85. package/export/artifacts/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol/ProxyAdmin.json +34 -34
  86. package/export/artifacts/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.json +74 -74
  87. package/export/artifacts/@openzeppelin/contracts/token/ERC721/ERC721.sol/ERC721.json +62 -62
  88. package/export/artifacts/@thesis/solidity-contracts/contracts/token/ERC20WithPermit.sol/ERC20WithPermit.json +77 -77
  89. package/export/artifacts/@thesis/solidity-contracts/contracts/token/MisfundRecovery.sol/MisfundRecovery.json +38 -38
  90. package/export/artifacts/contracts/bank/Bank.sol/Bank.json +75 -75
  91. package/export/artifacts/contracts/bridge/Bridge.sol/Bridge.json +322 -322
  92. package/export/artifacts/contracts/bridge/VendingMachine.sol/VendingMachine.json +104 -104
  93. package/export/artifacts/contracts/maintainer/MaintainerProxy.sol/MaintainerProxy.json +147 -147
  94. package/export/artifacts/contracts/relay/LightRelay.sol/LightRelay.json +74 -74
  95. package/export/artifacts/contracts/test/BankStub.sol/BankStub.json +77 -77
  96. package/export/artifacts/contracts/test/BridgeStub.sol/BridgeStub.json +360 -360
  97. package/export/artifacts/contracts/test/HeartbeatStub.sol/HeartbeatStub.json +4 -4
  98. package/export/artifacts/contracts/test/LightRelayStub.sol/LightRelayStub.json +76 -76
  99. package/export/artifacts/contracts/test/ReceiveApprovalStub.sol/ReceiveApprovalStub.json +7 -7
  100. package/export/artifacts/contracts/test/TestERC20.sol/TestERC20.json +83 -83
  101. package/export/artifacts/contracts/test/TestERC721.sol/TestERC721.json +72 -72
  102. package/export/artifacts/contracts/test/TestEcdsaLib.sol/TestEcdsaLib.json +4 -4
  103. package/export/artifacts/contracts/test/TestRelay.sol/TestRelay.json +14 -14
  104. package/export/artifacts/contracts/token/TBTC.sol/TBTC.json +100 -100
  105. package/export/artifacts/contracts/vault/DonationVault.sol/DonationVault.json +19 -19
  106. package/export/artifacts/contracts/vault/TBTCVault.sol/TBTCVault.json +176 -176
  107. package/export/deploy/91_genesis_relay.js +72 -0
  108. package/export/deploy/92_retarget_relay.js +158 -0
  109. package/export/deploy/93_authorize_relay_maintainer.js +64 -0
  110. package/export/typechain/factories/WalletRegistry__factory.js +1 -1
  111. package/package.json +2 -2
@@ -558,39 +558,39 @@
558
558
  "evm": {
559
559
  "bytecode": {
560
560
  "functionDebugData": {
561
- "@_13269": {
561
+ "@_13267": {
562
562
  "entryPoint": null,
563
- "id": 13269,
563
+ "id": 13267,
564
564
  "parameterSlots": 0,
565
565
  "returnSlots": 0
566
566
  },
567
- "@_16682": {
567
+ "@_16680": {
568
568
  "entryPoint": null,
569
- "id": 16682,
569
+ "id": 16680,
570
570
  "parameterSlots": 2,
571
571
  "returnSlots": 0
572
572
  },
573
- "@_33122": {
573
+ "@_33120": {
574
574
  "entryPoint": null,
575
- "id": 33122,
575
+ "id": 33120,
576
576
  "parameterSlots": 0,
577
577
  "returnSlots": 0
578
578
  },
579
- "@_msgSender_15794": {
579
+ "@_msgSender_15792": {
580
580
  "entryPoint": 168,
581
- "id": 15794,
581
+ "id": 15792,
582
582
  "parameterSlots": 0,
583
583
  "returnSlots": 1
584
584
  },
585
- "@_transferOwnership_13349": {
585
+ "@_transferOwnership_13347": {
586
586
  "entryPoint": 172,
587
- "id": 13349,
587
+ "id": 13347,
588
588
  "parameterSlots": 1,
589
589
  "returnSlots": 0
590
590
  },
591
- "@buildDomainSeparator_17271": {
591
+ "@buildDomainSeparator_17269": {
592
592
  "entryPoint": 252,
593
- "id": 17271,
593
+ "id": 17269,
594
594
  "parameterSlots": 0,
595
595
  "returnSlots": 1
596
596
  },
@@ -3704,189 +3704,189 @@
3704
3704
  },
3705
3705
  "deployedBytecode": {
3706
3706
  "functionDebugData": {
3707
- "@DOMAIN_SEPARATOR_17053": {
3707
+ "@DOMAIN_SEPARATOR_17051": {
3708
3708
  "entryPoint": 1453,
3709
- "id": 17053,
3709
+ "id": 17051,
3710
3710
  "parameterSlots": 0,
3711
3711
  "returnSlots": 1
3712
3712
  },
3713
- "@NAME_33111": {
3713
+ "@NAME_33109": {
3714
3714
  "entryPoint": null,
3715
- "id": 33111,
3715
+ "id": 33109,
3716
3716
  "parameterSlots": 0,
3717
3717
  "returnSlots": 0
3718
3718
  },
3719
- "@PERMIT_TYPEHASH_16639": {
3719
+ "@PERMIT_TYPEHASH_16637": {
3720
3720
  "entryPoint": null,
3721
- "id": 16639,
3721
+ "id": 16637,
3722
3722
  "parameterSlots": 0,
3723
3723
  "returnSlots": 0
3724
3724
  },
3725
- "@SYMBOL_33114": {
3725
+ "@SYMBOL_33112": {
3726
3726
  "entryPoint": null,
3727
- "id": 33114,
3727
+ "id": 33112,
3728
3728
  "parameterSlots": 0,
3729
3729
  "returnSlots": 0
3730
3730
  },
3731
- "@_approve_17238": {
3731
+ "@_approve_17236": {
3732
3732
  "entryPoint": 3321,
3733
- "id": 17238,
3733
+ "id": 17236,
3734
3734
  "parameterSlots": 3,
3735
3735
  "returnSlots": 0
3736
3736
  },
3737
- "@_burn_17115": {
3737
+ "@_burn_17113": {
3738
3738
  "entryPoint": 4313,
3739
- "id": 17115,
3739
+ "id": 17113,
3740
3740
  "parameterSlots": 2,
3741
3741
  "returnSlots": 0
3742
3742
  },
3743
- "@_msgSender_15794": {
3743
+ "@_msgSender_15792": {
3744
3744
  "entryPoint": null,
3745
- "id": 15794,
3745
+ "id": 15792,
3746
3746
  "parameterSlots": 0,
3747
3747
  "returnSlots": 1
3748
3748
  },
3749
- "@_transferOwnership_13349": {
3749
+ "@_transferOwnership_13347": {
3750
3750
  "entryPoint": 4541,
3751
- "id": 13349,
3751
+ "id": 13347,
3752
3752
  "parameterSlots": 1,
3753
3753
  "returnSlots": 0
3754
3754
  },
3755
- "@_transfer_17194": {
3755
+ "@_transfer_17192": {
3756
3756
  "entryPoint": 3591,
3757
- "id": 17194,
3757
+ "id": 17192,
3758
3758
  "parameterSlots": 3,
3759
3759
  "returnSlots": 0
3760
3760
  },
3761
- "@allowance_16622": {
3761
+ "@allowance_16620": {
3762
3762
  "entryPoint": null,
3763
- "id": 16622,
3763
+ "id": 16620,
3764
3764
  "parameterSlots": 0,
3765
3765
  "returnSlots": 0
3766
3766
  },
3767
- "@approveAndCall_17012": {
3767
+ "@approveAndCall_17010": {
3768
3768
  "entryPoint": 2153,
3769
- "id": 17012,
3769
+ "id": 17010,
3770
3770
  "parameterSlots": 3,
3771
3771
  "returnSlots": 1
3772
3772
  },
3773
- "@approve_17033": {
3773
+ "@approve_17031": {
3774
3774
  "entryPoint": 1218,
3775
- "id": 17033,
3775
+ "id": 17031,
3776
3776
  "parameterSlots": 2,
3777
3777
  "returnSlots": 1
3778
3778
  },
3779
- "@balanceOf_16614": {
3779
+ "@balanceOf_16612": {
3780
3780
  "entryPoint": null,
3781
- "id": 16614,
3781
+ "id": 16612,
3782
3782
  "parameterSlots": 0,
3783
3783
  "returnSlots": 0
3784
3784
  },
3785
- "@beforeTokenTransfer_17064": {
3785
+ "@beforeTokenTransfer_17062": {
3786
3786
  "entryPoint": null,
3787
- "id": 17064,
3787
+ "id": 17062,
3788
3788
  "parameterSlots": 3,
3789
3789
  "returnSlots": 0
3790
3790
  },
3791
- "@buildDomainSeparator_17271": {
3791
+ "@buildDomainSeparator_17269": {
3792
3792
  "entryPoint": 4110,
3793
- "id": 17271,
3793
+ "id": 17269,
3794
3794
  "parameterSlots": 0,
3795
3795
  "returnSlots": 1
3796
3796
  },
3797
- "@burnFrom_16974": {
3797
+ "@burnFrom_16972": {
3798
3798
  "entryPoint": 1972,
3799
- "id": 16974,
3799
+ "id": 16972,
3800
3800
  "parameterSlots": 2,
3801
3801
  "returnSlots": 0
3802
3802
  },
3803
- "@burn_16925": {
3803
+ "@burn_16923": {
3804
3804
  "entryPoint": 1857,
3805
- "id": 16925,
3805
+ "id": 16923,
3806
3806
  "parameterSlots": 1,
3807
3807
  "returnSlots": 0
3808
3808
  },
3809
- "@cachedChainId_16630": {
3809
+ "@cachedChainId_16628": {
3810
3810
  "entryPoint": null,
3811
- "id": 16630,
3811
+ "id": 16628,
3812
3812
  "parameterSlots": 0,
3813
3813
  "returnSlots": 0
3814
3814
  },
3815
- "@cachedDomainSeparator_16632": {
3815
+ "@cachedDomainSeparator_16630": {
3816
3816
  "entryPoint": null,
3817
- "id": 16632,
3817
+ "id": 16630,
3818
3818
  "parameterSlots": 0,
3819
3819
  "returnSlots": 0
3820
3820
  },
3821
- "@decimals_16656": {
3821
+ "@decimals_16654": {
3822
3822
  "entryPoint": null,
3823
- "id": 16656,
3823
+ "id": 16654,
3824
3824
  "parameterSlots": 0,
3825
3825
  "returnSlots": 0
3826
3826
  },
3827
- "@mint_16911": {
3827
+ "@mint_16909": {
3828
3828
  "entryPoint": 1544,
3829
- "id": 16911,
3829
+ "id": 16909,
3830
3830
  "parameterSlots": 2,
3831
3831
  "returnSlots": 0
3832
3832
  },
3833
- "@name_16647": {
3833
+ "@name_16645": {
3834
3834
  "entryPoint": 1076,
3835
- "id": 16647,
3835
+ "id": 16645,
3836
3836
  "parameterSlots": 0,
3837
3837
  "returnSlots": 0
3838
3838
  },
3839
- "@nonce_16628": {
3839
+ "@nonce_16626": {
3840
3840
  "entryPoint": null,
3841
- "id": 16628,
3841
+ "id": 16626,
3842
3842
  "parameterSlots": 0,
3843
3843
  "returnSlots": 0
3844
3844
  },
3845
- "@owner_13278": {
3845
+ "@owner_13276": {
3846
3846
  "entryPoint": null,
3847
- "id": 13278,
3847
+ "id": 13276,
3848
3848
  "parameterSlots": 0,
3849
3849
  "returnSlots": 1
3850
3850
  },
3851
- "@permit_16862": {
3851
+ "@permit_16860": {
3852
3852
  "entryPoint": 2314,
3853
- "id": 16862,
3853
+ "id": 16860,
3854
3854
  "parameterSlots": 7,
3855
3855
  "returnSlots": 0
3856
3856
  },
3857
- "@renounceOwnership_13306": {
3857
+ "@renounceOwnership_13304": {
3858
3858
  "entryPoint": 1870,
3859
- "id": 13306,
3859
+ "id": 13304,
3860
3860
  "parameterSlots": 0,
3861
3861
  "returnSlots": 0
3862
3862
  },
3863
- "@symbol_16651": {
3863
+ "@symbol_16649": {
3864
3864
  "entryPoint": 2127,
3865
- "id": 16651,
3865
+ "id": 16649,
3866
3866
  "parameterSlots": 0,
3867
3867
  "returnSlots": 0
3868
3868
  },
3869
- "@totalSupply_16643": {
3869
+ "@totalSupply_16641": {
3870
3870
  "entryPoint": null,
3871
- "id": 16643,
3871
+ "id": 16641,
3872
3872
  "parameterSlots": 0,
3873
3873
  "returnSlots": 0
3874
3874
  },
3875
- "@transferFrom_16759": {
3875
+ "@transferFrom_16757": {
3876
3876
  "entryPoint": 1241,
3877
- "id": 16759,
3877
+ "id": 16757,
3878
3878
  "parameterSlots": 3,
3879
3879
  "returnSlots": 1
3880
3880
  },
3881
- "@transferOwnership_13329": {
3881
+ "@transferOwnership_13327": {
3882
3882
  "entryPoint": 3098,
3883
- "id": 13329,
3883
+ "id": 13327,
3884
3884
  "parameterSlots": 1,
3885
3885
  "returnSlots": 0
3886
3886
  },
3887
- "@transfer_16703": {
3887
+ "@transfer_16701": {
3888
3888
  "entryPoint": 2140,
3889
- "id": 16703,
3889
+ "id": 16701,
3890
3890
  "parameterSlots": 2,
3891
3891
  "returnSlots": 1
3892
3892
  },
@@ -14020,7 +14020,7 @@
14020
14020
  }
14021
14021
  ],
14022
14022
  "immutableReferences": {
14023
- "16630": [
14023
+ "16628": [
14024
14024
  {
14025
14025
  "length": 32,
14026
14026
  "start": 710
@@ -14030,7 +14030,7 @@
14030
14030
  "start": 1457
14031
14031
  }
14032
14032
  ],
14033
- "16632": [
14033
+ "16630": [
14034
14034
  {
14035
14035
  "length": 32,
14036
14036
  "start": 882
@@ -14109,7 +14109,7 @@
14109
14109
  "storageLayout": {
14110
14110
  "storage": [
14111
14111
  {
14112
- "astId": 13253,
14112
+ "astId": 13251,
14113
14113
  "contract": "contracts/test/TestERC20.sol:TestERC20",
14114
14114
  "label": "_owner",
14115
14115
  "offset": 0,
@@ -14117,7 +14117,7 @@
14117
14117
  "type": "t_address"
14118
14118
  },
14119
14119
  {
14120
- "astId": 16614,
14120
+ "astId": 16612,
14121
14121
  "contract": "contracts/test/TestERC20.sol:TestERC20",
14122
14122
  "label": "balanceOf",
14123
14123
  "offset": 0,
@@ -14125,7 +14125,7 @@
14125
14125
  "type": "t_mapping(t_address,t_uint256)"
14126
14126
  },
14127
14127
  {
14128
- "astId": 16622,
14128
+ "astId": 16620,
14129
14129
  "contract": "contracts/test/TestERC20.sol:TestERC20",
14130
14130
  "label": "allowance",
14131
14131
  "offset": 0,
@@ -14133,7 +14133,7 @@
14133
14133
  "type": "t_mapping(t_address,t_mapping(t_address,t_uint256))"
14134
14134
  },
14135
14135
  {
14136
- "astId": 16628,
14136
+ "astId": 16626,
14137
14137
  "contract": "contracts/test/TestERC20.sol:TestERC20",
14138
14138
  "label": "nonce",
14139
14139
  "offset": 0,
@@ -14141,7 +14141,7 @@
14141
14141
  "type": "t_mapping(t_address,t_uint256)"
14142
14142
  },
14143
14143
  {
14144
- "astId": 16643,
14144
+ "astId": 16641,
14145
14145
  "contract": "contracts/test/TestERC20.sol:TestERC20",
14146
14146
  "label": "totalSupply",
14147
14147
  "offset": 0,
@@ -14149,7 +14149,7 @@
14149
14149
  "type": "t_uint256"
14150
14150
  },
14151
14151
  {
14152
- "astId": 16647,
14152
+ "astId": 16645,
14153
14153
  "contract": "contracts/test/TestERC20.sol:TestERC20",
14154
14154
  "label": "name",
14155
14155
  "offset": 0,
@@ -14157,7 +14157,7 @@
14157
14157
  "type": "t_string_storage"
14158
14158
  },
14159
14159
  {
14160
- "astId": 16651,
14160
+ "astId": 16649,
14161
14161
  "contract": "contracts/test/TestERC20.sol:TestERC20",
14162
14162
  "label": "symbol",
14163
14163
  "offset": 0,