@wireio/stake 2.6.1 → 2.7.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.
Files changed (310) hide show
  1. package/lib/stake.browser.js +1738 -26280
  2. package/lib/stake.browser.js.map +1 -1
  3. package/lib/stake.d.ts +665 -16
  4. package/lib/stake.js +1738 -26280
  5. package/lib/stake.js.map +1 -1
  6. package/lib/stake.m.js +1738 -26280
  7. package/lib/stake.m.js.map +1 -1
  8. package/package.json +1 -1
  9. package/src/assets/ethereum/mainnet/common/Base58.sol/Base58.dbg.json +1 -1
  10. package/src/assets/ethereum/mainnet/common/OpenZepArtifacts.sol/__Dummy_OZ_UUPS__.dbg.json +1 -1
  11. package/src/assets/ethereum/mainnet/common/RestrictedCallers.sol/RestrictedCallers.dbg.json +1 -1
  12. package/src/assets/ethereum/mainnet/common/iodata.sol/iodata.dbg.json +1 -1
  13. package/src/assets/ethereum/mainnet/common/iodata_util.sol/iodata_util.dbg.json +1 -1
  14. package/src/assets/ethereum/mainnet/common/sysio_data.sol/sysio_data.dbg.json +1 -1
  15. package/src/assets/ethereum/mainnet/common/sysio_errors.sol/sysio_errors.dbg.json +1 -1
  16. package/src/assets/ethereum/mainnet/common/sysio_merkle.sol/sysio_merkle.dbg.json +1 -1
  17. package/src/assets/ethereum/mainnet/common/sysio_name.sol/sysio_name.dbg.json +1 -1
  18. package/src/assets/ethereum/mainnet/common/sysio_pubkey.sol/sysio_pubkey.dbg.json +1 -1
  19. package/src/assets/ethereum/mainnet/common/sysio_read.sol/sysio_read.dbg.json +1 -1
  20. package/src/assets/ethereum/mainnet/common/sysio_tester.sol/SysioTester.dbg.json +1 -1
  21. package/src/assets/ethereum/mainnet/common/sysio_verify.sol/sysio_verify.dbg.json +1 -1
  22. package/src/assets/ethereum/mainnet/common/sysio_write.sol/sysio_write.dbg.json +1 -1
  23. package/src/assets/ethereum/mainnet/liqEth/BeaconState.sol/BeaconState.dbg.json +1 -1
  24. package/src/assets/ethereum/mainnet/liqEth/BeaconState.sol/BeaconState.json +2 -2
  25. package/src/assets/ethereum/mainnet/liqEth/LiqEthAuthority.sol/LiqEthAuthority.dbg.json +1 -1
  26. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IDepositContract.dbg.json +1 -1
  27. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IDepositManager.dbg.json +1 -1
  28. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/ILiqEthUpgradeable.dbg.json +1 -1
  29. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IRewardsERC20.dbg.json +1 -1
  30. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IRewardsERC20.json +70 -0
  31. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IRewardsERC20Pausable.dbg.json +1 -1
  32. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IRewardsERC20Pausable.json +70 -0
  33. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IStakingModule.dbg.json +1 -1
  34. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IStakingModule.json +10 -75
  35. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IValidatorBalanceVerifier.dbg.json +1 -1
  36. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IWithdrawalRecord.dbg.json +1 -1
  37. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/LiqEthCommon.dbg.json +1 -1
  38. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/LiqEthCommon.json +2 -2
  39. package/src/assets/ethereum/mainnet/liqEth/LiqEthManaged.sol/LiqEthManaged.dbg.json +1 -1
  40. package/src/assets/ethereum/mainnet/liqEth/LiqEthManaged.sol/LiqEthManaged.json +2 -2
  41. package/src/assets/ethereum/mainnet/liqEth/Yield.sol/YieldOracle.dbg.json +1 -1
  42. package/src/assets/ethereum/mainnet/liqEth/Yield.sol/YieldOracle.json +2 -2
  43. package/src/assets/ethereum/mainnet/liqEth/withdrawalQueue.sol/WithdrawalQueue.dbg.json +1 -1
  44. package/src/assets/ethereum/mainnet/liqEth/withdrawalQueue.sol/WithdrawalQueue.json +2 -2
  45. package/src/assets/ethereum/mainnet/liqEth/withdrawalVault.sol/Uint64BE.dbg.json +1 -1
  46. package/src/assets/ethereum/mainnet/liqEth/withdrawalVault.sol/Uint64BE.json +2 -2
  47. package/src/assets/ethereum/mainnet/liqEth/withdrawalVault.sol/WithdrawalVault.dbg.json +1 -1
  48. package/src/assets/ethereum/mainnet/liqEth/withdrawalVault.sol/WithdrawalVault.json +2 -2
  49. package/src/assets/ethereum/mainnet/outpost/EthUsdPriceConsumer.sol/AggregatorV3Interface.dbg.json +1 -1
  50. package/src/assets/ethereum/mainnet/outpost/EthUsdPriceConsumer.sol/EthUsdPriceConsumer.dbg.json +1 -1
  51. package/src/assets/ethereum/mainnet/outpost/EthUsdPriceConsumer.sol/EthUsdPriceConsumer.json +33 -2
  52. package/src/assets/ethereum/mainnet/outpost/OPP.sol/OPP.dbg.json +1 -1
  53. package/src/assets/ethereum/mainnet/outpost/OPPCommon.sol/IOPP.dbg.json +1 -1
  54. package/src/assets/ethereum/mainnet/outpost/OPPCommon.sol/IOPPEndpoint.dbg.json +1 -1
  55. package/src/assets/ethereum/mainnet/outpost/OPPCommon.sol/IOPPInbound.dbg.json +1 -1
  56. package/src/assets/ethereum/mainnet/outpost/OPPCommon.sol/IOPPReceiver.dbg.json +1 -1
  57. package/src/assets/ethereum/mainnet/outpost/OPPCommon.sol/IOPPSender.dbg.json +1 -1
  58. package/src/assets/ethereum/mainnet/outpost/OPPCommon.sol/OPPCommon.dbg.json +1 -1
  59. package/src/assets/ethereum/mainnet/outpost/OPPEndpoint.sol/OPPEndpoint.dbg.json +1 -1
  60. package/src/assets/ethereum/mainnet/outpost/OPPEndpointManaged.sol/OPPEndpointManaged.dbg.json +1 -1
  61. package/src/assets/ethereum/mainnet/outpost/OPPEndpointOwnable.sol/OPPEndpointOwnable.dbg.json +1 -1
  62. package/src/assets/ethereum/mainnet/outpost/OPPErrors.sol/OPPErrors.dbg.json +1 -1
  63. package/src/assets/ethereum/mainnet/outpost/OPPInbound.sol/OPPInbound.dbg.json +1 -1
  64. package/src/assets/ethereum/mainnet/outpost/OPPReceiver.sol/OPPReceiver.dbg.json +1 -1
  65. package/src/assets/ethereum/mainnet/outpost/OPPSender.sol/OPPSender.dbg.json +1 -1
  66. package/src/assets/ethereum/mainnet/outpost/OutpostErrors.sol/OutpostErrors.dbg.json +1 -1
  67. package/src/assets/ethereum/mainnet/outpost/OutpostErrors.sol/OutpostErrors.json +33 -2
  68. package/src/assets/ethereum/mainnet/outpost/OutpostManaged.sol/OutpostManaged.dbg.json +1 -1
  69. package/src/assets/ethereum/mainnet/outpost/OutpostManagerAuthority.sol/OutpostManagerAuthority.dbg.json +1 -1
  70. package/src/assets/ethereum/mainnet/outpost/OutpostManagerCommon.sol/IOutpostManager.dbg.json +1 -1
  71. package/src/assets/ethereum/mainnet/outpost/OutpostManagerCommon.sol/IOutpostUpgradeable.dbg.json +1 -1
  72. package/src/assets/ethereum/mainnet/outpost/OutpostManagerCommon.sol/OutpostManagerCommon.dbg.json +1 -1
  73. package/src/assets/ethereum/mainnet/outpost/OutpostOwnable.sol/OutpostOwnable.dbg.json +1 -1
  74. package/src/assets/ethereum/mainnet/outpost/ReceiptNFT.sol/ReceiptNFT.dbg.json +1 -1
  75. package/src/assets/ethereum/mainnet/outpost/ReceiptNFT.sol/ReceiptNFT.json +33 -2
  76. package/src/assets/ethereum/mainnet/outpost/interfaces/IPretoken.sol/IPretoken.dbg.json +1 -1
  77. package/src/assets/ethereum/mainnet/outpost/interfaces/IWarrant.sol/IWarrant.dbg.json +1 -1
  78. package/src/assets/ethereum/mainnet/outpost/token/ERC721EthEquivalentVotesUpgradeable.sol/ERC721EthEquivalentVotesUpgradeable.dbg.json +1 -1
  79. package/src/assets/ethereum/mainnet/outpost/token/IERC721EthEquivalent.sol/IERC721EthEquivalent.dbg.json +1 -1
  80. package/src/assets/ethereum/mainnet/token/ERC1155Token.sol/ERC1155Token.dbg.json +1 -1
  81. package/src/assets/ethereum/mainnet/token/ERC20Token.sol/ERC20Token.dbg.json +1 -1
  82. package/src/assets/ethereum/mainnet/token/ERC721Token.sol/ERC721Token.dbg.json +1 -1
  83. package/src/assets/solana/devnet/idl/liqsol_core.json +490 -1
  84. package/src/assets/solana/devnet/idl/transfer_hook.json +248 -0
  85. package/src/assets/solana/devnet/idl/validator_leaderboard.json +161 -0
  86. package/src/assets/solana/devnet/types/liqsol_core.ts +490 -1
  87. package/src/assets/solana/devnet/types/transfer_hook.ts +248 -0
  88. package/src/assets/solana/devnet/types/validator_leaderboard.ts +161 -0
  89. package/src/networks/ethereum/contract.ts +64 -69
  90. package/src/networks/ethereum/types.ts +1 -1
  91. package/src/networks/solana/clients/distribution.client.ts +2 -1
  92. package/src/assets/ethereum/hoodi/common/Base58.sol/Base58.dbg.json +0 -4
  93. package/src/assets/ethereum/hoodi/common/Base58.sol/Base58.json +0 -164
  94. package/src/assets/ethereum/hoodi/common/OpenZepArtifacts.sol/__Dummy_OZ_UUPS__.dbg.json +0 -4
  95. package/src/assets/ethereum/hoodi/common/OpenZepArtifacts.sol/__Dummy_OZ_UUPS__.json +0 -76
  96. package/src/assets/ethereum/hoodi/common/RestrictedCallers.sol/RestrictedCallers.dbg.json +0 -4
  97. package/src/assets/ethereum/hoodi/common/RestrictedCallers.sol/RestrictedCallers.json +0 -10
  98. package/src/assets/ethereum/hoodi/common/iodata.sol/iodata.dbg.json +0 -4
  99. package/src/assets/ethereum/hoodi/common/iodata.sol/iodata.json +0 -618
  100. package/src/assets/ethereum/hoodi/common/iodata_util.sol/iodata_util.dbg.json +0 -4
  101. package/src/assets/ethereum/hoodi/common/iodata_util.sol/iodata_util.json +0 -40
  102. package/src/assets/ethereum/hoodi/common/sysio_data.sol/sysio_data.dbg.json +0 -4
  103. package/src/assets/ethereum/hoodi/common/sysio_data.sol/sysio_data.json +0 -10
  104. package/src/assets/ethereum/hoodi/common/sysio_errors.sol/sysio_errors.dbg.json +0 -4
  105. package/src/assets/ethereum/hoodi/common/sysio_errors.sol/sysio_errors.json +0 -10
  106. package/src/assets/ethereum/hoodi/common/sysio_merkle.sol/sysio_merkle.dbg.json +0 -4
  107. package/src/assets/ethereum/hoodi/common/sysio_merkle.sol/sysio_merkle.json +0 -233
  108. package/src/assets/ethereum/hoodi/common/sysio_name.sol/sysio_name.dbg.json +0 -4
  109. package/src/assets/ethereum/hoodi/common/sysio_name.sol/sysio_name.json +0 -49
  110. package/src/assets/ethereum/hoodi/common/sysio_pubkey.sol/sysio_pubkey.dbg.json +0 -4
  111. package/src/assets/ethereum/hoodi/common/sysio_pubkey.sol/sysio_pubkey.json +0 -64
  112. package/src/assets/ethereum/hoodi/common/sysio_read.sol/sysio_read.dbg.json +0 -4
  113. package/src/assets/ethereum/hoodi/common/sysio_read.sol/sysio_read.json +0 -1458
  114. package/src/assets/ethereum/hoodi/common/sysio_tester.sol/SysioTester.dbg.json +0 -4
  115. package/src/assets/ethereum/hoodi/common/sysio_tester.sol/SysioTester.json +0 -1532
  116. package/src/assets/ethereum/hoodi/common/sysio_verify.sol/sysio_verify.dbg.json +0 -4
  117. package/src/assets/ethereum/hoodi/common/sysio_verify.sol/sysio_verify.json +0 -1525
  118. package/src/assets/ethereum/hoodi/common/sysio_write.sol/sysio_write.dbg.json +0 -4
  119. package/src/assets/ethereum/hoodi/common/sysio_write.sol/sysio_write.json +0 -1076
  120. package/src/assets/ethereum/hoodi/liqEth/BeaconState.sol/BeaconState.dbg.json +0 -4
  121. package/src/assets/ethereum/hoodi/liqEth/BeaconState.sol/BeaconState.json +0 -807
  122. package/src/assets/ethereum/hoodi/liqEth/LiqEthAuthority.sol/LiqEthAuthority.dbg.json +0 -4
  123. package/src/assets/ethereum/hoodi/liqEth/LiqEthAuthority.sol/LiqEthAuthority.json +0 -1289
  124. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IDepositContract.dbg.json +0 -4
  125. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IDepositContract.json +0 -39
  126. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IDepositManager.dbg.json +0 -4
  127. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IDepositManager.json +0 -64
  128. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/ILiqEthUpgradeable.dbg.json +0 -4
  129. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/ILiqEthUpgradeable.json +0 -29
  130. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IRewardsERC20.dbg.json +0 -4
  131. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IRewardsERC20.json +0 -319
  132. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IRewardsERC20Pausable.dbg.json +0 -4
  133. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IRewardsERC20Pausable.json +0 -333
  134. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IStakingModule.dbg.json +0 -4
  135. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IStakingModule.json +0 -279
  136. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IValidatorBalanceVerifier.dbg.json +0 -4
  137. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IValidatorBalanceVerifier.json +0 -129
  138. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IWithdrawalRecord.dbg.json +0 -4
  139. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IWithdrawalRecord.json +0 -66
  140. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/LiqEthCommon.dbg.json +0 -4
  141. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/LiqEthCommon.json +0 -10
  142. package/src/assets/ethereum/hoodi/liqEth/LiqEthManaged.sol/LiqEthManaged.dbg.json +0 -4
  143. package/src/assets/ethereum/hoodi/liqEth/LiqEthManaged.sol/LiqEthManaged.json +0 -229
  144. package/src/assets/ethereum/hoodi/liqEth/Yield.sol/YieldOracle.dbg.json +0 -4
  145. package/src/assets/ethereum/hoodi/liqEth/Yield.sol/YieldOracle.json +0 -1376
  146. package/src/assets/ethereum/hoodi/liqEth/withdrawalQueue.sol/WithdrawalQueue.dbg.json +0 -4
  147. package/src/assets/ethereum/hoodi/liqEth/withdrawalQueue.sol/WithdrawalQueue.json +0 -973
  148. package/src/assets/ethereum/hoodi/liqEth/withdrawalVault.sol/Uint64BE.dbg.json +0 -4
  149. package/src/assets/ethereum/hoodi/liqEth/withdrawalVault.sol/Uint64BE.json +0 -10
  150. package/src/assets/ethereum/hoodi/liqEth/withdrawalVault.sol/WithdrawalVault.dbg.json +0 -4
  151. package/src/assets/ethereum/hoodi/liqEth/withdrawalVault.sol/WithdrawalVault.json +0 -441
  152. package/src/assets/ethereum/hoodi/outpost/EthUsdPriceConsumer.sol/AggregatorV3Interface.dbg.json +0 -4
  153. package/src/assets/ethereum/hoodi/outpost/EthUsdPriceConsumer.sol/AggregatorV3Interface.json +0 -122
  154. package/src/assets/ethereum/hoodi/outpost/EthUsdPriceConsumer.sol/EthUsdPriceConsumer.dbg.json +0 -4
  155. package/src/assets/ethereum/hoodi/outpost/EthUsdPriceConsumer.sol/EthUsdPriceConsumer.json +0 -551
  156. package/src/assets/ethereum/hoodi/outpost/OPP.sol/OPP.dbg.json +0 -4
  157. package/src/assets/ethereum/hoodi/outpost/OPP.sol/OPP.json +0 -948
  158. package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/IOPP.dbg.json +0 -4
  159. package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/IOPP.json +0 -88
  160. package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/IOPPEndpoint.dbg.json +0 -4
  161. package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/IOPPEndpoint.json +0 -29
  162. package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/IOPPInbound.dbg.json +0 -4
  163. package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/IOPPInbound.json +0 -194
  164. package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/IOPPReceiver.dbg.json +0 -4
  165. package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/IOPPReceiver.json +0 -29
  166. package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/IOPPSender.dbg.json +0 -4
  167. package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/IOPPSender.json +0 -36
  168. package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/OPPCommon.dbg.json +0 -4
  169. package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/OPPCommon.json +0 -199
  170. package/src/assets/ethereum/hoodi/outpost/OPPEndpoint.sol/OPPEndpoint.dbg.json +0 -4
  171. package/src/assets/ethereum/hoodi/outpost/OPPEndpoint.sol/OPPEndpoint.json +0 -273
  172. package/src/assets/ethereum/hoodi/outpost/OPPEndpointManaged.sol/OPPEndpointManaged.dbg.json +0 -4
  173. package/src/assets/ethereum/hoodi/outpost/OPPEndpointManaged.sol/OPPEndpointManaged.json +0 -394
  174. package/src/assets/ethereum/hoodi/outpost/OPPEndpointOwnable.sol/OPPEndpointOwnable.dbg.json +0 -4
  175. package/src/assets/ethereum/hoodi/outpost/OPPEndpointOwnable.sol/OPPEndpointOwnable.json +0 -378
  176. package/src/assets/ethereum/hoodi/outpost/OPPErrors.sol/OPPErrors.dbg.json +0 -4
  177. package/src/assets/ethereum/hoodi/outpost/OPPErrors.sol/OPPErrors.json +0 -224
  178. package/src/assets/ethereum/hoodi/outpost/OPPInbound.sol/OPPInbound.dbg.json +0 -4
  179. package/src/assets/ethereum/hoodi/outpost/OPPInbound.sol/OPPInbound.json +0 -1010
  180. package/src/assets/ethereum/hoodi/outpost/OPPReceiver.sol/OPPReceiver.dbg.json +0 -4
  181. package/src/assets/ethereum/hoodi/outpost/OPPReceiver.sol/OPPReceiver.json +0 -291
  182. package/src/assets/ethereum/hoodi/outpost/OPPSender.sol/OPPSender.dbg.json +0 -4
  183. package/src/assets/ethereum/hoodi/outpost/OPPSender.sol/OPPSender.json +0 -298
  184. package/src/assets/ethereum/hoodi/outpost/OutpostErrors.sol/OutpostErrors.dbg.json +0 -4
  185. package/src/assets/ethereum/hoodi/outpost/OutpostErrors.sol/OutpostErrors.json +0 -488
  186. package/src/assets/ethereum/hoodi/outpost/OutpostManaged.sol/OutpostManaged.dbg.json +0 -4
  187. package/src/assets/ethereum/hoodi/outpost/OutpostManaged.sol/OutpostManaged.json +0 -229
  188. package/src/assets/ethereum/hoodi/outpost/OutpostManagerAuthority.sol/OutpostManagerAuthority.dbg.json +0 -4
  189. package/src/assets/ethereum/hoodi/outpost/OutpostManagerAuthority.sol/OutpostManagerAuthority.json +0 -1432
  190. package/src/assets/ethereum/hoodi/outpost/OutpostManagerCommon.sol/IOutpostManager.dbg.json +0 -4
  191. package/src/assets/ethereum/hoodi/outpost/OutpostManagerCommon.sol/IOutpostManager.json +0 -130
  192. package/src/assets/ethereum/hoodi/outpost/OutpostManagerCommon.sol/IOutpostUpgradeable.dbg.json +0 -4
  193. package/src/assets/ethereum/hoodi/outpost/OutpostManagerCommon.sol/IOutpostUpgradeable.json +0 -29
  194. package/src/assets/ethereum/hoodi/outpost/OutpostManagerCommon.sol/OutpostManagerCommon.dbg.json +0 -4
  195. package/src/assets/ethereum/hoodi/outpost/OutpostManagerCommon.sol/OutpostManagerCommon.json +0 -141
  196. package/src/assets/ethereum/hoodi/outpost/OutpostOwnable.sol/OutpostOwnable.dbg.json +0 -4
  197. package/src/assets/ethereum/hoodi/outpost/OutpostOwnable.sol/OutpostOwnable.json +0 -213
  198. package/src/assets/ethereum/hoodi/outpost/ReceiptNFT.sol/ReceiptNFT.dbg.json +0 -4
  199. package/src/assets/ethereum/hoodi/outpost/ReceiptNFT.sol/ReceiptNFT.json +0 -2015
  200. package/src/assets/ethereum/hoodi/outpost/interfaces/IPretoken.sol/IPretoken.dbg.json +0 -4
  201. package/src/assets/ethereum/hoodi/outpost/interfaces/IPretoken.sol/IPretoken.json +0 -29
  202. package/src/assets/ethereum/hoodi/outpost/interfaces/IWarrant.sol/IWarrant.dbg.json +0 -4
  203. package/src/assets/ethereum/hoodi/outpost/interfaces/IWarrant.sol/IWarrant.json +0 -29
  204. package/src/assets/ethereum/hoodi/outpost/token/ERC721EthEquivalentVotesUpgradeable.sol/ERC721EthEquivalentVotesUpgradeable.dbg.json +0 -4
  205. package/src/assets/ethereum/hoodi/outpost/token/ERC721EthEquivalentVotesUpgradeable.sol/ERC721EthEquivalentVotesUpgradeable.json +0 -858
  206. package/src/assets/ethereum/hoodi/outpost/token/IERC721EthEquivalent.sol/IERC721EthEquivalent.dbg.json +0 -4
  207. package/src/assets/ethereum/hoodi/outpost/token/IERC721EthEquivalent.sol/IERC721EthEquivalent.json +0 -30
  208. package/src/assets/ethereum/hoodi/token/ERC1155Token.sol/ERC1155Token.dbg.json +0 -4
  209. package/src/assets/ethereum/hoodi/token/ERC1155Token.sol/ERC1155Token.json +0 -472
  210. package/src/assets/ethereum/hoodi/token/ERC20Token.sol/ERC20Token.dbg.json +0 -4
  211. package/src/assets/ethereum/hoodi/token/ERC20Token.sol/ERC20Token.json +0 -330
  212. package/src/assets/ethereum/hoodi/token/ERC721Token.sol/ERC721Token.dbg.json +0 -4
  213. package/src/assets/ethereum/hoodi/token/ERC721Token.sol/ERC721Token.json +0 -449
  214. package/src/assets/ethereum/mainnet/liqEth/DepositManager.sol/DepositManager.dbg.json +0 -4
  215. package/src/assets/ethereum/mainnet/liqEth/DepositManager.sol/DepositManager.json +0 -978
  216. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IAccounting.dbg.json +0 -4
  217. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IAccounting.json +0 -176
  218. package/src/assets/ethereum/mainnet/liqEth/RewardsERC20.sol/RewardsERC20Upgradeable.dbg.json +0 -4
  219. package/src/assets/ethereum/mainnet/liqEth/RewardsERC20.sol/RewardsERC20Upgradeable.json +0 -874
  220. package/src/assets/ethereum/mainnet/liqEth/RewardsERC20Pausable.sol/RewardsERC20PausableUpgradeable.dbg.json +0 -4
  221. package/src/assets/ethereum/mainnet/liqEth/RewardsERC20Pausable.sol/RewardsERC20PausableUpgradeable.json +0 -937
  222. package/src/assets/ethereum/mainnet/liqEth/accounting.sol/Accounting.dbg.json +0 -4
  223. package/src/assets/ethereum/mainnet/liqEth/accounting.sol/Accounting.json +0 -542
  224. package/src/assets/ethereum/mainnet/liqEth/liqEth.sol/LiqEthToken.dbg.json +0 -4
  225. package/src/assets/ethereum/mainnet/liqEth/liqEth.sol/LiqEthToken.json +0 -1233
  226. package/src/assets/ethereum/mainnet/liqEth/stakingModule.sol/StakingModule.dbg.json +0 -4
  227. package/src/assets/ethereum/mainnet/liqEth/stakingModule.sol/StakingModule.json +0 -1772
  228. package/src/assets/ethereum/mainnet/outpost/Aggregator.sol/Aggregator.json +0 -82
  229. package/src/assets/ethereum/mainnet/outpost/BAR.sol/BAR.dbg.json +0 -4
  230. package/src/assets/ethereum/mainnet/outpost/BAR.sol/BAR.json +0 -1840
  231. package/src/assets/ethereum/mainnet/outpost/Depositor.sol/Depositor.dbg.json +0 -4
  232. package/src/assets/ethereum/mainnet/outpost/Depositor.sol/Depositor.json +0 -1622
  233. package/src/assets/ethereum/mainnet/outpost/OutpostManager.sol/OutpostManager.dbg.json +0 -4
  234. package/src/assets/ethereum/mainnet/outpost/OutpostManager.sol/OutpostManager.json +0 -730
  235. package/src/assets/ethereum/mainnet/outpost/Pool.sol/Pool.dbg.json +0 -4
  236. package/src/assets/ethereum/mainnet/outpost/Pool.sol/Pool.json +0 -905
  237. package/src/assets/ethereum/mainnet/outpost/Pretoken.sol/Pretoken.dbg.json +0 -4
  238. package/src/assets/ethereum/mainnet/outpost/Pretoken.sol/Pretoken.json +0 -1634
  239. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/DepositManager.sol/DepositManagerV2.dbg.json +0 -0
  240. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/DepositManager.sol/DepositManagerV2.json +0 -0
  241. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/DepositManager.sol/IStakingModuleBondLocker.dbg.json +0 -0
  242. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/DepositManager.sol/IStakingModuleBondLocker.json +0 -0
  243. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/KeyBondManager.sol/KeyBondManager.dbg.json +0 -0
  244. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/KeyBondManager.sol/KeyBondManager.json +0 -0
  245. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/LiqEthCommon.sol/IKeyBondManager.dbg.json +0 -0
  246. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/LiqEthCommon.sol/IKeyBondManager.json +0 -0
  247. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/LiqEthDeepFreeze.sol/LiqEthDeepFreeze.dbg.json +0 -0
  248. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/LiqEthDeepFreeze.sol/LiqEthDeepFreeze.json +0 -0
  249. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/RewardsERC20.sol/RewardsERC20UpgradeableV2.dbg.json +0 -0
  250. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/RewardsERC20.sol/RewardsERC20UpgradeableV2.json +0 -0
  251. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/RewardsERC20Pausable.sol/RewardsERC20PausableUpgradeableV2.dbg.json +0 -0
  252. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/RewardsERC20Pausable.sol/RewardsERC20PausableUpgradeableV2.json +0 -0
  253. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/StakingLib.sol/StakingLib.dbg.json +0 -0
  254. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/StakingLib.sol/StakingLib.json +0 -0
  255. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/liqEth.sol/LiqEthTokenV2.dbg.json +0 -0
  256. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/liqEth.sol/LiqEthTokenV2.json +0 -0
  257. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/stakingModule.sol/StakingModuleV2.dbg.json +0 -0
  258. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/stakingModule.sol/StakingModuleV2.json +0 -0
  259. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/v1/DepositManager.sol/DepositManager.dbg.json +0 -0
  260. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/v1/DepositManager.sol/DepositManager.json +0 -0
  261. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/v1/LiqEthCommon.sol/IAccounting.dbg.json +0 -0
  262. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/v1/LiqEthCommon.sol/IAccounting.json +0 -0
  263. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/v1/LiqEthCommon.sol/IDepositContract.dbg.json +0 -0
  264. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/v1/LiqEthCommon.sol/IDepositContract.json +0 -0
  265. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/v1/LiqEthCommon.sol/IDepositManager.dbg.json +0 -0
  266. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/v1/LiqEthCommon.sol/IDepositManager.json +0 -0
  267. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/v1/LiqEthCommon.sol/ILiqEthUpgradeable.dbg.json +0 -0
  268. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/v1/LiqEthCommon.sol/ILiqEthUpgradeable.json +0 -0
  269. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/v1/LiqEthCommon.sol/IRewardsERC20.dbg.json +0 -0
  270. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/v1/LiqEthCommon.sol/IRewardsERC20.json +0 -0
  271. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/v1/LiqEthCommon.sol/IRewardsERC20Pausable.dbg.json +0 -0
  272. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/v1/LiqEthCommon.sol/IRewardsERC20Pausable.json +0 -0
  273. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/v1/LiqEthCommon.sol/IStakingModule.dbg.json +0 -0
  274. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/v1/LiqEthCommon.sol/IStakingModule.json +0 -0
  275. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/v1/LiqEthCommon.sol/IValidatorBalanceVerifier.dbg.json +0 -0
  276. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/v1/LiqEthCommon.sol/IValidatorBalanceVerifier.json +0 -0
  277. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/v1/LiqEthCommon.sol/IWithdrawalRecord.dbg.json +0 -0
  278. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/v1/LiqEthCommon.sol/IWithdrawalRecord.json +0 -0
  279. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/v1/LiqEthCommon.sol/LiqEthCommon.dbg.json +0 -0
  280. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/v1/LiqEthCommon.sol/LiqEthCommon.json +0 -0
  281. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/v1/RewardsERC20.sol/RewardsERC20Upgradeable.dbg.json +0 -0
  282. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/v1/RewardsERC20.sol/RewardsERC20Upgradeable.json +0 -0
  283. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/v1/RewardsERC20Pausable.sol/RewardsERC20PausableUpgradeable.dbg.json +0 -0
  284. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/v1/RewardsERC20Pausable.sol/RewardsERC20PausableUpgradeable.json +0 -0
  285. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/v1/accounting.sol/Accounting.dbg.json +0 -0
  286. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/v1/accounting.sol/Accounting.json +0 -0
  287. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/v1/liqEth.sol/LiqEthToken.dbg.json +0 -0
  288. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/v1/liqEth.sol/LiqEthToken.json +0 -0
  289. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/v1/stakingModule.sol/StakingModule.dbg.json +0 -0
  290. /package/src/assets/ethereum/{hoodi → mainnet}/liqEth/v1/stakingModule.sol/StakingModule.json +0 -0
  291. /package/src/assets/ethereum/{hoodi → mainnet}/outpost/BAR.sol/BARV2.dbg.json +0 -0
  292. /package/src/assets/ethereum/{hoodi → mainnet}/outpost/BAR.sol/BARV2.json +0 -0
  293. /package/src/assets/ethereum/{hoodi → mainnet}/outpost/Depositor.sol/DepositorV2.dbg.json +0 -0
  294. /package/src/assets/ethereum/{hoodi → mainnet}/outpost/Depositor.sol/DepositorV2.json +0 -0
  295. /package/src/assets/ethereum/{hoodi → mainnet}/outpost/OutpostManager.sol/OutpostManagerV2.dbg.json +0 -0
  296. /package/src/assets/ethereum/{hoodi → mainnet}/outpost/OutpostManager.sol/OutpostManagerV2.json +0 -0
  297. /package/src/assets/ethereum/{hoodi → mainnet}/outpost/Pool.sol/PoolV2.dbg.json +0 -0
  298. /package/src/assets/ethereum/{hoodi → mainnet}/outpost/Pool.sol/PoolV2.json +0 -0
  299. /package/src/assets/ethereum/{hoodi → mainnet}/outpost/Pretoken.sol/PretokenV2.dbg.json +0 -0
  300. /package/src/assets/ethereum/{hoodi → mainnet}/outpost/Pretoken.sol/PretokenV2.json +0 -0
  301. /package/src/assets/ethereum/{hoodi → mainnet}/outpost/v1/BAR.sol/BAR.dbg.json +0 -0
  302. /package/src/assets/ethereum/{hoodi → mainnet}/outpost/v1/BAR.sol/BAR.json +0 -0
  303. /package/src/assets/ethereum/{hoodi → mainnet}/outpost/v1/Depositor.sol/Depositor.dbg.json +0 -0
  304. /package/src/assets/ethereum/{hoodi → mainnet}/outpost/v1/Depositor.sol/Depositor.json +0 -0
  305. /package/src/assets/ethereum/{hoodi → mainnet}/outpost/v1/OutpostManager.sol/OutpostManager.dbg.json +0 -0
  306. /package/src/assets/ethereum/{hoodi → mainnet}/outpost/v1/OutpostManager.sol/OutpostManager.json +0 -0
  307. /package/src/assets/ethereum/{hoodi → mainnet}/outpost/v1/Pool.sol/Pool.dbg.json +0 -0
  308. /package/src/assets/ethereum/{hoodi → mainnet}/outpost/v1/Pool.sol/Pool.json +0 -0
  309. /package/src/assets/ethereum/{hoodi → mainnet}/outpost/v1/Pretoken.sol/Pretoken.dbg.json +0 -0
  310. /package/src/assets/ethereum/{hoodi → mainnet}/outpost/v1/Pretoken.sol/Pretoken.json +0 -0
@@ -114,11 +114,18 @@ export type TransferHook = {
114
114
  96
115
115
  ],
116
116
  "accounts": [
117
+ {
118
+ "name": "admin",
119
+ "signer": true
120
+ },
117
121
  {
118
122
  "name": "payer",
119
123
  "writable": true,
120
124
  "signer": true
121
125
  },
126
+ {
127
+ "name": "globalConfig"
128
+ },
122
129
  {
123
130
  "name": "extraAccountMetaList",
124
131
  "writable": true
@@ -149,6 +156,19 @@ export type TransferHook = {
149
156
  4,
150
157
  103
151
158
  ]
159
+ },
160
+ {
161
+ "name": "globalConfig",
162
+ "discriminator": [
163
+ 149,
164
+ 8,
165
+ 156,
166
+ 202,
167
+ 160,
168
+ 252,
169
+ 176,
170
+ 217
171
+ ]
152
172
  }
153
173
  ],
154
174
  "errors": [
@@ -168,6 +188,11 @@ export type TransferHook = {
168
188
  "code": 6003,
169
189
  "name": "cannotTransferToBucket",
170
190
  "msg": "Cannot transfer liqSOL directly to bucket - only protocol minting is allowed"
191
+ },
192
+ {
193
+ "code": 6004,
194
+ "name": "unauthorized",
195
+ "msg": "Unauthorized: caller is not the admin"
171
196
  }
172
197
  ],
173
198
  "types": [
@@ -232,6 +257,229 @@ export type TransferHook = {
232
257
  }
233
258
  ]
234
259
  }
260
+ },
261
+ {
262
+ "name": "globalConfig",
263
+ "docs": [
264
+ "Zero-copy global config PDA"
265
+ ],
266
+ "serialization": "bytemuckunsafe",
267
+ "repr": {
268
+ "kind": "c"
269
+ },
270
+ "type": {
271
+ "kind": "struct",
272
+ "fields": [
273
+ {
274
+ "name": "bump",
275
+ "type": "u8"
276
+ },
277
+ {
278
+ "name": "padding",
279
+ "type": {
280
+ "array": [
281
+ "u8",
282
+ 7
283
+ ]
284
+ }
285
+ },
286
+ {
287
+ "name": "admin",
288
+ "type": "pubkey"
289
+ },
290
+ {
291
+ "name": "cranky",
292
+ "type": "pubkey"
293
+ },
294
+ {
295
+ "name": "reservedPubkey",
296
+ "type": {
297
+ "array": [
298
+ "pubkey",
299
+ 1
300
+ ]
301
+ }
302
+ },
303
+ {
304
+ "name": "minUserDeposit",
305
+ "docs": [
306
+ "Minimum SOL amount a user can deposit"
307
+ ],
308
+ "type": "u64"
309
+ },
310
+ {
311
+ "name": "minUnstakeRequest",
312
+ "docs": [
313
+ "Minimum SOL amount for an unstake/withdrawal request"
314
+ ],
315
+ "type": "u64"
316
+ },
317
+ {
318
+ "name": "minRebalanceStakeDelta",
319
+ "docs": [
320
+ "Minimum stake delta to trigger a stake rebalance order"
321
+ ],
322
+ "type": "u64"
323
+ },
324
+ {
325
+ "name": "minRebalanceUnstakeDelta",
326
+ "docs": [
327
+ "Minimum unstake delta to trigger an unstake rebalance order"
328
+ ],
329
+ "type": "u64"
330
+ },
331
+ {
332
+ "name": "transientThreshold",
333
+ "docs": [
334
+ "Minimum transient stake to include in effective stake calculations"
335
+ ],
336
+ "type": "u64"
337
+ },
338
+ {
339
+ "name": "minLateEpochSlotGate",
340
+ "docs": [
341
+ "Minimum slots that must have elapsed in the epoch before late epoch operations can execute"
342
+ ],
343
+ "type": "u64"
344
+ },
345
+ {
346
+ "name": "reservedU64",
347
+ "type": {
348
+ "array": [
349
+ "u64",
350
+ 2
351
+ ]
352
+ }
353
+ },
354
+ {
355
+ "name": "cooldownEpochs",
356
+ "docs": [
357
+ "Epochs a validator must wait in the graveyard before it is booted. This begins after the last recorded state change"
358
+ ],
359
+ "type": "u16"
360
+ },
361
+ {
362
+ "name": "depositFeeMultiplier",
363
+ "docs": [
364
+ "Multiplier for deposit fee calculation, this would be average \"pay rate x number of epochs we expect the stake to warm up\""
365
+ ],
366
+ "type": "u16"
367
+ },
368
+ {
369
+ "name": "minVppEntry",
370
+ "docs": [
371
+ "Minimum VPP score required to enter the active validator set, this is a fall back for when the val set is really small"
372
+ ],
373
+ "type": "u16"
374
+ },
375
+ {
376
+ "name": "minVppExit",
377
+ "docs": [
378
+ "VPP score threshold below which a validator is removed from active set, again a fall back"
379
+ ],
380
+ "type": "u16"
381
+ },
382
+ {
383
+ "name": "tinyNetworkThreshold",
384
+ "docs": [
385
+ "Max validators for \"tiny\" network band (uses fixed VPP thresholds) as above"
386
+ ],
387
+ "type": "u16"
388
+ },
389
+ {
390
+ "name": "smallNetworkThreshold",
391
+ "docs": [
392
+ "Max validators for \"small\" network band (uses percentile-based selection)"
393
+ ],
394
+ "type": "u16"
395
+ },
396
+ {
397
+ "name": "mediumNetworkThreshold",
398
+ "docs": [
399
+ "Max validators for \"medium\" network band (uses percentile-based selection)"
400
+ ],
401
+ "type": "u16"
402
+ },
403
+ {
404
+ "name": "largeNetworkEntryRank",
405
+ "docs": [
406
+ "Fixed rank threshold to enter active set in large networks (0-indexed)"
407
+ ],
408
+ "type": "u16"
409
+ },
410
+ {
411
+ "name": "largeNetworkExitRank",
412
+ "docs": [
413
+ "Fixed rank threshold to exit active set in large networks (0-indexed)"
414
+ ],
415
+ "type": "u16"
416
+ },
417
+ {
418
+ "name": "reservedU16",
419
+ "type": {
420
+ "array": [
421
+ "u16",
422
+ 3
423
+ ]
424
+ }
425
+ },
426
+ {
427
+ "name": "smallNetworkEntryPercent",
428
+ "docs": [
429
+ "Percentile rank required to enter active set in small networks"
430
+ ],
431
+ "type": "u8"
432
+ },
433
+ {
434
+ "name": "smallNetworkExitPercent",
435
+ "docs": [
436
+ "Percentile rank below which validators exit in small networks"
437
+ ],
438
+ "type": "u8"
439
+ },
440
+ {
441
+ "name": "mediumNetworkEntryPercent",
442
+ "docs": [
443
+ "Percentile rank required to enter active set in medium networks"
444
+ ],
445
+ "type": "u8"
446
+ },
447
+ {
448
+ "name": "mediumNetworkExitPercent",
449
+ "docs": [
450
+ "Percentile rank below which validators exit in medium networks"
451
+ ],
452
+ "type": "u8"
453
+ },
454
+ {
455
+ "name": "reservedU8",
456
+ "type": {
457
+ "array": [
458
+ "u8",
459
+ 2
460
+ ]
461
+ }
462
+ },
463
+ {
464
+ "name": "featureFlags",
465
+ "docs": [
466
+ "Bit 0: DepositsEnabled, Bit 1: WithdrawalsEnabled, Bit 2: ClaimWithdrawalsEnabled,",
467
+ "Bit 3: ProcessStakeOrdersEnabled, Bit 4: ProcessUnstakeOrdersEnabled,",
468
+ "Bit 5: ProcessPayCycleEnabled, Bit 6: RebalancingEnabled, Bits 7-15: Reserved"
469
+ ],
470
+ "type": "u16"
471
+ },
472
+ {
473
+ "name": "reservedFlags",
474
+ "type": {
475
+ "array": [
476
+ "u16",
477
+ 1
478
+ ]
479
+ }
480
+ }
481
+ ]
482
+ }
235
483
  }
236
484
  ]
237
485
  };
@@ -69,6 +69,167 @@ export type ValidatorLeaderboard = {
69
69
  ],
70
70
  "args": []
71
71
  },
72
+ {
73
+ "name": "testClearLeaderboard",
74
+ "discriminator": [
75
+ 118,
76
+ 207,
77
+ 26,
78
+ 205,
79
+ 180,
80
+ 7,
81
+ 75,
82
+ 244
83
+ ],
84
+ "accounts": [
85
+ {
86
+ "name": "leaderboardState",
87
+ "writable": true
88
+ },
89
+ {
90
+ "name": "authority",
91
+ "signer": true
92
+ }
93
+ ],
94
+ "args": []
95
+ },
96
+ {
97
+ "name": "testForceRegisterValidator",
98
+ "discriminator": [
99
+ 136,
100
+ 156,
101
+ 132,
102
+ 32,
103
+ 96,
104
+ 240,
105
+ 7,
106
+ 115
107
+ ],
108
+ "accounts": [
109
+ {
110
+ "name": "registrant",
111
+ "writable": true,
112
+ "signer": true
113
+ },
114
+ {
115
+ "name": "voteAccount"
116
+ },
117
+ {
118
+ "name": "validatorRecord",
119
+ "writable": true
120
+ },
121
+ {
122
+ "name": "leaderboardState",
123
+ "writable": true
124
+ },
125
+ {
126
+ "name": "systemProgram"
127
+ },
128
+ {
129
+ "name": "clock"
130
+ }
131
+ ],
132
+ "args": [
133
+ {
134
+ "name": "vpp",
135
+ "type": "u8"
136
+ }
137
+ ]
138
+ },
139
+ {
140
+ "name": "testForceUpdateVpp",
141
+ "discriminator": [
142
+ 67,
143
+ 51,
144
+ 28,
145
+ 174,
146
+ 200,
147
+ 214,
148
+ 203,
149
+ 162
150
+ ],
151
+ "accounts": [
152
+ {
153
+ "name": "registrant",
154
+ "writable": true,
155
+ "signer": true
156
+ },
157
+ {
158
+ "name": "voteAccount"
159
+ },
160
+ {
161
+ "name": "validatorRecord",
162
+ "writable": true
163
+ },
164
+ {
165
+ "name": "leaderboardState",
166
+ "writable": true
167
+ }
168
+ ],
169
+ "args": [
170
+ {
171
+ "name": "vpp",
172
+ "type": "u8"
173
+ }
174
+ ]
175
+ },
176
+ {
177
+ "name": "testLogEpochInfo",
178
+ "discriminator": [
179
+ 196,
180
+ 206,
181
+ 58,
182
+ 88,
183
+ 160,
184
+ 47,
185
+ 2,
186
+ 153
187
+ ],
188
+ "accounts": [],
189
+ "args": []
190
+ },
191
+ {
192
+ "name": "testSeedRandomValidators",
193
+ "discriminator": [
194
+ 48,
195
+ 155,
196
+ 181,
197
+ 112,
198
+ 163,
199
+ 242,
200
+ 43,
201
+ 146
202
+ ],
203
+ "accounts": [
204
+ {
205
+ "name": "registrant",
206
+ "writable": true,
207
+ "signer": true
208
+ },
209
+ {
210
+ "name": "leaderboardState",
211
+ "writable": true
212
+ }
213
+ ],
214
+ "args": [
215
+ {
216
+ "name": "count",
217
+ "type": "u16"
218
+ },
219
+ {
220
+ "name": "seed",
221
+ "type": "u64"
222
+ },
223
+ {
224
+ "name": "minVpp",
225
+ "type": "u8"
226
+ },
227
+ {
228
+ "name": "maxVpp",
229
+ "type": "u8"
230
+ }
231
+ ]
232
+ },
72
233
  {
73
234
  "name": "updateCommission",
74
235
  "discriminator": [
@@ -5,25 +5,24 @@
5
5
  */
6
6
 
7
7
  // Mainnet artifacts
8
- import MainnetAccountingArtifact from '../../assets/ethereum/mainnet/liqEth/accounting.sol/Accounting.json';
9
- import MainnetDepositManagerArtifact from '../../assets/ethereum/mainnet/liqEth/DepositManager.sol/DepositManager.json';
10
- import MainnetLiqEthArtifact from '../../assets/ethereum/mainnet/liqEth/liqEth.sol/LiqEthToken.json';
11
- import MainnetStakingModuleArtifact from '../../assets/ethereum/mainnet/liqEth/stakingModule.sol/StakingModule.json';
8
+ import MainnetAccountingArtifact from '../../assets/ethereum/mainnet/liqEth/v1/accounting.sol/Accounting.json';
9
+ import MainnetDepositManagerArtifact from '../../assets/ethereum/mainnet/liqEth/v1/DepositManager.sol/DepositManager.json';
10
+ import MainnetLiqEthArtifact from '../../assets/ethereum/mainnet/liqEth/v1/liqEth.sol/LiqEthToken.json';
11
+ import MainnetStakingModuleArtifact from '../../assets/ethereum/mainnet/liqEth/v1/stakingModule.sol/StakingModule.json';
12
12
  import MainnetWithdrawalQueueArtifact from '../../assets/ethereum/mainnet/liqEth/withdrawalQueue.sol/WithdrawalQueue.json';
13
13
  import MainnetWithdrawalVaultArtifact from '../../assets/ethereum/mainnet/liqEth/withdrawalVault.sol/WithdrawalVault.json';
14
14
  import MainnetBeaconStateArtifact from '../../assets/ethereum/mainnet/liqEth/BeaconState.sol/BeaconState.json';
15
15
  import MainnetYieldOracleArtifact from '../../assets/ethereum/mainnet/liqEth/Yield.sol/YieldOracle.json';
16
- import MainnetDepositorArtifact from '../../assets/ethereum/mainnet/outpost/Depositor.sol/Depositor.json';
16
+ import MainnetDepositorArtifact from '../../assets/ethereum/mainnet/outpost/Depositor.sol/DepositorV2.json';
17
17
  import MainnetReceiptNFTArtifact from '../../assets/ethereum/mainnet/outpost/ReceiptNFT.sol/ReceiptNFT.json';
18
- import MainnetOutpostManagerArtifact from '../../assets/ethereum/mainnet/outpost/OutpostManager.sol/OutpostManager.json';
19
- import MainnetBARArtifact from '../../assets/ethereum/mainnet/outpost/BAR.sol/BAR.json';
18
+ import MainnetOutpostManagerArtifact from '../../assets/ethereum/mainnet/outpost/OutpostManager.sol/OutpostManagerV2.json';
19
+ import MainnetBARArtifact from '../../assets/ethereum/mainnet/outpost/BAR.sol/BARV2.json';
20
20
  import MainnetOPPArtifact from '../../assets/ethereum/mainnet/outpost/OPP.sol/OPP.json';
21
21
  import MainnetOPPCommonArtifact from '../../assets/ethereum/mainnet/outpost/OPPCommon.sol/OPPCommon.json';
22
22
  import MainnetOPPInboundArtifact from '../../assets/ethereum/mainnet/outpost/OPPInbound.sol/OPPInbound.json';
23
- import MainnetPretokenArtifact from '../../assets/ethereum/mainnet/outpost/Pretoken.sol/Pretoken.json';
24
- import MainnetAggregatorArtifact from '../../assets/ethereum/mainnet/outpost/Aggregator.sol/Aggregator.json';
23
+ import MainnetPretokenArtifact from '../../assets/ethereum/mainnet/outpost/Pretoken.sol/PretokenV2.json';
25
24
  import MainnetEthUsdPriceConsumerArtifact from '../../assets/ethereum/mainnet/outpost/EthUsdPriceConsumer.sol/EthUsdPriceConsumer.json';
26
- import MainnetPoolArtifact from '../../assets/ethereum/mainnet/outpost/Pool.sol/Pool.json';
25
+ import MainnetPoolArtifact from '../../assets/ethereum/mainnet/outpost/Pool.sol/PoolV2.json';
27
26
  import MainnetOutpostManagerAuthorityArtifact from '../../assets/ethereum/mainnet/outpost/OutpostManagerAuthority.sol/OutpostManagerAuthority.json';
28
27
  import MainnetIodataArtifact from '../../assets/ethereum/mainnet/common/iodata.sol/iodata.json';
29
28
  import MainnetBase58Artifact from '../../assets/ethereum/mainnet/common/Base58.sol/Base58.json';
@@ -34,32 +33,32 @@ import MainnetERC721Artifact from '../../assets/ethereum/mainnet/token/ERC721Tok
34
33
  import MainnetERC1155Artifact from '../../assets/ethereum/mainnet/token/ERC1155Token.sol/ERC1155Token.json';
35
34
 
36
35
  // Hoodi artifacts
37
- import HoodiAccountingArtifact from '../../assets/ethereum/hoodi/liqEth/v1/accounting.sol/Accounting.json';
38
- import HoodiDepositManagerArtifact from '../../assets/ethereum/hoodi/liqEth/v1/DepositManager.sol/DepositManager.json';
39
- import HoodiLiqEthArtifact from '../../assets/ethereum/hoodi/liqEth/v1/liqEth.sol/LiqEthToken.json';
40
- import HoodiStakingModuleArtifact from '../../assets/ethereum/hoodi/liqEth/v1/stakingModule.sol/StakingModule.json';
41
- import HoodiWithdrawalQueueArtifact from '../../assets/ethereum/hoodi/liqEth/withdrawalQueue.sol/WithdrawalQueue.json';
42
- import HoodiWithdrawalVaultArtifact from '../../assets/ethereum/hoodi/liqEth/withdrawalVault.sol/WithdrawalVault.json';
43
- import HoodiBeaconStateArtifact from '../../assets/ethereum/hoodi/liqEth/BeaconState.sol/BeaconState.json';
44
- import HoodiYieldOracleArtifact from '../../assets/ethereum/hoodi/liqEth/Yield.sol/YieldOracle.json';
45
- import HoodiDepositorArtifact from '../../assets/ethereum/hoodi/outpost/Depositor.sol/DepositorV2.json';
46
- import HoodiReceiptNFTArtifact from '../../assets/ethereum/hoodi/outpost/ReceiptNFT.sol/ReceiptNFT.json';
47
- import HoodiOutpostManagerArtifact from '../../assets/ethereum/hoodi/outpost/OutpostManager.sol/OutpostManagerV2.json';
48
- import HoodiBARArtifact from '../../assets/ethereum/hoodi/outpost/BAR.sol/BARV2.json';
49
- import HoodiOPPArtifact from '../../assets/ethereum/hoodi/outpost/OPP.sol/OPP.json';
50
- import HoodiOPPCommonArtifact from '../../assets/ethereum/hoodi/outpost/OPPCommon.sol/OPPCommon.json';
51
- import HoodiOPPInboundArtifact from '../../assets/ethereum/hoodi/outpost/OPPInbound.sol/OPPInbound.json';
52
- import HoodiPretokenArtifact from '../../assets/ethereum/hoodi/outpost/Pretoken.sol/PretokenV2.json';
53
- import HoodiEthUsdPriceConsumerArtifact from '../../assets/ethereum/hoodi/outpost/EthUsdPriceConsumer.sol/EthUsdPriceConsumer.json';
54
- import HoodiPoolArtifact from '../../assets/ethereum/hoodi/outpost/Pool.sol/PoolV2.json';
55
- import HoodiOutpostManagerAuthorityArtifact from '../../assets/ethereum/hoodi/outpost/OutpostManagerAuthority.sol/OutpostManagerAuthority.json';
56
- import HoodiIodataArtifact from '../../assets/ethereum/hoodi/common/iodata.sol/iodata.json';
57
- import HoodiBase58Artifact from '../../assets/ethereum/hoodi/common/Base58.sol/Base58.json';
58
- import HoodiSysioMerkleArtifact from '../../assets/ethereum/hoodi/common/sysio_merkle.sol/sysio_merkle.json';
59
- import HoodiSysioWriteArtifact from '../../assets/ethereum/hoodi/common/sysio_write.sol/sysio_write.json';
60
- import HoodiERC20Artifact from '../../assets/ethereum/hoodi/token/ERC20Token.sol/ERC20Token.json';
61
- import HoodiERC721Artifact from '../../assets/ethereum/hoodi/token/ERC721Token.sol/ERC721Token.json';
62
- import HoodiERC1155Artifact from '../../assets/ethereum/hoodi/token/ERC1155Token.sol/ERC1155Token.json';
36
+ import HoodiAccountingArtifact from '../../assets/ethereum/mainnet/liqEth/v1/accounting.sol/Accounting.json';
37
+ import HoodiDepositManagerArtifact from '../../assets/ethereum/mainnet/liqEth/v1/DepositManager.sol/DepositManager.json';
38
+ import HoodiLiqEthArtifact from '../../assets/ethereum/mainnet/liqEth/v1/liqEth.sol/LiqEthToken.json';
39
+ import HoodiStakingModuleArtifact from '../../assets/ethereum/mainnet/liqEth/v1/stakingModule.sol/StakingModule.json';
40
+ import HoodiWithdrawalQueueArtifact from '../../assets/ethereum/mainnet/liqEth/withdrawalQueue.sol/WithdrawalQueue.json';
41
+ import HoodiWithdrawalVaultArtifact from '../../assets/ethereum/mainnet/liqEth/withdrawalVault.sol/WithdrawalVault.json';
42
+ import HoodiBeaconStateArtifact from '../../assets/ethereum/mainnet/liqEth/BeaconState.sol/BeaconState.json';
43
+ import HoodiYieldOracleArtifact from '../../assets/ethereum/mainnet/liqEth/Yield.sol/YieldOracle.json';
44
+ import HoodiDepositorArtifact from '../../assets/ethereum/mainnet/outpost/Depositor.sol/DepositorV2.json';
45
+ import HoodiReceiptNFTArtifact from '../../assets/ethereum/mainnet/outpost/ReceiptNFT.sol/ReceiptNFT.json';
46
+ import HoodiOutpostManagerArtifact from '../../assets/ethereum/mainnet/outpost/OutpostManager.sol/OutpostManagerV2.json';
47
+ import HoodiBARArtifact from '../../assets/ethereum/mainnet/outpost/BAR.sol/BARV2.json';
48
+ import HoodiOPPArtifact from '../../assets/ethereum/mainnet/outpost/OPP.sol/OPP.json';
49
+ import HoodiOPPCommonArtifact from '../../assets/ethereum/mainnet/outpost/OPPCommon.sol/OPPCommon.json';
50
+ import HoodiOPPInboundArtifact from '../../assets/ethereum/mainnet/outpost/OPPInbound.sol/OPPInbound.json';
51
+ import HoodiPretokenArtifact from '../../assets/ethereum/mainnet/outpost/Pretoken.sol/PretokenV2.json';
52
+ import HoodiEthUsdPriceConsumerArtifact from '../../assets/ethereum/mainnet/outpost/EthUsdPriceConsumer.sol/EthUsdPriceConsumer.json';
53
+ import HoodiPoolArtifact from '../../assets/ethereum/mainnet/outpost/Pool.sol/PoolV2.json';
54
+ import HoodiOutpostManagerAuthorityArtifact from '../../assets/ethereum/mainnet/outpost/OutpostManagerAuthority.sol/OutpostManagerAuthority.json';
55
+ import HoodiIodataArtifact from '../../assets/ethereum/mainnet/common/iodata.sol/iodata.json';
56
+ import HoodiBase58Artifact from '../../assets/ethereum/mainnet/common/Base58.sol/Base58.json';
57
+ import HoodiSysioMerkleArtifact from '../../assets/ethereum/mainnet/common/sysio_merkle.sol/sysio_merkle.json';
58
+ import HoodiSysioWriteArtifact from '../../assets/ethereum/mainnet/common/sysio_write.sol/sysio_write.json';
59
+ import HoodiERC20Artifact from '../../assets/ethereum/mainnet/token/ERC20Token.sol/ERC20Token.json';
60
+ import HoodiERC721Artifact from '../../assets/ethereum/mainnet/token/ERC721Token.sol/ERC721Token.json';
61
+ import HoodiERC1155Artifact from '../../assets/ethereum/mainnet/token/ERC1155Token.sol/ERC1155Token.json';
63
62
 
64
63
  import { AddressBook, ContractName } from './types';
65
64
  import { Contract, ethers, providers, Signer } from 'ethers';
@@ -91,7 +90,6 @@ type ArtifactBundle = {
91
90
  OPPCommon: AbiArtifact;
92
91
  OPPInbound: AbiArtifact;
93
92
  Pretoken: AbiArtifact;
94
- Aggregator: AbiArtifact;
95
93
  EthUsdPriceConsumer: AbiArtifact;
96
94
  Pool: AbiArtifact;
97
95
  OutpostManagerAuthority: AbiArtifact;
@@ -121,7 +119,6 @@ const MAINNET_ARTIFACTS: ArtifactBundle = {
121
119
  OPPCommon: MainnetOPPCommonArtifact as AbiArtifact,
122
120
  OPPInbound: MainnetOPPInboundArtifact as AbiArtifact,
123
121
  Pretoken: MainnetPretokenArtifact as AbiArtifact,
124
- Aggregator: MainnetAggregatorArtifact as AbiArtifact,
125
122
  EthUsdPriceConsumer: MainnetEthUsdPriceConsumerArtifact as AbiArtifact,
126
123
  Pool: MainnetPoolArtifact as AbiArtifact,
127
124
  OutpostManagerAuthority: MainnetOutpostManagerAuthorityArtifact as AbiArtifact,
@@ -151,8 +148,6 @@ const HOODI_ARTIFACTS: ArtifactBundle = {
151
148
  OPPCommon: HoodiOPPCommonArtifact as AbiArtifact,
152
149
  OPPInbound: HoodiOPPInboundArtifact as AbiArtifact,
153
150
  Pretoken: HoodiPretokenArtifact as AbiArtifact,
154
- // No hoodi Aggregator artifact currently exists in assets; keep ABI compatibility with mainnet artifact.
155
- Aggregator: MainnetAggregatorArtifact as AbiArtifact,
156
151
  EthUsdPriceConsumer: HoodiEthUsdPriceConsumerArtifact as AbiArtifact,
157
152
  Pool: HoodiPoolArtifact as AbiArtifact,
158
153
  OutpostManagerAuthority: HoodiOutpostManagerAuthorityArtifact as AbiArtifact,
@@ -203,7 +198,7 @@ export const MAINNET_ADDRESSES: AddressBook = {
203
198
  OPPInbound: '0x088484d45fF93AFabC63810FB0b335792E2B24f3',
204
199
 
205
200
  // MockAggregator is not deployed on mainnet; keep as zero-address placeholder
206
- MockAggregator: '0x0000000000000000000000000000000000000000',
201
+ // MockAggregator: '0x0000000000000000000000000000000000000000',
207
202
  };
208
203
 
209
204
  /**
@@ -212,35 +207,35 @@ export const MAINNET_ADDRESSES: AddressBook = {
212
207
  */
213
208
  export const HOODI_ADDRESSES: AddressBook = {
214
209
  // LiqETH contracts
215
- LiqEthAuthority: '0xF2f111CB61fF600A958917bEEc4ae95AB839b0fD',
216
- BeaconState: '0xe9E05bF63A5a95F45B856400bcFC3b4Bcb332A27',
217
- WithdrawalQueue: '0x8fB35513ede9847D478B5ecE09524ebA42bf6947',
218
- LiqEthToken: '0xf24ef96791BAEB825ffadCcC12bd59bf46b1493A',
219
- Accounting: '0x2f12ECd08cAA2883f227eb6D8718913840c4d536',
220
- DepositManager: '0x3807b9a0746DD47075B1d7127d82F4413090b5d0',
221
- WithdrawalVault: '0x5d0A20942e34434A894F7faa45E255dF38DFbbA5',
222
- StakingModule: '0x98ebf82771524906E0dC79661D41778F88C3A153',
210
+ LiqEthAuthority: '0x3Eb66Bb91F7a022FbABc1619Cb6acce7025Bc41F',
211
+ BeaconState: '0x08F879c6D0964E0A17bF688Af23168f654DF372e',
212
+ WithdrawalQueue: '0x74aDeD940369baDDb0F36426F23B08499e45Fe18',
213
+ LiqEthToken: '0x8C974517D038e2e3b8a1da7b1A026bC8132A4b2e',
214
+ Accounting: '0x766CE996B8132b927988c5b2ECAE8108fB1a9307',
215
+ DepositManager: '0xEd391dB5DB11B5eDBE08e69A51D16e84293C09a3',
216
+ WithdrawalVault: '0xbaBc0D5997283ab9886696A0dEaB8A8093436b48',
217
+ StakingModule: '0x4998fBb6Ca5Ee3Db6c339e2962A34791Af643fEa',
223
218
  // YieldOracle: '0x61Fe311C57dd9a38Fb7B0c5A8ec521452dB25378',
224
219
 
225
220
  // Outpost contracts
226
- OutpostManagerAuthority: '0x2297f03dDF927Ab02658722fFF4b56095B9D5715',
227
- iodata: '0x57513B553fa7b5d6f223eE454f79480168493298',
228
- Base58: '0x92D738e4615Edf8eF60100286549555ec0117BA7',
229
- sysio_merkle: '0x1D4f3C6B0632150B44FcF9D3A37B517d70A6eBD4',
230
- ReceiptNFT: '0x4a896163E39579cA64BD163E769CA5b53fc9c859',
231
- EthUsdPriceConsumer: '0x069D24345AE78Fb172F3bf1Dc9C397F3DD7FEaed',
232
- Pool: '0x3b7ecEd59B64FC48cd02997FfDA5A50E4376c750',
233
- OutpostManager: '0x672256b775BF70f81CeBD5c99cb4F457Fcd5Ba47',
234
- sysio_write: '0x5a70610632Fc07067F9ECAf1d48d8880f8D7b950',
235
- Pretoken: '0x4a80082Fe770AD9995Ea95da3Da77C8aDa14FE2C',
236
- BAR: '0x8E3062455d6818c3273b94A4101a7509BC8BD189',
237
- OPPCommon: '0xEc6BfA399d37e8F10d730AACA23e25b208386463',
238
- OPP: '0xe54B0ebFC8F4ECFc0B86C37eC0A2579084F223c1',
239
- Depositor: '0x4Cd296E02C60b40646f7b02E83514c938280441C',
240
- OPPInbound: '0x5f16d85B454db90ca716166345d4EAc166793466',
221
+ OutpostManagerAuthority: '0x3B8705Ba1195AF632b3bd9E46F19348BC828FA3D',
222
+ iodata: '0x4aCABbC74a1cA9B0058d9ADAa0E00Af0f4f73212',
223
+ Base58: '0x1241F36ff30065deD52d51f0d6524EF971259A12',
224
+ sysio_merkle: '0x58ca9b5515266Fd6bF94D5F1268C505b2eC9679c',
225
+ ReceiptNFT: '0x03d6bD46cA9F54B8F8bbA21CfAfe717b36cB8593',
226
+ EthUsdPriceConsumer: '0xdC2DD993A13b3DD6D255B52285625694bd967c9A',
227
+ Pool: '0xd4742757AA61B1Fd3Fcd87980D7D460B12Cd9275',
228
+ OutpostManager: '0x38ec2B56cBCeCaFFe28b535517de1a102C3D74E3',
229
+ sysio_write: '0x0Ec4C1BaB772958aa3Db27459643bfbE7d92E305',
230
+ Pretoken: '0x8c97a51A71640fa411DEfab8feC3401eFfd1a2E4',
231
+ BAR: '0xbAFac13ffd3Aa9aEabaaeb6e4C2cF3dFf3479DC0',
232
+ OPPCommon: '0x12283a6d4E6cE4A0e8AdB319Fc161c7F4f91EA8F',
233
+ OPP: '0x87CE3Fe2CDca39C04aa2c14bbF1E1d9DB6358C4A',
234
+ Depositor: '0x5351B30EA4b75bD9be9Fc0048e88F675f7b3Ac2b',
235
+ OPPInbound: '0x0B1f7FB1c7f01A9cf490a1387E1E100F2bEA6C6d',
241
236
 
242
237
  // Test-only mock aggregator
243
- MockAggregator: '0xFCfc3ddd4CBd9Ad3b3af3A374B8bdA1b66eE6FFF',
238
+ // MockAggregator: '0xFCfc3ddd4CBd9Ad3b3af3A374B8bdA1b66eE6FFF',
244
239
  };
245
240
 
246
241
  export const ADDRESS_BOOK_BY_CHAIN: Record<SupportedEvmChainID, AddressBook> = {
@@ -364,10 +359,10 @@ function buildContracts(addresses: AddressBook, artifacts: ArtifactBundle): Cont
364
359
  abi: artifacts.Depositor.abi as JsonFragment[],
365
360
  },
366
361
 
367
- MockAggregator: {
368
- address: addresses.MockAggregator,
369
- abi: artifacts.Aggregator.abi as JsonFragment[],
370
- },
362
+ // MockAggregator: {
363
+ // address: addresses.MockAggregator,
364
+ // abi: artifacts.Aggregator.abi as JsonFragment[],
365
+ // },
371
366
  };
372
367
  }
373
368
 
@@ -29,7 +29,7 @@ export const CONTRACT_NAMES = [
29
29
  "Pretoken",
30
30
  "OPPInbound",
31
31
  "Depositor",
32
- "MockAggregator",
32
+ // "MockAggregator",
33
33
  ] as const;
34
34
 
35
35
  export type ContractName = typeof CONTRACT_NAMES[number];