@keep-network/tbtc-v2 1.6.0-dev.0 → 1.6.0-dev.2

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 (148) hide show
  1. package/artifacts/BLS.json +1 -1
  2. package/artifacts/Bank.json +3 -3
  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/DonationVault.json +3 -3
  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 +2 -2
  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 +18 -18
  23. package/artifacts/LightRelayMaintainerProxy.json +8 -8
  24. package/artifacts/MaintainerProxy.json +19 -19
  25. package/artifacts/MovingFunds.json +2 -2
  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 +2 -2
  32. package/artifacts/ReimbursementPool.json +2 -2
  33. package/artifacts/T.json +2 -2
  34. package/artifacts/TBTC.json +3 -3
  35. package/artifacts/TBTCToken.json +3 -3
  36. package/artifacts/TBTCVault.json +23 -23
  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 +3 -3
  41. package/artifacts/VendingMachineKeep.json +1 -1
  42. package/artifacts/VendingMachineNuCypher.json +1 -1
  43. package/artifacts/VendingMachineV2.json +3 -3
  44. package/artifacts/VendingMachineV3.json +3 -3
  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 +2 -2
  49. package/artifacts/solcInputs/{6cc4a0b423ac26dbfcae644b54bee6ae.json → d2d7e276da75d7184610fe11a4a103b7.json} +4 -1
  50. package/build/contracts/GovernanceUtils.sol/GovernanceUtils.dbg.json +1 -1
  51. package/build/contracts/bank/Bank.sol/Bank.dbg.json +1 -1
  52. package/build/contracts/bank/IReceiveBalanceApproval.sol/IReceiveBalanceApproval.dbg.json +1 -1
  53. package/build/contracts/bridge/BitcoinTx.sol/BitcoinTx.dbg.json +1 -1
  54. package/build/contracts/bridge/Bridge.sol/Bridge.dbg.json +1 -1
  55. package/build/contracts/bridge/BridgeGovernanceParameters.sol/BridgeGovernanceParameters.dbg.json +1 -1
  56. package/build/contracts/bridge/BridgeState.sol/BridgeState.dbg.json +1 -1
  57. package/build/contracts/bridge/Deposit.sol/Deposit.dbg.json +1 -1
  58. package/build/contracts/bridge/DepositSweep.sol/DepositSweep.dbg.json +1 -1
  59. package/build/contracts/bridge/EcdsaLib.sol/EcdsaLib.dbg.json +1 -1
  60. package/build/contracts/bridge/Fraud.sol/Fraud.dbg.json +1 -1
  61. package/build/contracts/bridge/Heartbeat.sol/Heartbeat.dbg.json +1 -1
  62. package/build/contracts/bridge/IRelay.sol/IRelay.dbg.json +1 -1
  63. package/build/contracts/bridge/MovingFunds.sol/MovingFunds.dbg.json +1 -1
  64. package/build/contracts/bridge/Redemption.sol/OutboundTx.dbg.json +1 -1
  65. package/build/contracts/bridge/Redemption.sol/Redemption.dbg.json +1 -1
  66. package/build/contracts/bridge/VendingMachine.sol/VendingMachine.dbg.json +1 -1
  67. package/build/contracts/bridge/VendingMachineV2.sol/VendingMachineV2.dbg.json +1 -1
  68. package/build/contracts/bridge/VendingMachineV3.sol/VendingMachineV3.dbg.json +1 -1
  69. package/build/contracts/bridge/WalletCoordinator.sol/WalletCoordinator.dbg.json +1 -1
  70. package/build/contracts/bridge/Wallets.sol/Wallets.dbg.json +1 -1
  71. package/build/contracts/l2/L2TBTC.sol/L2TBTC.dbg.json +1 -1
  72. package/build/contracts/l2/L2WormholeGateway.sol/IWormholeTokenBridge.dbg.json +1 -1
  73. package/build/contracts/l2/L2WormholeGateway.sol/L2WormholeGateway.dbg.json +1 -1
  74. package/build/contracts/l2/L2WormholeGateway.sol/L2WormholeGateway.json +2 -15
  75. package/build/contracts/maintainer/MaintainerProxy.sol/MaintainerProxy.dbg.json +1 -1
  76. package/build/contracts/relay/LightRelay.sol/ILightRelay.dbg.json +1 -1
  77. package/build/contracts/relay/LightRelay.sol/LightRelay.dbg.json +1 -1
  78. package/build/contracts/relay/LightRelay.sol/RelayUtils.dbg.json +1 -1
  79. package/build/contracts/relay/LightRelayMaintainerProxy.sol/LightRelayMaintainerProxy.dbg.json +1 -1
  80. package/build/contracts/token/TBTC.sol/TBTC.dbg.json +1 -1
  81. package/build/contracts/vault/DonationVault.sol/DonationVault.dbg.json +1 -1
  82. package/build/contracts/vault/IVault.sol/IVault.dbg.json +1 -1
  83. package/build/contracts/vault/TBTCOptimisticMinting.sol/TBTCOptimisticMinting.dbg.json +1 -1
  84. package/build/contracts/vault/TBTCVault.sol/TBTCVault.dbg.json +1 -1
  85. package/contracts/l2/L2WormholeGateway.sol +7 -27
  86. package/deploy/01_deploy_light_relay.ts +3 -0
  87. package/deploy/09_deploy_bridge_governance.ts +5 -2
  88. package/deploy/19_authorize_spv_maintainer_in_bridge.ts +3 -3
  89. package/deploy/24_transfer_tbtc_ownership.ts +1 -1
  90. package/deploy/28_authorize_bridge_in_reimbursement_pool.ts +1 -1
  91. package/deploy/40_authorize_light_relay_maintainer_proxy_in_reimbursement_pool.ts +1 -1
  92. package/deploy/41_authorize_light_relay_maintainer_proxy_in_light_relay.ts +3 -1
  93. package/export/artifacts/@keep-network/bitcoin-spv-sol/contracts/BTCUtils.sol/BTCUtils.json +20 -20
  94. package/export/artifacts/@keep-network/ecdsa/contracts/EcdsaDkgValidator.sol/EcdsaDkgValidator.json +1986 -1986
  95. package/export/artifacts/@keep-network/ecdsa/contracts/libraries/EcdsaDkg.sol/EcdsaDkg.json +20 -20
  96. package/export/artifacts/@keep-network/ecdsa/contracts/libraries/EcdsaInactivity.sol/EcdsaInactivity.json +1836 -1836
  97. package/export/artifacts/@keep-network/random-beacon/contracts/ReimbursementPool.sol/ReimbursementPool.json +545 -545
  98. package/export/artifacts/@keep-network/sortition-pools/contracts/Chaosnet.sol/Chaosnet.json +506 -506
  99. package/export/artifacts/@keep-network/sortition-pools/contracts/Rewards.sol/Rewards.json +23 -23
  100. package/export/artifacts/@keep-network/sortition-pools/contracts/SortitionPool.sol/SortitionPool.json +2456 -2456
  101. package/export/artifacts/@keep-network/sortition-pools/contracts/SortitionTree.sol/SortitionTree.json +465 -465
  102. package/export/artifacts/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol/ERC1967Proxy.json +568 -568
  103. package/export/artifacts/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol/ProxyAdmin.json +603 -603
  104. package/export/artifacts/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.json +1001 -1001
  105. package/export/artifacts/@openzeppelin/contracts/token/ERC721/ERC721.sol/ERC721.json +1877 -1877
  106. package/export/artifacts/@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol/ERC20Upgradeable.json +654 -654
  107. package/export/artifacts/@thesis/solidity-contracts/contracts/token/ERC20WithPermit.sol/ERC20WithPermit.json +2534 -2534
  108. package/export/artifacts/@thesis/solidity-contracts/contracts/token/MisfundRecovery.sol/MisfundRecovery.json +736 -736
  109. package/export/artifacts/contracts/bank/Bank.sol/Bank.json +1872 -1872
  110. package/export/artifacts/contracts/bridge/Bridge.sol/Bridge.json +7061 -7061
  111. package/export/artifacts/contracts/bridge/VendingMachine.sol/VendingMachine.json +1257 -1257
  112. package/export/artifacts/contracts/bridge/VendingMachineV2.sol/VendingMachineV2.json +972 -972
  113. package/export/artifacts/contracts/bridge/VendingMachineV3.sol/VendingMachineV3.json +1122 -1122
  114. package/export/artifacts/contracts/bridge/WalletCoordinator.sol/WalletCoordinator.json +5403 -5403
  115. package/export/artifacts/contracts/l2/L2TBTC.sol/L2TBTC.json +2961 -2961
  116. package/export/artifacts/contracts/l2/L2WormholeGateway.sol/L2WormholeGateway.json +3599 -4067
  117. package/export/artifacts/contracts/maintainer/MaintainerProxy.sol/MaintainerProxy.json +2393 -2393
  118. package/export/artifacts/contracts/relay/LightRelay.sol/LightRelay.json +1921 -1921
  119. package/export/artifacts/contracts/relay/LightRelayMaintainerProxy.sol/LightRelayMaintainerProxy.json +1013 -1013
  120. package/export/artifacts/contracts/test/BankStub.sol/BankStub.json +1874 -1874
  121. package/export/artifacts/contracts/test/BridgeStub.sol/BridgeStub.json +8094 -8094
  122. package/export/artifacts/contracts/test/GoerliLightRelay.sol/GoerliLightRelay.json +1923 -1923
  123. package/export/artifacts/contracts/test/HeartbeatStub.sol/HeartbeatStub.json +129 -129
  124. package/export/artifacts/contracts/test/LightRelayStub.sol/LightRelayStub.json +2046 -2046
  125. package/export/artifacts/contracts/test/ReceiveApprovalStub.sol/ReceiveApprovalStub.json +353 -353
  126. package/export/artifacts/contracts/test/SepoliaLightRelay.sol/SepoliaLightRelay.json +12024 -0
  127. package/export/artifacts/contracts/test/SystemTestRelay.sol/SystemTestRelay.json +568 -568
  128. package/export/artifacts/contracts/test/TestERC20.sol/TestERC20.json +2291 -2291
  129. package/export/artifacts/contracts/test/TestERC721.sol/TestERC721.json +1698 -1698
  130. package/export/artifacts/contracts/test/TestEcdsaLib.sol/TestEcdsaLib.json +189 -189
  131. package/export/artifacts/contracts/test/WormholeBridgeStub.sol/WormholeBridgeStub.json +1448 -1448
  132. package/export/artifacts/contracts/token/TBTC.sol/TBTC.json +2847 -2847
  133. package/export/artifacts/contracts/vault/DonationVault.sol/DonationVault.json +858 -858
  134. package/export/artifacts/contracts/vault/TBTCVault.sol/TBTCVault.json +3476 -3476
  135. package/export/deploy/01_deploy_light_relay.js +3 -0
  136. package/export/deploy/09_deploy_bridge_governance.js +4 -2
  137. package/export/deploy/19_authorize_spv_maintainer_in_bridge.js +3 -3
  138. package/export/deploy/24_transfer_tbtc_ownership.js +1 -1
  139. package/export/deploy/28_authorize_bridge_in_reimbursement_pool.js +1 -1
  140. package/export/deploy/40_authorize_light_relay_maintainer_proxy_in_reimbursement_pool.js +1 -1
  141. package/export/deploy/41_authorize_light_relay_maintainer_proxy_in_light_relay.js +7 -3
  142. package/export/hardhat.config.js +23 -0
  143. package/export/typechain/SepoliaLightRelay.js +2 -0
  144. package/export/typechain/factories/L2WormholeGateway__factory.js +1 -14
  145. package/export/typechain/factories/SepoliaLightRelay__factory.js +535 -0
  146. package/export/typechain/factories/WormholeBridgeStub__factory.js +1 -1
  147. package/export/typechain/index.js +3 -1
  148. package/package.json +3 -3
@@ -194,32 +194,32 @@
194
194
  {
195
195
  "ast": {
196
196
  "nodeType": "YulBlock",
197
- "src": "0:201:125",
197
+ "src": "0:201:126",
198
198
  "statements": [
199
199
  {
200
200
  "nodeType": "YulBlock",
201
- "src": "6:3:125",
201
+ "src": "6:3:126",
202
202
  "statements": []
203
203
  },
204
204
  {
205
205
  "body": {
206
206
  "nodeType": "YulBlock",
207
- "src": "123:76:125",
207
+ "src": "123:76:126",
208
208
  "statements": [
209
209
  {
210
210
  "nodeType": "YulAssignment",
211
- "src": "133:26:125",
211
+ "src": "133:26:126",
212
212
  "value": {
213
213
  "arguments": [
214
214
  {
215
215
  "name": "headStart",
216
216
  "nodeType": "YulIdentifier",
217
- "src": "145:9:125"
217
+ "src": "145:9:126"
218
218
  },
219
219
  {
220
220
  "kind": "number",
221
221
  "nodeType": "YulLiteral",
222
- "src": "156:2:125",
222
+ "src": "156:2:126",
223
223
  "type": "",
224
224
  "value": "32"
225
225
  }
@@ -227,16 +227,16 @@
227
227
  "functionName": {
228
228
  "name": "add",
229
229
  "nodeType": "YulIdentifier",
230
- "src": "141:3:125"
230
+ "src": "141:3:126"
231
231
  },
232
232
  "nodeType": "YulFunctionCall",
233
- "src": "141:18:125"
233
+ "src": "141:18:126"
234
234
  },
235
235
  "variableNames": [
236
236
  {
237
237
  "name": "tail",
238
238
  "nodeType": "YulIdentifier",
239
- "src": "133:4:125"
239
+ "src": "133:4:126"
240
240
  }
241
241
  ]
242
242
  },
@@ -246,24 +246,24 @@
246
246
  {
247
247
  "name": "headStart",
248
248
  "nodeType": "YulIdentifier",
249
- "src": "175:9:125"
249
+ "src": "175:9:126"
250
250
  },
251
251
  {
252
252
  "name": "value0",
253
253
  "nodeType": "YulIdentifier",
254
- "src": "186:6:125"
254
+ "src": "186:6:126"
255
255
  }
256
256
  ],
257
257
  "functionName": {
258
258
  "name": "mstore",
259
259
  "nodeType": "YulIdentifier",
260
- "src": "168:6:125"
260
+ "src": "168:6:126"
261
261
  },
262
262
  "nodeType": "YulFunctionCall",
263
- "src": "168:25:125"
263
+ "src": "168:25:126"
264
264
  },
265
265
  "nodeType": "YulExpressionStatement",
266
- "src": "168:25:125"
266
+ "src": "168:25:126"
267
267
  }
268
268
  ]
269
269
  },
@@ -273,13 +273,13 @@
273
273
  {
274
274
  "name": "headStart",
275
275
  "nodeType": "YulTypedName",
276
- "src": "92:9:125",
276
+ "src": "92:9:126",
277
277
  "type": ""
278
278
  },
279
279
  {
280
280
  "name": "value0",
281
281
  "nodeType": "YulTypedName",
282
- "src": "103:6:125",
282
+ "src": "103:6:126",
283
283
  "type": ""
284
284
  }
285
285
  ],
@@ -287,16 +287,16 @@
287
287
  {
288
288
  "name": "tail",
289
289
  "nodeType": "YulTypedName",
290
- "src": "114:4:125",
290
+ "src": "114:4:126",
291
291
  "type": ""
292
292
  }
293
293
  ],
294
- "src": "14:185:125"
294
+ "src": "14:185:126"
295
295
  }
296
296
  ]
297
297
  },
298
298
  "contents": "{\n { }\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_library_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, value0)\n }\n}",
299
- "id": 125,
299
+ "id": 126,
300
300
  "language": "Yul",
301
301
  "name": "#utility.yul"
302
302
  }
@@ -304,7 +304,7 @@
304
304
  "immutableReferences": {},
305
305
  "linkReferences": {},
306
306
  "opcodes": "PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH1 0x33 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x63B635EA EQ PUSH1 0x38 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x3F PUSH1 0x64 DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xF8 CHAINID PUSH4 0x4A3185CA 0xA5 0xEA DUP10 0xCE 0xC1 0xAF 0xAB 0xC3 DUP13 0xD7 POP 0x22 0xEB 0xC6 0xA7 PUSH9 0x3E9141658B601CE1EF PUSH5 0x736F6C6343 STOP ADDMOD GT STOP CALLER ",
307
- "sourceMap": "2660:20955:10:-:0;;;;;;;;;;;;;;;;;;;;;;;;7871:39;;7907:3;7871:39;;;;;168:25:125;;;156:2;141:18;7871:39:10;;;;;;"
307
+ "sourceMap": "2660:20955:10:-:0;;;;;;;;;;;;;;;;;;;;;;;;7871:39;;7907:3;7871:39;;;;;168:25:126;;;156:2;141:18;7871:39:10;;;;;;"
308
308
  },
309
309
  "gasEstimates": {
310
310
  "creation": {