@wireio/stake 0.4.2 → 0.4.69

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 (558) hide show
  1. package/README.md +185 -243
  2. package/lib/stake.browser.js +52382 -10034
  3. package/lib/stake.browser.js.map +1 -1
  4. package/lib/stake.d.ts +12552 -964
  5. package/lib/stake.js +52993 -10538
  6. package/lib/stake.js.map +1 -1
  7. package/lib/stake.m.js +52382 -10034
  8. package/lib/stake.m.js.map +1 -1
  9. package/package.json +4 -3
  10. package/src/assets/ethereum/hoodi/common/Base58.sol/Base58.dbg.json +4 -0
  11. package/src/assets/ethereum/hoodi/common/Base58.sol/Base58.json +164 -0
  12. package/src/assets/ethereum/hoodi/common/OpenZepArtifacts.sol/__Dummy_OZ_UUPS__.dbg.json +4 -0
  13. package/src/assets/ethereum/hoodi/common/OpenZepArtifacts.sol/__Dummy_OZ_UUPS__.json +76 -0
  14. package/src/assets/ethereum/hoodi/common/RestrictedCallers.sol/RestrictedCallers.dbg.json +4 -0
  15. package/src/assets/ethereum/hoodi/common/RestrictedCallers.sol/RestrictedCallers.json +10 -0
  16. package/src/assets/ethereum/hoodi/common/iodata.sol/iodata.dbg.json +4 -0
  17. package/src/assets/ethereum/hoodi/common/iodata.sol/iodata.json +618 -0
  18. package/src/assets/ethereum/hoodi/common/iodata_util.sol/iodata_util.dbg.json +4 -0
  19. package/src/assets/ethereum/hoodi/common/iodata_util.sol/iodata_util.json +40 -0
  20. package/src/assets/ethereum/hoodi/common/sysio_data.sol/sysio_data.dbg.json +4 -0
  21. package/src/assets/ethereum/hoodi/common/sysio_data.sol/sysio_data.json +10 -0
  22. package/src/assets/ethereum/hoodi/common/sysio_errors.sol/sysio_errors.dbg.json +4 -0
  23. package/src/assets/ethereum/hoodi/common/sysio_errors.sol/sysio_errors.json +10 -0
  24. package/src/assets/ethereum/hoodi/common/sysio_merkle.sol/sysio_merkle.dbg.json +4 -0
  25. package/src/assets/ethereum/hoodi/common/sysio_merkle.sol/sysio_merkle.json +233 -0
  26. package/src/assets/ethereum/hoodi/common/sysio_name.sol/sysio_name.dbg.json +4 -0
  27. package/src/assets/ethereum/hoodi/common/sysio_name.sol/sysio_name.json +49 -0
  28. package/src/assets/ethereum/hoodi/common/sysio_pubkey.sol/sysio_pubkey.dbg.json +4 -0
  29. package/src/assets/ethereum/hoodi/common/sysio_pubkey.sol/sysio_pubkey.json +64 -0
  30. package/src/assets/ethereum/hoodi/common/sysio_read.sol/sysio_read.dbg.json +4 -0
  31. package/src/assets/ethereum/hoodi/common/sysio_read.sol/sysio_read.json +1458 -0
  32. package/src/assets/ethereum/hoodi/common/sysio_tester.sol/SysioTester.dbg.json +4 -0
  33. package/src/assets/ethereum/hoodi/common/sysio_tester.sol/SysioTester.json +1532 -0
  34. package/src/assets/ethereum/hoodi/common/sysio_verify.sol/sysio_verify.dbg.json +4 -0
  35. package/src/assets/ethereum/hoodi/common/sysio_verify.sol/sysio_verify.json +1525 -0
  36. package/src/assets/ethereum/hoodi/common/sysio_write.sol/sysio_write.dbg.json +4 -0
  37. package/src/assets/ethereum/hoodi/common/sysio_write.sol/sysio_write.json +1076 -0
  38. package/src/assets/ethereum/hoodi/liqEth/BeaconState.sol/BeaconState.dbg.json +4 -0
  39. package/src/assets/ethereum/hoodi/liqEth/DepositManager.sol/DepositManagerV2.dbg.json +4 -0
  40. package/src/assets/ethereum/hoodi/liqEth/DepositManager.sol/DepositManagerV2.json +985 -0
  41. package/src/assets/ethereum/hoodi/liqEth/LiqEthAuthority.sol/LiqEthAuthority.dbg.json +4 -0
  42. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IAccounting.dbg.json +4 -0
  43. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IAccounting.json +182 -0
  44. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IDepositContract.dbg.json +4 -0
  45. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IDepositManager.dbg.json +4 -0
  46. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/ILiqEthUpgradeable.dbg.json +4 -0
  47. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IRewardsERC20.dbg.json +4 -0
  48. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IRewardsERC20.json +319 -0
  49. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IRewardsERC20Pausable.dbg.json +4 -0
  50. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IRewardsERC20Pausable.json +333 -0
  51. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IStakingModule.dbg.json +4 -0
  52. package/src/assets/ethereum/{ABI → hoodi}/liqEth/LiqEthCommon.sol/IStakingModule.json +1 -1
  53. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IValidatorBalanceVerifier.dbg.json +4 -0
  54. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IWithdrawalRecord.dbg.json +4 -0
  55. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/LiqEthCommon.dbg.json +4 -0
  56. package/src/assets/ethereum/{ABI → hoodi}/liqEth/LiqEthCommon.sol/LiqEthCommon.json +2 -2
  57. package/src/assets/ethereum/hoodi/liqEth/LiqEthDeepFreeze.sol/LiqEthDeepFreeze.dbg.json +4 -0
  58. package/src/assets/ethereum/hoodi/liqEth/LiqEthDeepFreeze.sol/LiqEthDeepFreeze.json +236 -0
  59. package/src/assets/ethereum/hoodi/liqEth/LiqEthManaged.sol/LiqEthManaged.dbg.json +4 -0
  60. package/src/assets/ethereum/{ABI → hoodi}/liqEth/LiqEthManaged.sol/LiqEthManaged.json +2 -2
  61. package/src/assets/ethereum/hoodi/liqEth/RewardsERC20.sol/RewardsERC20UpgradeableV2.dbg.json +4 -0
  62. package/src/assets/ethereum/hoodi/liqEth/RewardsERC20.sol/RewardsERC20UpgradeableV2.json +957 -0
  63. package/src/assets/ethereum/hoodi/liqEth/RewardsERC20Pausable.sol/RewardsERC20PausableUpgradeableV2.dbg.json +4 -0
  64. package/src/assets/ethereum/hoodi/liqEth/RewardsERC20Pausable.sol/RewardsERC20PausableUpgradeableV2.json +1020 -0
  65. package/src/assets/ethereum/hoodi/liqEth/Yield.sol/YieldOracle.dbg.json +4 -0
  66. package/src/assets/ethereum/{ABI → hoodi}/liqEth/Yield.sol/YieldOracle.json +2 -2
  67. package/src/assets/ethereum/hoodi/liqEth/accounting.sol/AccountingV2.dbg.json +4 -0
  68. package/src/assets/ethereum/hoodi/liqEth/accounting.sol/AccountingV2.json +629 -0
  69. package/src/assets/ethereum/hoodi/liqEth/liqEth.sol/LiqEthTokenV2.dbg.json +4 -0
  70. package/src/assets/ethereum/hoodi/liqEth/liqEth.sol/LiqEthTokenV2.json +1323 -0
  71. package/src/assets/ethereum/hoodi/liqEth/stakingModule.sol/StakingModuleV2.dbg.json +4 -0
  72. package/src/assets/ethereum/hoodi/liqEth/stakingModule.sol/StakingModuleV2.json +1779 -0
  73. package/src/assets/ethereum/hoodi/liqEth/v1/DepositManager.sol/DepositManager.dbg.json +4 -0
  74. package/src/assets/ethereum/hoodi/liqEth/v1/DepositManager.sol/DepositManager.json +978 -0
  75. package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/IAccounting.dbg.json +4 -0
  76. package/src/assets/ethereum/{ABI/liqEth → hoodi/liqEth/v1}/LiqEthCommon.sol/IAccounting.json +1 -1
  77. package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/IDepositContract.dbg.json +4 -0
  78. package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/IDepositContract.json +39 -0
  79. package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/IDepositManager.dbg.json +4 -0
  80. package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/IDepositManager.json +64 -0
  81. package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/ILiqEthUpgradeable.dbg.json +4 -0
  82. package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/ILiqEthUpgradeable.json +29 -0
  83. package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/IRewardsERC20.dbg.json +4 -0
  84. package/src/assets/ethereum/{ABI/liqEth → hoodi/liqEth/v1}/LiqEthCommon.sol/IRewardsERC20.json +1 -1
  85. package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/IRewardsERC20Pausable.dbg.json +4 -0
  86. package/src/assets/ethereum/{ABI/liqEth → hoodi/liqEth/v1}/LiqEthCommon.sol/IRewardsERC20Pausable.json +1 -1
  87. package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/IStakingModule.dbg.json +4 -0
  88. package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/IStakingModule.json +344 -0
  89. package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/IValidatorBalanceVerifier.dbg.json +4 -0
  90. package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/IValidatorBalanceVerifier.json +129 -0
  91. package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/IWithdrawalRecord.dbg.json +4 -0
  92. package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/IWithdrawalRecord.json +66 -0
  93. package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/LiqEthCommon.dbg.json +4 -0
  94. package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/LiqEthCommon.json +10 -0
  95. package/src/assets/ethereum/hoodi/liqEth/v1/RewardsERC20.sol/RewardsERC20Upgradeable.dbg.json +4 -0
  96. package/src/assets/ethereum/{ABI/liqEth → hoodi/liqEth/v1}/RewardsERC20.sol/RewardsERC20Upgradeable.json +1 -1
  97. package/src/assets/ethereum/hoodi/liqEth/v1/RewardsERC20Pausable.sol/RewardsERC20PausableUpgradeable.dbg.json +4 -0
  98. package/src/assets/ethereum/{ABI/liqEth → hoodi/liqEth/v1}/RewardsERC20Pausable.sol/RewardsERC20PausableUpgradeable.json +1 -1
  99. package/src/assets/ethereum/hoodi/liqEth/v1/accounting.sol/Accounting.dbg.json +4 -0
  100. package/src/assets/ethereum/hoodi/liqEth/v1/accounting.sol/Accounting.json +548 -0
  101. package/src/assets/ethereum/hoodi/liqEth/v1/liqEth.sol/LiqEthToken.dbg.json +4 -0
  102. package/src/assets/ethereum/hoodi/liqEth/v1/liqEth.sol/LiqEthToken.json +1233 -0
  103. package/src/assets/ethereum/hoodi/liqEth/v1/stakingModule.sol/StakingModule.dbg.json +4 -0
  104. package/src/assets/ethereum/hoodi/liqEth/v1/stakingModule.sol/StakingModule.json +1772 -0
  105. package/src/assets/ethereum/hoodi/liqEth/withdrawalQueue.sol/WithdrawalQueue.dbg.json +4 -0
  106. package/src/assets/ethereum/{ABI → hoodi}/liqEth/withdrawalQueue.sol/WithdrawalQueue.json +2 -2
  107. package/src/assets/ethereum/hoodi/liqEth/withdrawalVault.sol/Uint64BE.dbg.json +4 -0
  108. package/src/assets/ethereum/{ABI → hoodi}/liqEth/withdrawalVault.sol/Uint64BE.json +2 -2
  109. package/src/assets/ethereum/hoodi/liqEth/withdrawalVault.sol/WithdrawalVault.dbg.json +4 -0
  110. package/src/assets/ethereum/hoodi/liqEth/withdrawalVault.sol/WithdrawalVault.json +441 -0
  111. package/src/assets/ethereum/hoodi/outpost/BAR.sol/BAR.dbg.json +4 -0
  112. package/src/assets/ethereum/hoodi/outpost/BAR.sol/BAR.json +1111 -0
  113. package/src/assets/ethereum/hoodi/outpost/Depositor.sol/Depositor.dbg.json +4 -0
  114. package/src/assets/ethereum/hoodi/outpost/Depositor.sol/Depositor.json +1696 -0
  115. package/src/assets/ethereum/hoodi/outpost/EthUsdPriceConsumer.sol/AggregatorV3Interface.dbg.json +4 -0
  116. package/src/assets/ethereum/hoodi/outpost/EthUsdPriceConsumer.sol/EthUsdPriceConsumer.dbg.json +4 -0
  117. package/src/assets/ethereum/hoodi/outpost/EthUsdPriceConsumer.sol/EthUsdPriceConsumer.json +274 -0
  118. package/src/assets/ethereum/hoodi/outpost/InstaswapBridgeAttestations.sol/BridgeDepositCodec.dbg.json +4 -0
  119. package/src/assets/ethereum/hoodi/outpost/InstaswapBridgeAttestations.sol/BridgeDepositCodec.json +10 -0
  120. package/src/assets/ethereum/hoodi/outpost/InstaswapBridgeAttestations.sol/BridgeWithdrawCodec.dbg.json +4 -0
  121. package/src/assets/ethereum/hoodi/outpost/InstaswapBridgeAttestations.sol/BridgeWithdrawCodec.json +10 -0
  122. package/src/assets/ethereum/hoodi/outpost/InstaswapBridgeAttestations.sol/BridgeWithdrawConfirmCodec.dbg.json +4 -0
  123. package/src/assets/ethereum/hoodi/outpost/InstaswapBridgeAttestations.sol/BridgeWithdrawConfirmCodec.json +10 -0
  124. package/src/assets/ethereum/hoodi/outpost/InstaswapBridgeAttestations.sol/InstaswapBridgeAttestationTypeLib.dbg.json +4 -0
  125. package/src/assets/ethereum/hoodi/outpost/InstaswapBridgeAttestations.sol/InstaswapBridgeAttestationTypeLib.json +10 -0
  126. package/src/assets/ethereum/hoodi/outpost/LiqEthBridge.sol/LiqEthBridge.dbg.json +4 -0
  127. package/src/assets/ethereum/hoodi/outpost/LiqEthBridge.sol/LiqEthBridge.json +1044 -0
  128. package/src/assets/ethereum/hoodi/outpost/OPP.sol/OPP.dbg.json +4 -0
  129. package/src/assets/ethereum/hoodi/outpost/OPP.sol/OPP.json +1055 -0
  130. package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/IOPP.dbg.json +4 -0
  131. package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/IOPP.json +81 -0
  132. package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/IOPPEndpoint.dbg.json +4 -0
  133. package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/IOPPInbound.dbg.json +4 -0
  134. package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/IOPPInbound.json +330 -0
  135. package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/IOPPReceiver.dbg.json +4 -0
  136. package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/IOPPReceiver.json +29 -0
  137. package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/IOPPSender.dbg.json +4 -0
  138. package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/IOPPSender.json +41 -0
  139. package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/OPPCommon.dbg.json +4 -0
  140. package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/OPPCommon.json +287 -0
  141. package/src/assets/ethereum/hoodi/outpost/OPPEndpoint.sol/OPPEndpoint.dbg.json +4 -0
  142. package/src/assets/ethereum/hoodi/outpost/OPPEndpoint.sol/OPPEndpoint.json +294 -0
  143. package/src/assets/ethereum/hoodi/outpost/OPPEndpointManaged.sol/OPPEndpointManaged.dbg.json +4 -0
  144. package/src/assets/ethereum/hoodi/outpost/OPPEndpointManaged.sol/OPPEndpointManaged.json +415 -0
  145. package/src/assets/ethereum/hoodi/outpost/OPPEndpointOwnable.sol/OPPEndpointOwnable.dbg.json +4 -0
  146. package/src/assets/ethereum/hoodi/outpost/OPPEndpointOwnable.sol/OPPEndpointOwnable.json +399 -0
  147. package/src/assets/ethereum/hoodi/outpost/OPPErrors.sol/OPPErrors.dbg.json +4 -0
  148. package/src/assets/ethereum/hoodi/outpost/OPPErrors.sol/OPPErrors.json +245 -0
  149. package/src/assets/ethereum/hoodi/outpost/OPPInbound.sol/OPPInbound.dbg.json +4 -0
  150. package/src/assets/ethereum/hoodi/outpost/OPPInbound.sol/OPPInbound.json +1204 -0
  151. package/src/assets/ethereum/hoodi/outpost/OPPReceiver.sol/OPPReceiver.dbg.json +4 -0
  152. package/src/assets/ethereum/hoodi/outpost/OPPReceiver.sol/OPPReceiver.json +312 -0
  153. package/src/assets/ethereum/hoodi/outpost/OPPSender.sol/OPPSender.dbg.json +4 -0
  154. package/src/assets/ethereum/hoodi/outpost/OPPSender.sol/OPPSender.json +324 -0
  155. package/src/assets/ethereum/hoodi/outpost/OperatorRegistry.sol/OperatorRegistry.dbg.json +4 -0
  156. package/src/assets/ethereum/hoodi/outpost/OperatorRegistry.sol/OperatorRegistry.json +1068 -0
  157. package/src/assets/ethereum/hoodi/outpost/OutpostErrors.sol/OutpostErrors.dbg.json +4 -0
  158. package/src/assets/ethereum/hoodi/outpost/OutpostErrors.sol/OutpostErrors.json +211 -0
  159. package/src/assets/ethereum/hoodi/outpost/OutpostManaged.sol/OutpostManaged.dbg.json +4 -0
  160. package/src/assets/ethereum/hoodi/outpost/OutpostManaged.sol/OutpostManaged.json +229 -0
  161. package/src/assets/ethereum/hoodi/outpost/OutpostManager.sol/OutpostManager.dbg.json +4 -0
  162. package/src/assets/ethereum/hoodi/outpost/OutpostManager.sol/OutpostManager.json +751 -0
  163. package/src/assets/ethereum/hoodi/outpost/OutpostManagerAuthority.sol/OutpostManagerAuthority.dbg.json +4 -0
  164. package/src/assets/ethereum/hoodi/outpost/OutpostManagerAuthority.sol/OutpostManagerAuthority.json +1432 -0
  165. package/src/assets/ethereum/hoodi/outpost/OutpostManagerCommon.sol/IOutpostManager.dbg.json +4 -0
  166. package/src/assets/ethereum/hoodi/outpost/OutpostManagerCommon.sol/IOutpostManager.json +130 -0
  167. package/src/assets/ethereum/hoodi/outpost/OutpostManagerCommon.sol/IOutpostUpgradeable.dbg.json +4 -0
  168. package/src/assets/ethereum/hoodi/outpost/OutpostManagerCommon.sol/OutpostManagerCommon.dbg.json +4 -0
  169. package/src/assets/ethereum/hoodi/outpost/OutpostManagerCommon.sol/OutpostManagerCommon.json +141 -0
  170. package/src/assets/ethereum/hoodi/outpost/OutpostOwnable.sol/OutpostOwnable.dbg.json +4 -0
  171. package/src/assets/ethereum/hoodi/outpost/OutpostOwnable.sol/OutpostOwnable.json +213 -0
  172. package/src/assets/ethereum/hoodi/outpost/OutpostReserve.sol/OutpostReserve.dbg.json +4 -0
  173. package/src/assets/ethereum/hoodi/outpost/OutpostReserve.sol/OutpostReserve.json +888 -0
  174. package/src/assets/ethereum/hoodi/outpost/Pool.sol/Pool.dbg.json +4 -0
  175. package/src/assets/ethereum/hoodi/outpost/Pool.sol/Pool.json +659 -0
  176. package/src/assets/ethereum/hoodi/outpost/Pretoken.sol/Pretoken.dbg.json +4 -0
  177. package/src/assets/ethereum/hoodi/outpost/Pretoken.sol/Pretoken.json +1393 -0
  178. package/src/assets/ethereum/hoodi/outpost/ReceiptNFT.sol/ReceiptNFT.dbg.json +4 -0
  179. package/src/assets/ethereum/hoodi/outpost/ReceiptNFT.sol/ReceiptNFT.json +1738 -0
  180. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/InstaswapConfirmCodec.dbg.json +4 -0
  181. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/InstaswapConfirmCodec.json +10 -0
  182. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/InstaswapFailedCodec.dbg.json +4 -0
  183. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/InstaswapFailedCodec.json +10 -0
  184. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/InstaswapRequestCodec.dbg.json +4 -0
  185. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/InstaswapRequestCodec.json +10 -0
  186. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/InstaswapSettlementCodec.dbg.json +4 -0
  187. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/InstaswapSettlementCodec.json +10 -0
  188. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/PrincipalExitConfirmCodec.dbg.json +4 -0
  189. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/PrincipalExitConfirmCodec.json +10 -0
  190. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/PrincipalExitFailedCodec.dbg.json +4 -0
  191. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/PrincipalExitFailedCodec.json +10 -0
  192. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/PrincipalExitRequestCodec.dbg.json +4 -0
  193. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/PrincipalExitRequestCodec.json +10 -0
  194. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/PrincipalStakeDeltaCodec.dbg.json +4 -0
  195. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/PrincipalStakeDeltaCodec.json +10 -0
  196. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/WireYieldHubAssetCodec.dbg.json +4 -0
  197. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/WireYieldHubAssetCodec.json +10 -0
  198. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/WireYieldHubAttestationTypeLib.dbg.json +4 -0
  199. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/WireYieldHubAttestationTypeLib.json +10 -0
  200. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/WireYieldHubAttestations.dbg.json +4 -0
  201. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/WireYieldHubAttestations.json +1437 -0
  202. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/YieldDepositCodec.dbg.json +4 -0
  203. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/YieldDepositCodec.json +10 -0
  204. package/src/assets/ethereum/hoodi/outpost/interfaces/IPretoken.sol/IPretoken.dbg.json +4 -0
  205. package/src/assets/ethereum/hoodi/outpost/interfaces/IWarrant.sol/IWarrant.dbg.json +4 -0
  206. package/src/assets/ethereum/hoodi/outpost/token/ERC721EthEquivalentVotesUpgradeable.sol/ERC721EthEquivalentVotesUpgradeable.dbg.json +4 -0
  207. package/src/assets/ethereum/hoodi/outpost/token/IERC721EthEquivalent.sol/IERC721EthEquivalent.dbg.json +4 -0
  208. package/src/assets/ethereum/hoodi/token/ERC1155Token.sol/ERC1155Token.dbg.json +4 -0
  209. package/src/assets/ethereum/hoodi/token/ERC1155Token.sol/ERC1155Token.json +472 -0
  210. package/src/assets/ethereum/hoodi/token/ERC20Token.sol/ERC20Token.dbg.json +4 -0
  211. package/src/assets/ethereum/hoodi/token/ERC20Token.sol/ERC20Token.json +330 -0
  212. package/src/assets/ethereum/hoodi/token/ERC721Token.sol/ERC721Token.dbg.json +4 -0
  213. package/src/assets/ethereum/hoodi/token/ERC721Token.sol/ERC721Token.json +449 -0
  214. package/src/assets/ethereum/hoodi/token/Eman1155.sol/Eman1155.dbg.json +4 -0
  215. package/src/assets/ethereum/hoodi/token/Eman1155.sol/Eman1155.json +560 -0
  216. package/src/assets/ethereum/hoodi/token/Eman20.sol/Eman20.dbg.json +4 -0
  217. package/src/assets/ethereum/hoodi/token/Eman20.sol/Eman20.json +460 -0
  218. package/src/assets/ethereum/hoodi/token/Eman721.sol/Eman721.dbg.json +4 -0
  219. package/src/assets/ethereum/hoodi/token/Eman721.sol/Eman721.json +624 -0
  220. package/src/assets/ethereum/mainnet/common/Base58.sol/Base58.dbg.json +4 -0
  221. package/src/assets/ethereum/mainnet/common/Base58.sol/Base58.json +164 -0
  222. package/src/assets/ethereum/mainnet/common/OpenZepArtifacts.sol/__Dummy_OZ_UUPS__.dbg.json +4 -0
  223. package/src/assets/ethereum/mainnet/common/OpenZepArtifacts.sol/__Dummy_OZ_UUPS__.json +76 -0
  224. package/src/assets/ethereum/mainnet/common/RestrictedCallers.sol/RestrictedCallers.dbg.json +4 -0
  225. package/src/assets/ethereum/mainnet/common/RestrictedCallers.sol/RestrictedCallers.json +10 -0
  226. package/src/assets/ethereum/mainnet/common/iodata.sol/iodata.dbg.json +4 -0
  227. package/src/assets/ethereum/mainnet/common/iodata.sol/iodata.json +618 -0
  228. package/src/assets/ethereum/mainnet/common/iodata_util.sol/iodata_util.dbg.json +4 -0
  229. package/src/assets/ethereum/mainnet/common/iodata_util.sol/iodata_util.json +40 -0
  230. package/src/assets/ethereum/mainnet/common/sysio_data.sol/sysio_data.dbg.json +4 -0
  231. package/src/assets/ethereum/mainnet/common/sysio_data.sol/sysio_data.json +10 -0
  232. package/src/assets/ethereum/mainnet/common/sysio_errors.sol/sysio_errors.dbg.json +4 -0
  233. package/src/assets/ethereum/mainnet/common/sysio_errors.sol/sysio_errors.json +10 -0
  234. package/src/assets/ethereum/mainnet/common/sysio_merkle.sol/sysio_merkle.dbg.json +4 -0
  235. package/src/assets/ethereum/mainnet/common/sysio_merkle.sol/sysio_merkle.json +233 -0
  236. package/src/assets/ethereum/mainnet/common/sysio_name.sol/sysio_name.dbg.json +4 -0
  237. package/src/assets/ethereum/mainnet/common/sysio_name.sol/sysio_name.json +49 -0
  238. package/src/assets/ethereum/mainnet/common/sysio_pubkey.sol/sysio_pubkey.dbg.json +4 -0
  239. package/src/assets/ethereum/mainnet/common/sysio_pubkey.sol/sysio_pubkey.json +64 -0
  240. package/src/assets/ethereum/mainnet/common/sysio_read.sol/sysio_read.dbg.json +4 -0
  241. package/src/assets/ethereum/mainnet/common/sysio_read.sol/sysio_read.json +1458 -0
  242. package/src/assets/ethereum/mainnet/common/sysio_tester.sol/SysioTester.dbg.json +4 -0
  243. package/src/assets/ethereum/mainnet/common/sysio_tester.sol/SysioTester.json +1532 -0
  244. package/src/assets/ethereum/mainnet/common/sysio_verify.sol/sysio_verify.dbg.json +4 -0
  245. package/src/assets/ethereum/mainnet/common/sysio_verify.sol/sysio_verify.json +1525 -0
  246. package/src/assets/ethereum/mainnet/common/sysio_write.sol/sysio_write.dbg.json +4 -0
  247. package/src/assets/ethereum/mainnet/common/sysio_write.sol/sysio_write.json +1076 -0
  248. package/src/assets/ethereum/mainnet/liqEth/BeaconState.sol/BeaconState.dbg.json +4 -0
  249. package/src/assets/ethereum/mainnet/liqEth/BeaconState.sol/BeaconState.json +807 -0
  250. package/src/assets/ethereum/mainnet/liqEth/DepositManager.sol/DepositManagerV2.dbg.json +4 -0
  251. package/src/assets/ethereum/mainnet/liqEth/DepositManager.sol/DepositManagerV2.json +1004 -0
  252. package/src/assets/ethereum/mainnet/liqEth/DepositManager.sol/IStakingModuleBondLocker.dbg.json +4 -0
  253. package/src/assets/ethereum/mainnet/liqEth/DepositManager.sol/IStakingModuleBondLocker.json +29 -0
  254. package/src/assets/ethereum/mainnet/liqEth/KeyBondManager.sol/KeyBondManager.dbg.json +4 -0
  255. package/src/assets/ethereum/mainnet/liqEth/KeyBondManager.sol/KeyBondManager.json +897 -0
  256. package/src/assets/ethereum/mainnet/liqEth/LiqEthAuthority.sol/LiqEthAuthority.dbg.json +4 -0
  257. package/src/assets/ethereum/mainnet/liqEth/LiqEthAuthority.sol/LiqEthAuthority.json +1289 -0
  258. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IDepositContract.dbg.json +4 -0
  259. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IDepositContract.json +39 -0
  260. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IDepositManager.dbg.json +4 -0
  261. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IDepositManager.json +64 -0
  262. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IKeyBondManager.dbg.json +4 -0
  263. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IKeyBondManager.json +189 -0
  264. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/ILiqEthUpgradeable.dbg.json +4 -0
  265. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/ILiqEthUpgradeable.json +29 -0
  266. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IRewardsERC20.dbg.json +4 -0
  267. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IRewardsERC20.json +319 -0
  268. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IRewardsERC20Pausable.dbg.json +4 -0
  269. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IRewardsERC20Pausable.json +333 -0
  270. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IStakingModule.dbg.json +4 -0
  271. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IStakingModule.json +279 -0
  272. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IValidatorBalanceVerifier.dbg.json +4 -0
  273. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IValidatorBalanceVerifier.json +129 -0
  274. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IWithdrawalRecord.dbg.json +4 -0
  275. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IWithdrawalRecord.json +66 -0
  276. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/LiqEthCommon.dbg.json +4 -0
  277. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/LiqEthCommon.json +10 -0
  278. package/src/assets/ethereum/mainnet/liqEth/LiqEthDeepFreeze.sol/LiqEthDeepFreeze.dbg.json +4 -0
  279. package/src/assets/ethereum/mainnet/liqEth/LiqEthDeepFreeze.sol/LiqEthDeepFreeze.json +236 -0
  280. package/src/assets/ethereum/mainnet/liqEth/LiqEthManaged.sol/LiqEthManaged.dbg.json +4 -0
  281. package/src/assets/ethereum/mainnet/liqEth/LiqEthManaged.sol/LiqEthManaged.json +229 -0
  282. package/src/assets/ethereum/mainnet/liqEth/RewardsERC20.sol/RewardsERC20UpgradeableV2.dbg.json +4 -0
  283. package/src/assets/ethereum/mainnet/liqEth/RewardsERC20.sol/RewardsERC20UpgradeableV2.json +957 -0
  284. package/src/assets/ethereum/mainnet/liqEth/RewardsERC20Pausable.sol/RewardsERC20PausableUpgradeableV2.dbg.json +4 -0
  285. package/src/assets/ethereum/mainnet/liqEth/RewardsERC20Pausable.sol/RewardsERC20PausableUpgradeableV2.json +1020 -0
  286. package/src/assets/ethereum/mainnet/liqEth/StakingLib.sol/StakingLib.dbg.json +4 -0
  287. package/src/assets/ethereum/mainnet/liqEth/StakingLib.sol/StakingLib.json +89 -0
  288. package/src/assets/ethereum/mainnet/liqEth/Yield.sol/YieldOracle.dbg.json +4 -0
  289. package/src/assets/ethereum/mainnet/liqEth/Yield.sol/YieldOracle.json +1376 -0
  290. package/src/assets/ethereum/mainnet/liqEth/liqEth.sol/LiqEthTokenV2.dbg.json +4 -0
  291. package/src/assets/ethereum/mainnet/liqEth/liqEth.sol/LiqEthTokenV2.json +1323 -0
  292. package/src/assets/ethereum/mainnet/liqEth/stakingModule.sol/StakingModuleV2.dbg.json +4 -0
  293. package/src/assets/ethereum/mainnet/liqEth/stakingModule.sol/StakingModuleV2.json +1896 -0
  294. package/src/assets/ethereum/mainnet/liqEth/v1/DepositManager.sol/DepositManager.dbg.json +4 -0
  295. package/src/assets/ethereum/mainnet/liqEth/v1/DepositManager.sol/DepositManager.json +978 -0
  296. package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/IAccounting.dbg.json +4 -0
  297. package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/IAccounting.json +176 -0
  298. package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/IDepositContract.dbg.json +4 -0
  299. package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/IDepositContract.json +39 -0
  300. package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/IDepositManager.dbg.json +4 -0
  301. package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/IDepositManager.json +64 -0
  302. package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/ILiqEthUpgradeable.dbg.json +4 -0
  303. package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/ILiqEthUpgradeable.json +29 -0
  304. package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/IRewardsERC20.dbg.json +4 -0
  305. package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/IRewardsERC20.json +249 -0
  306. package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/IRewardsERC20Pausable.dbg.json +4 -0
  307. package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/IRewardsERC20Pausable.json +263 -0
  308. package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/IStakingModule.dbg.json +4 -0
  309. package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/IStakingModule.json +344 -0
  310. package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/IValidatorBalanceVerifier.dbg.json +4 -0
  311. package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/IValidatorBalanceVerifier.json +129 -0
  312. package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/IWithdrawalRecord.dbg.json +4 -0
  313. package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/IWithdrawalRecord.json +66 -0
  314. package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/LiqEthCommon.dbg.json +4 -0
  315. package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/LiqEthCommon.json +10 -0
  316. package/src/assets/ethereum/mainnet/liqEth/v1/RewardsERC20.sol/RewardsERC20Upgradeable.dbg.json +4 -0
  317. package/src/assets/ethereum/mainnet/liqEth/v1/RewardsERC20.sol/RewardsERC20Upgradeable.json +874 -0
  318. package/src/assets/ethereum/mainnet/liqEth/v1/RewardsERC20Pausable.sol/RewardsERC20PausableUpgradeable.dbg.json +4 -0
  319. package/src/assets/ethereum/mainnet/liqEth/v1/RewardsERC20Pausable.sol/RewardsERC20PausableUpgradeable.json +937 -0
  320. package/src/assets/ethereum/mainnet/liqEth/v1/accounting.sol/Accounting.dbg.json +4 -0
  321. package/src/assets/ethereum/mainnet/liqEth/v1/accounting.sol/Accounting.json +542 -0
  322. package/src/assets/ethereum/mainnet/liqEth/v1/liqEth.sol/LiqEthToken.dbg.json +4 -0
  323. package/src/assets/ethereum/mainnet/liqEth/v1/liqEth.sol/LiqEthToken.json +1233 -0
  324. package/src/assets/ethereum/mainnet/liqEth/v1/stakingModule.sol/StakingModule.dbg.json +4 -0
  325. package/src/assets/ethereum/mainnet/liqEth/v1/stakingModule.sol/StakingModule.json +1772 -0
  326. package/src/assets/ethereum/mainnet/liqEth/withdrawalQueue.sol/WithdrawalQueue.dbg.json +4 -0
  327. package/src/assets/ethereum/mainnet/liqEth/withdrawalQueue.sol/WithdrawalQueue.json +973 -0
  328. package/src/assets/ethereum/mainnet/liqEth/withdrawalVault.sol/Uint64BE.dbg.json +4 -0
  329. package/src/assets/ethereum/mainnet/liqEth/withdrawalVault.sol/Uint64BE.json +10 -0
  330. package/src/assets/ethereum/mainnet/liqEth/withdrawalVault.sol/WithdrawalVault.dbg.json +4 -0
  331. package/src/assets/ethereum/mainnet/liqEth/withdrawalVault.sol/WithdrawalVault.json +441 -0
  332. package/src/assets/ethereum/mainnet/outpost/BAR.sol/BARV2.dbg.json +4 -0
  333. package/src/assets/ethereum/mainnet/outpost/BAR.sol/BARV2.json +1915 -0
  334. package/src/assets/ethereum/mainnet/outpost/Depositor.sol/DepositorV2.dbg.json +4 -0
  335. package/src/assets/ethereum/mainnet/outpost/Depositor.sol/DepositorV2.json +1845 -0
  336. package/src/assets/ethereum/mainnet/outpost/EthUsdPriceConsumer.sol/AggregatorV3Interface.dbg.json +4 -0
  337. package/src/assets/ethereum/mainnet/outpost/EthUsdPriceConsumer.sol/AggregatorV3Interface.json +122 -0
  338. package/src/assets/ethereum/mainnet/outpost/EthUsdPriceConsumer.sol/EthUsdPriceConsumer.dbg.json +4 -0
  339. package/src/assets/ethereum/{ABI → mainnet}/outpost/EthUsdPriceConsumer.sol/EthUsdPriceConsumer.json +31 -29
  340. package/src/assets/ethereum/mainnet/outpost/OPP.sol/OPP.dbg.json +4 -0
  341. package/src/assets/ethereum/mainnet/outpost/OPPCommon.sol/IOPP.dbg.json +4 -0
  342. package/src/assets/ethereum/mainnet/outpost/OPPCommon.sol/IOPPEndpoint.dbg.json +4 -0
  343. package/src/assets/ethereum/mainnet/outpost/OPPCommon.sol/IOPPEndpoint.json +29 -0
  344. package/src/assets/ethereum/mainnet/outpost/OPPCommon.sol/IOPPInbound.dbg.json +4 -0
  345. package/src/assets/ethereum/mainnet/outpost/OPPCommon.sol/IOPPReceiver.dbg.json +4 -0
  346. package/src/assets/ethereum/mainnet/outpost/OPPCommon.sol/IOPPSender.dbg.json +4 -0
  347. package/src/assets/ethereum/mainnet/outpost/OPPCommon.sol/OPPCommon.dbg.json +4 -0
  348. package/src/assets/ethereum/mainnet/outpost/OPPEndpoint.sol/OPPEndpoint.dbg.json +4 -0
  349. package/src/assets/ethereum/mainnet/outpost/OPPEndpointManaged.sol/OPPEndpointManaged.dbg.json +4 -0
  350. package/src/assets/ethereum/mainnet/outpost/OPPEndpointOwnable.sol/OPPEndpointOwnable.dbg.json +4 -0
  351. package/src/assets/ethereum/mainnet/outpost/OPPErrors.sol/OPPErrors.dbg.json +4 -0
  352. package/src/assets/ethereum/mainnet/outpost/OPPInbound.sol/OPPInbound.dbg.json +4 -0
  353. package/src/assets/ethereum/mainnet/outpost/OPPReceiver.sol/OPPReceiver.dbg.json +4 -0
  354. package/src/assets/ethereum/mainnet/outpost/OPPSender.sol/OPPSender.dbg.json +4 -0
  355. package/src/assets/ethereum/mainnet/outpost/OutpostErrors.sol/OutpostErrors.dbg.json +4 -0
  356. package/src/assets/ethereum/{ABI → mainnet}/outpost/OutpostErrors.sol/OutpostErrors.json +33 -18
  357. package/src/assets/ethereum/mainnet/outpost/OutpostManaged.sol/OutpostManaged.dbg.json +4 -0
  358. package/src/assets/ethereum/mainnet/outpost/OutpostManager.sol/OutpostManagerV2.dbg.json +4 -0
  359. package/src/assets/ethereum/mainnet/outpost/OutpostManager.sol/OutpostManagerV2.json +737 -0
  360. package/src/assets/ethereum/mainnet/outpost/OutpostManagerAuthority.sol/OutpostManagerAuthority.dbg.json +4 -0
  361. package/src/assets/ethereum/mainnet/outpost/OutpostManagerCommon.sol/IOutpostManager.dbg.json +4 -0
  362. package/src/assets/ethereum/mainnet/outpost/OutpostManagerCommon.sol/IOutpostUpgradeable.dbg.json +4 -0
  363. package/src/assets/ethereum/mainnet/outpost/OutpostManagerCommon.sol/IOutpostUpgradeable.json +29 -0
  364. package/src/assets/ethereum/mainnet/outpost/OutpostManagerCommon.sol/OutpostManagerCommon.dbg.json +4 -0
  365. package/src/assets/ethereum/mainnet/outpost/OutpostOwnable.sol/OutpostOwnable.dbg.json +4 -0
  366. package/src/assets/ethereum/mainnet/outpost/Pool.sol/PoolV2.dbg.json +4 -0
  367. package/src/assets/ethereum/mainnet/outpost/Pool.sol/PoolV2.json +943 -0
  368. package/src/assets/ethereum/mainnet/outpost/Pretoken.sol/PretokenV2.dbg.json +4 -0
  369. package/src/assets/ethereum/mainnet/outpost/Pretoken.sol/PretokenV2.json +1703 -0
  370. package/src/assets/ethereum/mainnet/outpost/ReceiptNFT.sol/ReceiptNFT.dbg.json +4 -0
  371. package/src/assets/ethereum/{ABI → mainnet}/outpost/ReceiptNFT.sol/ReceiptNFT.json +33 -18
  372. package/src/assets/ethereum/mainnet/outpost/interfaces/IPretoken.sol/IPretoken.dbg.json +4 -0
  373. package/src/assets/ethereum/mainnet/outpost/interfaces/IPretoken.sol/IPretoken.json +29 -0
  374. package/src/assets/ethereum/mainnet/outpost/interfaces/IWarrant.sol/IWarrant.dbg.json +4 -0
  375. package/src/assets/ethereum/mainnet/outpost/interfaces/IWarrant.sol/IWarrant.json +29 -0
  376. package/src/assets/ethereum/mainnet/outpost/token/ERC721EthEquivalentVotesUpgradeable.sol/ERC721EthEquivalentVotesUpgradeable.dbg.json +4 -0
  377. package/src/assets/ethereum/mainnet/outpost/token/ERC721EthEquivalentVotesUpgradeable.sol/ERC721EthEquivalentVotesUpgradeable.json +858 -0
  378. package/src/assets/ethereum/mainnet/outpost/token/IERC721EthEquivalent.sol/IERC721EthEquivalent.dbg.json +4 -0
  379. package/src/assets/ethereum/mainnet/outpost/token/IERC721EthEquivalent.sol/IERC721EthEquivalent.json +30 -0
  380. package/src/assets/ethereum/mainnet/outpost/v1/BAR.sol/BAR.dbg.json +4 -0
  381. package/src/assets/ethereum/{ABI/outpost → mainnet/outpost/v1}/BAR.sol/BAR.json +34 -19
  382. package/src/assets/ethereum/mainnet/outpost/v1/Depositor.sol/Depositor.dbg.json +4 -0
  383. package/src/assets/ethereum/mainnet/outpost/v1/Depositor.sol/Depositor.json +1653 -0
  384. package/src/assets/ethereum/mainnet/outpost/v1/OutpostManager.sol/OutpostManager.dbg.json +4 -0
  385. package/src/assets/ethereum/{ABI/outpost → mainnet/outpost/v1}/OutpostManager.sol/OutpostManager.json +3 -3
  386. package/src/assets/ethereum/mainnet/outpost/v1/Pool.sol/Pool.dbg.json +4 -0
  387. package/src/assets/ethereum/{ABI/outpost → mainnet/outpost/v1}/Pool.sol/Pool.json +34 -19
  388. package/src/assets/ethereum/mainnet/outpost/v1/Pretoken.sol/Pretoken.dbg.json +4 -0
  389. package/src/assets/ethereum/mainnet/outpost/v1/Pretoken.sol/Pretoken.json +1665 -0
  390. package/src/assets/ethereum/mainnet/token/ERC1155Token.sol/ERC1155Token.dbg.json +4 -0
  391. package/src/assets/ethereum/mainnet/token/ERC1155Token.sol/ERC1155Token.json +472 -0
  392. package/src/assets/ethereum/mainnet/token/ERC20Token.sol/ERC20Token.dbg.json +4 -0
  393. package/src/assets/ethereum/mainnet/token/ERC20Token.sol/ERC20Token.json +330 -0
  394. package/src/assets/ethereum/mainnet/token/ERC721Token.sol/ERC721Token.dbg.json +4 -0
  395. package/src/assets/ethereum/mainnet/token/ERC721Token.sol/ERC721Token.json +449 -0
  396. package/src/assets/solana/devnet/idl/liqsol_core.json +8566 -0
  397. package/src/assets/solana/{idl → devnet/idl}/liqsol_token.json +35 -1
  398. package/src/assets/solana/devnet/idl/transfer_hook.json +490 -0
  399. package/src/assets/solana/{idl → devnet/idl}/validator_leaderboard.json +19 -1
  400. package/src/assets/solana/devnet/types/liqsol_core.ts +8572 -0
  401. package/src/assets/solana/{types → devnet/types}/liqsol_token.ts +35 -1
  402. package/src/assets/solana/devnet/types/transfer_hook.ts +496 -0
  403. package/src/assets/solana/{types → devnet/types}/validator_leaderboard.ts +19 -1
  404. package/src/assets/solana/{idl → mainnet/idl}/liqsol_core.json +1466 -657
  405. package/src/assets/solana/mainnet/idl/liqsol_token.json +217 -0
  406. package/src/assets/solana/mainnet/idl/transfer_hook.json +479 -0
  407. package/src/assets/solana/mainnet/idl/validator_leaderboard.json +574 -0
  408. package/src/assets/solana/{types → mainnet/types}/liqsol_core.ts +1466 -657
  409. package/src/assets/solana/mainnet/types/liqsol_token.ts +223 -0
  410. package/src/assets/solana/mainnet/types/transfer_hook.ts +485 -0
  411. package/src/assets/solana/mainnet/types/validator_leaderboard.ts +580 -0
  412. package/src/assets/solana/realdevnet/idl/liqsol_core.json +7112 -0
  413. package/src/assets/solana/realdevnet/idl/liqsol_token.json +217 -0
  414. package/src/assets/solana/realdevnet/idl/transfer_hook.json +479 -0
  415. package/src/assets/solana/realdevnet/idl/validator_leaderboard.json +735 -0
  416. package/src/assets/solana/realdevnet/types/liqsol_core.ts +7118 -0
  417. package/src/assets/solana/realdevnet/types/liqsol_token.ts +223 -0
  418. package/src/assets/solana/realdevnet/types/transfer_hook.ts +485 -0
  419. package/src/assets/solana/realdevnet/types/validator_leaderboard.ts +741 -0
  420. package/src/index.ts +2 -2
  421. package/src/networks/ethereum/clients/convert.client.ts +32 -3
  422. package/src/networks/ethereum/clients/opp.client.ts +20 -21
  423. package/src/networks/ethereum/clients/pretoken.client.ts +8 -9
  424. package/src/networks/ethereum/clients/receipt.client.ts +93 -23
  425. package/src/networks/ethereum/clients/stake.client.ts +86 -14
  426. package/src/networks/ethereum/clients/validator.client.ts +61 -0
  427. package/src/networks/ethereum/contract.ts +425 -153
  428. package/src/networks/ethereum/ethereum.ts +378 -163
  429. package/src/networks/ethereum/types.ts +65 -28
  430. package/src/networks/ethereum/utils.ts +104 -72
  431. package/src/networks/solana/clients/convert.client.ts +341 -0
  432. package/src/networks/solana/clients/distribution.client.ts +245 -20
  433. package/src/networks/solana/clients/leaderboard.client.ts +10 -13
  434. package/src/networks/solana/clients/outpost.client.ts +93 -55
  435. package/src/networks/solana/clients/token.client.ts +20 -15
  436. package/src/networks/solana/constants.ts +59 -277
  437. package/src/networks/solana/program.ts +446 -28
  438. package/src/networks/solana/solana.ts +917 -281
  439. package/src/networks/solana/types.ts +173 -24
  440. package/src/networks/solana/utils.ts +125 -339
  441. package/src/staker.ts +25 -4
  442. package/src/types.ts +113 -27
  443. package/src/assets/ethereum/ABI/liqEth/BeaconState.sol/BeaconState.dbg.json +0 -4
  444. package/src/assets/ethereum/ABI/liqEth/DepositManager.sol/DepositManager.dbg.json +0 -4
  445. package/src/assets/ethereum/ABI/liqEth/DepositManager.sol/DepositManager.json +0 -952
  446. package/src/assets/ethereum/ABI/liqEth/LiqEthAuthority.sol/LiqEthAuthority.dbg.json +0 -4
  447. package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IAccounting.dbg.json +0 -4
  448. package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IDepositContract.dbg.json +0 -4
  449. package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IDepositManager.dbg.json +0 -4
  450. package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/ILiqEthUpgradeable.dbg.json +0 -4
  451. package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IRewardsERC20.dbg.json +0 -4
  452. package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IRewardsERC20Pausable.dbg.json +0 -4
  453. package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IStakingModule.dbg.json +0 -4
  454. package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IValidatorBalanceVerifier.dbg.json +0 -4
  455. package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IWithdrawalRecord.dbg.json +0 -4
  456. package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/LiqEthCommon.dbg.json +0 -4
  457. package/src/assets/ethereum/ABI/liqEth/LiqEthManaged.sol/LiqEthManaged.dbg.json +0 -4
  458. package/src/assets/ethereum/ABI/liqEth/RewardsERC20.sol/RewardsERC20Upgradeable.dbg.json +0 -4
  459. package/src/assets/ethereum/ABI/liqEth/RewardsERC20Pausable.sol/RewardsERC20PausableUpgradeable.dbg.json +0 -4
  460. package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/BeaconRoots.dbg.json +0 -4
  461. package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/BeaconRoots.json +0 -10
  462. package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/SSZ.dbg.json +0 -4
  463. package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/SSZ.json +0 -10
  464. package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/SSZExtras.dbg.json +0 -4
  465. package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/SSZExtras.json +0 -10
  466. package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/SSZVec48.dbg.json +0 -4
  467. package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/SSZVec48.json +0 -10
  468. package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/ValidatorBalanceVerifier.dbg.json +0 -4
  469. package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/ValidatorBalanceVerifier.json +0 -291
  470. package/src/assets/ethereum/ABI/liqEth/Yield.sol/YieldOracle.dbg.json +0 -4
  471. package/src/assets/ethereum/ABI/liqEth/accounting.sol/Accounting.dbg.json +0 -4
  472. package/src/assets/ethereum/ABI/liqEth/accounting.sol/Accounting.json +0 -555
  473. package/src/assets/ethereum/ABI/liqEth/liqEth.sol/LiqEthToken.dbg.json +0 -4
  474. package/src/assets/ethereum/ABI/liqEth/liqEth.sol/LiqEthToken.json +0 -1202
  475. package/src/assets/ethereum/ABI/liqEth/stakingModule.sol/StakingModule.dbg.json +0 -4
  476. package/src/assets/ethereum/ABI/liqEth/stakingModule.sol/StakingModule.json +0 -1791
  477. package/src/assets/ethereum/ABI/liqEth/withdrawalQueue.sol/WithdrawalQueue.dbg.json +0 -4
  478. package/src/assets/ethereum/ABI/liqEth/withdrawalVault.sol/Uint64BE.dbg.json +0 -4
  479. package/src/assets/ethereum/ABI/liqEth/withdrawalVault.sol/WithdrawalVault.dbg.json +0 -4
  480. package/src/assets/ethereum/ABI/liqEth/withdrawalVault.sol/WithdrawalVault.json +0 -460
  481. package/src/assets/ethereum/ABI/outpost/Aggregator.sol/Aggregator.json +0 -82
  482. package/src/assets/ethereum/ABI/outpost/BAR.sol/BAR.dbg.json +0 -4
  483. package/src/assets/ethereum/ABI/outpost/Depositor.sol/Depositor.dbg.json +0 -4
  484. package/src/assets/ethereum/ABI/outpost/Depositor.sol/Depositor.json +0 -1638
  485. package/src/assets/ethereum/ABI/outpost/EthUsdPriceConsumer.sol/AggregatorV3Interface.dbg.json +0 -4
  486. package/src/assets/ethereum/ABI/outpost/EthUsdPriceConsumer.sol/EthUsdPriceConsumer.dbg.json +0 -4
  487. package/src/assets/ethereum/ABI/outpost/OPP.sol/OPP.dbg.json +0 -4
  488. package/src/assets/ethereum/ABI/outpost/OPPCommon.sol/IOPP.dbg.json +0 -4
  489. package/src/assets/ethereum/ABI/outpost/OPPCommon.sol/IOPPEndpoint.dbg.json +0 -4
  490. package/src/assets/ethereum/ABI/outpost/OPPCommon.sol/IOPPInbound.dbg.json +0 -4
  491. package/src/assets/ethereum/ABI/outpost/OPPCommon.sol/IOPPReceiver.dbg.json +0 -4
  492. package/src/assets/ethereum/ABI/outpost/OPPCommon.sol/IOPPSender.dbg.json +0 -4
  493. package/src/assets/ethereum/ABI/outpost/OPPCommon.sol/OPPCommon.dbg.json +0 -4
  494. package/src/assets/ethereum/ABI/outpost/OPPEndpoint.sol/OPPEndpoint.dbg.json +0 -4
  495. package/src/assets/ethereum/ABI/outpost/OPPEndpointManaged.sol/OPPEndpointManaged.dbg.json +0 -4
  496. package/src/assets/ethereum/ABI/outpost/OPPEndpointOwnable.sol/OPPEndpointOwnable.dbg.json +0 -4
  497. package/src/assets/ethereum/ABI/outpost/OPPErrors.sol/OPPErrors.dbg.json +0 -4
  498. package/src/assets/ethereum/ABI/outpost/OPPInbound.sol/OPPInbound.dbg.json +0 -4
  499. package/src/assets/ethereum/ABI/outpost/OPPReceiver.sol/OPPReceiver.dbg.json +0 -4
  500. package/src/assets/ethereum/ABI/outpost/OPPSender.sol/OPPSender.dbg.json +0 -4
  501. package/src/assets/ethereum/ABI/outpost/OutpostErrors.sol/OutpostErrors.dbg.json +0 -4
  502. package/src/assets/ethereum/ABI/outpost/OutpostManaged.sol/OutpostManaged.dbg.json +0 -4
  503. package/src/assets/ethereum/ABI/outpost/OutpostManager.sol/OutpostManager.dbg.json +0 -4
  504. package/src/assets/ethereum/ABI/outpost/OutpostManagerAuthority.sol/OutpostManagerAuthority.dbg.json +0 -4
  505. package/src/assets/ethereum/ABI/outpost/OutpostManagerCommon.sol/IOutpostManager.dbg.json +0 -4
  506. package/src/assets/ethereum/ABI/outpost/OutpostManagerCommon.sol/IOutpostUpgradeable.dbg.json +0 -4
  507. package/src/assets/ethereum/ABI/outpost/OutpostManagerCommon.sol/OutpostManagerCommon.dbg.json +0 -4
  508. package/src/assets/ethereum/ABI/outpost/OutpostOwnable.sol/OutpostOwnable.dbg.json +0 -4
  509. package/src/assets/ethereum/ABI/outpost/Pool.sol/Pool.dbg.json +0 -4
  510. package/src/assets/ethereum/ABI/outpost/Pretoken.sol/Pretoken.dbg.json +0 -4
  511. package/src/assets/ethereum/ABI/outpost/Pretoken.sol/Pretoken.json +0 -1650
  512. package/src/assets/ethereum/ABI/outpost/ReceiptNFT.sol/ReceiptNFT.dbg.json +0 -4
  513. package/src/assets/ethereum/ABI/outpost/interfaces/IPretoken.sol/IPretoken.dbg.json +0 -4
  514. package/src/assets/ethereum/ABI/outpost/interfaces/IWarrant.sol/IWarrant.dbg.json +0 -4
  515. package/src/assets/ethereum/ABI/outpost/token/ERC721EthEquivalentVotesUpgradeable.sol/ERC721EthEquivalentVotesUpgradeable.dbg.json +0 -4
  516. package/src/assets/ethereum/ABI/outpost/token/IERC721EthEquivalent.sol/IERC721EthEquivalent.dbg.json +0 -4
  517. package/src/assets/ethereum/ABI/token/ERC1155Token.sol/ERC1155Token.dbg.json +0 -4
  518. package/src/assets/ethereum/ABI/token/ERC1155Token.sol/ERC1155Token.json +0 -472
  519. package/src/assets/ethereum/ABI/token/ERC20Token.sol/ERC20Token.dbg.json +0 -4
  520. package/src/assets/ethereum/ABI/token/ERC20Token.sol/ERC20Token.json +0 -330
  521. package/src/assets/ethereum/ABI/token/ERC721Token.sol/ERC721Token.dbg.json +0 -4
  522. package/src/assets/ethereum/ABI/token/ERC721Token.sol/ERC721Token.json +0 -449
  523. package/src/assets/solana/idl/transfer_hook.json +0 -192
  524. package/src/assets/solana/types/transfer_hook.ts +0 -198
  525. package/src/networks/solana/clients/deposit.client.ts +0 -273
  526. package/src/staker/types.ts +0 -62
  527. /package/src/assets/ethereum/{ABI → hoodi}/liqEth/BeaconState.sol/BeaconState.json +0 -0
  528. /package/src/assets/ethereum/{ABI → hoodi}/liqEth/LiqEthAuthority.sol/LiqEthAuthority.json +0 -0
  529. /package/src/assets/ethereum/{ABI → hoodi}/liqEth/LiqEthCommon.sol/IDepositContract.json +0 -0
  530. /package/src/assets/ethereum/{ABI → hoodi}/liqEth/LiqEthCommon.sol/IDepositManager.json +0 -0
  531. /package/src/assets/ethereum/{ABI → hoodi}/liqEth/LiqEthCommon.sol/ILiqEthUpgradeable.json +0 -0
  532. /package/src/assets/ethereum/{ABI → hoodi}/liqEth/LiqEthCommon.sol/IValidatorBalanceVerifier.json +0 -0
  533. /package/src/assets/ethereum/{ABI → hoodi}/liqEth/LiqEthCommon.sol/IWithdrawalRecord.json +0 -0
  534. /package/src/assets/ethereum/{ABI → hoodi}/outpost/EthUsdPriceConsumer.sol/AggregatorV3Interface.json +0 -0
  535. /package/src/assets/ethereum/{ABI → hoodi}/outpost/OPPCommon.sol/IOPPEndpoint.json +0 -0
  536. /package/src/assets/ethereum/{ABI → hoodi}/outpost/OutpostManagerCommon.sol/IOutpostUpgradeable.json +0 -0
  537. /package/src/assets/ethereum/{ABI → hoodi}/outpost/interfaces/IPretoken.sol/IPretoken.json +0 -0
  538. /package/src/assets/ethereum/{ABI → hoodi}/outpost/interfaces/IWarrant.sol/IWarrant.json +0 -0
  539. /package/src/assets/ethereum/{ABI → hoodi}/outpost/token/ERC721EthEquivalentVotesUpgradeable.sol/ERC721EthEquivalentVotesUpgradeable.json +0 -0
  540. /package/src/assets/ethereum/{ABI → hoodi}/outpost/token/IERC721EthEquivalent.sol/IERC721EthEquivalent.json +0 -0
  541. /package/src/assets/ethereum/{ABI → mainnet}/outpost/OPP.sol/OPP.json +0 -0
  542. /package/src/assets/ethereum/{ABI → mainnet}/outpost/OPPCommon.sol/IOPP.json +0 -0
  543. /package/src/assets/ethereum/{ABI → mainnet}/outpost/OPPCommon.sol/IOPPInbound.json +0 -0
  544. /package/src/assets/ethereum/{ABI → mainnet}/outpost/OPPCommon.sol/IOPPReceiver.json +0 -0
  545. /package/src/assets/ethereum/{ABI → mainnet}/outpost/OPPCommon.sol/IOPPSender.json +0 -0
  546. /package/src/assets/ethereum/{ABI → mainnet}/outpost/OPPCommon.sol/OPPCommon.json +0 -0
  547. /package/src/assets/ethereum/{ABI → mainnet}/outpost/OPPEndpoint.sol/OPPEndpoint.json +0 -0
  548. /package/src/assets/ethereum/{ABI → mainnet}/outpost/OPPEndpointManaged.sol/OPPEndpointManaged.json +0 -0
  549. /package/src/assets/ethereum/{ABI → mainnet}/outpost/OPPEndpointOwnable.sol/OPPEndpointOwnable.json +0 -0
  550. /package/src/assets/ethereum/{ABI → mainnet}/outpost/OPPErrors.sol/OPPErrors.json +0 -0
  551. /package/src/assets/ethereum/{ABI → mainnet}/outpost/OPPInbound.sol/OPPInbound.json +0 -0
  552. /package/src/assets/ethereum/{ABI → mainnet}/outpost/OPPReceiver.sol/OPPReceiver.json +0 -0
  553. /package/src/assets/ethereum/{ABI → mainnet}/outpost/OPPSender.sol/OPPSender.json +0 -0
  554. /package/src/assets/ethereum/{ABI → mainnet}/outpost/OutpostManaged.sol/OutpostManaged.json +0 -0
  555. /package/src/assets/ethereum/{ABI → mainnet}/outpost/OutpostManagerAuthority.sol/OutpostManagerAuthority.json +0 -0
  556. /package/src/assets/ethereum/{ABI → mainnet}/outpost/OutpostManagerCommon.sol/IOutpostManager.json +0 -0
  557. /package/src/assets/ethereum/{ABI → mainnet}/outpost/OutpostManagerCommon.sol/OutpostManagerCommon.json +0 -0
  558. /package/src/assets/ethereum/{ABI → mainnet}/outpost/OutpostOwnable.sol/OutpostOwnable.json +0 -0
@@ -5,7 +5,7 @@
5
5
  * IDL can be found at `target/idl/liqsol_core.json`.
6
6
  */
7
7
  export type LiqsolCore = {
8
- "address": "2qSsCXBYUSwF7zrzTT9jFpRpCmWoDpEyHr9exfCMq56P",
8
+ "address": "5nBtmutQLrRKBUxNfHJPDjiW5u8id6QM9Hhjg1D1g1XH",
9
9
  "metadata": {
10
10
  "name": "liqsolCore",
11
11
  "version": "0.1.0",
@@ -13,61 +13,6 @@ export type LiqsolCore = {
13
13
  "description": "Created with Anchor"
14
14
  },
15
15
  "instructions": [
16
- {
17
- "name": "accumulateUnstakeRequest",
18
- "docs": [
19
- "Accumulate unstake requests to be processed in next allocation cycle",
20
- "Multiple requests can be accumulated before calculating allocations",
21
- "Returns the target epoch when this unstake request will be processed",
22
- "We should not be able to"
23
- ],
24
- "discriminator": [
25
- 24,
26
- 73,
27
- 69,
28
- 139,
29
- 36,
30
- 209,
31
- 105,
32
- 252
33
- ],
34
- "accounts": [
35
- {
36
- "name": "admin",
37
- "writable": true,
38
- "signer": true
39
- },
40
- {
41
- "name": "stakeAllocationState",
42
- "docs": [
43
- "Stake allocation state - to accumulate pending unstake requests"
44
- ],
45
- "writable": true
46
- },
47
- {
48
- "name": "stakeMetrics",
49
- "docs": [
50
- "Stake metrics - to validate total unstake amount is available"
51
- ]
52
- },
53
- {
54
- "name": "maintenanceLedger",
55
- "docs": [
56
- "Maintenance ledger - to determine target processing epoch"
57
- ]
58
- },
59
- {
60
- "name": "clock"
61
- }
62
- ],
63
- "args": [
64
- {
65
- "name": "amount",
66
- "type": "u64"
67
- }
68
- ],
69
- "returns": "u64"
70
- },
71
16
  {
72
17
  "name": "addTopPerformersBatch",
73
18
  "docs": [
@@ -107,6 +52,12 @@ export type LiqsolCore = {
107
52
  "name": "processingState",
108
53
  "writable": true
109
54
  },
55
+ {
56
+ "name": "globalConfig",
57
+ "docs": [
58
+ "Global config for threshold parameters"
59
+ ]
60
+ },
110
61
  {
111
62
  "name": "authority",
112
63
  "signer": true
@@ -115,108 +66,47 @@ export type LiqsolCore = {
115
66
  "args": []
116
67
  },
117
68
  {
118
- "name": "addValidatorV2",
119
- "docs": [
120
- "Add a new validator bbypassing the looking at leaderboard and getting validators form there"
121
- ],
69
+ "name": "adminForceUnbondRole",
122
70
  "discriminator": [
123
- 217,
124
- 158,
125
- 30,
126
- 19,
127
- 123,
128
- 99,
129
- 110,
130
- 30
71
+ 80,
72
+ 107,
73
+ 27,
74
+ 49,
75
+ 126,
76
+ 25,
77
+ 31,
78
+ 238
131
79
  ],
132
80
  "accounts": [
133
81
  {
134
- "name": "authority",
135
- "writable": true,
82
+ "name": "admin",
136
83
  "signer": true
137
84
  },
138
85
  {
139
- "name": "activeList",
140
- "docs": [
141
- "Active list - will add the validator here"
142
- ],
143
- "writable": true
144
- },
145
- {
146
- "name": "validatorInfo",
147
- "docs": [
148
- "Create the validator info account"
149
- ],
150
- "writable": true
151
- },
152
- {
153
- "name": "validatorTransient",
154
- "docs": [
155
- "Create the validator transient account"
156
- ],
157
- "writable": true
158
- },
159
- {
160
- "name": "stakeAllocationState",
161
- "docs": [
162
- "Stake allocation state - to update total_active_vpp when adding validator"
163
- ],
164
- "writable": true
165
- },
166
- {
167
- "name": "systemProgram"
168
- }
169
- ],
170
- "args": [
171
- {
172
- "name": "voteAccount",
173
- "type": "pubkey"
86
+ "name": "globalConfig"
174
87
  },
175
88
  {
176
- "name": "name",
177
- "type": "string"
89
+ "name": "globalState"
178
90
  },
179
91
  {
180
- "name": "performanceScore",
181
- "type": "u8"
182
- }
183
- ]
184
- },
185
- {
186
- "name": "advanceServiceability",
187
- "docs": [
188
- "Advance the max servicable receipt ID"
189
- ],
190
- "discriminator": [
191
- 139,
192
- 89,
193
- 79,
194
- 2,
195
- 90,
196
- 211,
197
- 173,
198
- 240
199
- ],
200
- "accounts": [
201
- {
202
- "name": "authority",
92
+ "name": "user",
203
93
  "docs": [
204
- "Authority that can update serviceable epoch"
205
- ],
206
- "signer": true
94
+ "The user whose role bond is being force-unbonded"
95
+ ]
207
96
  },
208
97
  {
209
- "name": "global",
98
+ "name": "outpostAccount",
210
99
  "writable": true
211
- },
212
- {
213
- "name": "runtimeProgram"
214
100
  }
215
101
  ],
216
102
  "args": [
217
103
  {
218
- "name": "resolvedEpoch",
219
- "type": "u64"
104
+ "name": "role",
105
+ "type": {
106
+ "defined": {
107
+ "name": "role"
108
+ }
109
+ }
220
110
  }
221
111
  ]
222
112
  },
@@ -258,43 +148,6 @@ export type LiqsolCore = {
258
148
  ],
259
149
  "args": []
260
150
  },
261
- {
262
- "name": "blacklistValidator",
263
- "docs": [
264
- "Blacklist a validator (user-facing, maintenance will handle graveyard movement)",
265
- "UnderPerforming is set automatically when score is updated",
266
- "Another serious emergency stop function"
267
- ],
268
- "discriminator": [
269
- 125,
270
- 42,
271
- 36,
272
- 229,
273
- 27,
274
- 38,
275
- 226,
276
- 62
277
- ],
278
- "accounts": [
279
- {
280
- "name": "validatorInfo",
281
- "writable": true
282
- },
283
- {
284
- "name": "stakeAllocationState",
285
- "docs": [
286
- "Stake allocation state - to update total_active_vpp when VPP changes"
287
- ],
288
- "writable": true
289
- }
290
- ],
291
- "args": [
292
- {
293
- "name": "voteAccount",
294
- "type": "pubkey"
295
- }
296
- ]
297
- },
298
151
  {
299
152
  "name": "bondRole",
300
153
  "discriminator": [
@@ -380,6 +233,12 @@ export type LiqsolCore = {
380
233
  "Maintenance ledger - to track last unstake allocation epoch"
381
234
  ],
382
235
  "writable": true
236
+ },
237
+ {
238
+ "name": "globalConfig",
239
+ "docs": [
240
+ "Global config for late epoch slot gate"
241
+ ]
383
242
  }
384
243
  ],
385
244
  "args": []
@@ -443,6 +302,12 @@ export type LiqsolCore = {
443
302
  "docs": [
444
303
  "Global withdraw operator state - to read total_encumbered_funds"
445
304
  ]
305
+ },
306
+ {
307
+ "name": "globalConfig",
308
+ "docs": [
309
+ "Global config for rebalancing thresholds"
310
+ ]
446
311
  }
447
312
  ],
448
313
  "args": []
@@ -505,6 +370,9 @@ export type LiqsolCore = {
505
370
  },
506
371
  {
507
372
  "name": "tokenProgram"
373
+ },
374
+ {
375
+ "name": "systemProgram"
508
376
  }
509
377
  ],
510
378
  "args": []
@@ -565,6 +433,12 @@ export type LiqsolCore = {
565
433
  {
566
434
  "name": "stakeHistory"
567
435
  },
436
+ {
437
+ "name": "globalConfig",
438
+ "docs": [
439
+ "Global config for claim_withdrawals_enabled check"
440
+ ]
441
+ },
568
442
  {
569
443
  "name": "tokenProgram"
570
444
  },
@@ -611,19 +485,13 @@ export type LiqsolCore = {
611
485
  "writable": true
612
486
  },
613
487
  {
614
- "name": "controllerState",
615
- "docs": [
616
- "Stake controller state - used to verify authority"
617
- ]
488
+ "name": "globalConfig"
618
489
  },
619
490
  {
620
491
  "name": "clock"
621
492
  },
622
493
  {
623
- "name": "authority",
624
- "docs": [
625
- "Authority must match the stored authority in controller_state"
626
- ],
494
+ "name": "cranky",
627
495
  "writable": true,
628
496
  "signer": true
629
497
  }
@@ -647,6 +515,9 @@ export type LiqsolCore = {
647
515
  "name": "admin",
648
516
  "signer": true
649
517
  },
518
+ {
519
+ "name": "globalConfig"
520
+ },
650
521
  {
651
522
  "name": "globalState"
652
523
  },
@@ -689,6 +560,9 @@ export type LiqsolCore = {
689
560
  "name": "admin",
690
561
  "signer": true
691
562
  },
563
+ {
564
+ "name": "globalConfig"
565
+ },
692
566
  {
693
567
  "name": "globalState",
694
568
  "writable": true
@@ -698,7 +572,8 @@ export type LiqsolCore = {
698
572
  "writable": true
699
573
  },
700
574
  {
701
- "name": "user"
575
+ "name": "user",
576
+ "writable": true
702
577
  },
703
578
  {
704
579
  "name": "outpostAccount",
@@ -951,6 +826,12 @@ export type LiqsolCore = {
951
826
  "name": "controllerState",
952
827
  "writable": true
953
828
  },
829
+ {
830
+ "name": "globalConfig",
831
+ "docs": [
832
+ "Global config for deposit settings"
833
+ ]
834
+ },
954
835
  {
955
836
  "name": "payoutState",
956
837
  "writable": true
@@ -998,130 +879,162 @@ export type LiqsolCore = {
998
879
  ]
999
880
  },
1000
881
  {
1001
- "name": "desynd",
882
+ "name": "depositToReserve",
1002
883
  "discriminator": [
1003
- 12,
1004
- 71,
1005
- 102,
1006
- 46,
1007
884
  8,
1008
- 179,
1009
- 29,
1010
- 190
885
+ 79,
886
+ 123,
887
+ 129,
888
+ 146,
889
+ 140,
890
+ 178,
891
+ 128
1011
892
  ],
1012
893
  "accounts": [
1013
894
  {
1014
- "name": "user",
1015
- "writable": true,
895
+ "name": "admin",
1016
896
  "signer": true
1017
897
  },
1018
898
  {
1019
- "name": "liqsolMint",
1020
- "writable": true
1021
- },
1022
- {
1023
- "name": "globalState",
1024
- "writable": true
899
+ "name": "globalConfig"
1025
900
  },
1026
901
  {
1027
- "name": "distributionState",
1028
- "writable": true
902
+ "name": "depositor",
903
+ "writable": true,
904
+ "signer": true
1029
905
  },
1030
906
  {
1031
- "name": "userAta",
907
+ "name": "reservePool",
1032
908
  "writable": true
1033
909
  },
1034
910
  {
1035
- "name": "poolAuthority"
1036
- },
1037
- {
1038
- "name": "bucketAuthority"
911
+ "name": "vault"
1039
912
  },
1040
913
  {
1041
- "name": "bucketTokenAccount",
914
+ "name": "ephemeralStake",
1042
915
  "writable": true
1043
916
  },
1044
917
  {
1045
- "name": "bucketUserRecord",
1046
- "writable": true
918
+ "name": "controllerState"
1047
919
  },
1048
920
  {
1049
- "name": "senderUserRecord",
1050
- "writable": true
921
+ "name": "stakeProgram"
1051
922
  },
1052
923
  {
1053
- "name": "receiverUserRecord",
1054
- "writable": true
924
+ "name": "systemProgram"
1055
925
  },
1056
926
  {
1057
- "name": "extraAccountMetaList"
927
+ "name": "clock"
1058
928
  },
1059
929
  {
1060
- "name": "liqsolCoreProgram"
930
+ "name": "stakeHistory"
1061
931
  },
1062
932
  {
1063
- "name": "transferHookProgram"
1064
- },
933
+ "name": "rent"
934
+ }
935
+ ],
936
+ "args": [
1065
937
  {
1066
- "name": "liqsolPoolAta",
1067
- "writable": true
938
+ "name": "amount",
939
+ "type": "u64"
1068
940
  },
1069
941
  {
1070
- "name": "outpostAccount",
1071
- "docs": [
1072
- "User's outpost account"
1073
- ],
1074
- "writable": true
1075
- },
1076
- {
1077
- "name": "tokenProgram"
1078
- },
1079
- {
1080
- "name": "systemProgram"
1081
- }
1082
- ],
1083
- "args": [
1084
- {
1085
- "name": "amount",
1086
- "type": "u64"
942
+ "name": "seed",
943
+ "type": "u32"
1087
944
  }
1088
945
  ]
1089
946
  },
1090
947
  {
1091
- "name": "forceValidatorUnstake",
1092
- "docs": [
1093
- "A function you can call to directly influence the amount to unstake from a particular validator",
1094
- "Tbh this is a bypass of the system and should not be called unless you know what you are doing"
1095
- ],
948
+ "name": "desynd",
1096
949
  "discriminator": [
1097
- 7,
1098
- 208,
1099
- 146,
1100
- 241,
1101
- 10,
1102
- 219,
1103
- 109,
1104
- 30
950
+ 12,
951
+ 71,
952
+ 102,
953
+ 46,
954
+ 8,
955
+ 179,
956
+ 29,
957
+ 190
1105
958
  ],
1106
959
  "accounts": [
1107
960
  {
1108
- "name": "admin",
961
+ "name": "user",
1109
962
  "writable": true,
1110
963
  "signer": true
1111
964
  },
1112
965
  {
1113
- "name": "validatorInfo",
966
+ "name": "liqsolMint",
967
+ "writable": true
968
+ },
969
+ {
970
+ "name": "globalState",
971
+ "writable": true
972
+ },
973
+ {
974
+ "name": "distributionState",
975
+ "writable": true
976
+ },
977
+ {
978
+ "name": "userAta",
979
+ "writable": true
980
+ },
981
+ {
982
+ "name": "poolAuthority"
983
+ },
984
+ {
985
+ "name": "bucketAuthority"
986
+ },
987
+ {
988
+ "name": "bucketTokenAccount",
989
+ "writable": true
990
+ },
991
+ {
992
+ "name": "bucketUserRecord",
993
+ "writable": true
994
+ },
995
+ {
996
+ "name": "senderUserRecord",
997
+ "writable": true
998
+ },
999
+ {
1000
+ "name": "receiverUserRecord",
1001
+ "writable": true
1002
+ },
1003
+ {
1004
+ "name": "extraAccountMetaList"
1005
+ },
1006
+ {
1007
+ "name": "liqsolCoreProgram"
1008
+ },
1009
+ {
1010
+ "name": "transferHookProgram"
1011
+ },
1012
+ {
1013
+ "name": "liqsolPoolAta",
1014
+ "writable": true
1015
+ },
1016
+ {
1017
+ "name": "outpostAccount",
1114
1018
  "docs": [
1115
- "Validator info account to update"
1019
+ "User's outpost account"
1116
1020
  ],
1117
1021
  "writable": true
1022
+ },
1023
+ {
1024
+ "name": "pretokenPurchaseHistory",
1025
+ "writable": true
1026
+ },
1027
+ {
1028
+ "name": "tokenProgram"
1029
+ },
1030
+ {
1031
+ "name": "associatedTokenProgram"
1032
+ },
1033
+ {
1034
+ "name": "systemProgram"
1118
1035
  }
1119
1036
  ],
1120
1037
  "args": [
1121
- {
1122
- "name": "voteAccount",
1123
- "type": "pubkey"
1124
- },
1125
1038
  {
1126
1039
  "name": "amount",
1127
1040
  "type": "u64"
@@ -1152,6 +1065,44 @@ export type LiqsolCore = {
1152
1065
  "args": [],
1153
1066
  "returns": "u16"
1154
1067
  },
1068
+ {
1069
+ "name": "hasRole",
1070
+ "discriminator": [
1071
+ 218,
1072
+ 136,
1073
+ 44,
1074
+ 87,
1075
+ 142,
1076
+ 247,
1077
+ 141,
1078
+ 195
1079
+ ],
1080
+ "accounts": [
1081
+ {
1082
+ "name": "user",
1083
+ "docs": [
1084
+ "User whose role status is being checked."
1085
+ ]
1086
+ },
1087
+ {
1088
+ "name": "outpostAccount"
1089
+ },
1090
+ {
1091
+ "name": "globalState"
1092
+ }
1093
+ ],
1094
+ "args": [
1095
+ {
1096
+ "name": "role",
1097
+ "type": {
1098
+ "defined": {
1099
+ "name": "role"
1100
+ }
1101
+ }
1102
+ }
1103
+ ],
1104
+ "returns": "bool"
1105
+ },
1155
1106
  {
1156
1107
  "name": "initBucket",
1157
1108
  "docs": [
@@ -1366,6 +1317,40 @@ export type LiqsolCore = {
1366
1317
  ],
1367
1318
  "args": []
1368
1319
  },
1320
+ {
1321
+ "name": "initializeGlobalConfig",
1322
+ "discriminator": [
1323
+ 113,
1324
+ 216,
1325
+ 122,
1326
+ 131,
1327
+ 225,
1328
+ 209,
1329
+ 22,
1330
+ 55
1331
+ ],
1332
+ "accounts": [
1333
+ {
1334
+ "name": "globalConfig",
1335
+ "writable": true
1336
+ },
1337
+ {
1338
+ "name": "payer",
1339
+ "writable": true,
1340
+ "signer": true
1341
+ },
1342
+ {
1343
+ "name": "program"
1344
+ },
1345
+ {
1346
+ "name": "programData"
1347
+ },
1348
+ {
1349
+ "name": "systemProgram"
1350
+ }
1351
+ ],
1352
+ "args": []
1353
+ },
1369
1354
  {
1370
1355
  "name": "initializeGraveyardList",
1371
1356
  "docs": [
@@ -1459,6 +1444,51 @@ export type LiqsolCore = {
1459
1444
  ],
1460
1445
  "args": []
1461
1446
  },
1447
+ {
1448
+ "name": "initializePretokenPurchaseHistory",
1449
+ "docs": [
1450
+ "Admin-only: initialize PretokenPurchaseHistory PDA for a pool"
1451
+ ],
1452
+ "discriminator": [
1453
+ 140,
1454
+ 166,
1455
+ 196,
1456
+ 128,
1457
+ 189,
1458
+ 240,
1459
+ 159,
1460
+ 1
1461
+ ],
1462
+ "accounts": [
1463
+ {
1464
+ "name": "admin",
1465
+ "writable": true,
1466
+ "signer": true
1467
+ },
1468
+ {
1469
+ "name": "globalConfig"
1470
+ },
1471
+ {
1472
+ "name": "pretokenPurchaseHistory",
1473
+ "writable": true
1474
+ },
1475
+ {
1476
+ "name": "poolAuthority"
1477
+ },
1478
+ {
1479
+ "name": "globalState",
1480
+ "writable": true
1481
+ },
1482
+ {
1483
+ "name": "poolPretokenRecord",
1484
+ "writable": true
1485
+ },
1486
+ {
1487
+ "name": "systemProgram"
1488
+ }
1489
+ ],
1490
+ "args": []
1491
+ },
1462
1492
  {
1463
1493
  "name": "initializeProcessingState",
1464
1494
  "docs": [
@@ -1720,7 +1750,7 @@ export type LiqsolCore = {
1720
1750
  ],
1721
1751
  "accounts": [
1722
1752
  {
1723
- "name": "payer",
1753
+ "name": "admin",
1724
1754
  "writable": true,
1725
1755
  "signer": true
1726
1756
  },
@@ -1728,6 +1758,9 @@ export type LiqsolCore = {
1728
1758
  "name": "metadata",
1729
1759
  "writable": true
1730
1760
  },
1761
+ {
1762
+ "name": "globalConfig"
1763
+ },
1731
1764
  {
1732
1765
  "name": "systemProgram"
1733
1766
  }
@@ -1843,17 +1876,10 @@ export type LiqsolCore = {
1843
1876
  ],
1844
1877
  "accounts": [
1845
1878
  {
1846
- "name": "controllerState",
1847
- "docs": [
1848
- "Stake controller state - used to verify admin authority"
1849
- ]
1879
+ "name": "globalConfig"
1850
1880
  },
1851
1881
  {
1852
- "name": "admin",
1853
- "docs": [
1854
- "Admin must match the stored authority in controller_state"
1855
- ],
1856
- "writable": true,
1882
+ "name": "cranky",
1857
1883
  "signer": true
1858
1884
  },
1859
1885
  {
@@ -1886,6 +1912,10 @@ export type LiqsolCore = {
1886
1912
  ],
1887
1913
  "writable": true
1888
1914
  },
1915
+ {
1916
+ "name": "withdrawGlobal",
1917
+ "writable": true
1918
+ },
1889
1919
  {
1890
1920
  "name": "stakeProgram"
1891
1921
  },
@@ -1921,6 +1951,43 @@ export type LiqsolCore = {
1921
1951
  }
1922
1952
  ]
1923
1953
  },
1954
+ {
1955
+ "name": "migrateUserRecord",
1956
+ "discriminator": [
1957
+ 6,
1958
+ 118,
1959
+ 249,
1960
+ 178,
1961
+ 209,
1962
+ 106,
1963
+ 197,
1964
+ 25
1965
+ ],
1966
+ "accounts": [
1967
+ {
1968
+ "name": "admin",
1969
+ "writable": true,
1970
+ "signer": true
1971
+ },
1972
+ {
1973
+ "name": "globalConfig"
1974
+ },
1975
+ {
1976
+ "name": "userAta"
1977
+ },
1978
+ {
1979
+ "name": "userRecord",
1980
+ "writable": true
1981
+ },
1982
+ {
1983
+ "name": "distributionState"
1984
+ },
1985
+ {
1986
+ "name": "systemProgram"
1987
+ }
1988
+ ],
1989
+ "args": []
1990
+ },
1924
1991
  {
1925
1992
  "name": "processGraveyardValidatorsBatch",
1926
1993
  "docs": [
@@ -1951,8 +2018,14 @@ export type LiqsolCore = {
1951
2018
  "writable": true
1952
2019
  },
1953
2020
  {
1954
- "name": "clock"
1955
- },
2021
+ "name": "globalConfig",
2022
+ "docs": [
2023
+ "Global config for late epoch slot gate"
2024
+ ]
2025
+ },
2026
+ {
2027
+ "name": "clock"
2028
+ },
1956
2029
  {
1957
2030
  "name": "authority",
1958
2031
  "signer": true
@@ -2023,6 +2096,12 @@ export type LiqsolCore = {
2023
2096
  },
2024
2097
  {
2025
2098
  "name": "instructions"
2099
+ },
2100
+ {
2101
+ "name": "globalConfig",
2102
+ "docs": [
2103
+ "Global config for process_pay_cycle_enabled check"
2104
+ ]
2026
2105
  }
2027
2106
  ],
2028
2107
  "args": []
@@ -2094,6 +2173,12 @@ export type LiqsolCore = {
2094
2173
  },
2095
2174
  {
2096
2175
  "name": "rent"
2176
+ },
2177
+ {
2178
+ "name": "globalConfig",
2179
+ "docs": [
2180
+ "Global config for process_stake_orders_enabled check"
2181
+ ]
2097
2182
  }
2098
2183
  ],
2099
2184
  "args": []
@@ -2159,6 +2244,7 @@ export type LiqsolCore = {
2159
2244
  "accounts": [
2160
2245
  {
2161
2246
  "name": "admin",
2247
+ "writable": true,
2162
2248
  "signer": true
2163
2249
  },
2164
2250
  {
@@ -2202,6 +2288,12 @@ export type LiqsolCore = {
2202
2288
  },
2203
2289
  {
2204
2290
  "name": "stakeProgram"
2291
+ },
2292
+ {
2293
+ "name": "globalConfig",
2294
+ "docs": [
2295
+ "Global config for process_unstake_orders_enabled check"
2296
+ ]
2205
2297
  }
2206
2298
  ],
2207
2299
  "args": []
@@ -2304,6 +2396,10 @@ export type LiqsolCore = {
2304
2396
  },
2305
2397
  {
2306
2398
  "name": "systemProgram"
2399
+ },
2400
+ {
2401
+ "name": "pretokenPurchaseHistory",
2402
+ "writable": true
2307
2403
  }
2308
2404
  ],
2309
2405
  "args": [
@@ -2390,7 +2486,7 @@ export type LiqsolCore = {
2390
2486
  "writable": true
2391
2487
  },
2392
2488
  {
2393
- "name": "userPretokenRecord",
2489
+ "name": "poolPretokenRecord",
2394
2490
  "writable": true
2395
2491
  },
2396
2492
  {
@@ -2398,6 +2494,10 @@ export type LiqsolCore = {
2398
2494
  },
2399
2495
  {
2400
2496
  "name": "chainlinkProgram"
2497
+ },
2498
+ {
2499
+ "name": "pretokenPurchaseHistory",
2500
+ "writable": true
2401
2501
  }
2402
2502
  ],
2403
2503
  "args": []
@@ -2476,6 +2576,12 @@ export type LiqsolCore = {
2476
2576
  },
2477
2577
  {
2478
2578
  "name": "activeList"
2579
+ },
2580
+ {
2581
+ "name": "globalConfig",
2582
+ "docs": [
2583
+ "Global config for late epoch slot gate"
2584
+ ]
2479
2585
  }
2480
2586
  ],
2481
2587
  "args": []
@@ -2484,7 +2590,7 @@ export type LiqsolCore = {
2484
2590
  "name": "refreshStakeMetricsPostSync",
2485
2591
  "docs": [
2486
2592
  "V2: Refresh stake metrics after removal selection + PDA setup",
2487
- "Requires ActiveInfosSynced + ValidatorPdaSetup as prerequisites",
2593
+ "Requires ValidatorAdditionSelection + ValidatorPdaSetup as prerequisites",
2488
2594
  "Tracks completion in last_post_sync_stake_metrics_refresh_epoch"
2489
2595
  ],
2490
2596
  "discriminator": [
@@ -2516,29 +2622,62 @@ export type LiqsolCore = {
2516
2622
  },
2517
2623
  {
2518
2624
  "name": "activeList"
2625
+ },
2626
+ {
2627
+ "name": "globalConfig",
2628
+ "docs": [
2629
+ "Global config for late epoch slot gate"
2630
+ ]
2519
2631
  }
2520
2632
  ],
2521
2633
  "args": []
2522
2634
  },
2523
2635
  {
2524
- "name": "registerUser",
2636
+ "name": "refund",
2525
2637
  "discriminator": [
2526
2638
  2,
2527
- 241,
2528
- 150,
2529
- 223,
2530
- 99,
2531
- 214,
2532
- 116,
2533
- 97
2639
+ 96,
2640
+ 183,
2641
+ 251,
2642
+ 63,
2643
+ 208,
2644
+ 46,
2645
+ 46
2534
2646
  ],
2535
2647
  "accounts": [
2648
+ {
2649
+ "name": "associatedTokenProgram"
2650
+ },
2536
2651
  {
2537
2652
  "name": "user",
2653
+ "writable": true,
2654
+ "signer": true
2655
+ },
2656
+ {
2657
+ "name": "globalState",
2538
2658
  "writable": true
2539
2659
  },
2540
2660
  {
2541
- "name": "userAta",
2661
+ "name": "outpostAccount",
2662
+ "writable": true
2663
+ },
2664
+ {
2665
+ "name": "distributionState",
2666
+ "writable": true
2667
+ },
2668
+ {
2669
+ "name": "poolAuthority"
2670
+ },
2671
+ {
2672
+ "name": "liqsolPoolAta",
2673
+ "writable": true
2674
+ },
2675
+ {
2676
+ "name": "refundLiqsolAta",
2677
+ "writable": true
2678
+ },
2679
+ {
2680
+ "name": "liqsolPoolUserRecord",
2542
2681
  "writable": true
2543
2682
  },
2544
2683
  {
@@ -2546,13 +2685,116 @@ export type LiqsolCore = {
2546
2685
  "writable": true
2547
2686
  },
2548
2687
  {
2549
- "name": "payer",
2688
+ "name": "extraAccountMetaList"
2689
+ },
2690
+ {
2691
+ "name": "liqsolCoreProgram"
2692
+ },
2693
+ {
2694
+ "name": "transferHookProgram"
2695
+ },
2696
+ {
2697
+ "name": "liqsolMint"
2698
+ },
2699
+ {
2700
+ "name": "tokenProgram"
2701
+ },
2702
+ {
2703
+ "name": "bucketAuthority"
2704
+ },
2705
+ {
2706
+ "name": "bucketTokenAccount",
2707
+ "writable": true
2708
+ },
2709
+ {
2710
+ "name": "bucketUserRecord",
2711
+ "writable": true
2712
+ },
2713
+ {
2714
+ "name": "systemProgram"
2715
+ }
2716
+ ],
2717
+ "args": []
2718
+ },
2719
+ {
2720
+ "name": "registerSystemPda",
2721
+ "discriminator": [
2722
+ 110,
2723
+ 93,
2724
+ 36,
2725
+ 156,
2726
+ 179,
2727
+ 69,
2728
+ 54,
2729
+ 210
2730
+ ],
2731
+ "accounts": [
2732
+ {
2733
+ "name": "admin",
2734
+ "writable": true,
2735
+ "signer": true
2736
+ },
2737
+ {
2738
+ "name": "globalConfig"
2739
+ },
2740
+ {
2741
+ "name": "pdaOwner",
2550
2742
  "docs": [
2551
- "Payer for the user record PDA creation (always the user)"
2743
+ "The PDA whose user record we're creating — must be system-owned (no program data)."
2744
+ ]
2745
+ },
2746
+ {
2747
+ "name": "pdaAta"
2748
+ },
2749
+ {
2750
+ "name": "userRecord",
2751
+ "writable": true
2752
+ },
2753
+ {
2754
+ "name": "distributionState",
2755
+ "writable": true
2756
+ },
2757
+ {
2758
+ "name": "bucketAuthority"
2759
+ },
2760
+ {
2761
+ "name": "bucketTokenAccount",
2762
+ "docs": [
2763
+ "The bucket's associated token account holding liqSOL (for index sync)"
2552
2764
  ],
2765
+ "writable": true
2766
+ },
2767
+ {
2768
+ "name": "systemProgram"
2769
+ }
2770
+ ],
2771
+ "args": []
2772
+ },
2773
+ {
2774
+ "name": "registerUser",
2775
+ "discriminator": [
2776
+ 2,
2777
+ 241,
2778
+ 150,
2779
+ 223,
2780
+ 99,
2781
+ 214,
2782
+ 116,
2783
+ 97
2784
+ ],
2785
+ "accounts": [
2786
+ {
2787
+ "name": "payer",
2553
2788
  "writable": true,
2554
2789
  "signer": true
2555
2790
  },
2791
+ {
2792
+ "name": "userAta"
2793
+ },
2794
+ {
2795
+ "name": "userRecord",
2796
+ "writable": true
2797
+ },
2556
2798
  {
2557
2799
  "name": "distributionState",
2558
2800
  "writable": true
@@ -2608,6 +2850,12 @@ export type LiqsolCore = {
2608
2850
  {
2609
2851
  "name": "allocationState"
2610
2852
  },
2853
+ {
2854
+ "name": "globalConfig",
2855
+ "docs": [
2856
+ "Global config for late epoch slot gate"
2857
+ ]
2858
+ },
2611
2859
  {
2612
2860
  "name": "authority",
2613
2861
  "signer": true
@@ -2710,7 +2958,8 @@ export type LiqsolCore = {
2710
2958
  "name": "bucketTokenAccount",
2711
2959
  "docs": [
2712
2960
  "The bucket's token account holding liqSOL (for sync_index balance)"
2713
- ]
2961
+ ],
2962
+ "writable": true
2714
2963
  },
2715
2964
  {
2716
2965
  "name": "reservePool",
@@ -2738,6 +2987,12 @@ export type LiqsolCore = {
2738
2987
  "Maintenance ledger - for accumulate_unstake_request"
2739
2988
  ]
2740
2989
  },
2990
+ {
2991
+ "name": "globalConfig",
2992
+ "docs": [
2993
+ "Global config for min_unstake_request setting"
2994
+ ]
2995
+ },
2741
2996
  {
2742
2997
  "name": "clock"
2743
2998
  },
@@ -2787,188 +3042,78 @@ export type LiqsolCore = {
2787
3042
  ]
2788
3043
  },
2789
3044
  {
2790
- "name": "resetDistributionState",
3045
+ "name": "setAdmin",
2791
3046
  "discriminator": [
2792
- 159,
2793
- 183,
2794
- 162,
2795
- 74,
2796
- 228,
2797
- 135,
2798
- 157,
2799
- 79
3047
+ 251,
3048
+ 163,
3049
+ 0,
3050
+ 52,
3051
+ 91,
3052
+ 194,
3053
+ 187,
3054
+ 92
2800
3055
  ],
2801
3056
  "accounts": [
3057
+ {
3058
+ "name": "globalConfig",
3059
+ "writable": true
3060
+ },
2802
3061
  {
2803
3062
  "name": "admin",
2804
3063
  "signer": true
2805
3064
  },
2806
3065
  {
2807
- "name": "distributionState",
2808
- "writable": true
3066
+ "name": "newAuthority"
2809
3067
  }
2810
3068
  ],
2811
3069
  "args": []
2812
3070
  },
2813
3071
  {
2814
- "name": "resetGlobalState",
3072
+ "name": "setCranky",
2815
3073
  "discriminator": [
2816
- 252,
2817
- 41,
2818
- 117,
2819
- 110,
2820
- 248,
2821
- 165,
3074
+ 232,
2822
3075
  48,
2823
- 88
3076
+ 178,
3077
+ 74,
3078
+ 194,
3079
+ 60,
3080
+ 143,
3081
+ 164
2824
3082
  ],
2825
3083
  "accounts": [
2826
3084
  {
2827
- "name": "admin",
2828
- "signer": true
2829
- },
2830
- {
2831
- "name": "globalState",
2832
- "writable": true
2833
- },
2834
- {
2835
- "name": "poolAuthority"
2836
- },
2837
- {
2838
- "name": "liqsolMint"
2839
- },
2840
- {
2841
- "name": "liqsolPoolAta",
3085
+ "name": "globalConfig",
2842
3086
  "writable": true
2843
3087
  },
2844
3088
  {
2845
- "name": "tokenProgram"
3089
+ "name": "admin",
3090
+ "signer": true
2846
3091
  },
2847
3092
  {
2848
- "name": "associatedTokenProgram"
3093
+ "name": "newAuthority"
2849
3094
  }
2850
3095
  ],
2851
3096
  "args": []
2852
3097
  },
2853
3098
  {
2854
- "name": "resetPriceHistory",
3099
+ "name": "setPaused",
2855
3100
  "discriminator": [
2856
- 213,
2857
- 231,
2858
- 155,
2859
- 139,
2860
- 248,
3101
+ 91,
2861
3102
  60,
2862
- 67,
2863
- 199
3103
+ 125,
3104
+ 192,
3105
+ 176,
3106
+ 225,
3107
+ 166,
3108
+ 218
2864
3109
  ],
2865
3110
  "accounts": [
2866
3111
  {
2867
3112
  "name": "admin",
2868
- "writable": true,
2869
3113
  "signer": true
2870
3114
  },
2871
3115
  {
2872
- "name": "trancheState",
2873
- "writable": true
2874
- },
2875
- {
2876
- "name": "priceHistory",
2877
- "writable": true
2878
- },
2879
- {
2880
- "name": "systemProgram"
2881
- }
2882
- ],
2883
- "args": []
2884
- },
2885
- {
2886
- "name": "resetTrancheState",
2887
- "discriminator": [
2888
- 106,
2889
- 102,
2890
- 143,
2891
- 40,
2892
- 152,
2893
- 173,
2894
- 165,
2895
- 168
2896
- ],
2897
- "accounts": [
2898
- {
2899
- "name": "admin",
2900
- "writable": true,
2901
- "signer": true
2902
- },
2903
- {
2904
- "name": "trancheState",
2905
- "writable": true
2906
- },
2907
- {
2908
- "name": "priceHistory",
2909
- "writable": true
2910
- },
2911
- {
2912
- "name": "systemProgram"
2913
- }
2914
- ],
2915
- "args": []
2916
- },
2917
- {
2918
- "name": "setLastStateChangeEpoch",
2919
- "docs": [
2920
- "Admin function to directly set last_state_change_epoch (useful for testing cooldowns)"
2921
- ],
2922
- "discriminator": [
2923
- 94,
2924
- 57,
2925
- 139,
2926
- 195,
2927
- 123,
2928
- 224,
2929
- 227,
2930
- 106
2931
- ],
2932
- "accounts": [
2933
- {
2934
- "name": "validatorInfo",
2935
- "writable": true
2936
- },
2937
- {
2938
- "name": "stakeAllocationState",
2939
- "docs": [
2940
- "Stake allocation state - to update total_active_vpp when VPP changes"
2941
- ],
2942
- "writable": true
2943
- }
2944
- ],
2945
- "args": [
2946
- {
2947
- "name": "voteAccount",
2948
- "type": "pubkey"
2949
- },
2950
- {
2951
- "name": "epoch",
2952
- "type": "u16"
2953
- }
2954
- ]
2955
- },
2956
- {
2957
- "name": "setPaused",
2958
- "discriminator": [
2959
- 91,
2960
- 60,
2961
- 125,
2962
- 192,
2963
- 176,
2964
- 225,
2965
- 166,
2966
- 218
2967
- ],
2968
- "accounts": [
2969
- {
2970
- "name": "admin",
2971
- "signer": true
3116
+ "name": "globalConfig"
2972
3117
  },
2973
3118
  {
2974
3119
  "name": "globalState",
@@ -2999,6 +3144,9 @@ export type LiqsolCore = {
2999
3144
  "name": "admin",
3000
3145
  "signer": true
3001
3146
  },
3147
+ {
3148
+ "name": "globalConfig"
3149
+ },
3002
3150
  {
3003
3151
  "name": "globalState",
3004
3152
  "writable": true
@@ -3036,6 +3184,9 @@ export type LiqsolCore = {
3036
3184
  "name": "admin",
3037
3185
  "signer": true
3038
3186
  },
3187
+ {
3188
+ "name": "globalConfig"
3189
+ },
3039
3190
  {
3040
3191
  "name": "globalState",
3041
3192
  "writable": true
@@ -3065,6 +3216,9 @@ export type LiqsolCore = {
3065
3216
  "name": "admin",
3066
3217
  "signer": true
3067
3218
  },
3219
+ {
3220
+ "name": "globalConfig"
3221
+ },
3068
3222
  {
3069
3223
  "name": "globalState",
3070
3224
  "writable": true
@@ -3115,6 +3269,12 @@ export type LiqsolCore = {
3115
3269
  "name": "allocationState",
3116
3270
  "writable": true
3117
3271
  },
3272
+ {
3273
+ "name": "globalConfig",
3274
+ "docs": [
3275
+ "Global config for late epoch slot gate"
3276
+ ]
3277
+ },
3118
3278
  {
3119
3279
  "name": "systemProgram",
3120
3280
  "docs": [
@@ -3142,7 +3302,11 @@ export type LiqsolCore = {
3142
3302
  "signer": true
3143
3303
  },
3144
3304
  {
3145
- "name": "globalState"
3305
+ "name": "globalConfig"
3306
+ },
3307
+ {
3308
+ "name": "globalState",
3309
+ "writable": true
3146
3310
  },
3147
3311
  {
3148
3312
  "name": "user",
@@ -3181,6 +3345,12 @@ export type LiqsolCore = {
3181
3345
  "name": "maintenanceLedger",
3182
3346
  "writable": true
3183
3347
  },
3348
+ {
3349
+ "name": "globalConfig",
3350
+ "docs": [
3351
+ "Global config for late epoch slot gate"
3352
+ ]
3353
+ },
3184
3354
  {
3185
3355
  "name": "authority",
3186
3356
  "signer": true
@@ -3189,37 +3359,35 @@ export type LiqsolCore = {
3189
3359
  "args": []
3190
3360
  },
3191
3361
  {
3192
- "name": "syncDistributionIndex",
3362
+ "name": "syncLeaderboardScoresBatch",
3363
+ "docs": [
3364
+ "region: Validator Leaderboard Syncing"
3365
+ ],
3193
3366
  "discriminator": [
3194
- 82,
3195
- 159,
3196
- 232,
3197
- 125,
3198
- 12,
3199
- 29,
3200
- 9,
3201
- 226
3367
+ 52,
3368
+ 11,
3369
+ 210,
3370
+ 173,
3371
+ 90,
3372
+ 5,
3373
+ 48,
3374
+ 50
3202
3375
  ],
3203
3376
  "accounts": [
3204
3377
  {
3205
- "name": "authority",
3206
- "docs": [
3207
- "Admin or crank that triggers the index sync"
3208
- ],
3209
- "signer": true
3378
+ "name": "leaderboardState"
3210
3379
  },
3211
3380
  {
3212
- "name": "distributionState",
3381
+ "name": "processingState",
3213
3382
  "writable": true
3214
3383
  },
3215
3384
  {
3216
- "name": "bucketAuthority",
3217
- "docs": [
3218
- "The bucket's associated token account holding liqSOL"
3219
- ]
3385
+ "name": "maintenanceLedger",
3386
+ "writable": true
3220
3387
  },
3221
3388
  {
3222
- "name": "bucketTokenAccount"
3389
+ "name": "authority",
3390
+ "signer": true
3223
3391
  }
3224
3392
  ],
3225
3393
  "args": []
@@ -3228,7 +3396,7 @@ export type LiqsolCore = {
3228
3396
  "name": "syncMainStakeAccounts",
3229
3397
  "docs": [
3230
3398
  "V2: Sync main stake accounts using PDA architecture (batched)",
3231
- "Processes up to 10 validators per transaction via remaining_accounts",
3399
+ "Processes validators in batches via remaining_accounts (batch size is enforced client-side)",
3232
3400
  "Note: Only syncs primary delegated stakes, not transient stakes"
3233
3401
  ],
3234
3402
  "discriminator": [
@@ -3305,6 +3473,12 @@ export type LiqsolCore = {
3305
3473
  "name": "maintenanceLedger",
3306
3474
  "writable": true
3307
3475
  },
3476
+ {
3477
+ "name": "globalConfig",
3478
+ "docs": [
3479
+ "Global config for min_vpp_entry and min_vpp_exit"
3480
+ ]
3481
+ },
3308
3482
  {
3309
3483
  "name": "authority",
3310
3484
  "signer": true
@@ -3388,6 +3562,10 @@ export type LiqsolCore = {
3388
3562
  ],
3389
3563
  "writable": true
3390
3564
  },
3565
+ {
3566
+ "name": "pretokenPurchaseHistory",
3567
+ "writable": true
3568
+ },
3391
3569
  {
3392
3570
  "name": "tokenProgram"
3393
3571
  },
@@ -3406,120 +3584,246 @@ export type LiqsolCore = {
3406
3584
  ]
3407
3585
  },
3408
3586
  {
3409
- "name": "testClearActiveList",
3587
+ "name": "updateConfigBool",
3410
3588
  "discriminator": [
3411
- 17,
3412
- 195,
3413
- 59,
3414
- 174,
3415
- 184,
3416
- 137,
3417
- 149,
3418
- 144
3589
+ 79,
3590
+ 36,
3591
+ 65,
3592
+ 239,
3593
+ 188,
3594
+ 35,
3595
+ 13,
3596
+ 160
3419
3597
  ],
3420
3598
  "accounts": [
3421
3599
  {
3422
- "name": "activeList",
3423
- "writable": true
3424
- },
3425
- {
3426
- "name": "processingState",
3600
+ "name": "globalConfig",
3427
3601
  "writable": true
3428
3602
  },
3429
3603
  {
3430
- "name": "authority",
3604
+ "name": "admin",
3431
3605
  "signer": true
3432
3606
  }
3433
3607
  ],
3434
- "args": []
3608
+ "args": [
3609
+ {
3610
+ "name": "key",
3611
+ "type": {
3612
+ "defined": {
3613
+ "name": "configKeyBool"
3614
+ }
3615
+ }
3616
+ },
3617
+ {
3618
+ "name": "value",
3619
+ "type": "bool"
3620
+ }
3621
+ ]
3435
3622
  },
3436
3623
  {
3437
- "name": "updateGrowthParameters",
3624
+ "name": "updateConfigU16",
3438
3625
  "discriminator": [
3439
- 172,
3440
- 187,
3441
- 237,
3442
- 233,
3443
- 250,
3444
- 160,
3445
- 115,
3446
- 239
3626
+ 149,
3627
+ 9,
3628
+ 244,
3629
+ 25,
3630
+ 46,
3631
+ 136,
3632
+ 59,
3633
+ 173
3447
3634
  ],
3448
3635
  "accounts": [
3449
3636
  {
3450
- "name": "admin",
3451
- "writable": true,
3452
- "signer": true
3453
- },
3454
- {
3455
- "name": "trancheState",
3456
- "writable": true
3457
- },
3458
- {
3459
- "name": "priceHistory",
3637
+ "name": "globalConfig",
3460
3638
  "writable": true
3461
3639
  },
3462
3640
  {
3463
- "name": "systemProgram"
3641
+ "name": "admin",
3642
+ "signer": true
3464
3643
  }
3465
3644
  ],
3466
3645
  "args": [
3467
3646
  {
3468
- "name": "supplyGrowthBps",
3469
- "type": "u16"
3647
+ "name": "key",
3648
+ "type": {
3649
+ "defined": {
3650
+ "name": "configKeyU16"
3651
+ }
3652
+ }
3470
3653
  },
3471
3654
  {
3472
- "name": "priceGrowthBps",
3655
+ "name": "value",
3473
3656
  "type": "u16"
3474
3657
  }
3475
3658
  ]
3476
3659
  },
3477
3660
  {
3478
- "name": "updatePriceBounds",
3661
+ "name": "updateConfigU64",
3479
3662
  "discriminator": [
3480
- 241,
3481
- 116,
3482
- 141,
3483
- 65,
3484
- 61,
3485
- 95,
3486
- 232,
3487
- 28
3663
+ 120,
3664
+ 43,
3665
+ 124,
3666
+ 106,
3667
+ 97,
3668
+ 80,
3669
+ 208,
3670
+ 123
3488
3671
  ],
3489
3672
  "accounts": [
3490
3673
  {
3491
- "name": "admin",
3492
- "writable": true,
3493
- "signer": true
3494
- },
3495
- {
3496
- "name": "trancheState",
3497
- "writable": true
3498
- },
3499
- {
3500
- "name": "priceHistory",
3674
+ "name": "globalConfig",
3501
3675
  "writable": true
3502
3676
  },
3503
3677
  {
3504
- "name": "systemProgram"
3678
+ "name": "admin",
3679
+ "signer": true
3505
3680
  }
3506
3681
  ],
3507
3682
  "args": [
3508
3683
  {
3509
- "name": "minPriceUsd",
3510
- "type": "i128"
3511
- },
3512
- {
3513
- "name": "maxPriceUsd",
3514
- "type": "i128"
3684
+ "name": "key",
3685
+ "type": {
3686
+ "defined": {
3687
+ "name": "configKeyU64"
3688
+ }
3689
+ }
3515
3690
  },
3516
3691
  {
3517
- "name": "maxStalenessSeconds",
3518
- "type": "i64"
3692
+ "name": "value",
3693
+ "type": "u64"
3519
3694
  }
3520
3695
  ]
3521
- }
3522
- ],
3696
+ },
3697
+ {
3698
+ "name": "updateConfigU8",
3699
+ "discriminator": [
3700
+ 17,
3701
+ 160,
3702
+ 31,
3703
+ 134,
3704
+ 222,
3705
+ 250,
3706
+ 229,
3707
+ 253
3708
+ ],
3709
+ "accounts": [
3710
+ {
3711
+ "name": "globalConfig",
3712
+ "writable": true
3713
+ },
3714
+ {
3715
+ "name": "admin",
3716
+ "signer": true
3717
+ }
3718
+ ],
3719
+ "args": [
3720
+ {
3721
+ "name": "key",
3722
+ "type": {
3723
+ "defined": {
3724
+ "name": "configKeyU8"
3725
+ }
3726
+ }
3727
+ },
3728
+ {
3729
+ "name": "value",
3730
+ "type": "u8"
3731
+ }
3732
+ ]
3733
+ },
3734
+ {
3735
+ "name": "updateGrowthParameters",
3736
+ "discriminator": [
3737
+ 172,
3738
+ 187,
3739
+ 237,
3740
+ 233,
3741
+ 250,
3742
+ 160,
3743
+ 115,
3744
+ 239
3745
+ ],
3746
+ "accounts": [
3747
+ {
3748
+ "name": "admin",
3749
+ "writable": true,
3750
+ "signer": true
3751
+ },
3752
+ {
3753
+ "name": "globalConfig"
3754
+ },
3755
+ {
3756
+ "name": "trancheState",
3757
+ "writable": true
3758
+ },
3759
+ {
3760
+ "name": "priceHistory",
3761
+ "writable": true
3762
+ },
3763
+ {
3764
+ "name": "systemProgram"
3765
+ }
3766
+ ],
3767
+ "args": [
3768
+ {
3769
+ "name": "supplyGrowthBps",
3770
+ "type": "u16"
3771
+ },
3772
+ {
3773
+ "name": "priceGrowthCents",
3774
+ "type": "u16"
3775
+ }
3776
+ ]
3777
+ },
3778
+ {
3779
+ "name": "updatePriceBounds",
3780
+ "discriminator": [
3781
+ 241,
3782
+ 116,
3783
+ 141,
3784
+ 65,
3785
+ 61,
3786
+ 95,
3787
+ 232,
3788
+ 28
3789
+ ],
3790
+ "accounts": [
3791
+ {
3792
+ "name": "admin",
3793
+ "writable": true,
3794
+ "signer": true
3795
+ },
3796
+ {
3797
+ "name": "globalConfig"
3798
+ },
3799
+ {
3800
+ "name": "trancheState",
3801
+ "writable": true
3802
+ },
3803
+ {
3804
+ "name": "priceHistory",
3805
+ "writable": true
3806
+ },
3807
+ {
3808
+ "name": "systemProgram"
3809
+ }
3810
+ ],
3811
+ "args": [
3812
+ {
3813
+ "name": "minPriceUsd",
3814
+ "type": "u64"
3815
+ },
3816
+ {
3817
+ "name": "maxPriceUsd",
3818
+ "type": "u64"
3819
+ },
3820
+ {
3821
+ "name": "maxStalenessSeconds",
3822
+ "type": "i64"
3823
+ }
3824
+ ]
3825
+ }
3826
+ ],
3523
3827
  "accounts": [
3524
3828
  {
3525
3829
  "name": "batchOrchestrator",
@@ -3560,6 +3864,19 @@ export type LiqsolCore = {
3560
3864
  127
3561
3865
  ]
3562
3866
  },
3867
+ {
3868
+ "name": "globalConfig",
3869
+ "discriminator": [
3870
+ 149,
3871
+ 8,
3872
+ 156,
3873
+ 202,
3874
+ 160,
3875
+ 252,
3876
+ 176,
3877
+ 217
3878
+ ]
3879
+ },
3563
3880
  {
3564
3881
  "name": "globalState",
3565
3882
  "discriminator": [
@@ -3651,6 +3968,19 @@ export type LiqsolCore = {
3651
3968
  150
3652
3969
  ]
3653
3970
  },
3971
+ {
3972
+ "name": "pretokenPurchaseHistory",
3973
+ "discriminator": [
3974
+ 33,
3975
+ 71,
3976
+ 113,
3977
+ 206,
3978
+ 33,
3979
+ 180,
3980
+ 236,
3981
+ 131
3982
+ ]
3983
+ },
3654
3984
  {
3655
3985
  "name": "priceHistory",
3656
3986
  "discriminator": [
@@ -4121,187 +4451,563 @@ export type LiqsolCore = {
4121
4451
  ],
4122
4452
  "type": "u16"
4123
4453
  },
4454
+ {
4455
+ "name": "leaderboardScoresNextIndex",
4456
+ "docs": [
4457
+ "Next leaderboard registry index to process for score sync"
4458
+ ],
4459
+ "type": "u16"
4460
+ },
4124
4461
  {
4125
4462
  "name": "removalNextIndex",
4126
4463
  "docs": [
4127
- "Next index in active list to check for removal"
4464
+ "Next index in active list to check for removal"
4465
+ ],
4466
+ "type": "u16"
4467
+ },
4468
+ {
4469
+ "name": "additionNextRank",
4470
+ "docs": [
4471
+ "Next rank in leaderboard to check for addition"
4472
+ ],
4473
+ "type": "u16"
4474
+ },
4475
+ {
4476
+ "name": "additionTargetRank",
4477
+ "docs": [
4478
+ "Target (inclusive) leaderboard rank to process up to"
4479
+ ],
4480
+ "type": "u16"
4481
+ },
4482
+ {
4483
+ "name": "graveyardNextIndex",
4484
+ "docs": [
4485
+ "Next index in graveyard list to process"
4486
+ ],
4487
+ "type": "u16"
4488
+ },
4489
+ {
4490
+ "name": "graveyardCleanupNextIndex",
4491
+ "docs": [
4492
+ "Next index in graveyard list to check for cleanup"
4493
+ ],
4494
+ "type": "u16"
4495
+ },
4496
+ {
4497
+ "name": "aggregateModeTag",
4498
+ "docs": [
4499
+ "Tracks which aggregation mode currently owns the shared temp fields.",
4500
+ "0 = idle,",
4501
+ "1 = Normal,",
4502
+ "2 = PostSync,",
4503
+ "3 = PostLateEpoch.",
4504
+ "Prevents cross-mode state contamination when modes share the same vars."
4505
+ ],
4506
+ "type": "u8"
4507
+ },
4508
+ {
4509
+ "name": "aggregationStartedEpoch",
4510
+ "docs": [
4511
+ "The epoch when the current aggregation batch started.",
4512
+ "Prevents stale partial accumulators from being committed if an epoch boundary is crossed mid-aggregation."
4513
+ ],
4514
+ "type": "u64"
4515
+ },
4516
+ {
4517
+ "name": "reserved",
4518
+ "type": {
4519
+ "array": [
4520
+ "u8",
4521
+ 23
4522
+ ]
4523
+ }
4524
+ }
4525
+ ]
4526
+ }
4527
+ },
4528
+ {
4529
+ "name": "configKeyBool",
4530
+ "docs": [
4531
+ "Keys for bool config values (feature flags) - stored as bits in a u16",
4532
+ "Bit positions: 0=Deposits, 1=Withdrawals, 2=ClaimWithdrawals, 3=ProcessStake,",
4533
+ "4=ProcessUnstake, 5=ProcessPayCycle, 6=Rebalancing, 7-15=Reserved"
4534
+ ],
4535
+ "type": {
4536
+ "kind": "enum",
4537
+ "variants": [
4538
+ {
4539
+ "name": "depositsEnabled"
4540
+ },
4541
+ {
4542
+ "name": "withdrawalsEnabled"
4543
+ },
4544
+ {
4545
+ "name": "claimWithdrawalsEnabled"
4546
+ },
4547
+ {
4548
+ "name": "processStakeOrdersEnabled"
4549
+ },
4550
+ {
4551
+ "name": "processUnstakeOrdersEnabled"
4552
+ },
4553
+ {
4554
+ "name": "processPayCycleEnabled"
4555
+ },
4556
+ {
4557
+ "name": "rebalancingEnabled"
4558
+ }
4559
+ ]
4560
+ }
4561
+ },
4562
+ {
4563
+ "name": "configKeyU16",
4564
+ "docs": [
4565
+ "Keys for u16 config values (small counts, thresholds, ranks)"
4566
+ ],
4567
+ "type": {
4568
+ "kind": "enum",
4569
+ "variants": [
4570
+ {
4571
+ "name": "cooldownEpochs"
4572
+ },
4573
+ {
4574
+ "name": "depositFeeEpochsMultiplier"
4575
+ },
4576
+ {
4577
+ "name": "minVppEntry"
4578
+ },
4579
+ {
4580
+ "name": "minVppExit"
4581
+ },
4582
+ {
4583
+ "name": "tinyNetworkThreshold"
4584
+ },
4585
+ {
4586
+ "name": "smallNetworkThreshold"
4587
+ },
4588
+ {
4589
+ "name": "mediumNetworkThreshold"
4590
+ },
4591
+ {
4592
+ "name": "largeNetworkEntryRank"
4593
+ },
4594
+ {
4595
+ "name": "largeNetworkExitRank"
4596
+ }
4597
+ ]
4598
+ }
4599
+ },
4600
+ {
4601
+ "name": "configKeyU64",
4602
+ "docs": [
4603
+ "Keys for u64 config values (large amounts, rates)"
4604
+ ],
4605
+ "type": {
4606
+ "kind": "enum",
4607
+ "variants": [
4608
+ {
4609
+ "name": "minUserDeposit"
4610
+ },
4611
+ {
4612
+ "name": "minUnstakeRequest"
4613
+ },
4614
+ {
4615
+ "name": "minRebalanceStakeDelta"
4616
+ },
4617
+ {
4618
+ "name": "minRebalanceUnstakeDelta"
4619
+ },
4620
+ {
4621
+ "name": "transientThreshold"
4622
+ },
4623
+ {
4624
+ "name": "minLateEpochSlotGate"
4625
+ }
4626
+ ]
4627
+ }
4628
+ },
4629
+ {
4630
+ "name": "configKeyU8",
4631
+ "docs": [
4632
+ "Keys for u8 config values (percentages 0-100)"
4633
+ ],
4634
+ "type": {
4635
+ "kind": "enum",
4636
+ "variants": [
4637
+ {
4638
+ "name": "smallNetworkEntryPercent"
4639
+ },
4640
+ {
4641
+ "name": "smallNetworkExitPercent"
4642
+ },
4643
+ {
4644
+ "name": "mediumNetworkEntryPercent"
4645
+ },
4646
+ {
4647
+ "name": "mediumNetworkExitPercent"
4648
+ }
4649
+ ]
4650
+ }
4651
+ },
4652
+ {
4653
+ "name": "distributionState",
4654
+ "type": {
4655
+ "kind": "struct",
4656
+ "fields": [
4657
+ {
4658
+ "name": "liqsolMint",
4659
+ "type": "pubkey"
4660
+ },
4661
+ {
4662
+ "name": "currentIndex",
4663
+ "type": "u64"
4664
+ },
4665
+ {
4666
+ "name": "totalShares",
4667
+ "docs": [
4668
+ "Sum of all user shares across the system"
4669
+ ],
4670
+ "type": "u64"
4671
+ },
4672
+ {
4673
+ "name": "lastBucketBalance",
4674
+ "docs": [
4675
+ "Last observed bucket balance used for incremental index updates"
4676
+ ],
4677
+ "type": "u64"
4678
+ },
4679
+ {
4680
+ "name": "bump",
4681
+ "type": "u8"
4682
+ },
4683
+ {
4684
+ "name": "bucketBump",
4685
+ "docs": [
4686
+ "Cached bucket authority bump to avoid repeated find_program_address calls"
4687
+ ],
4688
+ "type": "u8"
4689
+ },
4690
+ {
4691
+ "name": "poolBump",
4692
+ "docs": [
4693
+ "Cached pool authority bump to avoid repeated find_program_address calls"
4694
+ ],
4695
+ "type": "u8"
4696
+ },
4697
+ {
4698
+ "name": "bucketAuthority",
4699
+ "docs": [
4700
+ "Cached bucket authority pubkey for transfer-hook optimization"
4701
+ ],
4702
+ "type": "pubkey"
4703
+ },
4704
+ {
4705
+ "name": "poolAuthority",
4706
+ "docs": [
4707
+ "Cached pool authority pubkey for transfer-hook optimization"
4708
+ ],
4709
+ "type": "pubkey"
4710
+ }
4711
+ ]
4712
+ }
4713
+ },
4714
+ {
4715
+ "name": "epochResolved",
4716
+ "type": {
4717
+ "kind": "struct",
4718
+ "fields": [
4719
+ {
4720
+ "name": "validator",
4721
+ "type": "pubkey"
4722
+ },
4723
+ {
4724
+ "name": "epoch",
4725
+ "type": "u64"
4726
+ },
4727
+ {
4728
+ "name": "totalStakeAmount",
4729
+ "type": "u64"
4730
+ },
4731
+ {
4732
+ "name": "maxIndex",
4733
+ "type": "u32"
4734
+ }
4735
+ ]
4736
+ }
4737
+ },
4738
+ {
4739
+ "name": "global",
4740
+ "docs": [
4741
+ "Global operator state. Epoch-based model: receipts are serviceable",
4742
+ "when `epoch <= serviceable_epoch` as reported by an external runtime."
4743
+ ],
4744
+ "type": {
4745
+ "kind": "struct",
4746
+ "fields": [
4747
+ {
4748
+ "name": "bump",
4749
+ "type": "u8"
4750
+ },
4751
+ {
4752
+ "name": "authority",
4753
+ "docs": [
4754
+ "DEPRECATED: Originally intended as authority for serviceable_epoch updates,",
4755
+ "but serviceable_epoch is updated by merge_deactivated_stakes gated via GlobalConfig.cranky.",
4756
+ "Retained to preserve account layout."
4757
+ ],
4758
+ "type": "pubkey"
4759
+ },
4760
+ {
4761
+ "name": "liqsolMint",
4762
+ "docs": [
4763
+ "Token-2022 liqSOL mint burned on withdraw."
4764
+ ],
4765
+ "type": "pubkey"
4766
+ },
4767
+ {
4768
+ "name": "serviceableEpoch",
4769
+ "docs": [
4770
+ "Highest epoch that is currently claimable."
4771
+ ],
4772
+ "type": "u64"
4773
+ },
4774
+ {
4775
+ "name": "totalEncumberedFunds",
4776
+ "docs": [
4777
+ "Total SOL encumbered for pending withdrawal requests.",
4778
+ "This amount is reserved from the reserve pool and will be paid out when receipts are claimed."
4779
+ ],
4780
+ "type": "u64"
4781
+ },
4782
+ {
4783
+ "name": "nextReceiptId",
4784
+ "docs": [
4785
+ "Monotonic counter for generating unique receipt IDs"
4786
+ ],
4787
+ "type": "u64"
4788
+ }
4789
+ ]
4790
+ }
4791
+ },
4792
+ {
4793
+ "name": "globalConfig",
4794
+ "docs": [
4795
+ "Zero-copy global config PDA"
4796
+ ],
4797
+ "serialization": "bytemuckunsafe",
4798
+ "repr": {
4799
+ "kind": "c"
4800
+ },
4801
+ "type": {
4802
+ "kind": "struct",
4803
+ "fields": [
4804
+ {
4805
+ "name": "bump",
4806
+ "type": "u8"
4807
+ },
4808
+ {
4809
+ "name": "padding",
4810
+ "type": {
4811
+ "array": [
4812
+ "u8",
4813
+ 7
4814
+ ]
4815
+ }
4816
+ },
4817
+ {
4818
+ "name": "admin",
4819
+ "type": "pubkey"
4820
+ },
4821
+ {
4822
+ "name": "cranky",
4823
+ "type": "pubkey"
4824
+ },
4825
+ {
4826
+ "name": "reservedPubkey",
4827
+ "type": {
4828
+ "array": [
4829
+ "pubkey",
4830
+ 1
4831
+ ]
4832
+ }
4833
+ },
4834
+ {
4835
+ "name": "minUserDeposit",
4836
+ "docs": [
4837
+ "Minimum SOL amount a user can deposit"
4838
+ ],
4839
+ "type": "u64"
4840
+ },
4841
+ {
4842
+ "name": "minUnstakeRequest",
4843
+ "docs": [
4844
+ "Minimum SOL amount for an unstake/withdrawal request"
4128
4845
  ],
4129
- "type": "u16"
4846
+ "type": "u64"
4130
4847
  },
4131
4848
  {
4132
- "name": "additionNextRank",
4849
+ "name": "minRebalanceStakeDelta",
4133
4850
  "docs": [
4134
- "Next rank in leaderboard to check for addition"
4851
+ "Minimum stake delta to trigger a stake rebalance order"
4135
4852
  ],
4136
- "type": "u16"
4853
+ "type": "u64"
4137
4854
  },
4138
4855
  {
4139
- "name": "additionTargetRank",
4856
+ "name": "minRebalanceUnstakeDelta",
4140
4857
  "docs": [
4141
- "Target (inclusive) leaderboard rank to process up to"
4858
+ "Minimum unstake delta to trigger an unstake rebalance order"
4142
4859
  ],
4143
- "type": "u16"
4860
+ "type": "u64"
4144
4861
  },
4145
4862
  {
4146
- "name": "graveyardNextIndex",
4863
+ "name": "transientThreshold",
4147
4864
  "docs": [
4148
- "Next index in graveyard list to process"
4865
+ "Minimum transient stake to include in effective stake calculations"
4149
4866
  ],
4150
- "type": "u16"
4867
+ "type": "u64"
4151
4868
  },
4152
4869
  {
4153
- "name": "graveyardCleanupNextIndex",
4870
+ "name": "minLateEpochSlotGate",
4154
4871
  "docs": [
4155
- "Next index in graveyard list to check for cleanup"
4872
+ "Minimum slots that must have elapsed in the epoch before late epoch operations can execute"
4156
4873
  ],
4157
- "type": "u16"
4874
+ "type": "u64"
4158
4875
  },
4159
4876
  {
4160
- "name": "reserved",
4877
+ "name": "reservedU64",
4161
4878
  "type": {
4162
4879
  "array": [
4163
- "u8",
4164
- 32
4880
+ "u64",
4881
+ 2
4165
4882
  ]
4166
4883
  }
4167
- }
4168
- ]
4169
- }
4170
- },
4171
- {
4172
- "name": "distributionState",
4173
- "type": {
4174
- "kind": "struct",
4175
- "fields": [
4176
- {
4177
- "name": "liqsolMint",
4178
- "type": "pubkey"
4179
4884
  },
4180
4885
  {
4181
- "name": "currentIndex",
4182
- "type": "u64"
4886
+ "name": "cooldownEpochs",
4887
+ "docs": [
4888
+ "Epochs a validator must wait in the graveyard before it is booted. This begins after the last recorded state change"
4889
+ ],
4890
+ "type": "u16"
4183
4891
  },
4184
4892
  {
4185
- "name": "totalShares",
4893
+ "name": "depositFeeMultiplier",
4186
4894
  "docs": [
4187
- "Sum of all user shares across the system"
4895
+ "Multiplier for deposit fee calculation, this would be average \"pay rate x number of epochs we expect the stake to warm up\""
4188
4896
  ],
4189
- "type": "u64"
4897
+ "type": "u16"
4190
4898
  },
4191
4899
  {
4192
- "name": "lastBucketBalance",
4900
+ "name": "minVppEntry",
4193
4901
  "docs": [
4194
- "Last observed bucket balance used for incremental index updates"
4902
+ "Minimum VPP score required to enter the active validator set, this is a fall back for when the val set is really small"
4195
4903
  ],
4196
- "type": "u64"
4904
+ "type": "u16"
4197
4905
  },
4198
4906
  {
4199
- "name": "bump",
4200
- "type": "u8"
4907
+ "name": "minVppExit",
4908
+ "docs": [
4909
+ "VPP score threshold below which a validator is removed from active set, again a fall back"
4910
+ ],
4911
+ "type": "u16"
4201
4912
  },
4202
4913
  {
4203
- "name": "bucketBump",
4914
+ "name": "tinyNetworkThreshold",
4204
4915
  "docs": [
4205
- "Cached bucket authority bump to avoid repeated find_program_address calls"
4916
+ "Max validators for \"tiny\" network band (uses fixed VPP thresholds) as above"
4206
4917
  ],
4207
- "type": "u8"
4918
+ "type": "u16"
4208
4919
  },
4209
4920
  {
4210
- "name": "poolBump",
4921
+ "name": "smallNetworkThreshold",
4211
4922
  "docs": [
4212
- "Cached pool authority bump to avoid repeated find_program_address calls"
4923
+ "Max validators for \"small\" network band (uses percentile-based selection)"
4213
4924
  ],
4214
- "type": "u8"
4925
+ "type": "u16"
4215
4926
  },
4216
4927
  {
4217
- "name": "bucketAuthority",
4928
+ "name": "mediumNetworkThreshold",
4218
4929
  "docs": [
4219
- "Cached bucket authority pubkey for transfer-hook optimization"
4930
+ "Max validators for \"medium\" network band (uses percentile-based selection)"
4220
4931
  ],
4221
- "type": "pubkey"
4932
+ "type": "u16"
4222
4933
  },
4223
4934
  {
4224
- "name": "poolAuthority",
4935
+ "name": "largeNetworkEntryRank",
4225
4936
  "docs": [
4226
- "Cached pool authority pubkey for transfer-hook optimization"
4937
+ "Fixed rank threshold to enter active set in large networks (0-indexed)"
4227
4938
  ],
4228
- "type": "pubkey"
4229
- }
4230
- ]
4231
- }
4232
- },
4233
- {
4234
- "name": "epochResolved",
4235
- "type": {
4236
- "kind": "struct",
4237
- "fields": [
4238
- {
4239
- "name": "validator",
4240
- "type": "pubkey"
4939
+ "type": "u16"
4241
4940
  },
4242
4941
  {
4243
- "name": "epoch",
4244
- "type": "u64"
4942
+ "name": "largeNetworkExitRank",
4943
+ "docs": [
4944
+ "Fixed rank threshold to exit active set in large networks (0-indexed)"
4945
+ ],
4946
+ "type": "u16"
4245
4947
  },
4246
4948
  {
4247
- "name": "totalStakeAmount",
4248
- "type": "u64"
4949
+ "name": "reservedU16",
4950
+ "type": {
4951
+ "array": [
4952
+ "u16",
4953
+ 3
4954
+ ]
4955
+ }
4249
4956
  },
4250
4957
  {
4251
- "name": "maxIndex",
4252
- "type": "u32"
4253
- }
4254
- ]
4255
- }
4256
- },
4257
- {
4258
- "name": "global",
4259
- "docs": [
4260
- "Global operator state. Epoch-based model: receipts are serviceable",
4261
- "when `epoch <= serviceable_epoch` as reported by an external runtime."
4262
- ],
4263
- "type": {
4264
- "kind": "struct",
4265
- "fields": [
4266
- {
4267
- "name": "bump",
4958
+ "name": "smallNetworkEntryPercent",
4959
+ "docs": [
4960
+ "Percentile rank required to enter active set in small networks"
4961
+ ],
4268
4962
  "type": "u8"
4269
4963
  },
4270
4964
  {
4271
- "name": "authority",
4965
+ "name": "smallNetworkExitPercent",
4272
4966
  "docs": [
4273
- "Authority that can update serviceable_epoch"
4967
+ "Percentile rank below which validators exit in small networks"
4274
4968
  ],
4275
- "type": "pubkey"
4969
+ "type": "u8"
4276
4970
  },
4277
4971
  {
4278
- "name": "liqsolMint",
4972
+ "name": "mediumNetworkEntryPercent",
4279
4973
  "docs": [
4280
- "Token-2022 liqSOL mint burned on withdraw."
4974
+ "Percentile rank required to enter active set in medium networks"
4281
4975
  ],
4282
- "type": "pubkey"
4976
+ "type": "u8"
4283
4977
  },
4284
4978
  {
4285
- "name": "serviceableEpoch",
4979
+ "name": "mediumNetworkExitPercent",
4286
4980
  "docs": [
4287
- "Highest epoch that is currently claimable."
4981
+ "Percentile rank below which validators exit in medium networks"
4288
4982
  ],
4289
- "type": "u64"
4983
+ "type": "u8"
4290
4984
  },
4291
4985
  {
4292
- "name": "totalEncumberedFunds",
4293
- "docs": [
4294
- "Total SOL encumbered for pending withdrawal requests.",
4295
- "This amount is reserved from the reserve pool and will be paid out when receipts are claimed."
4296
- ],
4297
- "type": "u64"
4986
+ "name": "reservedU8",
4987
+ "type": {
4988
+ "array": [
4989
+ "u8",
4990
+ 2
4991
+ ]
4992
+ }
4298
4993
  },
4299
4994
  {
4300
- "name": "nextReceiptId",
4995
+ "name": "featureFlags",
4301
4996
  "docs": [
4302
- "Monotonic counter for generating unique receipt IDs"
4997
+ "Bit 0: DepositsEnabled, Bit 1: WithdrawalsEnabled, Bit 2: ClaimWithdrawalsEnabled,",
4998
+ "Bit 3: ProcessStakeOrdersEnabled, Bit 4: ProcessUnstakeOrdersEnabled,",
4999
+ "Bit 5: ProcessPayCycleEnabled, Bit 6: RebalancingEnabled, Bits 7-15: Reserved"
4303
5000
  ],
4304
- "type": "u64"
5001
+ "type": "u16"
5002
+ },
5003
+ {
5004
+ "name": "reservedFlags",
5005
+ "type": {
5006
+ "array": [
5007
+ "u16",
5008
+ 1
5009
+ ]
5010
+ }
4305
5011
  }
4306
5012
  ]
4307
5013
  }
@@ -4311,10 +5017,6 @@ export type LiqsolCore = {
4311
5017
  "type": {
4312
5018
  "kind": "struct",
4313
5019
  "fields": [
4314
- {
4315
- "name": "admin",
4316
- "type": "pubkey"
4317
- },
4318
5020
  {
4319
5021
  "name": "deployedAt",
4320
5022
  "type": "i64"
@@ -4367,9 +5069,10 @@ export type LiqsolCore = {
4367
5069
  "type": "u64"
4368
5070
  },
4369
5071
  {
4370
- "name": "lastPoolLiqsolBalance",
5072
+ "name": "expectedPoolBalance",
4371
5073
  "docs": [
4372
- "Last observed liqSOL pool balance (for yield calculation)"
5074
+ "Expected liqSOL pool balance (tracked by protocol operations, not read from on-chain balance).",
5075
+ "Any discrepancy vs actual on-chain balance is treated as unsolicited donations, not yield."
4373
5076
  ],
4374
5077
  "type": "u64"
4375
5078
  },
@@ -4544,6 +5247,10 @@ export type LiqsolCore = {
4544
5247
  "type": {
4545
5248
  "kind": "struct",
4546
5249
  "fields": [
5250
+ {
5251
+ "name": "receiptId",
5252
+ "type": "u64"
5253
+ },
4547
5254
  {
4548
5255
  "name": "liqports",
4549
5256
  "type": "u64"
@@ -4572,8 +5279,15 @@ export type LiqsolCore = {
4572
5279
  "name": "lastValidatorScoreSyncEpoch",
4573
5280
  "type": "u16"
4574
5281
  },
5282
+ {
5283
+ "name": "lastLeaderboardScoresSyncEpoch",
5284
+ "type": "u16"
5285
+ },
4575
5286
  {
4576
5287
  "name": "lastActiveInfosSyncedEpoch",
5288
+ "docs": [
5289
+ "DEPRECATED: ActiveInfosSynced removed in WIN-134. Retained to preserve account layout."
5290
+ ],
4577
5291
  "type": "u16"
4578
5292
  },
4579
5293
  {
@@ -4588,6 +5302,9 @@ export type LiqsolCore = {
4588
5302
  },
4589
5303
  {
4590
5304
  "name": "lastDistributionSlot",
5305
+ "docs": [
5306
+ "DEPRECATED: Distribution slot tracking removed in PR113. Retained to preserve account layout."
5307
+ ],
4591
5308
  "type": {
4592
5309
  "option": "u64"
4593
5310
  }
@@ -4752,6 +5469,24 @@ export type LiqsolCore = {
4752
5469
  {
4753
5470
  "name": "bump",
4754
5471
  "type": "u8"
5472
+ },
5473
+ {
5474
+ "name": "accumulatedPretokenYield",
5475
+ "type": {
5476
+ "option": "u64"
5477
+ }
5478
+ },
5479
+ {
5480
+ "name": "lastEpochSyndLiqsol",
5481
+ "type": {
5482
+ "option": "u64"
5483
+ }
5484
+ },
5485
+ {
5486
+ "name": "lastSyndEpoch",
5487
+ "type": {
5488
+ "option": "u64"
5489
+ }
4755
5490
  }
4756
5491
  ]
4757
5492
  }
@@ -4846,6 +5581,57 @@ export type LiqsolCore = {
4846
5581
  ]
4847
5582
  }
4848
5583
  },
5584
+ {
5585
+ "name": "pretokenPurchaseHistory",
5586
+ "serialization": "bytemuck",
5587
+ "repr": {
5588
+ "kind": "c"
5589
+ },
5590
+ "type": {
5591
+ "kind": "struct",
5592
+ "fields": [
5593
+ {
5594
+ "name": "startingEpoch",
5595
+ "type": "u64"
5596
+ },
5597
+ {
5598
+ "name": "latestEpoch",
5599
+ "type": "u64"
5600
+ },
5601
+ {
5602
+ "name": "purchasedPerEpoch",
5603
+ "type": {
5604
+ "array": [
5605
+ "u64",
5606
+ 100
5607
+ ]
5608
+ }
5609
+ },
5610
+ {
5611
+ "name": "syndPerEpoch",
5612
+ "type": {
5613
+ "array": [
5614
+ "u64",
5615
+ 100
5616
+ ]
5617
+ }
5618
+ },
5619
+ {
5620
+ "name": "bump",
5621
+ "type": "u8"
5622
+ },
5623
+ {
5624
+ "name": "padding",
5625
+ "type": {
5626
+ "array": [
5627
+ "u8",
5628
+ 7
5629
+ ]
5630
+ }
5631
+ }
5632
+ ]
5633
+ }
5634
+ },
4849
5635
  {
4850
5636
  "name": "pretokenPurchased",
4851
5637
  "type": {
@@ -4861,7 +5647,7 @@ export type LiqsolCore = {
4861
5647
  },
4862
5648
  {
4863
5649
  "name": "pretokensPurchased",
4864
- "type": "i128"
5650
+ "type": "u64"
4865
5651
  }
4866
5652
  ]
4867
5653
  }
@@ -4889,7 +5675,7 @@ export type LiqsolCore = {
4889
5675
  ],
4890
5676
  "type": {
4891
5677
  "array": [
4892
- "i128",
5678
+ "u64",
4893
5679
  10
4894
5680
  ]
4895
5681
  }
@@ -5065,6 +5851,30 @@ export type LiqsolCore = {
5065
5851
  ],
5066
5852
  "type": "u64"
5067
5853
  },
5854
+ {
5855
+ "name": "isSmallDistributionMode",
5856
+ "docs": [
5857
+ "Whether we're in small distribution mode (not enough for VPP-based distribution)",
5858
+ "In this mode, we distribute evenly to first N validators instead of using VPP ratios"
5859
+ ],
5860
+ "type": "bool"
5861
+ },
5862
+ {
5863
+ "name": "validatorsToFundThisRebalance",
5864
+ "docs": [
5865
+ "Number of validators to fund in small distribution mode",
5866
+ "Calculated as floor(total_to_distribute / MIN_STAKE_DELEGATION)"
5867
+ ],
5868
+ "type": "u16"
5869
+ },
5870
+ {
5871
+ "name": "amountPerValidatorThisRebalance",
5872
+ "docs": [
5873
+ "Amount each validator gets in small distribution mode",
5874
+ "Calculated as total_to_distribute / validators_to_fund"
5875
+ ],
5876
+ "type": "u64"
5877
+ },
5068
5878
  {
5069
5879
  "name": "selectionEntryThresholdVpp",
5070
5880
  "docs": [
@@ -5082,56 +5892,56 @@ export type LiqsolCore = {
5082
5892
  {
5083
5893
  "name": "additionInProgress",
5084
5894
  "docs": [
5085
- "Whether validator addition selection is currently in progress (batched processing)"
5895
+ "DEPRECATED see BatchOrchestrator. Always false."
5086
5896
  ],
5087
5897
  "type": "bool"
5088
5898
  },
5089
5899
  {
5090
5900
  "name": "additionNextRank",
5091
5901
  "docs": [
5092
- "Next rank to process in leaderboard sorted_indices"
5902
+ "DEPRECATED see BatchOrchestrator.addition_next_rank. Always 0."
5093
5903
  ],
5094
5904
  "type": "u16"
5095
5905
  },
5096
5906
  {
5097
5907
  "name": "additionTargetRank",
5098
5908
  "docs": [
5099
- "Target rank to process up to (inclusive)"
5909
+ "DEPRECATED see BatchOrchestrator.addition_target_rank. Always 0."
5100
5910
  ],
5101
5911
  "type": "u16"
5102
5912
  },
5103
5913
  {
5104
5914
  "name": "validatorsAddedThisSelection",
5105
5915
  "docs": [
5106
- "Number of validators added in the current selection cycle"
5916
+ "DEPRECATED see BatchOrchestrator. Always 0."
5107
5917
  ],
5108
5918
  "type": "u16"
5109
5919
  },
5110
5920
  {
5111
5921
  "name": "removalInProgress",
5112
5922
  "docs": [
5113
- "Whether validator removal selection is currently in progress (batched processing)"
5923
+ "DEPRECATED see BatchOrchestrator. Always false."
5114
5924
  ],
5115
5925
  "type": "bool"
5116
5926
  },
5117
5927
  {
5118
5928
  "name": "removalNextIndex",
5119
5929
  "docs": [
5120
- "Next index in active list to check for removal"
5930
+ "DEPRECATED see BatchOrchestrator.removal_next_index. Always 0."
5121
5931
  ],
5122
5932
  "type": "u16"
5123
5933
  },
5124
5934
  {
5125
5935
  "name": "removalActiveListSnapshot",
5126
5936
  "docs": [
5127
- "Snapshot of active list count at start of removal (frozen)"
5937
+ "DEPRECATED see BatchOrchestrator. Always 0."
5128
5938
  ],
5129
5939
  "type": "u16"
5130
5940
  },
5131
5941
  {
5132
5942
  "name": "validatorsRemovedThisSelection",
5133
5943
  "docs": [
5134
- "Number of validators removed in the current selection cycle"
5944
+ "DEPRECATED see BatchOrchestrator. Always 0."
5135
5945
  ],
5136
5946
  "type": "u16"
5137
5947
  }
@@ -5241,39 +6051,31 @@ export type LiqsolCore = {
5241
6051
  {
5242
6052
  "name": "trancheState",
5243
6053
  "docs": [
5244
- "All i128 values use 8-decimal precision (SCALE = 1e8 = 100,000,000)",
5245
- "This matches Chainlink SOL/USD's native format, avoiding conversion overhead",
6054
+ "All u64 values use 8-decimal precision (SCALE = 1e8 = 100,000,000)",
5246
6055
  "Example: $193.32 is stored as 19332000000"
5247
6056
  ],
5248
6057
  "type": {
5249
6058
  "kind": "struct",
5250
6059
  "fields": [
5251
- {
5252
- "name": "admin",
5253
- "docs": [
5254
- "Admin authority (can update growth parameters and price bounds)"
5255
- ],
5256
- "type": "pubkey"
5257
- },
5258
6060
  {
5259
6061
  "name": "currentTrancheNumber",
5260
6062
  "type": "u64"
5261
6063
  },
5262
6064
  {
5263
6065
  "name": "currentTrancheSupply",
5264
- "type": "i128"
6066
+ "type": "u64"
5265
6067
  },
5266
6068
  {
5267
6069
  "name": "currentTranchePriceUsd",
5268
- "type": "i128"
6070
+ "type": "u64"
5269
6071
  },
5270
6072
  {
5271
6073
  "name": "totalPretokensSold",
5272
- "type": "i128"
6074
+ "type": "u64"
5273
6075
  },
5274
6076
  {
5275
6077
  "name": "initialTrancheSupply",
5276
- "type": "i128"
6078
+ "type": "u64"
5277
6079
  },
5278
6080
  {
5279
6081
  "name": "supplyGrowthBps",
@@ -5283,9 +6085,9 @@ export type LiqsolCore = {
5283
6085
  "type": "u16"
5284
6086
  },
5285
6087
  {
5286
- "name": "priceGrowthBps",
6088
+ "name": "priceGrowthCents",
5287
6089
  "docs": [
5288
- "Price growth in basis points (e.g., 200 = 2%, max 10000)"
6090
+ "Price growth in cents per tranche (0.01 USD units)"
5289
6091
  ],
5290
6092
  "type": "u16"
5291
6093
  },
@@ -5294,14 +6096,14 @@ export type LiqsolCore = {
5294
6096
  "docs": [
5295
6097
  "Minimum valid SOL/USD price for validation (8-dec)"
5296
6098
  ],
5297
- "type": "i128"
6099
+ "type": "u64"
5298
6100
  },
5299
6101
  {
5300
6102
  "name": "maxPriceUsd",
5301
6103
  "docs": [
5302
6104
  "Maximum valid SOL/USD price for validation (8-dec)"
5303
6105
  ],
5304
- "type": "i128"
6106
+ "type": "u64"
5305
6107
  },
5306
6108
  {
5307
6109
  "name": "maxStalenessSeconds",
@@ -5346,7 +6148,7 @@ export type LiqsolCore = {
5346
6148
  },
5347
6149
  {
5348
6150
  "name": "totalPretokensPurchased",
5349
- "type": "i128"
6151
+ "type": "u64"
5350
6152
  },
5351
6153
  {
5352
6154
  "name": "lastTrancheNumber",
@@ -5354,7 +6156,7 @@ export type LiqsolCore = {
5354
6156
  },
5355
6157
  {
5356
6158
  "name": "lastTranchePriceUsd",
5357
- "type": "i128"
6159
+ "type": "u64"
5358
6160
  },
5359
6161
  {
5360
6162
  "name": "bump",
@@ -5379,6 +6181,13 @@ export type LiqsolCore = {
5379
6181
  {
5380
6182
  "name": "bump",
5381
6183
  "type": "u8"
6184
+ },
6185
+ {
6186
+ "name": "trackedBalance",
6187
+ "docs": [
6188
+ "Last reconciled liqSOL token balance for this user ATA"
6189
+ ],
6190
+ "type": "u64"
5382
6191
  }
5383
6192
  ]
5384
6193
  }