@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
@@ -658,33 +658,33 @@
658
658
  "evm": {
659
659
  "bytecode": {
660
660
  "functionDebugData": {
661
- "@_13269": {
661
+ "@_13267": {
662
662
  "entryPoint": null,
663
- "id": 13269,
663
+ "id": 13267,
664
664
  "parameterSlots": 0,
665
665
  "returnSlots": 0
666
666
  },
667
- "@_17976": {
667
+ "@_17974": {
668
668
  "entryPoint": null,
669
- "id": 17976,
669
+ "id": 17974,
670
670
  "parameterSlots": 0,
671
671
  "returnSlots": 0
672
672
  },
673
- "@_msgSender_15794": {
673
+ "@_msgSender_15792": {
674
674
  "entryPoint": null,
675
- "id": 15794,
675
+ "id": 15792,
676
676
  "parameterSlots": 0,
677
677
  "returnSlots": 1
678
678
  },
679
- "@_transferOwnership_13349": {
679
+ "@_transferOwnership_13347": {
680
680
  "entryPoint": 249,
681
- "id": 13349,
681
+ "id": 13347,
682
682
  "parameterSlots": 1,
683
683
  "returnSlots": 0
684
684
  },
685
- "@buildDomainSeparator_18610": {
685
+ "@buildDomainSeparator_18608": {
686
686
  "entryPoint": null,
687
- "id": 18610,
687
+ "id": 18608,
688
688
  "parameterSlots": 0,
689
689
  "returnSlots": 1
690
690
  },
@@ -1062,183 +1062,183 @@
1062
1062
  },
1063
1063
  "deployedBytecode": {
1064
1064
  "functionDebugData": {
1065
- "@DOMAIN_SEPARATOR_18450": {
1065
+ "@DOMAIN_SEPARATOR_18448": {
1066
1066
  "entryPoint": 1473,
1067
- "id": 18450,
1067
+ "id": 18448,
1068
1068
  "parameterSlots": 0,
1069
1069
  "returnSlots": 1
1070
1070
  },
1071
- "@PERMIT_TYPEHASH_17915": {
1071
+ "@PERMIT_TYPEHASH_17913": {
1072
1072
  "entryPoint": null,
1073
- "id": 17915,
1073
+ "id": 17913,
1074
1074
  "parameterSlots": 0,
1075
1075
  "returnSlots": 0
1076
1076
  },
1077
- "@_approveBalance_18577": {
1077
+ "@_approveBalance_18575": {
1078
1078
  "entryPoint": 4346,
1079
- "id": 18577,
1079
+ "id": 18575,
1080
1080
  "parameterSlots": 3,
1081
1081
  "returnSlots": 0
1082
1082
  },
1083
- "@_increaseBalance_18479": {
1083
+ "@_increaseBalance_18477": {
1084
1084
  "entryPoint": 4567,
1085
- "id": 18479,
1085
+ "id": 18477,
1086
1086
  "parameterSlots": 2,
1087
1087
  "returnSlots": 0
1088
1088
  },
1089
- "@_msgSender_15794": {
1089
+ "@_msgSender_15792": {
1090
1090
  "entryPoint": null,
1091
- "id": 15794,
1091
+ "id": 15792,
1092
1092
  "parameterSlots": 0,
1093
1093
  "returnSlots": 1
1094
1094
  },
1095
- "@_transferBalance_18543": {
1095
+ "@_transferBalance_18541": {
1096
1096
  "entryPoint": 4804,
1097
- "id": 18543,
1097
+ "id": 18541,
1098
1098
  "parameterSlots": 3,
1099
1099
  "returnSlots": 0
1100
1100
  },
1101
- "@_transferOwnership_13349": {
1101
+ "@_transferOwnership_13347": {
1102
1102
  "entryPoint": 5252,
1103
- "id": 13349,
1103
+ "id": 13347,
1104
1104
  "parameterSlots": 1,
1105
1105
  "returnSlots": 0
1106
1106
  },
1107
- "@allowance_17900": {
1107
+ "@allowance_17898": {
1108
1108
  "entryPoint": null,
1109
- "id": 17900,
1109
+ "id": 17898,
1110
1110
  "parameterSlots": 0,
1111
1111
  "returnSlots": 0
1112
1112
  },
1113
- "@approveBalanceAndCall_18079": {
1113
+ "@approveBalanceAndCall_18077": {
1114
1114
  "entryPoint": 2075,
1115
- "id": 18079,
1115
+ "id": 18077,
1116
1116
  "parameterSlots": 4,
1117
1117
  "returnSlots": 0
1118
1118
  },
1119
- "@approveBalance_18051": {
1119
+ "@approveBalance_18049": {
1120
1120
  "entryPoint": 1900,
1121
- "id": 18051,
1121
+ "id": 18049,
1122
1122
  "parameterSlots": 2,
1123
1123
  "returnSlots": 0
1124
1124
  },
1125
- "@balanceOf_17893": {
1125
+ "@balanceOf_17891": {
1126
1126
  "entryPoint": null,
1127
- "id": 17893,
1127
+ "id": 17891,
1128
1128
  "parameterSlots": 0,
1129
1129
  "returnSlots": 0
1130
1130
  },
1131
- "@bridge_17888": {
1131
+ "@bridge_17886": {
1132
1132
  "entryPoint": null,
1133
- "id": 17888,
1133
+ "id": 17886,
1134
1134
  "parameterSlots": 0,
1135
1135
  "returnSlots": 0
1136
1136
  },
1137
- "@buildDomainSeparator_18610": {
1137
+ "@buildDomainSeparator_18608": {
1138
1138
  "entryPoint": null,
1139
- "id": 18610,
1139
+ "id": 18608,
1140
1140
  "parameterSlots": 0,
1141
1141
  "returnSlots": 1
1142
1142
  },
1143
- "@cachedChainId_17907": {
1143
+ "@cachedChainId_17905": {
1144
1144
  "entryPoint": null,
1145
- "id": 17907,
1145
+ "id": 17905,
1146
1146
  "parameterSlots": 0,
1147
1147
  "returnSlots": 0
1148
1148
  },
1149
- "@cachedDomainSeparator_17909": {
1149
+ "@cachedDomainSeparator_17907": {
1150
1150
  "entryPoint": null,
1151
- "id": 17909,
1151
+ "id": 17907,
1152
1152
  "parameterSlots": 0,
1153
1153
  "returnSlots": 0
1154
1154
  },
1155
- "@decreaseBalanceAllowance_18137": {
1155
+ "@decreaseBalanceAllowance_18135": {
1156
1156
  "entryPoint": 1019,
1157
- "id": 18137,
1157
+ "id": 18135,
1158
1158
  "parameterSlots": 2,
1159
1159
  "returnSlots": 0
1160
1160
  },
1161
- "@decreaseBalance_18431": {
1161
+ "@decreaseBalance_18429": {
1162
1162
  "entryPoint": 1808,
1163
- "id": 18431,
1163
+ "id": 18429,
1164
1164
  "parameterSlots": 1,
1165
1165
  "returnSlots": 0
1166
1166
  },
1167
- "@increaseBalanceAllowance_18102": {
1167
+ "@increaseBalanceAllowance_18100": {
1168
1168
  "entryPoint": 2328,
1169
- "id": 18102,
1169
+ "id": 18100,
1170
1170
  "parameterSlots": 2,
1171
1171
  "returnSlots": 0
1172
1172
  },
1173
- "@increaseBalanceAndCall_18411": {
1173
+ "@increaseBalanceAndCall_18409": {
1174
1174
  "entryPoint": 2955,
1175
- "id": 18411,
1175
+ "id": 18409,
1176
1176
  "parameterSlots": 5,
1177
1177
  "returnSlots": 0
1178
1178
  },
1179
- "@increaseBalance_18351": {
1179
+ "@increaseBalance_18349": {
1180
1180
  "entryPoint": 2228,
1181
- "id": 18351,
1181
+ "id": 18349,
1182
1182
  "parameterSlots": 2,
1183
1183
  "returnSlots": 0
1184
1184
  },
1185
- "@increaseBalances_18335": {
1185
+ "@increaseBalances_18333": {
1186
1186
  "entryPoint": 1196,
1187
- "id": 18335,
1187
+ "id": 18333,
1188
1188
  "parameterSlots": 4,
1189
1189
  "returnSlots": 0
1190
1190
  },
1191
- "@nonces_17905": {
1191
+ "@nonces_17903": {
1192
1192
  "entryPoint": null,
1193
- "id": 17905,
1193
+ "id": 17903,
1194
1194
  "parameterSlots": 0,
1195
1195
  "returnSlots": 0
1196
1196
  },
1197
- "@owner_13278": {
1197
+ "@owner_13276": {
1198
1198
  "entryPoint": null,
1199
- "id": 13278,
1199
+ "id": 13276,
1200
1200
  "parameterSlots": 0,
1201
1201
  "returnSlots": 1
1202
1202
  },
1203
- "@permit_18291": {
1203
+ "@permit_18289": {
1204
1204
  "entryPoint": 3336,
1205
- "id": 18291,
1205
+ "id": 18289,
1206
1206
  "parameterSlots": 7,
1207
1207
  "returnSlots": 0
1208
1208
  },
1209
- "@renounceOwnership_13306": {
1209
+ "@renounceOwnership_13304": {
1210
1210
  "entryPoint": 2660,
1211
- "id": 13306,
1211
+ "id": 13304,
1212
1212
  "parameterSlots": 0,
1213
1213
  "returnSlots": 0
1214
1214
  },
1215
- "@setBalance_32536": {
1215
+ "@setBalance_32534": {
1216
1216
  "entryPoint": null,
1217
- "id": 32536,
1217
+ "id": 32534,
1218
1218
  "parameterSlots": 2,
1219
1219
  "returnSlots": 0
1220
1220
  },
1221
- "@transferBalanceFrom_18189": {
1221
+ "@transferBalanceFrom_18187": {
1222
1222
  "entryPoint": 2762,
1223
- "id": 18189,
1223
+ "id": 18187,
1224
1224
  "parameterSlots": 3,
1225
1225
  "returnSlots": 0
1226
1226
  },
1227
- "@transferBalance_18019": {
1227
+ "@transferBalance_18017": {
1228
1228
  "entryPoint": 2217,
1229
- "id": 18019,
1229
+ "id": 18017,
1230
1230
  "parameterSlots": 2,
1231
1231
  "returnSlots": 0
1232
1232
  },
1233
- "@transferOwnership_13329": {
1233
+ "@transferOwnership_13327": {
1234
1234
  "entryPoint": 4120,
1235
- "id": 13329,
1235
+ "id": 13327,
1236
1236
  "parameterSlots": 1,
1237
1237
  "returnSlots": 0
1238
1238
  },
1239
- "@updateBridge_18003": {
1239
+ "@updateBridge_18001": {
1240
1240
  "entryPoint": 2387,
1241
- "id": 18003,
1241
+ "id": 18001,
1242
1242
  "parameterSlots": 1,
1243
1243
  "returnSlots": 0
1244
1244
  },
@@ -11753,7 +11753,7 @@
11753
11753
  }
11754
11754
  ],
11755
11755
  "immutableReferences": {
11756
- "17907": [
11756
+ "17905": [
11757
11757
  {
11758
11758
  "length": 32,
11759
11759
  "start": 697
@@ -11763,7 +11763,7 @@
11763
11763
  "start": 1477
11764
11764
  }
11765
11765
  ],
11766
- "17909": [
11766
+ "17907": [
11767
11767
  {
11768
11768
  "length": 32,
11769
11769
  "start": 824
@@ -11842,7 +11842,7 @@
11842
11842
  "storageLayout": {
11843
11843
  "storage": [
11844
11844
  {
11845
- "astId": 13253,
11845
+ "astId": 13251,
11846
11846
  "contract": "contracts/test/BankStub.sol:BankStub",
11847
11847
  "label": "_owner",
11848
11848
  "offset": 0,
@@ -11850,7 +11850,7 @@
11850
11850
  "type": "t_address"
11851
11851
  },
11852
11852
  {
11853
- "astId": 17888,
11853
+ "astId": 17886,
11854
11854
  "contract": "contracts/test/BankStub.sol:BankStub",
11855
11855
  "label": "bridge",
11856
11856
  "offset": 0,
@@ -11858,7 +11858,7 @@
11858
11858
  "type": "t_address"
11859
11859
  },
11860
11860
  {
11861
- "astId": 17893,
11861
+ "astId": 17891,
11862
11862
  "contract": "contracts/test/BankStub.sol:BankStub",
11863
11863
  "label": "balanceOf",
11864
11864
  "offset": 0,
@@ -11866,7 +11866,7 @@
11866
11866
  "type": "t_mapping(t_address,t_uint256)"
11867
11867
  },
11868
11868
  {
11869
- "astId": 17900,
11869
+ "astId": 17898,
11870
11870
  "contract": "contracts/test/BankStub.sol:BankStub",
11871
11871
  "label": "allowance",
11872
11872
  "offset": 0,
@@ -11874,7 +11874,7 @@
11874
11874
  "type": "t_mapping(t_address,t_mapping(t_address,t_uint256))"
11875
11875
  },
11876
11876
  {
11877
- "astId": 17905,
11877
+ "astId": 17903,
11878
11878
  "contract": "contracts/test/BankStub.sol:BankStub",
11879
11879
  "label": "nonces",
11880
11880
  "offset": 0,