@keep-network/tbtc-v2 1.5.0-goerli.0 → 1.5.1
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/.chainId +1 -1
- package/artifacts/Bank.json +23 -23
- package/artifacts/Bridge.json +26 -39
- package/artifacts/BridgeGovernance.json +25 -25
- package/artifacts/BridgeGovernanceParameters.json +10 -10
- package/artifacts/Deposit.json +14 -14
- package/artifacts/DepositSweep.json +13 -13
- package/artifacts/DonationVault.json +14 -14
- package/artifacts/Fraud.json +13 -13
- package/artifacts/LightRelay.json +52 -70
- package/artifacts/LightRelayMaintainerProxy.json +28 -28
- package/artifacts/MaintainerProxy.json +47 -47
- package/artifacts/MovingFunds.json +13 -13
- package/artifacts/Redemption.json +13 -13
- package/artifacts/TBTC.json +36 -37
- package/artifacts/TBTCVault.json +47 -47
- package/artifacts/VendingMachine.json +34 -35
- package/artifacts/VendingMachineV2.json +360 -0
- package/artifacts/VendingMachineV3.json +405 -0
- package/artifacts/WalletCoordinator.json +58 -20
- package/artifacts/Wallets.json +13 -13
- package/artifacts/solcInputs/7cc3eda3cb3ff2522d18b5e7b31ea228.json +102 -0
- package/artifacts/solcInputs/802132f7da69a8a4226cb9424480847b.json +218 -0
- package/artifacts/solcInputs/{f862bd134ddc06352fa5be0644481600.json → 887fad6b16575ba42183543c324eeb0e.json} +6 -6
- package/artifacts/solcInputs/{037e4828b80945fc4739f966d98aa575.json → b0025f1f7efe4824592ac0c9793776c3.json} +3 -18
- package/artifacts/solcInputs/{bd85e9d9f3c6834572e1a00ba6963ba0.json → d71d4b4434e6669852eaf643ebd2a7bc.json} +2 -2
- package/artifacts/solcInputs/{deff85fc9ae9b5be07226c67809262df.json → fccb130292c8c7cc958ab4fa31a3e180.json} +3 -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/bank/IReceiveBalanceApproval.sol/IReceiveBalanceApproval.dbg.json +1 -1
- package/build/contracts/bridge/BitcoinTx.sol/BitcoinTx.dbg.json +1 -1
- package/build/contracts/bridge/Bridge.sol/Bridge.dbg.json +1 -1
- package/build/contracts/bridge/BridgeGovernanceParameters.sol/BridgeGovernanceParameters.dbg.json +1 -1
- package/build/contracts/bridge/BridgeState.sol/BridgeState.dbg.json +1 -1
- package/build/contracts/bridge/Deposit.sol/Deposit.dbg.json +1 -1
- package/build/contracts/bridge/DepositSweep.sol/DepositSweep.dbg.json +1 -1
- 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/Heartbeat.sol/Heartbeat.dbg.json +1 -1
- 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/Redemption.sol/OutboundTx.dbg.json +1 -1
- package/build/contracts/bridge/Redemption.sol/Redemption.dbg.json +1 -1
- package/build/contracts/bridge/VendingMachine.sol/VendingMachine.dbg.json +1 -1
- package/build/contracts/bridge/VendingMachineV2.sol/VendingMachineV2.dbg.json +1 -1
- package/build/contracts/bridge/VendingMachineV3.sol/VendingMachineV3.dbg.json +1 -1
- package/build/contracts/bridge/WalletCoordinator.sol/WalletCoordinator.dbg.json +1 -1
- package/build/contracts/bridge/Wallets.sol/Wallets.dbg.json +1 -1
- package/build/contracts/l2/L2TBTC.sol/L2TBTC.dbg.json +1 -1
- package/build/contracts/l2/L2WormholeGateway.sol/IWormholeTokenBridge.dbg.json +1 -1
- package/build/contracts/l2/L2WormholeGateway.sol/L2WormholeGateway.dbg.json +1 -1
- package/build/contracts/l2/L2WormholeGateway.sol/L2WormholeGateway.json +2 -15
- package/build/contracts/maintainer/MaintainerProxy.sol/MaintainerProxy.dbg.json +1 -1
- package/build/contracts/relay/LightRelay.sol/ILightRelay.dbg.json +1 -1
- package/build/contracts/relay/LightRelay.sol/LightRelay.dbg.json +1 -1
- package/build/contracts/relay/LightRelay.sol/RelayUtils.dbg.json +1 -1
- package/build/contracts/relay/LightRelayMaintainerProxy.sol/LightRelayMaintainerProxy.dbg.json +1 -1
- package/build/contracts/token/TBTC.sol/TBTC.dbg.json +1 -1
- package/build/contracts/vault/DonationVault.sol/DonationVault.dbg.json +1 -1
- package/build/contracts/vault/IVault.sol/IVault.dbg.json +1 -1
- package/build/contracts/vault/TBTCOptimisticMinting.sol/TBTCOptimisticMinting.dbg.json +1 -1
- package/build/contracts/vault/TBTCVault.sol/TBTCVault.dbg.json +1 -1
- package/contracts/l2/L2WormholeGateway.sol +7 -27
- package/deploy/81_upgrade_wallet_coordinator_v2.ts +99 -0
- package/export/artifacts/@keep-network/bitcoin-spv-sol/contracts/BTCUtils.sol/BTCUtils.json +20 -20
- package/export/artifacts/@keep-network/ecdsa/contracts/EcdsaDkgValidator.sol/EcdsaDkgValidator.json +2010 -2010
- package/export/artifacts/@keep-network/ecdsa/contracts/WalletRegistry.sol/WalletRegistry.json +383 -383
- package/export/artifacts/@keep-network/ecdsa/contracts/libraries/EcdsaDkg.sol/EcdsaDkg.json +22 -22
- package/export/artifacts/@keep-network/ecdsa/contracts/libraries/EcdsaInactivity.sol/EcdsaInactivity.json +1859 -1859
- package/export/artifacts/@keep-network/random-beacon/contracts/ReimbursementPool.sol/ReimbursementPool.json +598 -598
- package/export/artifacts/contracts/bridge/Bridge.sol/Bridge.json +7381 -7381
- package/export/artifacts/contracts/bridge/VendingMachine.sol/VendingMachine.json +6 -6
- package/export/artifacts/contracts/bridge/VendingMachineV2.sol/VendingMachineV2.json +6 -6
- package/export/artifacts/contracts/bridge/VendingMachineV3.sol/VendingMachineV3.json +6 -6
- package/export/artifacts/contracts/bridge/WalletCoordinator.sol/WalletCoordinator.json +5563 -5563
- package/export/artifacts/contracts/l2/L2TBTC.sol/L2TBTC.json +40 -40
- package/export/artifacts/contracts/l2/L2WormholeGateway.sol/L2WormholeGateway.json +3064 -3532
- package/export/artifacts/contracts/maintainer/MaintainerProxy.sol/MaintainerProxy.json +2454 -2454
- package/export/artifacts/contracts/relay/LightRelay.sol/LightRelay.json +1941 -1941
- package/export/artifacts/contracts/relay/LightRelayMaintainerProxy.sol/LightRelayMaintainerProxy.json +1044 -1044
- package/export/artifacts/contracts/test/BankStub.sol/BankStub.json +2 -2
- package/export/artifacts/contracts/test/BridgeStub.sol/BridgeStub.json +8422 -8422
- package/export/artifacts/contracts/test/GoerliLightRelay.sol/GoerliLightRelay.json +1943 -1943
- package/export/artifacts/contracts/test/HeartbeatStub.sol/HeartbeatStub.json +2 -2
- package/export/artifacts/contracts/test/LightRelayStub.sol/LightRelayStub.json +2066 -2066
- package/export/artifacts/contracts/test/ReceiveApprovalStub.sol/ReceiveApprovalStub.json +7 -7
- package/export/artifacts/contracts/test/SystemTestRelay.sol/SystemTestRelay.json +568 -568
- package/export/artifacts/contracts/test/TestERC20.sol/TestERC20.json +6 -6
- package/export/artifacts/contracts/test/TestERC721.sol/TestERC721.json +8 -8
- package/export/artifacts/contracts/test/TestEcdsaLib.sol/TestEcdsaLib.json +2 -2
- package/export/artifacts/contracts/test/WormholeBridgeStub.sol/WormholeBridgeStub.json +42 -42
- package/export/artifacts/contracts/token/TBTC.sol/TBTC.json +2 -2
- package/export/artifacts/contracts/vault/DonationVault.sol/DonationVault.json +11 -11
- package/export/artifacts/contracts/vault/TBTCVault.sol/TBTCVault.json +3525 -3525
- package/export/deploy/81_upgrade_wallet_coordinator_v2.js +140 -0
- package/export/hardhat.config.js +7 -0
- package/export/typechain/factories/EcdsaAuthorization__factory.js +1 -1
- package/export/typechain/factories/IStaking__factory.js +13 -0
- package/export/typechain/factories/L2WormholeGateway__factory.js +1 -14
- package/export/typechain/factories/WalletRegistry__factory.js +1 -1
- package/export/typechain/factories/WormholeBridgeStub__factory.js +1 -1
- package/export.json +267 -0
- package/package.json +5 -4
- package/artifacts/.DS_Store +0 -0
- package/export/deploy/35_transfer_wallet_coordinator_ownership.js +0 -60
- package/export/deploy/36_deploy_light_relay_maintainer_proxy.js +0 -86
- package/export/deploy/37_authorize_maintainer_in_light_relay_maintainer_proxy.js +0 -65
- package/export/deploy/38_transfer_light_relay_maintainer_proxy_ownership.js +0 -60
- package/export/deploy/39_authorize_light_relay_maintainer_proxy_in_reimbursement_pool.js +0 -70
- package/export/deploy/40_authorize_light_relay_maintainer_proxy_in_light_relay.js +0 -66
|
@@ -1133,15 +1133,15 @@
|
|
|
1133
1133
|
"parameterSlots": 1,
|
|
1134
1134
|
"returnSlots": 1
|
|
1135
1135
|
},
|
|
1136
|
-
"@
|
|
1136
|
+
"@addGuardian_37327": {
|
|
1137
1137
|
"entryPoint": 3945,
|
|
1138
|
-
"id":
|
|
1138
|
+
"id": 37327,
|
|
1139
1139
|
"parameterSlots": 1,
|
|
1140
1140
|
"returnSlots": 0
|
|
1141
1141
|
},
|
|
1142
|
-
"@
|
|
1142
|
+
"@addMinter_37232": {
|
|
1143
1143
|
"entryPoint": 3519,
|
|
1144
|
-
"id":
|
|
1144
|
+
"id": 37232,
|
|
1145
1145
|
"parameterSlots": 1,
|
|
1146
1146
|
"returnSlots": 0
|
|
1147
1147
|
},
|
|
@@ -1169,9 +1169,9 @@
|
|
|
1169
1169
|
"parameterSlots": 2,
|
|
1170
1170
|
"returnSlots": 0
|
|
1171
1171
|
},
|
|
1172
|
-
"@
|
|
1172
|
+
"@burnFrom_37511": {
|
|
1173
1173
|
"entryPoint": 3309,
|
|
1174
|
-
"id":
|
|
1174
|
+
"id": 37511,
|
|
1175
1175
|
"parameterSlots": 2,
|
|
1176
1176
|
"returnSlots": 0
|
|
1177
1177
|
},
|
|
@@ -1181,9 +1181,9 @@
|
|
|
1181
1181
|
"parameterSlots": 1,
|
|
1182
1182
|
"returnSlots": 0
|
|
1183
1183
|
},
|
|
1184
|
-
"@
|
|
1184
|
+
"@burn_37492": {
|
|
1185
1185
|
"entryPoint": 2381,
|
|
1186
|
-
"id":
|
|
1186
|
+
"id": 37492,
|
|
1187
1187
|
"parameterSlots": 1,
|
|
1188
1188
|
"returnSlots": 0
|
|
1189
1189
|
},
|
|
@@ -1217,21 +1217,21 @@
|
|
|
1217
1217
|
"parameterSlots": 3,
|
|
1218
1218
|
"returnSlots": 1
|
|
1219
1219
|
},
|
|
1220
|
-
"@
|
|
1220
|
+
"@getGuardians_37531": {
|
|
1221
1221
|
"entryPoint": 1362,
|
|
1222
|
-
"id":
|
|
1222
|
+
"id": 37531,
|
|
1223
1223
|
"parameterSlots": 0,
|
|
1224
1224
|
"returnSlots": 1
|
|
1225
1225
|
},
|
|
1226
|
-
"@
|
|
1226
|
+
"@getMinters_37521": {
|
|
1227
1227
|
"entryPoint": 2725,
|
|
1228
|
-
"id":
|
|
1228
|
+
"id": 37521,
|
|
1229
1229
|
"parameterSlots": 0,
|
|
1230
1230
|
"returnSlots": 1
|
|
1231
1231
|
},
|
|
1232
|
-
"@
|
|
1232
|
+
"@guardians_37130": {
|
|
1233
1233
|
"entryPoint": 4750,
|
|
1234
|
-
"id":
|
|
1234
|
+
"id": 37130,
|
|
1235
1235
|
"parameterSlots": 0,
|
|
1236
1236
|
"returnSlots": 0
|
|
1237
1237
|
},
|
|
@@ -1247,9 +1247,9 @@
|
|
|
1247
1247
|
"parameterSlots": 1,
|
|
1248
1248
|
"returnSlots": 0
|
|
1249
1249
|
},
|
|
1250
|
-
"@
|
|
1250
|
+
"@initialize_37199": {
|
|
1251
1251
|
"entryPoint": 2401,
|
|
1252
|
-
"id":
|
|
1252
|
+
"id": 37199,
|
|
1253
1253
|
"parameterSlots": 2,
|
|
1254
1254
|
"returnSlots": 0
|
|
1255
1255
|
},
|
|
@@ -1259,27 +1259,27 @@
|
|
|
1259
1259
|
"parameterSlots": 1,
|
|
1260
1260
|
"returnSlots": 1
|
|
1261
1261
|
},
|
|
1262
|
-
"@
|
|
1262
|
+
"@isGuardian_37126": {
|
|
1263
1263
|
"entryPoint": null,
|
|
1264
|
-
"id":
|
|
1264
|
+
"id": 37126,
|
|
1265
1265
|
"parameterSlots": 0,
|
|
1266
1266
|
"returnSlots": 0
|
|
1267
1267
|
},
|
|
1268
|
-
"@
|
|
1268
|
+
"@isMinter_37117": {
|
|
1269
1269
|
"entryPoint": null,
|
|
1270
|
-
"id":
|
|
1270
|
+
"id": 37117,
|
|
1271
1271
|
"parameterSlots": 0,
|
|
1272
1272
|
"returnSlots": 0
|
|
1273
1273
|
},
|
|
1274
|
-
"@
|
|
1274
|
+
"@mint_37476": {
|
|
1275
1275
|
"entryPoint": 2263,
|
|
1276
|
-
"id":
|
|
1276
|
+
"id": 37476,
|
|
1277
1277
|
"parameterSlots": 2,
|
|
1278
1278
|
"returnSlots": 0
|
|
1279
1279
|
},
|
|
1280
|
-
"@
|
|
1280
|
+
"@minters_37121": {
|
|
1281
1281
|
"entryPoint": 3461,
|
|
1282
|
-
"id":
|
|
1282
|
+
"id": 37121,
|
|
1283
1283
|
"parameterSlots": 0,
|
|
1284
1284
|
"returnSlots": 0
|
|
1285
1285
|
},
|
|
@@ -1301,9 +1301,9 @@
|
|
|
1301
1301
|
"parameterSlots": 0,
|
|
1302
1302
|
"returnSlots": 1
|
|
1303
1303
|
},
|
|
1304
|
-
"@
|
|
1304
|
+
"@pause_37448": {
|
|
1305
1305
|
"entryPoint": 3357,
|
|
1306
|
-
"id":
|
|
1306
|
+
"id": 37448,
|
|
1307
1307
|
"parameterSlots": 0,
|
|
1308
1308
|
"returnSlots": 0
|
|
1309
1309
|
},
|
|
@@ -1319,15 +1319,15 @@
|
|
|
1319
1319
|
"parameterSlots": 7,
|
|
1320
1320
|
"returnSlots": 0
|
|
1321
1321
|
},
|
|
1322
|
-
"@
|
|
1322
|
+
"@recoverERC20_37410": {
|
|
1323
1323
|
"entryPoint": 1624,
|
|
1324
|
-
"id":
|
|
1324
|
+
"id": 37410,
|
|
1325
1325
|
"parameterSlots": 3,
|
|
1326
1326
|
"returnSlots": 0
|
|
1327
1327
|
},
|
|
1328
|
-
"@
|
|
1328
|
+
"@recoverERC721_37438": {
|
|
1329
1329
|
"entryPoint": 4767,
|
|
1330
|
-
"id":
|
|
1330
|
+
"id": 37438,
|
|
1331
1331
|
"parameterSlots": 5,
|
|
1332
1332
|
"returnSlots": 0
|
|
1333
1333
|
},
|
|
@@ -1337,15 +1337,15 @@
|
|
|
1337
1337
|
"parameterSlots": 4,
|
|
1338
1338
|
"returnSlots": 1
|
|
1339
1339
|
},
|
|
1340
|
-
"@
|
|
1340
|
+
"@removeGuardian_37389": {
|
|
1341
1341
|
"entryPoint": 2822,
|
|
1342
|
-
"id":
|
|
1342
|
+
"id": 37389,
|
|
1343
1343
|
"parameterSlots": 1,
|
|
1344
1344
|
"returnSlots": 0
|
|
1345
1345
|
},
|
|
1346
|
-
"@
|
|
1346
|
+
"@removeMinter_37294": {
|
|
1347
1347
|
"entryPoint": 1693,
|
|
1348
|
-
"id":
|
|
1348
|
+
"id": 37294,
|
|
1349
1349
|
"parameterSlots": 1,
|
|
1350
1350
|
"returnSlots": 0
|
|
1351
1351
|
},
|
|
@@ -1403,9 +1403,9 @@
|
|
|
1403
1403
|
"parameterSlots": 4,
|
|
1404
1404
|
"returnSlots": 2
|
|
1405
1405
|
},
|
|
1406
|
-
"@
|
|
1406
|
+
"@unpause_37458": {
|
|
1407
1407
|
"entryPoint": 2245,
|
|
1408
|
-
"id":
|
|
1408
|
+
"id": 37458,
|
|
1409
1409
|
"parameterSlots": 0,
|
|
1410
1410
|
"returnSlots": 0
|
|
1411
1411
|
},
|
|
@@ -18876,7 +18876,7 @@
|
|
|
18876
18876
|
"type": "t_array(t_uint256)49_storage"
|
|
18877
18877
|
},
|
|
18878
18878
|
{
|
|
18879
|
-
"astId":
|
|
18879
|
+
"astId": 37117,
|
|
18880
18880
|
"contract": "contracts/l2/L2TBTC.sol:L2TBTC",
|
|
18881
18881
|
"label": "isMinter",
|
|
18882
18882
|
"offset": 0,
|
|
@@ -18884,7 +18884,7 @@
|
|
|
18884
18884
|
"type": "t_mapping(t_address,t_bool)"
|
|
18885
18885
|
},
|
|
18886
18886
|
{
|
|
18887
|
-
"astId":
|
|
18887
|
+
"astId": 37121,
|
|
18888
18888
|
"contract": "contracts/l2/L2TBTC.sol:L2TBTC",
|
|
18889
18889
|
"label": "minters",
|
|
18890
18890
|
"offset": 0,
|
|
@@ -18892,7 +18892,7 @@
|
|
|
18892
18892
|
"type": "t_array(t_address)dyn_storage"
|
|
18893
18893
|
},
|
|
18894
18894
|
{
|
|
18895
|
-
"astId":
|
|
18895
|
+
"astId": 37126,
|
|
18896
18896
|
"contract": "contracts/l2/L2TBTC.sol:L2TBTC",
|
|
18897
18897
|
"label": "isGuardian",
|
|
18898
18898
|
"offset": 0,
|
|
@@ -18900,7 +18900,7 @@
|
|
|
18900
18900
|
"type": "t_mapping(t_address,t_bool)"
|
|
18901
18901
|
},
|
|
18902
18902
|
{
|
|
18903
|
-
"astId":
|
|
18903
|
+
"astId": 37130,
|
|
18904
18904
|
"contract": "contracts/l2/L2TBTC.sol:L2TBTC",
|
|
18905
18905
|
"label": "guardians",
|
|
18906
18906
|
"offset": 0,
|