@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
package/lib/stake.d.ts CHANGED
@@ -317,7 +317,7 @@ declare class Staker {
317
317
  setChain(chainID: ChainID): boolean;
318
318
  }
319
319
 
320
- declare const CONTRACT_NAMES: readonly ["LiqEthAuthority", "BeaconState", "WithdrawalQueue", "LiqEthToken", "Accounting", "DepositManager", "WithdrawalVault", "StakingModule", "OutpostManagerAuthority", "iodata", "Base58", "sysio_merkle", "ReceiptNFT", "Pool", "OutpostManager", "sysio_write", "EthUsdPriceConsumer", "BAR", "OPPCommon", "OPP", "Pretoken", "OPPInbound", "Depositor", "MockAggregator"];
320
+ declare const CONTRACT_NAMES: readonly ["LiqEthAuthority", "BeaconState", "WithdrawalQueue", "LiqEthToken", "Accounting", "DepositManager", "WithdrawalVault", "StakingModule", "OutpostManagerAuthority", "iodata", "Base58", "sysio_merkle", "ReceiptNFT", "Pool", "OutpostManager", "sysio_write", "EthUsdPriceConsumer", "BAR", "OPPCommon", "OPP", "Pretoken", "OPPInbound", "Depositor"];
321
321
  type ContractName = typeof CONTRACT_NAMES[number];
322
322
  type AddressBook = Record<ContractName, string>;
323
323
  interface Result {
@@ -465,7 +465,6 @@ declare class EthereumStakingClient implements IStakingClient {
465
465
  Pretoken: ethers.Contract;
466
466
  OPPInbound: ethers.Contract;
467
467
  Depositor: ethers.Contract;
468
- MockAggregator: ethers.Contract;
469
468
  };
470
469
  get network(): _wireio_core.ExternalNetwork;
471
470
  get address(): Promise<string> | undefined;
@@ -8948,6 +8947,68 @@ type LiqsolCore = {
8948
8947
  "description": "Created with Anchor";
8949
8948
  };
8950
8949
  "instructions": [
8950
+ {
8951
+ "name": "accumulateUnstakeRequest";
8952
+ "docs": [
8953
+ "Accumulate unstake requests to be processed in next allocation cycle",
8954
+ "Multiple requests can be accumulated before calculating allocations",
8955
+ "Returns the target epoch when this unstake request will be processed",
8956
+ "We should not be able to call this without development feature enabled",
8957
+ ""
8958
+ ];
8959
+ "discriminator": [
8960
+ 24,
8961
+ 73,
8962
+ 69,
8963
+ 139,
8964
+ 36,
8965
+ 209,
8966
+ 105,
8967
+ 252
8968
+ ];
8969
+ "accounts": [
8970
+ {
8971
+ "name": "admin";
8972
+ "writable": true;
8973
+ "signer": true;
8974
+ },
8975
+ {
8976
+ "name": "stakeAllocationState";
8977
+ "docs": [
8978
+ "Stake allocation state - to accumulate pending unstake requests"
8979
+ ];
8980
+ "writable": true;
8981
+ },
8982
+ {
8983
+ "name": "stakeMetrics";
8984
+ "docs": [
8985
+ "Stake metrics - to validate total unstake amount is available"
8986
+ ];
8987
+ },
8988
+ {
8989
+ "name": "maintenanceLedger";
8990
+ "docs": [
8991
+ "Maintenance ledger - to determine target processing epoch"
8992
+ ];
8993
+ },
8994
+ {
8995
+ "name": "globalConfig";
8996
+ "docs": [
8997
+ "Global config for min_unstake_request setting"
8998
+ ];
8999
+ },
9000
+ {
9001
+ "name": "clock";
9002
+ }
9003
+ ];
9004
+ "args": [
9005
+ {
9006
+ "name": "amount";
9007
+ "type": "u64";
9008
+ }
9009
+ ];
9010
+ "returns": "u64";
9011
+ },
8951
9012
  {
8952
9013
  "name": "addTopPerformersBatch";
8953
9014
  "docs": [
@@ -9000,6 +9061,74 @@ type LiqsolCore = {
9000
9061
  ];
9001
9062
  "args": [];
9002
9063
  },
9064
+ {
9065
+ "name": "addValidatorV2";
9066
+ "docs": [
9067
+ "Add a new validator bbypassing the looking at leaderboard and getting validators form there"
9068
+ ];
9069
+ "discriminator": [
9070
+ 217,
9071
+ 158,
9072
+ 30,
9073
+ 19,
9074
+ 123,
9075
+ 99,
9076
+ 110,
9077
+ 30
9078
+ ];
9079
+ "accounts": [
9080
+ {
9081
+ "name": "authority";
9082
+ "writable": true;
9083
+ "signer": true;
9084
+ },
9085
+ {
9086
+ "name": "activeList";
9087
+ "docs": [
9088
+ "Active list - will add the validator here"
9089
+ ];
9090
+ "writable": true;
9091
+ },
9092
+ {
9093
+ "name": "validatorInfo";
9094
+ "docs": [
9095
+ "Create the validator info account"
9096
+ ];
9097
+ "writable": true;
9098
+ },
9099
+ {
9100
+ "name": "validatorTransient";
9101
+ "docs": [
9102
+ "Create the validator transient account"
9103
+ ];
9104
+ "writable": true;
9105
+ },
9106
+ {
9107
+ "name": "stakeAllocationState";
9108
+ "docs": [
9109
+ "Stake allocation state - to update total_active_vpp when adding validator"
9110
+ ];
9111
+ "writable": true;
9112
+ },
9113
+ {
9114
+ "name": "systemProgram";
9115
+ }
9116
+ ];
9117
+ "args": [
9118
+ {
9119
+ "name": "voteAccount";
9120
+ "type": "pubkey";
9121
+ },
9122
+ {
9123
+ "name": "name";
9124
+ "type": "string";
9125
+ },
9126
+ {
9127
+ "name": "performanceScore";
9128
+ "type": "u8";
9129
+ }
9130
+ ];
9131
+ },
9003
9132
  {
9004
9133
  "name": "adminForceUnbondRole";
9005
9134
  "discriminator": [
@@ -9083,6 +9212,43 @@ type LiqsolCore = {
9083
9212
  ];
9084
9213
  "args": [];
9085
9214
  },
9215
+ {
9216
+ "name": "blacklistValidator";
9217
+ "docs": [
9218
+ "Blacklist a validator (user-facing, maintenance will handle graveyard movement)",
9219
+ "UnderPerforming is set automatically when score is updated",
9220
+ "Another serious emergency stop function"
9221
+ ];
9222
+ "discriminator": [
9223
+ 125,
9224
+ 42,
9225
+ 36,
9226
+ 229,
9227
+ 27,
9228
+ 38,
9229
+ 226,
9230
+ 62
9231
+ ];
9232
+ "accounts": [
9233
+ {
9234
+ "name": "validatorInfo";
9235
+ "writable": true;
9236
+ },
9237
+ {
9238
+ "name": "stakeAllocationState";
9239
+ "docs": [
9240
+ "Stake allocation state - to update total_active_vpp when VPP changes"
9241
+ ];
9242
+ "writable": true;
9243
+ }
9244
+ ];
9245
+ "args": [
9246
+ {
9247
+ "name": "voteAccount";
9248
+ "type": "pubkey";
9249
+ }
9250
+ ];
9251
+ },
9086
9252
  {
9087
9253
  "name": "bondRole";
9088
9254
  "discriminator": [
@@ -9305,6 +9471,9 @@ type LiqsolCore = {
9305
9471
  },
9306
9472
  {
9307
9473
  "name": "tokenProgram";
9474
+ },
9475
+ {
9476
+ "name": "systemProgram";
9308
9477
  }
9309
9478
  ];
9310
9479
  "args": [];
@@ -10708,6 +10877,69 @@ type LiqsolCore = {
10708
10877
  }
10709
10878
  ];
10710
10879
  },
10880
+ {
10881
+ "name": "injectTestYield";
10882
+ "discriminator": [
10883
+ 55,
10884
+ 41,
10885
+ 251,
10886
+ 228,
10887
+ 58,
10888
+ 191,
10889
+ 103,
10890
+ 248
10891
+ ];
10892
+ "accounts": [
10893
+ {
10894
+ "name": "admin";
10895
+ "signer": true;
10896
+ },
10897
+ {
10898
+ "name": "globalConfig";
10899
+ },
10900
+ {
10901
+ "name": "globalState";
10902
+ "writable": true;
10903
+ },
10904
+ {
10905
+ "name": "distributionState";
10906
+ "writable": true;
10907
+ },
10908
+ {
10909
+ "name": "liqsolMint";
10910
+ "writable": true;
10911
+ },
10912
+ {
10913
+ "name": "poolAuthority";
10914
+ },
10915
+ {
10916
+ "name": "liqsolPoolAta";
10917
+ "writable": true;
10918
+ },
10919
+ {
10920
+ "name": "depositAuthority";
10921
+ "writable": true;
10922
+ },
10923
+ {
10924
+ "name": "liqsolProgram";
10925
+ },
10926
+ {
10927
+ "name": "liqsolMintAuthority";
10928
+ },
10929
+ {
10930
+ "name": "instructionsSysvar";
10931
+ },
10932
+ {
10933
+ "name": "tokenProgram";
10934
+ }
10935
+ ];
10936
+ "args": [
10937
+ {
10938
+ "name": "amount";
10939
+ "type": "u64";
10940
+ }
10941
+ ];
10942
+ },
10711
10943
  {
10712
10944
  "name": "mergeActivatingStakes";
10713
10945
  "docs": [
@@ -10883,6 +11115,43 @@ type LiqsolCore = {
10883
11115
  }
10884
11116
  ];
10885
11117
  },
11118
+ {
11119
+ "name": "migrateUserRecord";
11120
+ "discriminator": [
11121
+ 6,
11122
+ 118,
11123
+ 249,
11124
+ 178,
11125
+ 209,
11126
+ 106,
11127
+ 197,
11128
+ 25
11129
+ ];
11130
+ "accounts": [
11131
+ {
11132
+ "name": "admin";
11133
+ "writable": true;
11134
+ "signer": true;
11135
+ },
11136
+ {
11137
+ "name": "globalConfig";
11138
+ },
11139
+ {
11140
+ "name": "userAta";
11141
+ },
11142
+ {
11143
+ "name": "userRecord";
11144
+ "writable": true;
11145
+ },
11146
+ {
11147
+ "name": "distributionState";
11148
+ },
11149
+ {
11150
+ "name": "systemProgram";
11151
+ }
11152
+ ];
11153
+ "args": [];
11154
+ },
10886
11155
  {
10887
11156
  "name": "processGraveyardValidatorsBatch";
10888
11157
  "docs": [
@@ -11910,31 +12179,168 @@ type LiqsolCore = {
11910
12179
  "writable": true;
11911
12180
  },
11912
12181
  {
11913
- "name": "nftAta";
12182
+ "name": "nftAta";
12183
+ "writable": true;
12184
+ },
12185
+ {
12186
+ "name": "tokenProgram";
12187
+ },
12188
+ {
12189
+ "name": "tokenInterface";
12190
+ },
12191
+ {
12192
+ "name": "associatedTokenProgram";
12193
+ },
12194
+ {
12195
+ "name": "systemProgram";
12196
+ },
12197
+ {
12198
+ "name": "rent";
12199
+ }
12200
+ ];
12201
+ "args": [
12202
+ {
12203
+ "name": "amount";
12204
+ "type": "u64";
12205
+ }
12206
+ ];
12207
+ },
12208
+ {
12209
+ "name": "resetDistributionState";
12210
+ "discriminator": [
12211
+ 159,
12212
+ 183,
12213
+ 162,
12214
+ 74,
12215
+ 228,
12216
+ 135,
12217
+ 157,
12218
+ 79
12219
+ ];
12220
+ "accounts": [
12221
+ {
12222
+ "name": "admin";
12223
+ "signer": true;
12224
+ },
12225
+ {
12226
+ "name": "distributionState";
12227
+ "writable": true;
12228
+ }
12229
+ ];
12230
+ "args": [];
12231
+ },
12232
+ {
12233
+ "name": "resetGlobalState";
12234
+ "discriminator": [
12235
+ 252,
12236
+ 41,
12237
+ 117,
12238
+ 110,
12239
+ 248,
12240
+ 165,
12241
+ 48,
12242
+ 88
12243
+ ];
12244
+ "accounts": [
12245
+ {
12246
+ "name": "admin";
12247
+ "signer": true;
12248
+ },
12249
+ {
12250
+ "name": "globalConfig";
12251
+ },
12252
+ {
12253
+ "name": "globalState";
12254
+ "writable": true;
12255
+ },
12256
+ {
12257
+ "name": "poolAuthority";
12258
+ },
12259
+ {
12260
+ "name": "liqsolMint";
12261
+ },
12262
+ {
12263
+ "name": "liqsolPoolAta";
12264
+ "writable": true;
12265
+ },
12266
+ {
12267
+ "name": "tokenProgram";
12268
+ },
12269
+ {
12270
+ "name": "associatedTokenProgram";
12271
+ }
12272
+ ];
12273
+ "args": [];
12274
+ },
12275
+ {
12276
+ "name": "resetPriceHistory";
12277
+ "discriminator": [
12278
+ 213,
12279
+ 231,
12280
+ 155,
12281
+ 139,
12282
+ 248,
12283
+ 60,
12284
+ 67,
12285
+ 199
12286
+ ];
12287
+ "accounts": [
12288
+ {
12289
+ "name": "admin";
12290
+ "writable": true;
12291
+ "signer": true;
12292
+ },
12293
+ {
12294
+ "name": "globalConfig";
12295
+ },
12296
+ {
12297
+ "name": "trancheState";
12298
+ "writable": true;
12299
+ },
12300
+ {
12301
+ "name": "priceHistory";
12302
+ "writable": true;
12303
+ },
12304
+ {
12305
+ "name": "systemProgram";
12306
+ }
12307
+ ];
12308
+ "args": [];
12309
+ },
12310
+ {
12311
+ "name": "resetTrancheState";
12312
+ "discriminator": [
12313
+ 106,
12314
+ 102,
12315
+ 143,
12316
+ 40,
12317
+ 152,
12318
+ 173,
12319
+ 165,
12320
+ 168
12321
+ ];
12322
+ "accounts": [
12323
+ {
12324
+ "name": "admin";
11914
12325
  "writable": true;
12326
+ "signer": true;
11915
12327
  },
11916
12328
  {
11917
- "name": "tokenProgram";
12329
+ "name": "globalConfig";
11918
12330
  },
11919
12331
  {
11920
- "name": "tokenInterface";
12332
+ "name": "trancheState";
12333
+ "writable": true;
11921
12334
  },
11922
12335
  {
11923
- "name": "associatedTokenProgram";
12336
+ "name": "priceHistory";
12337
+ "writable": true;
11924
12338
  },
11925
12339
  {
11926
12340
  "name": "systemProgram";
11927
- },
11928
- {
11929
- "name": "rent";
11930
- }
11931
- ];
11932
- "args": [
11933
- {
11934
- "name": "amount";
11935
- "type": "u64";
11936
12341
  }
11937
12342
  ];
12343
+ "args": [];
11938
12344
  },
11939
12345
  {
11940
12346
  "name": "setAdmin";
@@ -11990,6 +12396,45 @@ type LiqsolCore = {
11990
12396
  ];
11991
12397
  "args": [];
11992
12398
  },
12399
+ {
12400
+ "name": "setLastStateChangeEpoch";
12401
+ "docs": [
12402
+ "Admin function to directly set last_state_change_epoch (useful for testing cooldowns)"
12403
+ ];
12404
+ "discriminator": [
12405
+ 94,
12406
+ 57,
12407
+ 139,
12408
+ 195,
12409
+ 123,
12410
+ 224,
12411
+ 227,
12412
+ 106
12413
+ ];
12414
+ "accounts": [
12415
+ {
12416
+ "name": "validatorInfo";
12417
+ "writable": true;
12418
+ },
12419
+ {
12420
+ "name": "stakeAllocationState";
12421
+ "docs": [
12422
+ "Stake allocation state - to update total_active_vpp when VPP changes"
12423
+ ];
12424
+ "writable": true;
12425
+ }
12426
+ ];
12427
+ "args": [
12428
+ {
12429
+ "name": "voteAccount";
12430
+ "type": "pubkey";
12431
+ },
12432
+ {
12433
+ "name": "epoch";
12434
+ "type": "u16";
12435
+ }
12436
+ ];
12437
+ },
11993
12438
  {
11994
12439
  "name": "setPaused";
11995
12440
  "discriminator": [
@@ -12478,6 +12923,34 @@ type LiqsolCore = {
12478
12923
  }
12479
12924
  ];
12480
12925
  },
12926
+ {
12927
+ "name": "testClearActiveList";
12928
+ "discriminator": [
12929
+ 17,
12930
+ 195,
12931
+ 59,
12932
+ 174,
12933
+ 184,
12934
+ 137,
12935
+ 149,
12936
+ 144
12937
+ ];
12938
+ "accounts": [
12939
+ {
12940
+ "name": "activeList";
12941
+ "writable": true;
12942
+ },
12943
+ {
12944
+ "name": "processingState";
12945
+ "writable": true;
12946
+ },
12947
+ {
12948
+ "name": "authority";
12949
+ "signer": true;
12950
+ }
12951
+ ];
12952
+ "args": [];
12953
+ },
12481
12954
  {
12482
12955
  "name": "updateConfigBool";
12483
12956
  "discriminator": [
@@ -13400,12 +13873,20 @@ type LiqsolCore = {
13400
13873
  ];
13401
13874
  "type": "u8";
13402
13875
  },
13876
+ {
13877
+ "name": "aggregationStartedEpoch";
13878
+ "docs": [
13879
+ "The epoch when the current aggregation batch started.",
13880
+ "Prevents stale partial accumulators from being committed if an epoch boundary is crossed mid-aggregation."
13881
+ ];
13882
+ "type": "u64";
13883
+ },
13403
13884
  {
13404
13885
  "name": "reserved";
13405
13886
  "type": {
13406
13887
  "array": [
13407
13888
  "u8",
13408
- 31
13889
+ 23
13409
13890
  ];
13410
13891
  };
13411
13892
  }
@@ -15068,6 +15549,13 @@ type LiqsolCore = {
15068
15549
  {
15069
15550
  "name": "bump";
15070
15551
  "type": "u8";
15552
+ },
15553
+ {
15554
+ "name": "trackedBalance";
15555
+ "docs": [
15556
+ "Last reconciled liqSOL token balance for this user ATA"
15557
+ ];
15558
+ "type": "u64";
15071
15559
  }
15072
15560
  ];
15073
15561
  };
@@ -15858,6 +16346,167 @@ type ValidatorLeaderboard = {
15858
16346
  ];
15859
16347
  "args": [];
15860
16348
  },
16349
+ {
16350
+ "name": "testClearLeaderboard";
16351
+ "discriminator": [
16352
+ 118,
16353
+ 207,
16354
+ 26,
16355
+ 205,
16356
+ 180,
16357
+ 7,
16358
+ 75,
16359
+ 244
16360
+ ];
16361
+ "accounts": [
16362
+ {
16363
+ "name": "leaderboardState";
16364
+ "writable": true;
16365
+ },
16366
+ {
16367
+ "name": "authority";
16368
+ "signer": true;
16369
+ }
16370
+ ];
16371
+ "args": [];
16372
+ },
16373
+ {
16374
+ "name": "testForceRegisterValidator";
16375
+ "discriminator": [
16376
+ 136,
16377
+ 156,
16378
+ 132,
16379
+ 32,
16380
+ 96,
16381
+ 240,
16382
+ 7,
16383
+ 115
16384
+ ];
16385
+ "accounts": [
16386
+ {
16387
+ "name": "registrant";
16388
+ "writable": true;
16389
+ "signer": true;
16390
+ },
16391
+ {
16392
+ "name": "voteAccount";
16393
+ },
16394
+ {
16395
+ "name": "validatorRecord";
16396
+ "writable": true;
16397
+ },
16398
+ {
16399
+ "name": "leaderboardState";
16400
+ "writable": true;
16401
+ },
16402
+ {
16403
+ "name": "systemProgram";
16404
+ },
16405
+ {
16406
+ "name": "clock";
16407
+ }
16408
+ ];
16409
+ "args": [
16410
+ {
16411
+ "name": "vpp";
16412
+ "type": "u8";
16413
+ }
16414
+ ];
16415
+ },
16416
+ {
16417
+ "name": "testForceUpdateVpp";
16418
+ "discriminator": [
16419
+ 67,
16420
+ 51,
16421
+ 28,
16422
+ 174,
16423
+ 200,
16424
+ 214,
16425
+ 203,
16426
+ 162
16427
+ ];
16428
+ "accounts": [
16429
+ {
16430
+ "name": "registrant";
16431
+ "writable": true;
16432
+ "signer": true;
16433
+ },
16434
+ {
16435
+ "name": "voteAccount";
16436
+ },
16437
+ {
16438
+ "name": "validatorRecord";
16439
+ "writable": true;
16440
+ },
16441
+ {
16442
+ "name": "leaderboardState";
16443
+ "writable": true;
16444
+ }
16445
+ ];
16446
+ "args": [
16447
+ {
16448
+ "name": "vpp";
16449
+ "type": "u8";
16450
+ }
16451
+ ];
16452
+ },
16453
+ {
16454
+ "name": "testLogEpochInfo";
16455
+ "discriminator": [
16456
+ 196,
16457
+ 206,
16458
+ 58,
16459
+ 88,
16460
+ 160,
16461
+ 47,
16462
+ 2,
16463
+ 153
16464
+ ];
16465
+ "accounts": [];
16466
+ "args": [];
16467
+ },
16468
+ {
16469
+ "name": "testSeedRandomValidators";
16470
+ "discriminator": [
16471
+ 48,
16472
+ 155,
16473
+ 181,
16474
+ 112,
16475
+ 163,
16476
+ 242,
16477
+ 43,
16478
+ 146
16479
+ ];
16480
+ "accounts": [
16481
+ {
16482
+ "name": "registrant";
16483
+ "writable": true;
16484
+ "signer": true;
16485
+ },
16486
+ {
16487
+ "name": "leaderboardState";
16488
+ "writable": true;
16489
+ }
16490
+ ];
16491
+ "args": [
16492
+ {
16493
+ "name": "count";
16494
+ "type": "u16";
16495
+ },
16496
+ {
16497
+ "name": "seed";
16498
+ "type": "u64";
16499
+ },
16500
+ {
16501
+ "name": "minVpp";
16502
+ "type": "u8";
16503
+ },
16504
+ {
16505
+ "name": "maxVpp";
16506
+ "type": "u8";
16507
+ }
16508
+ ];
16509
+ },
15861
16510
  {
15862
16511
  "name": "updateCommission";
15863
16512
  "discriminator": [