@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
@@ -1,5 +1,5 @@
1
1
  {
2
- "address": "2qSsCXBYUSwF7zrzTT9jFpRpCmWoDpEyHr9exfCMq56P",
2
+ "address": "5nBtmutQLrRKBUxNfHJPDjiW5u8id6QM9Hhjg1D1g1XH",
3
3
  "metadata": {
4
4
  "name": "liqsol_core",
5
5
  "version": "0.1.0",
@@ -7,61 +7,6 @@
7
7
  "description": "Created with Anchor"
8
8
  },
9
9
  "instructions": [
10
- {
11
- "name": "accumulate_unstake_request",
12
- "docs": [
13
- "Accumulate unstake requests to be processed in next allocation cycle",
14
- "Multiple requests can be accumulated before calculating allocations",
15
- "Returns the target epoch when this unstake request will be processed",
16
- "We should not be able to"
17
- ],
18
- "discriminator": [
19
- 24,
20
- 73,
21
- 69,
22
- 139,
23
- 36,
24
- 209,
25
- 105,
26
- 252
27
- ],
28
- "accounts": [
29
- {
30
- "name": "admin",
31
- "writable": true,
32
- "signer": true
33
- },
34
- {
35
- "name": "stake_allocation_state",
36
- "docs": [
37
- "Stake allocation state - to accumulate pending unstake requests"
38
- ],
39
- "writable": true
40
- },
41
- {
42
- "name": "stake_metrics",
43
- "docs": [
44
- "Stake metrics - to validate total unstake amount is available"
45
- ]
46
- },
47
- {
48
- "name": "maintenance_ledger",
49
- "docs": [
50
- "Maintenance ledger - to determine target processing epoch"
51
- ]
52
- },
53
- {
54
- "name": "clock"
55
- }
56
- ],
57
- "args": [
58
- {
59
- "name": "amount",
60
- "type": "u64"
61
- }
62
- ],
63
- "returns": "u64"
64
- },
65
10
  {
66
11
  "name": "add_top_performers_batch",
67
12
  "docs": [
@@ -101,6 +46,12 @@
101
46
  "name": "processing_state",
102
47
  "writable": true
103
48
  },
49
+ {
50
+ "name": "global_config",
51
+ "docs": [
52
+ "Global config for threshold parameters"
53
+ ]
54
+ },
104
55
  {
105
56
  "name": "authority",
106
57
  "signer": true
@@ -109,108 +60,47 @@
109
60
  "args": []
110
61
  },
111
62
  {
112
- "name": "add_validator_v2",
113
- "docs": [
114
- "Add a new validator bbypassing the looking at leaderboard and getting validators form there"
115
- ],
63
+ "name": "admin_force_unbond_role",
116
64
  "discriminator": [
117
- 217,
118
- 158,
119
- 30,
120
- 19,
121
- 123,
122
- 99,
123
- 110,
124
- 30
65
+ 80,
66
+ 107,
67
+ 27,
68
+ 49,
69
+ 126,
70
+ 25,
71
+ 31,
72
+ 238
125
73
  ],
126
74
  "accounts": [
127
75
  {
128
- "name": "authority",
129
- "writable": true,
76
+ "name": "admin",
130
77
  "signer": true
131
78
  },
132
79
  {
133
- "name": "active_list",
134
- "docs": [
135
- "Active list - will add the validator here"
136
- ],
137
- "writable": true
138
- },
139
- {
140
- "name": "validator_info",
141
- "docs": [
142
- "Create the validator info account"
143
- ],
144
- "writable": true
145
- },
146
- {
147
- "name": "validator_transient",
148
- "docs": [
149
- "Create the validator transient account"
150
- ],
151
- "writable": true
152
- },
153
- {
154
- "name": "stake_allocation_state",
155
- "docs": [
156
- "Stake allocation state - to update total_active_vpp when adding validator"
157
- ],
158
- "writable": true
159
- },
160
- {
161
- "name": "system_program"
162
- }
163
- ],
164
- "args": [
165
- {
166
- "name": "vote_account",
167
- "type": "pubkey"
80
+ "name": "global_config"
168
81
  },
169
82
  {
170
- "name": "name",
171
- "type": "string"
83
+ "name": "global_state"
172
84
  },
173
85
  {
174
- "name": "performance_score",
175
- "type": "u8"
176
- }
177
- ]
178
- },
179
- {
180
- "name": "advance_serviceability",
181
- "docs": [
182
- "Advance the max servicable receipt ID"
183
- ],
184
- "discriminator": [
185
- 139,
186
- 89,
187
- 79,
188
- 2,
189
- 90,
190
- 211,
191
- 173,
192
- 240
193
- ],
194
- "accounts": [
195
- {
196
- "name": "authority",
86
+ "name": "user",
197
87
  "docs": [
198
- "Authority that can update serviceable epoch"
199
- ],
200
- "signer": true
88
+ "The user whose role bond is being force-unbonded"
89
+ ]
201
90
  },
202
91
  {
203
- "name": "global",
92
+ "name": "outpost_account",
204
93
  "writable": true
205
- },
206
- {
207
- "name": "runtime_program"
208
94
  }
209
95
  ],
210
96
  "args": [
211
97
  {
212
- "name": "resolved_epoch",
213
- "type": "u64"
98
+ "name": "role",
99
+ "type": {
100
+ "defined": {
101
+ "name": "Role"
102
+ }
103
+ }
214
104
  }
215
105
  ]
216
106
  },
@@ -252,43 +142,6 @@
252
142
  ],
253
143
  "args": []
254
144
  },
255
- {
256
- "name": "blacklist_validator",
257
- "docs": [
258
- "Blacklist a validator (user-facing, maintenance will handle graveyard movement)",
259
- "UnderPerforming is set automatically when score is updated",
260
- "Another serious emergency stop function"
261
- ],
262
- "discriminator": [
263
- 125,
264
- 42,
265
- 36,
266
- 229,
267
- 27,
268
- 38,
269
- 226,
270
- 62
271
- ],
272
- "accounts": [
273
- {
274
- "name": "validator_info",
275
- "writable": true
276
- },
277
- {
278
- "name": "stake_allocation_state",
279
- "docs": [
280
- "Stake allocation state - to update total_active_vpp when VPP changes"
281
- ],
282
- "writable": true
283
- }
284
- ],
285
- "args": [
286
- {
287
- "name": "vote_account",
288
- "type": "pubkey"
289
- }
290
- ]
291
- },
292
145
  {
293
146
  "name": "bond_role",
294
147
  "discriminator": [
@@ -374,6 +227,12 @@
374
227
  "Maintenance ledger - to track last unstake allocation epoch"
375
228
  ],
376
229
  "writable": true
230
+ },
231
+ {
232
+ "name": "global_config",
233
+ "docs": [
234
+ "Global config for late epoch slot gate"
235
+ ]
377
236
  }
378
237
  ],
379
238
  "args": []
@@ -437,6 +296,12 @@
437
296
  "docs": [
438
297
  "Global withdraw operator state - to read total_encumbered_funds"
439
298
  ]
299
+ },
300
+ {
301
+ "name": "global_config",
302
+ "docs": [
303
+ "Global config for rebalancing thresholds"
304
+ ]
440
305
  }
441
306
  ],
442
307
  "args": []
@@ -499,6 +364,9 @@
499
364
  },
500
365
  {
501
366
  "name": "token_program"
367
+ },
368
+ {
369
+ "name": "system_program"
502
370
  }
503
371
  ],
504
372
  "args": []
@@ -559,6 +427,12 @@
559
427
  {
560
428
  "name": "stake_history"
561
429
  },
430
+ {
431
+ "name": "global_config",
432
+ "docs": [
433
+ "Global config for claim_withdrawals_enabled check"
434
+ ]
435
+ },
562
436
  {
563
437
  "name": "token_program"
564
438
  },
@@ -605,19 +479,13 @@
605
479
  "writable": true
606
480
  },
607
481
  {
608
- "name": "controller_state",
609
- "docs": [
610
- "Stake controller state - used to verify authority"
611
- ]
482
+ "name": "global_config"
612
483
  },
613
484
  {
614
485
  "name": "clock"
615
486
  },
616
487
  {
617
- "name": "authority",
618
- "docs": [
619
- "Authority must match the stored authority in controller_state"
620
- ],
488
+ "name": "cranky",
621
489
  "writable": true,
622
490
  "signer": true
623
491
  }
@@ -641,6 +509,9 @@
641
509
  "name": "admin",
642
510
  "signer": true
643
511
  },
512
+ {
513
+ "name": "global_config"
514
+ },
644
515
  {
645
516
  "name": "global_state"
646
517
  },
@@ -683,6 +554,9 @@
683
554
  "name": "admin",
684
555
  "signer": true
685
556
  },
557
+ {
558
+ "name": "global_config"
559
+ },
686
560
  {
687
561
  "name": "global_state",
688
562
  "writable": true
@@ -692,7 +566,8 @@
692
566
  "writable": true
693
567
  },
694
568
  {
695
- "name": "user"
569
+ "name": "user",
570
+ "writable": true
696
571
  },
697
572
  {
698
573
  "name": "outpost_account",
@@ -945,6 +820,12 @@
945
820
  "name": "controller_state",
946
821
  "writable": true
947
822
  },
823
+ {
824
+ "name": "global_config",
825
+ "docs": [
826
+ "Global config for deposit settings"
827
+ ]
828
+ },
948
829
  {
949
830
  "name": "payout_state",
950
831
  "writable": true
@@ -992,130 +873,162 @@
992
873
  ]
993
874
  },
994
875
  {
995
- "name": "desynd",
876
+ "name": "deposit_to_reserve",
996
877
  "discriminator": [
997
- 12,
998
- 71,
999
- 102,
1000
- 46,
1001
878
  8,
1002
- 179,
1003
- 29,
1004
- 190
879
+ 79,
880
+ 123,
881
+ 129,
882
+ 146,
883
+ 140,
884
+ 178,
885
+ 128
1005
886
  ],
1006
887
  "accounts": [
1007
888
  {
1008
- "name": "user",
1009
- "writable": true,
889
+ "name": "admin",
1010
890
  "signer": true
1011
891
  },
1012
892
  {
1013
- "name": "liqsol_mint",
1014
- "writable": true
1015
- },
1016
- {
1017
- "name": "global_state",
1018
- "writable": true
893
+ "name": "global_config"
1019
894
  },
1020
895
  {
1021
- "name": "distribution_state",
1022
- "writable": true
896
+ "name": "depositor",
897
+ "writable": true,
898
+ "signer": true
1023
899
  },
1024
900
  {
1025
- "name": "user_ata",
901
+ "name": "reserve_pool",
1026
902
  "writable": true
1027
903
  },
1028
904
  {
1029
- "name": "pool_authority"
1030
- },
1031
- {
1032
- "name": "bucket_authority"
905
+ "name": "vault"
1033
906
  },
1034
907
  {
1035
- "name": "bucket_token_account",
908
+ "name": "ephemeral_stake",
1036
909
  "writable": true
1037
910
  },
1038
911
  {
1039
- "name": "bucket_user_record",
1040
- "writable": true
912
+ "name": "controller_state"
1041
913
  },
1042
914
  {
1043
- "name": "sender_user_record",
1044
- "writable": true
915
+ "name": "stake_program"
1045
916
  },
1046
917
  {
1047
- "name": "receiver_user_record",
1048
- "writable": true
918
+ "name": "system_program"
1049
919
  },
1050
920
  {
1051
- "name": "extra_account_meta_list"
921
+ "name": "clock"
1052
922
  },
1053
923
  {
1054
- "name": "liqsol_core_program"
924
+ "name": "stake_history"
1055
925
  },
1056
926
  {
1057
- "name": "transfer_hook_program"
1058
- },
927
+ "name": "rent"
928
+ }
929
+ ],
930
+ "args": [
1059
931
  {
1060
- "name": "liqsol_pool_ata",
1061
- "writable": true
932
+ "name": "amount",
933
+ "type": "u64"
1062
934
  },
1063
935
  {
1064
- "name": "outpost_account",
1065
- "docs": [
1066
- "User's outpost account"
1067
- ],
1068
- "writable": true
1069
- },
1070
- {
1071
- "name": "token_program"
1072
- },
1073
- {
1074
- "name": "system_program"
1075
- }
1076
- ],
1077
- "args": [
1078
- {
1079
- "name": "amount",
1080
- "type": "u64"
936
+ "name": "seed",
937
+ "type": "u32"
1081
938
  }
1082
939
  ]
1083
940
  },
1084
941
  {
1085
- "name": "force_validator_unstake",
1086
- "docs": [
1087
- "A function you can call to directly influence the amount to unstake from a particular validator",
1088
- "Tbh this is a bypass of the system and should not be called unless you know what you are doing"
1089
- ],
942
+ "name": "desynd",
1090
943
  "discriminator": [
1091
- 7,
1092
- 208,
1093
- 146,
1094
- 241,
1095
- 10,
1096
- 219,
1097
- 109,
1098
- 30
944
+ 12,
945
+ 71,
946
+ 102,
947
+ 46,
948
+ 8,
949
+ 179,
950
+ 29,
951
+ 190
1099
952
  ],
1100
953
  "accounts": [
1101
954
  {
1102
- "name": "admin",
955
+ "name": "user",
1103
956
  "writable": true,
1104
957
  "signer": true
1105
958
  },
1106
959
  {
1107
- "name": "validator_info",
960
+ "name": "liqsol_mint",
961
+ "writable": true
962
+ },
963
+ {
964
+ "name": "global_state",
965
+ "writable": true
966
+ },
967
+ {
968
+ "name": "distribution_state",
969
+ "writable": true
970
+ },
971
+ {
972
+ "name": "user_ata",
973
+ "writable": true
974
+ },
975
+ {
976
+ "name": "pool_authority"
977
+ },
978
+ {
979
+ "name": "bucket_authority"
980
+ },
981
+ {
982
+ "name": "bucket_token_account",
983
+ "writable": true
984
+ },
985
+ {
986
+ "name": "bucket_user_record",
987
+ "writable": true
988
+ },
989
+ {
990
+ "name": "sender_user_record",
991
+ "writable": true
992
+ },
993
+ {
994
+ "name": "receiver_user_record",
995
+ "writable": true
996
+ },
997
+ {
998
+ "name": "extra_account_meta_list"
999
+ },
1000
+ {
1001
+ "name": "liqsol_core_program"
1002
+ },
1003
+ {
1004
+ "name": "transfer_hook_program"
1005
+ },
1006
+ {
1007
+ "name": "liqsol_pool_ata",
1008
+ "writable": true
1009
+ },
1010
+ {
1011
+ "name": "outpost_account",
1108
1012
  "docs": [
1109
- "Validator info account to update"
1013
+ "User's outpost account"
1110
1014
  ],
1111
1015
  "writable": true
1016
+ },
1017
+ {
1018
+ "name": "pretoken_purchase_history",
1019
+ "writable": true
1020
+ },
1021
+ {
1022
+ "name": "token_program"
1023
+ },
1024
+ {
1025
+ "name": "associated_token_program"
1026
+ },
1027
+ {
1028
+ "name": "system_program"
1112
1029
  }
1113
1030
  ],
1114
1031
  "args": [
1115
- {
1116
- "name": "vote_account",
1117
- "type": "pubkey"
1118
- },
1119
1032
  {
1120
1033
  "name": "amount",
1121
1034
  "type": "u64"
@@ -1146,6 +1059,44 @@
1146
1059
  "args": [],
1147
1060
  "returns": "u16"
1148
1061
  },
1062
+ {
1063
+ "name": "has_role",
1064
+ "discriminator": [
1065
+ 218,
1066
+ 136,
1067
+ 44,
1068
+ 87,
1069
+ 142,
1070
+ 247,
1071
+ 141,
1072
+ 195
1073
+ ],
1074
+ "accounts": [
1075
+ {
1076
+ "name": "user",
1077
+ "docs": [
1078
+ "User whose role status is being checked."
1079
+ ]
1080
+ },
1081
+ {
1082
+ "name": "outpost_account"
1083
+ },
1084
+ {
1085
+ "name": "global_state"
1086
+ }
1087
+ ],
1088
+ "args": [
1089
+ {
1090
+ "name": "role",
1091
+ "type": {
1092
+ "defined": {
1093
+ "name": "Role"
1094
+ }
1095
+ }
1096
+ }
1097
+ ],
1098
+ "returns": "bool"
1099
+ },
1149
1100
  {
1150
1101
  "name": "init_bucket",
1151
1102
  "docs": [
@@ -1360,6 +1311,40 @@
1360
1311
  ],
1361
1312
  "args": []
1362
1313
  },
1314
+ {
1315
+ "name": "initialize_global_config",
1316
+ "discriminator": [
1317
+ 113,
1318
+ 216,
1319
+ 122,
1320
+ 131,
1321
+ 225,
1322
+ 209,
1323
+ 22,
1324
+ 55
1325
+ ],
1326
+ "accounts": [
1327
+ {
1328
+ "name": "global_config",
1329
+ "writable": true
1330
+ },
1331
+ {
1332
+ "name": "payer",
1333
+ "writable": true,
1334
+ "signer": true
1335
+ },
1336
+ {
1337
+ "name": "program"
1338
+ },
1339
+ {
1340
+ "name": "program_data"
1341
+ },
1342
+ {
1343
+ "name": "system_program"
1344
+ }
1345
+ ],
1346
+ "args": []
1347
+ },
1363
1348
  {
1364
1349
  "name": "initialize_graveyard_list",
1365
1350
  "docs": [
@@ -1453,6 +1438,51 @@
1453
1438
  ],
1454
1439
  "args": []
1455
1440
  },
1441
+ {
1442
+ "name": "initialize_pretoken_purchase_history",
1443
+ "docs": [
1444
+ "Admin-only: initialize PretokenPurchaseHistory PDA for a pool"
1445
+ ],
1446
+ "discriminator": [
1447
+ 140,
1448
+ 166,
1449
+ 196,
1450
+ 128,
1451
+ 189,
1452
+ 240,
1453
+ 159,
1454
+ 1
1455
+ ],
1456
+ "accounts": [
1457
+ {
1458
+ "name": "admin",
1459
+ "writable": true,
1460
+ "signer": true
1461
+ },
1462
+ {
1463
+ "name": "global_config"
1464
+ },
1465
+ {
1466
+ "name": "pretoken_purchase_history",
1467
+ "writable": true
1468
+ },
1469
+ {
1470
+ "name": "pool_authority"
1471
+ },
1472
+ {
1473
+ "name": "global_state",
1474
+ "writable": true
1475
+ },
1476
+ {
1477
+ "name": "pool_pretoken_record",
1478
+ "writable": true
1479
+ },
1480
+ {
1481
+ "name": "system_program"
1482
+ }
1483
+ ],
1484
+ "args": []
1485
+ },
1456
1486
  {
1457
1487
  "name": "initialize_processing_state",
1458
1488
  "docs": [
@@ -1714,7 +1744,7 @@
1714
1744
  ],
1715
1745
  "accounts": [
1716
1746
  {
1717
- "name": "payer",
1747
+ "name": "admin",
1718
1748
  "writable": true,
1719
1749
  "signer": true
1720
1750
  },
@@ -1722,6 +1752,9 @@
1722
1752
  "name": "metadata",
1723
1753
  "writable": true
1724
1754
  },
1755
+ {
1756
+ "name": "global_config"
1757
+ },
1725
1758
  {
1726
1759
  "name": "system_program"
1727
1760
  }
@@ -1837,17 +1870,10 @@
1837
1870
  ],
1838
1871
  "accounts": [
1839
1872
  {
1840
- "name": "controller_state",
1841
- "docs": [
1842
- "Stake controller state - used to verify admin authority"
1843
- ]
1873
+ "name": "global_config"
1844
1874
  },
1845
1875
  {
1846
- "name": "admin",
1847
- "docs": [
1848
- "Admin must match the stored authority in controller_state"
1849
- ],
1850
- "writable": true,
1876
+ "name": "cranky",
1851
1877
  "signer": true
1852
1878
  },
1853
1879
  {
@@ -1880,6 +1906,10 @@
1880
1906
  ],
1881
1907
  "writable": true
1882
1908
  },
1909
+ {
1910
+ "name": "withdraw_global",
1911
+ "writable": true
1912
+ },
1883
1913
  {
1884
1914
  "name": "stake_program"
1885
1915
  },
@@ -1915,6 +1945,43 @@
1915
1945
  }
1916
1946
  ]
1917
1947
  },
1948
+ {
1949
+ "name": "migrate_user_record",
1950
+ "discriminator": [
1951
+ 6,
1952
+ 118,
1953
+ 249,
1954
+ 178,
1955
+ 209,
1956
+ 106,
1957
+ 197,
1958
+ 25
1959
+ ],
1960
+ "accounts": [
1961
+ {
1962
+ "name": "admin",
1963
+ "writable": true,
1964
+ "signer": true
1965
+ },
1966
+ {
1967
+ "name": "global_config"
1968
+ },
1969
+ {
1970
+ "name": "user_ata"
1971
+ },
1972
+ {
1973
+ "name": "user_record",
1974
+ "writable": true
1975
+ },
1976
+ {
1977
+ "name": "distribution_state"
1978
+ },
1979
+ {
1980
+ "name": "system_program"
1981
+ }
1982
+ ],
1983
+ "args": []
1984
+ },
1918
1985
  {
1919
1986
  "name": "process_graveyard_validators_batch",
1920
1987
  "docs": [
@@ -1945,8 +2012,14 @@
1945
2012
  "writable": true
1946
2013
  },
1947
2014
  {
1948
- "name": "clock"
1949
- },
2015
+ "name": "global_config",
2016
+ "docs": [
2017
+ "Global config for late epoch slot gate"
2018
+ ]
2019
+ },
2020
+ {
2021
+ "name": "clock"
2022
+ },
1950
2023
  {
1951
2024
  "name": "authority",
1952
2025
  "signer": true
@@ -2017,6 +2090,12 @@
2017
2090
  },
2018
2091
  {
2019
2092
  "name": "instructions"
2093
+ },
2094
+ {
2095
+ "name": "global_config",
2096
+ "docs": [
2097
+ "Global config for process_pay_cycle_enabled check"
2098
+ ]
2020
2099
  }
2021
2100
  ],
2022
2101
  "args": []
@@ -2088,6 +2167,12 @@
2088
2167
  },
2089
2168
  {
2090
2169
  "name": "rent"
2170
+ },
2171
+ {
2172
+ "name": "global_config",
2173
+ "docs": [
2174
+ "Global config for process_stake_orders_enabled check"
2175
+ ]
2091
2176
  }
2092
2177
  ],
2093
2178
  "args": []
@@ -2153,6 +2238,7 @@
2153
2238
  "accounts": [
2154
2239
  {
2155
2240
  "name": "admin",
2241
+ "writable": true,
2156
2242
  "signer": true
2157
2243
  },
2158
2244
  {
@@ -2196,6 +2282,12 @@
2196
2282
  },
2197
2283
  {
2198
2284
  "name": "stake_program"
2285
+ },
2286
+ {
2287
+ "name": "global_config",
2288
+ "docs": [
2289
+ "Global config for process_unstake_orders_enabled check"
2290
+ ]
2199
2291
  }
2200
2292
  ],
2201
2293
  "args": []
@@ -2298,6 +2390,10 @@
2298
2390
  },
2299
2391
  {
2300
2392
  "name": "system_program"
2393
+ },
2394
+ {
2395
+ "name": "pretoken_purchase_history",
2396
+ "writable": true
2301
2397
  }
2302
2398
  ],
2303
2399
  "args": [
@@ -2384,7 +2480,7 @@
2384
2480
  "writable": true
2385
2481
  },
2386
2482
  {
2387
- "name": "user_pretoken_record",
2483
+ "name": "pool_pretoken_record",
2388
2484
  "writable": true
2389
2485
  },
2390
2486
  {
@@ -2392,6 +2488,10 @@
2392
2488
  },
2393
2489
  {
2394
2490
  "name": "chainlink_program"
2491
+ },
2492
+ {
2493
+ "name": "pretoken_purchase_history",
2494
+ "writable": true
2395
2495
  }
2396
2496
  ],
2397
2497
  "args": []
@@ -2470,6 +2570,12 @@
2470
2570
  },
2471
2571
  {
2472
2572
  "name": "active_list"
2573
+ },
2574
+ {
2575
+ "name": "global_config",
2576
+ "docs": [
2577
+ "Global config for late epoch slot gate"
2578
+ ]
2473
2579
  }
2474
2580
  ],
2475
2581
  "args": []
@@ -2478,7 +2584,7 @@
2478
2584
  "name": "refresh_stake_metrics_post_sync",
2479
2585
  "docs": [
2480
2586
  "V2: Refresh stake metrics after removal selection + PDA setup",
2481
- "Requires ActiveInfosSynced + ValidatorPdaSetup as prerequisites",
2587
+ "Requires ValidatorAdditionSelection + ValidatorPdaSetup as prerequisites",
2482
2588
  "Tracks completion in last_post_sync_stake_metrics_refresh_epoch"
2483
2589
  ],
2484
2590
  "discriminator": [
@@ -2510,29 +2616,62 @@
2510
2616
  },
2511
2617
  {
2512
2618
  "name": "active_list"
2619
+ },
2620
+ {
2621
+ "name": "global_config",
2622
+ "docs": [
2623
+ "Global config for late epoch slot gate"
2624
+ ]
2513
2625
  }
2514
2626
  ],
2515
2627
  "args": []
2516
2628
  },
2517
2629
  {
2518
- "name": "register_user",
2630
+ "name": "refund",
2519
2631
  "discriminator": [
2520
2632
  2,
2521
- 241,
2522
- 150,
2523
- 223,
2524
- 99,
2525
- 214,
2526
- 116,
2527
- 97
2633
+ 96,
2634
+ 183,
2635
+ 251,
2636
+ 63,
2637
+ 208,
2638
+ 46,
2639
+ 46
2528
2640
  ],
2529
2641
  "accounts": [
2642
+ {
2643
+ "name": "associated_token_program"
2644
+ },
2530
2645
  {
2531
2646
  "name": "user",
2647
+ "writable": true,
2648
+ "signer": true
2649
+ },
2650
+ {
2651
+ "name": "global_state",
2532
2652
  "writable": true
2533
2653
  },
2534
2654
  {
2535
- "name": "user_ata",
2655
+ "name": "outpost_account",
2656
+ "writable": true
2657
+ },
2658
+ {
2659
+ "name": "distribution_state",
2660
+ "writable": true
2661
+ },
2662
+ {
2663
+ "name": "pool_authority"
2664
+ },
2665
+ {
2666
+ "name": "liqsol_pool_ata",
2667
+ "writable": true
2668
+ },
2669
+ {
2670
+ "name": "refund_liqsol_ata",
2671
+ "writable": true
2672
+ },
2673
+ {
2674
+ "name": "liqsol_pool_user_record",
2536
2675
  "writable": true
2537
2676
  },
2538
2677
  {
@@ -2540,13 +2679,116 @@
2540
2679
  "writable": true
2541
2680
  },
2542
2681
  {
2543
- "name": "payer",
2682
+ "name": "extra_account_meta_list"
2683
+ },
2684
+ {
2685
+ "name": "liqsol_core_program"
2686
+ },
2687
+ {
2688
+ "name": "transfer_hook_program"
2689
+ },
2690
+ {
2691
+ "name": "liqsol_mint"
2692
+ },
2693
+ {
2694
+ "name": "token_program"
2695
+ },
2696
+ {
2697
+ "name": "bucket_authority"
2698
+ },
2699
+ {
2700
+ "name": "bucket_token_account",
2701
+ "writable": true
2702
+ },
2703
+ {
2704
+ "name": "bucket_user_record",
2705
+ "writable": true
2706
+ },
2707
+ {
2708
+ "name": "system_program"
2709
+ }
2710
+ ],
2711
+ "args": []
2712
+ },
2713
+ {
2714
+ "name": "register_system_pda",
2715
+ "discriminator": [
2716
+ 110,
2717
+ 93,
2718
+ 36,
2719
+ 156,
2720
+ 179,
2721
+ 69,
2722
+ 54,
2723
+ 210
2724
+ ],
2725
+ "accounts": [
2726
+ {
2727
+ "name": "admin",
2728
+ "writable": true,
2729
+ "signer": true
2730
+ },
2731
+ {
2732
+ "name": "global_config"
2733
+ },
2734
+ {
2735
+ "name": "pda_owner",
2544
2736
  "docs": [
2545
- "Payer for the user record PDA creation (always the user)"
2737
+ "The PDA whose user record we're creating — must be system-owned (no program data)."
2738
+ ]
2739
+ },
2740
+ {
2741
+ "name": "pda_ata"
2742
+ },
2743
+ {
2744
+ "name": "user_record",
2745
+ "writable": true
2746
+ },
2747
+ {
2748
+ "name": "distribution_state",
2749
+ "writable": true
2750
+ },
2751
+ {
2752
+ "name": "bucket_authority"
2753
+ },
2754
+ {
2755
+ "name": "bucket_token_account",
2756
+ "docs": [
2757
+ "The bucket's associated token account holding liqSOL (for index sync)"
2546
2758
  ],
2759
+ "writable": true
2760
+ },
2761
+ {
2762
+ "name": "system_program"
2763
+ }
2764
+ ],
2765
+ "args": []
2766
+ },
2767
+ {
2768
+ "name": "register_user",
2769
+ "discriminator": [
2770
+ 2,
2771
+ 241,
2772
+ 150,
2773
+ 223,
2774
+ 99,
2775
+ 214,
2776
+ 116,
2777
+ 97
2778
+ ],
2779
+ "accounts": [
2780
+ {
2781
+ "name": "payer",
2547
2782
  "writable": true,
2548
2783
  "signer": true
2549
2784
  },
2785
+ {
2786
+ "name": "user_ata"
2787
+ },
2788
+ {
2789
+ "name": "user_record",
2790
+ "writable": true
2791
+ },
2550
2792
  {
2551
2793
  "name": "distribution_state",
2552
2794
  "writable": true
@@ -2602,6 +2844,12 @@
2602
2844
  {
2603
2845
  "name": "allocation_state"
2604
2846
  },
2847
+ {
2848
+ "name": "global_config",
2849
+ "docs": [
2850
+ "Global config for late epoch slot gate"
2851
+ ]
2852
+ },
2605
2853
  {
2606
2854
  "name": "authority",
2607
2855
  "signer": true
@@ -2704,7 +2952,8 @@
2704
2952
  "name": "bucket_token_account",
2705
2953
  "docs": [
2706
2954
  "The bucket's token account holding liqSOL (for sync_index balance)"
2707
- ]
2955
+ ],
2956
+ "writable": true
2708
2957
  },
2709
2958
  {
2710
2959
  "name": "reserve_pool",
@@ -2732,6 +2981,12 @@
2732
2981
  "Maintenance ledger - for accumulate_unstake_request"
2733
2982
  ]
2734
2983
  },
2984
+ {
2985
+ "name": "global_config",
2986
+ "docs": [
2987
+ "Global config for min_unstake_request setting"
2988
+ ]
2989
+ },
2735
2990
  {
2736
2991
  "name": "clock"
2737
2992
  },
@@ -2781,188 +3036,78 @@
2781
3036
  ]
2782
3037
  },
2783
3038
  {
2784
- "name": "reset_distribution_state",
3039
+ "name": "set_admin",
2785
3040
  "discriminator": [
2786
- 159,
2787
- 183,
2788
- 162,
2789
- 74,
2790
- 228,
2791
- 135,
2792
- 157,
2793
- 79
3041
+ 251,
3042
+ 163,
3043
+ 0,
3044
+ 52,
3045
+ 91,
3046
+ 194,
3047
+ 187,
3048
+ 92
2794
3049
  ],
2795
3050
  "accounts": [
3051
+ {
3052
+ "name": "global_config",
3053
+ "writable": true
3054
+ },
2796
3055
  {
2797
3056
  "name": "admin",
2798
3057
  "signer": true
2799
3058
  },
2800
3059
  {
2801
- "name": "distribution_state",
2802
- "writable": true
3060
+ "name": "new_authority"
2803
3061
  }
2804
3062
  ],
2805
3063
  "args": []
2806
3064
  },
2807
3065
  {
2808
- "name": "reset_global_state",
3066
+ "name": "set_cranky",
2809
3067
  "discriminator": [
2810
- 252,
2811
- 41,
2812
- 117,
2813
- 110,
2814
- 248,
2815
- 165,
3068
+ 232,
2816
3069
  48,
2817
- 88
3070
+ 178,
3071
+ 74,
3072
+ 194,
3073
+ 60,
3074
+ 143,
3075
+ 164
2818
3076
  ],
2819
3077
  "accounts": [
2820
3078
  {
2821
- "name": "admin",
2822
- "signer": true
2823
- },
2824
- {
2825
- "name": "global_state",
2826
- "writable": true
2827
- },
2828
- {
2829
- "name": "pool_authority"
2830
- },
2831
- {
2832
- "name": "liqsol_mint"
2833
- },
2834
- {
2835
- "name": "liqsol_pool_ata",
3079
+ "name": "global_config",
2836
3080
  "writable": true
2837
3081
  },
2838
3082
  {
2839
- "name": "token_program"
3083
+ "name": "admin",
3084
+ "signer": true
2840
3085
  },
2841
3086
  {
2842
- "name": "associated_token_program"
3087
+ "name": "new_authority"
2843
3088
  }
2844
3089
  ],
2845
3090
  "args": []
2846
3091
  },
2847
3092
  {
2848
- "name": "reset_price_history",
3093
+ "name": "set_paused",
2849
3094
  "discriminator": [
2850
- 213,
2851
- 231,
2852
- 155,
2853
- 139,
2854
- 248,
3095
+ 91,
2855
3096
  60,
2856
- 67,
2857
- 199
3097
+ 125,
3098
+ 192,
3099
+ 176,
3100
+ 225,
3101
+ 166,
3102
+ 218
2858
3103
  ],
2859
3104
  "accounts": [
2860
3105
  {
2861
3106
  "name": "admin",
2862
- "writable": true,
2863
3107
  "signer": true
2864
3108
  },
2865
3109
  {
2866
- "name": "tranche_state",
2867
- "writable": true
2868
- },
2869
- {
2870
- "name": "price_history",
2871
- "writable": true
2872
- },
2873
- {
2874
- "name": "system_program"
2875
- }
2876
- ],
2877
- "args": []
2878
- },
2879
- {
2880
- "name": "reset_tranche_state",
2881
- "discriminator": [
2882
- 106,
2883
- 102,
2884
- 143,
2885
- 40,
2886
- 152,
2887
- 173,
2888
- 165,
2889
- 168
2890
- ],
2891
- "accounts": [
2892
- {
2893
- "name": "admin",
2894
- "writable": true,
2895
- "signer": true
2896
- },
2897
- {
2898
- "name": "tranche_state",
2899
- "writable": true
2900
- },
2901
- {
2902
- "name": "price_history",
2903
- "writable": true
2904
- },
2905
- {
2906
- "name": "system_program"
2907
- }
2908
- ],
2909
- "args": []
2910
- },
2911
- {
2912
- "name": "set_last_state_change_epoch",
2913
- "docs": [
2914
- "Admin function to directly set last_state_change_epoch (useful for testing cooldowns)"
2915
- ],
2916
- "discriminator": [
2917
- 94,
2918
- 57,
2919
- 139,
2920
- 195,
2921
- 123,
2922
- 224,
2923
- 227,
2924
- 106
2925
- ],
2926
- "accounts": [
2927
- {
2928
- "name": "validator_info",
2929
- "writable": true
2930
- },
2931
- {
2932
- "name": "stake_allocation_state",
2933
- "docs": [
2934
- "Stake allocation state - to update total_active_vpp when VPP changes"
2935
- ],
2936
- "writable": true
2937
- }
2938
- ],
2939
- "args": [
2940
- {
2941
- "name": "vote_account",
2942
- "type": "pubkey"
2943
- },
2944
- {
2945
- "name": "epoch",
2946
- "type": "u16"
2947
- }
2948
- ]
2949
- },
2950
- {
2951
- "name": "set_paused",
2952
- "discriminator": [
2953
- 91,
2954
- 60,
2955
- 125,
2956
- 192,
2957
- 176,
2958
- 225,
2959
- 166,
2960
- 218
2961
- ],
2962
- "accounts": [
2963
- {
2964
- "name": "admin",
2965
- "signer": true
3110
+ "name": "global_config"
2966
3111
  },
2967
3112
  {
2968
3113
  "name": "global_state",
@@ -2993,6 +3138,9 @@
2993
3138
  "name": "admin",
2994
3139
  "signer": true
2995
3140
  },
3141
+ {
3142
+ "name": "global_config"
3143
+ },
2996
3144
  {
2997
3145
  "name": "global_state",
2998
3146
  "writable": true
@@ -3030,6 +3178,9 @@
3030
3178
  "name": "admin",
3031
3179
  "signer": true
3032
3180
  },
3181
+ {
3182
+ "name": "global_config"
3183
+ },
3033
3184
  {
3034
3185
  "name": "global_state",
3035
3186
  "writable": true
@@ -3059,6 +3210,9 @@
3059
3210
  "name": "admin",
3060
3211
  "signer": true
3061
3212
  },
3213
+ {
3214
+ "name": "global_config"
3215
+ },
3062
3216
  {
3063
3217
  "name": "global_state",
3064
3218
  "writable": true
@@ -3109,6 +3263,12 @@
3109
3263
  "name": "allocation_state",
3110
3264
  "writable": true
3111
3265
  },
3266
+ {
3267
+ "name": "global_config",
3268
+ "docs": [
3269
+ "Global config for late epoch slot gate"
3270
+ ]
3271
+ },
3112
3272
  {
3113
3273
  "name": "system_program",
3114
3274
  "docs": [
@@ -3136,7 +3296,11 @@
3136
3296
  "signer": true
3137
3297
  },
3138
3298
  {
3139
- "name": "global_state"
3299
+ "name": "global_config"
3300
+ },
3301
+ {
3302
+ "name": "global_state",
3303
+ "writable": true
3140
3304
  },
3141
3305
  {
3142
3306
  "name": "user",
@@ -3175,6 +3339,12 @@
3175
3339
  "name": "maintenance_ledger",
3176
3340
  "writable": true
3177
3341
  },
3342
+ {
3343
+ "name": "global_config",
3344
+ "docs": [
3345
+ "Global config for late epoch slot gate"
3346
+ ]
3347
+ },
3178
3348
  {
3179
3349
  "name": "authority",
3180
3350
  "signer": true
@@ -3183,37 +3353,35 @@
3183
3353
  "args": []
3184
3354
  },
3185
3355
  {
3186
- "name": "sync_distribution_index",
3356
+ "name": "sync_leaderboard_scores_batch",
3357
+ "docs": [
3358
+ "region: Validator Leaderboard Syncing"
3359
+ ],
3187
3360
  "discriminator": [
3188
- 82,
3189
- 159,
3190
- 232,
3191
- 125,
3192
- 12,
3193
- 29,
3194
- 9,
3195
- 226
3361
+ 52,
3362
+ 11,
3363
+ 210,
3364
+ 173,
3365
+ 90,
3366
+ 5,
3367
+ 48,
3368
+ 50
3196
3369
  ],
3197
3370
  "accounts": [
3198
3371
  {
3199
- "name": "authority",
3200
- "docs": [
3201
- "Admin or crank that triggers the index sync"
3202
- ],
3203
- "signer": true
3372
+ "name": "leaderboard_state"
3204
3373
  },
3205
3374
  {
3206
- "name": "distribution_state",
3375
+ "name": "processing_state",
3207
3376
  "writable": true
3208
3377
  },
3209
3378
  {
3210
- "name": "bucket_authority",
3211
- "docs": [
3212
- "The bucket's associated token account holding liqSOL"
3213
- ]
3379
+ "name": "maintenance_ledger",
3380
+ "writable": true
3214
3381
  },
3215
3382
  {
3216
- "name": "bucket_token_account"
3383
+ "name": "authority",
3384
+ "signer": true
3217
3385
  }
3218
3386
  ],
3219
3387
  "args": []
@@ -3222,7 +3390,7 @@
3222
3390
  "name": "sync_main_stake_accounts",
3223
3391
  "docs": [
3224
3392
  "V2: Sync main stake accounts using PDA architecture (batched)",
3225
- "Processes up to 10 validators per transaction via remaining_accounts",
3393
+ "Processes validators in batches via remaining_accounts (batch size is enforced client-side)",
3226
3394
  "Note: Only syncs primary delegated stakes, not transient stakes"
3227
3395
  ],
3228
3396
  "discriminator": [
@@ -3299,6 +3467,12 @@
3299
3467
  "name": "maintenance_ledger",
3300
3468
  "writable": true
3301
3469
  },
3470
+ {
3471
+ "name": "global_config",
3472
+ "docs": [
3473
+ "Global config for min_vpp_entry and min_vpp_exit"
3474
+ ]
3475
+ },
3302
3476
  {
3303
3477
  "name": "authority",
3304
3478
  "signer": true
@@ -3382,6 +3556,10 @@
3382
3556
  ],
3383
3557
  "writable": true
3384
3558
  },
3559
+ {
3560
+ "name": "pretoken_purchase_history",
3561
+ "writable": true
3562
+ },
3385
3563
  {
3386
3564
  "name": "token_program"
3387
3565
  },
@@ -3400,120 +3578,246 @@
3400
3578
  ]
3401
3579
  },
3402
3580
  {
3403
- "name": "test_clear_active_list",
3581
+ "name": "update_config_bool",
3404
3582
  "discriminator": [
3405
- 17,
3406
- 195,
3407
- 59,
3408
- 174,
3409
- 184,
3410
- 137,
3411
- 149,
3412
- 144
3583
+ 79,
3584
+ 36,
3585
+ 65,
3586
+ 239,
3587
+ 188,
3588
+ 35,
3589
+ 13,
3590
+ 160
3413
3591
  ],
3414
3592
  "accounts": [
3415
3593
  {
3416
- "name": "active_list",
3417
- "writable": true
3418
- },
3419
- {
3420
- "name": "processing_state",
3594
+ "name": "global_config",
3421
3595
  "writable": true
3422
3596
  },
3423
3597
  {
3424
- "name": "authority",
3598
+ "name": "admin",
3425
3599
  "signer": true
3426
3600
  }
3427
3601
  ],
3428
- "args": []
3602
+ "args": [
3603
+ {
3604
+ "name": "key",
3605
+ "type": {
3606
+ "defined": {
3607
+ "name": "ConfigKeyBool"
3608
+ }
3609
+ }
3610
+ },
3611
+ {
3612
+ "name": "value",
3613
+ "type": "bool"
3614
+ }
3615
+ ]
3429
3616
  },
3430
3617
  {
3431
- "name": "update_growth_parameters",
3618
+ "name": "update_config_u16",
3432
3619
  "discriminator": [
3433
- 172,
3434
- 187,
3435
- 237,
3436
- 233,
3437
- 250,
3438
- 160,
3439
- 115,
3440
- 239
3620
+ 149,
3621
+ 9,
3622
+ 244,
3623
+ 25,
3624
+ 46,
3625
+ 136,
3626
+ 59,
3627
+ 173
3441
3628
  ],
3442
3629
  "accounts": [
3443
3630
  {
3444
- "name": "admin",
3445
- "writable": true,
3446
- "signer": true
3447
- },
3448
- {
3449
- "name": "tranche_state",
3450
- "writable": true
3451
- },
3452
- {
3453
- "name": "price_history",
3631
+ "name": "global_config",
3454
3632
  "writable": true
3455
3633
  },
3456
3634
  {
3457
- "name": "system_program"
3635
+ "name": "admin",
3636
+ "signer": true
3458
3637
  }
3459
3638
  ],
3460
3639
  "args": [
3461
3640
  {
3462
- "name": "supply_growth_bps",
3463
- "type": "u16"
3641
+ "name": "key",
3642
+ "type": {
3643
+ "defined": {
3644
+ "name": "ConfigKeyU16"
3645
+ }
3646
+ }
3464
3647
  },
3465
3648
  {
3466
- "name": "price_growth_bps",
3649
+ "name": "value",
3467
3650
  "type": "u16"
3468
3651
  }
3469
3652
  ]
3470
3653
  },
3471
3654
  {
3472
- "name": "update_price_bounds",
3655
+ "name": "update_config_u64",
3473
3656
  "discriminator": [
3474
- 241,
3475
- 116,
3476
- 141,
3477
- 65,
3478
- 61,
3479
- 95,
3480
- 232,
3481
- 28
3657
+ 120,
3658
+ 43,
3659
+ 124,
3660
+ 106,
3661
+ 97,
3662
+ 80,
3663
+ 208,
3664
+ 123
3482
3665
  ],
3483
3666
  "accounts": [
3484
3667
  {
3485
- "name": "admin",
3486
- "writable": true,
3487
- "signer": true
3488
- },
3489
- {
3490
- "name": "tranche_state",
3491
- "writable": true
3492
- },
3493
- {
3494
- "name": "price_history",
3668
+ "name": "global_config",
3495
3669
  "writable": true
3496
3670
  },
3497
3671
  {
3498
- "name": "system_program"
3672
+ "name": "admin",
3673
+ "signer": true
3499
3674
  }
3500
3675
  ],
3501
3676
  "args": [
3502
3677
  {
3503
- "name": "min_price_usd",
3504
- "type": "i128"
3505
- },
3506
- {
3507
- "name": "max_price_usd",
3508
- "type": "i128"
3678
+ "name": "key",
3679
+ "type": {
3680
+ "defined": {
3681
+ "name": "ConfigKeyU64"
3682
+ }
3683
+ }
3509
3684
  },
3510
3685
  {
3511
- "name": "max_staleness_seconds",
3512
- "type": "i64"
3686
+ "name": "value",
3687
+ "type": "u64"
3513
3688
  }
3514
3689
  ]
3515
- }
3516
- ],
3690
+ },
3691
+ {
3692
+ "name": "update_config_u8",
3693
+ "discriminator": [
3694
+ 17,
3695
+ 160,
3696
+ 31,
3697
+ 134,
3698
+ 222,
3699
+ 250,
3700
+ 229,
3701
+ 253
3702
+ ],
3703
+ "accounts": [
3704
+ {
3705
+ "name": "global_config",
3706
+ "writable": true
3707
+ },
3708
+ {
3709
+ "name": "admin",
3710
+ "signer": true
3711
+ }
3712
+ ],
3713
+ "args": [
3714
+ {
3715
+ "name": "key",
3716
+ "type": {
3717
+ "defined": {
3718
+ "name": "ConfigKeyU8"
3719
+ }
3720
+ }
3721
+ },
3722
+ {
3723
+ "name": "value",
3724
+ "type": "u8"
3725
+ }
3726
+ ]
3727
+ },
3728
+ {
3729
+ "name": "update_growth_parameters",
3730
+ "discriminator": [
3731
+ 172,
3732
+ 187,
3733
+ 237,
3734
+ 233,
3735
+ 250,
3736
+ 160,
3737
+ 115,
3738
+ 239
3739
+ ],
3740
+ "accounts": [
3741
+ {
3742
+ "name": "admin",
3743
+ "writable": true,
3744
+ "signer": true
3745
+ },
3746
+ {
3747
+ "name": "global_config"
3748
+ },
3749
+ {
3750
+ "name": "tranche_state",
3751
+ "writable": true
3752
+ },
3753
+ {
3754
+ "name": "price_history",
3755
+ "writable": true
3756
+ },
3757
+ {
3758
+ "name": "system_program"
3759
+ }
3760
+ ],
3761
+ "args": [
3762
+ {
3763
+ "name": "supply_growth_bps",
3764
+ "type": "u16"
3765
+ },
3766
+ {
3767
+ "name": "price_growth_cents",
3768
+ "type": "u16"
3769
+ }
3770
+ ]
3771
+ },
3772
+ {
3773
+ "name": "update_price_bounds",
3774
+ "discriminator": [
3775
+ 241,
3776
+ 116,
3777
+ 141,
3778
+ 65,
3779
+ 61,
3780
+ 95,
3781
+ 232,
3782
+ 28
3783
+ ],
3784
+ "accounts": [
3785
+ {
3786
+ "name": "admin",
3787
+ "writable": true,
3788
+ "signer": true
3789
+ },
3790
+ {
3791
+ "name": "global_config"
3792
+ },
3793
+ {
3794
+ "name": "tranche_state",
3795
+ "writable": true
3796
+ },
3797
+ {
3798
+ "name": "price_history",
3799
+ "writable": true
3800
+ },
3801
+ {
3802
+ "name": "system_program"
3803
+ }
3804
+ ],
3805
+ "args": [
3806
+ {
3807
+ "name": "min_price_usd",
3808
+ "type": "u64"
3809
+ },
3810
+ {
3811
+ "name": "max_price_usd",
3812
+ "type": "u64"
3813
+ },
3814
+ {
3815
+ "name": "max_staleness_seconds",
3816
+ "type": "i64"
3817
+ }
3818
+ ]
3819
+ }
3820
+ ],
3517
3821
  "accounts": [
3518
3822
  {
3519
3823
  "name": "BatchOrchestrator",
@@ -3554,6 +3858,19 @@
3554
3858
  127
3555
3859
  ]
3556
3860
  },
3861
+ {
3862
+ "name": "GlobalConfig",
3863
+ "discriminator": [
3864
+ 149,
3865
+ 8,
3866
+ 156,
3867
+ 202,
3868
+ 160,
3869
+ 252,
3870
+ 176,
3871
+ 217
3872
+ ]
3873
+ },
3557
3874
  {
3558
3875
  "name": "GlobalState",
3559
3876
  "discriminator": [
@@ -3645,6 +3962,19 @@
3645
3962
  150
3646
3963
  ]
3647
3964
  },
3965
+ {
3966
+ "name": "PretokenPurchaseHistory",
3967
+ "discriminator": [
3968
+ 33,
3969
+ 71,
3970
+ 113,
3971
+ 206,
3972
+ 33,
3973
+ 180,
3974
+ 236,
3975
+ 131
3976
+ ]
3977
+ },
3648
3978
  {
3649
3979
  "name": "PriceHistory",
3650
3980
  "discriminator": [
@@ -4115,187 +4445,563 @@
4115
4445
  ],
4116
4446
  "type": "u16"
4117
4447
  },
4448
+ {
4449
+ "name": "leaderboard_scores_next_index",
4450
+ "docs": [
4451
+ "Next leaderboard registry index to process for score sync"
4452
+ ],
4453
+ "type": "u16"
4454
+ },
4118
4455
  {
4119
4456
  "name": "removal_next_index",
4120
4457
  "docs": [
4121
- "Next index in active list to check for removal"
4458
+ "Next index in active list to check for removal"
4459
+ ],
4460
+ "type": "u16"
4461
+ },
4462
+ {
4463
+ "name": "addition_next_rank",
4464
+ "docs": [
4465
+ "Next rank in leaderboard to check for addition"
4466
+ ],
4467
+ "type": "u16"
4468
+ },
4469
+ {
4470
+ "name": "addition_target_rank",
4471
+ "docs": [
4472
+ "Target (inclusive) leaderboard rank to process up to"
4473
+ ],
4474
+ "type": "u16"
4475
+ },
4476
+ {
4477
+ "name": "graveyard_next_index",
4478
+ "docs": [
4479
+ "Next index in graveyard list to process"
4480
+ ],
4481
+ "type": "u16"
4482
+ },
4483
+ {
4484
+ "name": "graveyard_cleanup_next_index",
4485
+ "docs": [
4486
+ "Next index in graveyard list to check for cleanup"
4487
+ ],
4488
+ "type": "u16"
4489
+ },
4490
+ {
4491
+ "name": "aggregate_mode_tag",
4492
+ "docs": [
4493
+ "Tracks which aggregation mode currently owns the shared temp fields.",
4494
+ "0 = idle,",
4495
+ "1 = Normal,",
4496
+ "2 = PostSync,",
4497
+ "3 = PostLateEpoch.",
4498
+ "Prevents cross-mode state contamination when modes share the same vars."
4499
+ ],
4500
+ "type": "u8"
4501
+ },
4502
+ {
4503
+ "name": "aggregation_started_epoch",
4504
+ "docs": [
4505
+ "The epoch when the current aggregation batch started.",
4506
+ "Prevents stale partial accumulators from being committed if an epoch boundary is crossed mid-aggregation."
4507
+ ],
4508
+ "type": "u64"
4509
+ },
4510
+ {
4511
+ "name": "_reserved",
4512
+ "type": {
4513
+ "array": [
4514
+ "u8",
4515
+ 23
4516
+ ]
4517
+ }
4518
+ }
4519
+ ]
4520
+ }
4521
+ },
4522
+ {
4523
+ "name": "ConfigKeyBool",
4524
+ "docs": [
4525
+ "Keys for bool config values (feature flags) - stored as bits in a u16",
4526
+ "Bit positions: 0=Deposits, 1=Withdrawals, 2=ClaimWithdrawals, 3=ProcessStake,",
4527
+ "4=ProcessUnstake, 5=ProcessPayCycle, 6=Rebalancing, 7-15=Reserved"
4528
+ ],
4529
+ "type": {
4530
+ "kind": "enum",
4531
+ "variants": [
4532
+ {
4533
+ "name": "DepositsEnabled"
4534
+ },
4535
+ {
4536
+ "name": "WithdrawalsEnabled"
4537
+ },
4538
+ {
4539
+ "name": "ClaimWithdrawalsEnabled"
4540
+ },
4541
+ {
4542
+ "name": "ProcessStakeOrdersEnabled"
4543
+ },
4544
+ {
4545
+ "name": "ProcessUnstakeOrdersEnabled"
4546
+ },
4547
+ {
4548
+ "name": "ProcessPayCycleEnabled"
4549
+ },
4550
+ {
4551
+ "name": "RebalancingEnabled"
4552
+ }
4553
+ ]
4554
+ }
4555
+ },
4556
+ {
4557
+ "name": "ConfigKeyU16",
4558
+ "docs": [
4559
+ "Keys for u16 config values (small counts, thresholds, ranks)"
4560
+ ],
4561
+ "type": {
4562
+ "kind": "enum",
4563
+ "variants": [
4564
+ {
4565
+ "name": "CooldownEpochs"
4566
+ },
4567
+ {
4568
+ "name": "DepositFeeEpochsMultiplier"
4569
+ },
4570
+ {
4571
+ "name": "MinVppEntry"
4572
+ },
4573
+ {
4574
+ "name": "MinVppExit"
4575
+ },
4576
+ {
4577
+ "name": "TinyNetworkThreshold"
4578
+ },
4579
+ {
4580
+ "name": "SmallNetworkThreshold"
4581
+ },
4582
+ {
4583
+ "name": "MediumNetworkThreshold"
4584
+ },
4585
+ {
4586
+ "name": "LargeNetworkEntryRank"
4587
+ },
4588
+ {
4589
+ "name": "LargeNetworkExitRank"
4590
+ }
4591
+ ]
4592
+ }
4593
+ },
4594
+ {
4595
+ "name": "ConfigKeyU64",
4596
+ "docs": [
4597
+ "Keys for u64 config values (large amounts, rates)"
4598
+ ],
4599
+ "type": {
4600
+ "kind": "enum",
4601
+ "variants": [
4602
+ {
4603
+ "name": "MinUserDeposit"
4604
+ },
4605
+ {
4606
+ "name": "MinUnstakeRequest"
4607
+ },
4608
+ {
4609
+ "name": "MinRebalanceStakeDelta"
4610
+ },
4611
+ {
4612
+ "name": "MinRebalanceUnstakeDelta"
4613
+ },
4614
+ {
4615
+ "name": "TransientThreshold"
4616
+ },
4617
+ {
4618
+ "name": "MinLateEpochSlotGate"
4619
+ }
4620
+ ]
4621
+ }
4622
+ },
4623
+ {
4624
+ "name": "ConfigKeyU8",
4625
+ "docs": [
4626
+ "Keys for u8 config values (percentages 0-100)"
4627
+ ],
4628
+ "type": {
4629
+ "kind": "enum",
4630
+ "variants": [
4631
+ {
4632
+ "name": "SmallNetworkEntryPercent"
4633
+ },
4634
+ {
4635
+ "name": "SmallNetworkExitPercent"
4636
+ },
4637
+ {
4638
+ "name": "MediumNetworkEntryPercent"
4639
+ },
4640
+ {
4641
+ "name": "MediumNetworkExitPercent"
4642
+ }
4643
+ ]
4644
+ }
4645
+ },
4646
+ {
4647
+ "name": "DistributionState",
4648
+ "type": {
4649
+ "kind": "struct",
4650
+ "fields": [
4651
+ {
4652
+ "name": "liqsol_mint",
4653
+ "type": "pubkey"
4654
+ },
4655
+ {
4656
+ "name": "current_index",
4657
+ "type": "u64"
4658
+ },
4659
+ {
4660
+ "name": "total_shares",
4661
+ "docs": [
4662
+ "Sum of all user shares across the system"
4663
+ ],
4664
+ "type": "u64"
4665
+ },
4666
+ {
4667
+ "name": "last_bucket_balance",
4668
+ "docs": [
4669
+ "Last observed bucket balance used for incremental index updates"
4670
+ ],
4671
+ "type": "u64"
4672
+ },
4673
+ {
4674
+ "name": "bump",
4675
+ "type": "u8"
4676
+ },
4677
+ {
4678
+ "name": "bucket_bump",
4679
+ "docs": [
4680
+ "Cached bucket authority bump to avoid repeated find_program_address calls"
4681
+ ],
4682
+ "type": "u8"
4683
+ },
4684
+ {
4685
+ "name": "pool_bump",
4686
+ "docs": [
4687
+ "Cached pool authority bump to avoid repeated find_program_address calls"
4688
+ ],
4689
+ "type": "u8"
4690
+ },
4691
+ {
4692
+ "name": "bucket_authority",
4693
+ "docs": [
4694
+ "Cached bucket authority pubkey for transfer-hook optimization"
4695
+ ],
4696
+ "type": "pubkey"
4697
+ },
4698
+ {
4699
+ "name": "pool_authority",
4700
+ "docs": [
4701
+ "Cached pool authority pubkey for transfer-hook optimization"
4702
+ ],
4703
+ "type": "pubkey"
4704
+ }
4705
+ ]
4706
+ }
4707
+ },
4708
+ {
4709
+ "name": "EpochResolved",
4710
+ "type": {
4711
+ "kind": "struct",
4712
+ "fields": [
4713
+ {
4714
+ "name": "validator",
4715
+ "type": "pubkey"
4716
+ },
4717
+ {
4718
+ "name": "epoch",
4719
+ "type": "u64"
4720
+ },
4721
+ {
4722
+ "name": "total_stake_amount",
4723
+ "type": "u64"
4724
+ },
4725
+ {
4726
+ "name": "max_index",
4727
+ "type": "u32"
4728
+ }
4729
+ ]
4730
+ }
4731
+ },
4732
+ {
4733
+ "name": "Global",
4734
+ "docs": [
4735
+ "Global operator state. Epoch-based model: receipts are serviceable",
4736
+ "when `epoch <= serviceable_epoch` as reported by an external runtime."
4737
+ ],
4738
+ "type": {
4739
+ "kind": "struct",
4740
+ "fields": [
4741
+ {
4742
+ "name": "bump",
4743
+ "type": "u8"
4744
+ },
4745
+ {
4746
+ "name": "authority",
4747
+ "docs": [
4748
+ "DEPRECATED: Originally intended as authority for serviceable_epoch updates,",
4749
+ "but serviceable_epoch is updated by merge_deactivated_stakes gated via GlobalConfig.cranky.",
4750
+ "Retained to preserve account layout."
4751
+ ],
4752
+ "type": "pubkey"
4753
+ },
4754
+ {
4755
+ "name": "liqsol_mint",
4756
+ "docs": [
4757
+ "Token-2022 liqSOL mint burned on withdraw."
4758
+ ],
4759
+ "type": "pubkey"
4760
+ },
4761
+ {
4762
+ "name": "serviceable_epoch",
4763
+ "docs": [
4764
+ "Highest epoch that is currently claimable."
4765
+ ],
4766
+ "type": "u64"
4767
+ },
4768
+ {
4769
+ "name": "total_encumbered_funds",
4770
+ "docs": [
4771
+ "Total SOL encumbered for pending withdrawal requests.",
4772
+ "This amount is reserved from the reserve pool and will be paid out when receipts are claimed."
4773
+ ],
4774
+ "type": "u64"
4775
+ },
4776
+ {
4777
+ "name": "next_receipt_id",
4778
+ "docs": [
4779
+ "Monotonic counter for generating unique receipt IDs"
4780
+ ],
4781
+ "type": "u64"
4782
+ }
4783
+ ]
4784
+ }
4785
+ },
4786
+ {
4787
+ "name": "GlobalConfig",
4788
+ "docs": [
4789
+ "Zero-copy global config PDA"
4790
+ ],
4791
+ "serialization": "bytemuckunsafe",
4792
+ "repr": {
4793
+ "kind": "c"
4794
+ },
4795
+ "type": {
4796
+ "kind": "struct",
4797
+ "fields": [
4798
+ {
4799
+ "name": "bump",
4800
+ "type": "u8"
4801
+ },
4802
+ {
4803
+ "name": "_padding",
4804
+ "type": {
4805
+ "array": [
4806
+ "u8",
4807
+ 7
4808
+ ]
4809
+ }
4810
+ },
4811
+ {
4812
+ "name": "admin",
4813
+ "type": "pubkey"
4814
+ },
4815
+ {
4816
+ "name": "cranky",
4817
+ "type": "pubkey"
4818
+ },
4819
+ {
4820
+ "name": "_reserved_pubkey",
4821
+ "type": {
4822
+ "array": [
4823
+ "pubkey",
4824
+ 1
4825
+ ]
4826
+ }
4827
+ },
4828
+ {
4829
+ "name": "min_user_deposit",
4830
+ "docs": [
4831
+ "Minimum SOL amount a user can deposit"
4832
+ ],
4833
+ "type": "u64"
4834
+ },
4835
+ {
4836
+ "name": "min_unstake_request",
4837
+ "docs": [
4838
+ "Minimum SOL amount for an unstake/withdrawal request"
4122
4839
  ],
4123
- "type": "u16"
4840
+ "type": "u64"
4124
4841
  },
4125
4842
  {
4126
- "name": "addition_next_rank",
4843
+ "name": "min_rebalance_stake_delta",
4127
4844
  "docs": [
4128
- "Next rank in leaderboard to check for addition"
4845
+ "Minimum stake delta to trigger a stake rebalance order"
4129
4846
  ],
4130
- "type": "u16"
4847
+ "type": "u64"
4131
4848
  },
4132
4849
  {
4133
- "name": "addition_target_rank",
4850
+ "name": "min_rebalance_unstake_delta",
4134
4851
  "docs": [
4135
- "Target (inclusive) leaderboard rank to process up to"
4852
+ "Minimum unstake delta to trigger an unstake rebalance order"
4136
4853
  ],
4137
- "type": "u16"
4854
+ "type": "u64"
4138
4855
  },
4139
4856
  {
4140
- "name": "graveyard_next_index",
4857
+ "name": "transient_threshold",
4141
4858
  "docs": [
4142
- "Next index in graveyard list to process"
4859
+ "Minimum transient stake to include in effective stake calculations"
4143
4860
  ],
4144
- "type": "u16"
4861
+ "type": "u64"
4145
4862
  },
4146
4863
  {
4147
- "name": "graveyard_cleanup_next_index",
4864
+ "name": "min_late_epoch_slot_gate",
4148
4865
  "docs": [
4149
- "Next index in graveyard list to check for cleanup"
4866
+ "Minimum slots that must have elapsed in the epoch before late epoch operations can execute"
4150
4867
  ],
4151
- "type": "u16"
4868
+ "type": "u64"
4152
4869
  },
4153
4870
  {
4154
- "name": "_reserved",
4871
+ "name": "_reserved_u64",
4155
4872
  "type": {
4156
4873
  "array": [
4157
- "u8",
4158
- 32
4874
+ "u64",
4875
+ 2
4159
4876
  ]
4160
4877
  }
4161
- }
4162
- ]
4163
- }
4164
- },
4165
- {
4166
- "name": "DistributionState",
4167
- "type": {
4168
- "kind": "struct",
4169
- "fields": [
4170
- {
4171
- "name": "liqsol_mint",
4172
- "type": "pubkey"
4173
4878
  },
4174
4879
  {
4175
- "name": "current_index",
4176
- "type": "u64"
4880
+ "name": "cooldown_epochs",
4881
+ "docs": [
4882
+ "Epochs a validator must wait in the graveyard before it is booted. This begins after the last recorded state change"
4883
+ ],
4884
+ "type": "u16"
4177
4885
  },
4178
4886
  {
4179
- "name": "total_shares",
4887
+ "name": "deposit_fee_multiplier",
4180
4888
  "docs": [
4181
- "Sum of all user shares across the system"
4889
+ "Multiplier for deposit fee calculation, this would be average \"pay rate x number of epochs we expect the stake to warm up\""
4182
4890
  ],
4183
- "type": "u64"
4891
+ "type": "u16"
4184
4892
  },
4185
4893
  {
4186
- "name": "last_bucket_balance",
4894
+ "name": "min_vpp_entry",
4187
4895
  "docs": [
4188
- "Last observed bucket balance used for incremental index updates"
4896
+ "Minimum VPP score required to enter the active validator set, this is a fall back for when the val set is really small"
4189
4897
  ],
4190
- "type": "u64"
4898
+ "type": "u16"
4191
4899
  },
4192
4900
  {
4193
- "name": "bump",
4194
- "type": "u8"
4901
+ "name": "min_vpp_exit",
4902
+ "docs": [
4903
+ "VPP score threshold below which a validator is removed from active set, again a fall back"
4904
+ ],
4905
+ "type": "u16"
4195
4906
  },
4196
4907
  {
4197
- "name": "bucket_bump",
4908
+ "name": "tiny_network_threshold",
4198
4909
  "docs": [
4199
- "Cached bucket authority bump to avoid repeated find_program_address calls"
4910
+ "Max validators for \"tiny\" network band (uses fixed VPP thresholds) as above"
4200
4911
  ],
4201
- "type": "u8"
4912
+ "type": "u16"
4202
4913
  },
4203
4914
  {
4204
- "name": "pool_bump",
4915
+ "name": "small_network_threshold",
4205
4916
  "docs": [
4206
- "Cached pool authority bump to avoid repeated find_program_address calls"
4917
+ "Max validators for \"small\" network band (uses percentile-based selection)"
4207
4918
  ],
4208
- "type": "u8"
4919
+ "type": "u16"
4209
4920
  },
4210
4921
  {
4211
- "name": "bucket_authority",
4922
+ "name": "medium_network_threshold",
4212
4923
  "docs": [
4213
- "Cached bucket authority pubkey for transfer-hook optimization"
4924
+ "Max validators for \"medium\" network band (uses percentile-based selection)"
4214
4925
  ],
4215
- "type": "pubkey"
4926
+ "type": "u16"
4216
4927
  },
4217
4928
  {
4218
- "name": "pool_authority",
4929
+ "name": "large_network_entry_rank",
4219
4930
  "docs": [
4220
- "Cached pool authority pubkey for transfer-hook optimization"
4931
+ "Fixed rank threshold to enter active set in large networks (0-indexed)"
4221
4932
  ],
4222
- "type": "pubkey"
4223
- }
4224
- ]
4225
- }
4226
- },
4227
- {
4228
- "name": "EpochResolved",
4229
- "type": {
4230
- "kind": "struct",
4231
- "fields": [
4232
- {
4233
- "name": "validator",
4234
- "type": "pubkey"
4933
+ "type": "u16"
4235
4934
  },
4236
4935
  {
4237
- "name": "epoch",
4238
- "type": "u64"
4936
+ "name": "large_network_exit_rank",
4937
+ "docs": [
4938
+ "Fixed rank threshold to exit active set in large networks (0-indexed)"
4939
+ ],
4940
+ "type": "u16"
4239
4941
  },
4240
4942
  {
4241
- "name": "total_stake_amount",
4242
- "type": "u64"
4943
+ "name": "_reserved_u16",
4944
+ "type": {
4945
+ "array": [
4946
+ "u16",
4947
+ 3
4948
+ ]
4949
+ }
4243
4950
  },
4244
4951
  {
4245
- "name": "max_index",
4246
- "type": "u32"
4247
- }
4248
- ]
4249
- }
4250
- },
4251
- {
4252
- "name": "Global",
4253
- "docs": [
4254
- "Global operator state. Epoch-based model: receipts are serviceable",
4255
- "when `epoch <= serviceable_epoch` as reported by an external runtime."
4256
- ],
4257
- "type": {
4258
- "kind": "struct",
4259
- "fields": [
4260
- {
4261
- "name": "bump",
4952
+ "name": "small_network_entry_percent",
4953
+ "docs": [
4954
+ "Percentile rank required to enter active set in small networks"
4955
+ ],
4262
4956
  "type": "u8"
4263
4957
  },
4264
4958
  {
4265
- "name": "authority",
4959
+ "name": "small_network_exit_percent",
4266
4960
  "docs": [
4267
- "Authority that can update serviceable_epoch"
4961
+ "Percentile rank below which validators exit in small networks"
4268
4962
  ],
4269
- "type": "pubkey"
4963
+ "type": "u8"
4270
4964
  },
4271
4965
  {
4272
- "name": "liqsol_mint",
4966
+ "name": "medium_network_entry_percent",
4273
4967
  "docs": [
4274
- "Token-2022 liqSOL mint burned on withdraw."
4968
+ "Percentile rank required to enter active set in medium networks"
4275
4969
  ],
4276
- "type": "pubkey"
4970
+ "type": "u8"
4277
4971
  },
4278
4972
  {
4279
- "name": "serviceable_epoch",
4973
+ "name": "medium_network_exit_percent",
4280
4974
  "docs": [
4281
- "Highest epoch that is currently claimable."
4975
+ "Percentile rank below which validators exit in medium networks"
4282
4976
  ],
4283
- "type": "u64"
4977
+ "type": "u8"
4284
4978
  },
4285
4979
  {
4286
- "name": "total_encumbered_funds",
4287
- "docs": [
4288
- "Total SOL encumbered for pending withdrawal requests.",
4289
- "This amount is reserved from the reserve pool and will be paid out when receipts are claimed."
4290
- ],
4291
- "type": "u64"
4980
+ "name": "_reserved_u8",
4981
+ "type": {
4982
+ "array": [
4983
+ "u8",
4984
+ 2
4985
+ ]
4986
+ }
4292
4987
  },
4293
4988
  {
4294
- "name": "next_receipt_id",
4989
+ "name": "feature_flags",
4295
4990
  "docs": [
4296
- "Monotonic counter for generating unique receipt IDs"
4991
+ "Bit 0: DepositsEnabled, Bit 1: WithdrawalsEnabled, Bit 2: ClaimWithdrawalsEnabled,",
4992
+ "Bit 3: ProcessStakeOrdersEnabled, Bit 4: ProcessUnstakeOrdersEnabled,",
4993
+ "Bit 5: ProcessPayCycleEnabled, Bit 6: RebalancingEnabled, Bits 7-15: Reserved"
4297
4994
  ],
4298
- "type": "u64"
4995
+ "type": "u16"
4996
+ },
4997
+ {
4998
+ "name": "_reserved_flags",
4999
+ "type": {
5000
+ "array": [
5001
+ "u16",
5002
+ 1
5003
+ ]
5004
+ }
4299
5005
  }
4300
5006
  ]
4301
5007
  }
@@ -4305,10 +5011,6 @@
4305
5011
  "type": {
4306
5012
  "kind": "struct",
4307
5013
  "fields": [
4308
- {
4309
- "name": "admin",
4310
- "type": "pubkey"
4311
- },
4312
5014
  {
4313
5015
  "name": "deployed_at",
4314
5016
  "type": "i64"
@@ -4361,9 +5063,10 @@
4361
5063
  "type": "u64"
4362
5064
  },
4363
5065
  {
4364
- "name": "last_pool_liqsol_balance",
5066
+ "name": "expected_pool_balance",
4365
5067
  "docs": [
4366
- "Last observed liqSOL pool balance (for yield calculation)"
5068
+ "Expected liqSOL pool balance (tracked by protocol operations, not read from on-chain balance).",
5069
+ "Any discrepancy vs actual on-chain balance is treated as unsolicited donations, not yield."
4367
5070
  ],
4368
5071
  "type": "u64"
4369
5072
  },
@@ -4538,6 +5241,10 @@
4538
5241
  "type": {
4539
5242
  "kind": "struct",
4540
5243
  "fields": [
5244
+ {
5245
+ "name": "receipt_id",
5246
+ "type": "u64"
5247
+ },
4541
5248
  {
4542
5249
  "name": "liqports",
4543
5250
  "type": "u64"
@@ -4566,8 +5273,15 @@
4566
5273
  "name": "last_validator_score_sync_epoch",
4567
5274
  "type": "u16"
4568
5275
  },
5276
+ {
5277
+ "name": "last_leaderboard_scores_sync_epoch",
5278
+ "type": "u16"
5279
+ },
4569
5280
  {
4570
5281
  "name": "last_active_infos_synced_epoch",
5282
+ "docs": [
5283
+ "DEPRECATED: ActiveInfosSynced removed in WIN-134. Retained to preserve account layout."
5284
+ ],
4571
5285
  "type": "u16"
4572
5286
  },
4573
5287
  {
@@ -4582,6 +5296,9 @@
4582
5296
  },
4583
5297
  {
4584
5298
  "name": "last_distribution_slot",
5299
+ "docs": [
5300
+ "DEPRECATED: Distribution slot tracking removed in PR113. Retained to preserve account layout."
5301
+ ],
4585
5302
  "type": {
4586
5303
  "option": "u64"
4587
5304
  }
@@ -4746,6 +5463,24 @@
4746
5463
  {
4747
5464
  "name": "bump",
4748
5465
  "type": "u8"
5466
+ },
5467
+ {
5468
+ "name": "accumulated_pretoken_yield",
5469
+ "type": {
5470
+ "option": "u64"
5471
+ }
5472
+ },
5473
+ {
5474
+ "name": "last_epoch_synd_liqsol",
5475
+ "type": {
5476
+ "option": "u64"
5477
+ }
5478
+ },
5479
+ {
5480
+ "name": "last_synd_epoch",
5481
+ "type": {
5482
+ "option": "u64"
5483
+ }
4749
5484
  }
4750
5485
  ]
4751
5486
  }
@@ -4840,6 +5575,57 @@
4840
5575
  ]
4841
5576
  }
4842
5577
  },
5578
+ {
5579
+ "name": "PretokenPurchaseHistory",
5580
+ "serialization": "bytemuck",
5581
+ "repr": {
5582
+ "kind": "c"
5583
+ },
5584
+ "type": {
5585
+ "kind": "struct",
5586
+ "fields": [
5587
+ {
5588
+ "name": "starting_epoch",
5589
+ "type": "u64"
5590
+ },
5591
+ {
5592
+ "name": "latest_epoch",
5593
+ "type": "u64"
5594
+ },
5595
+ {
5596
+ "name": "purchased_per_epoch",
5597
+ "type": {
5598
+ "array": [
5599
+ "u64",
5600
+ 100
5601
+ ]
5602
+ }
5603
+ },
5604
+ {
5605
+ "name": "synd_per_epoch",
5606
+ "type": {
5607
+ "array": [
5608
+ "u64",
5609
+ 100
5610
+ ]
5611
+ }
5612
+ },
5613
+ {
5614
+ "name": "bump",
5615
+ "type": "u8"
5616
+ },
5617
+ {
5618
+ "name": "_padding",
5619
+ "type": {
5620
+ "array": [
5621
+ "u8",
5622
+ 7
5623
+ ]
5624
+ }
5625
+ }
5626
+ ]
5627
+ }
5628
+ },
4843
5629
  {
4844
5630
  "name": "PretokenPurchased",
4845
5631
  "type": {
@@ -4855,7 +5641,7 @@
4855
5641
  },
4856
5642
  {
4857
5643
  "name": "pretokens_purchased",
4858
- "type": "i128"
5644
+ "type": "u64"
4859
5645
  }
4860
5646
  ]
4861
5647
  }
@@ -4883,7 +5669,7 @@
4883
5669
  ],
4884
5670
  "type": {
4885
5671
  "array": [
4886
- "i128",
5672
+ "u64",
4887
5673
  10
4888
5674
  ]
4889
5675
  }
@@ -5059,6 +5845,30 @@
5059
5845
  ],
5060
5846
  "type": "u64"
5061
5847
  },
5848
+ {
5849
+ "name": "is_small_distribution_mode",
5850
+ "docs": [
5851
+ "Whether we're in small distribution mode (not enough for VPP-based distribution)",
5852
+ "In this mode, we distribute evenly to first N validators instead of using VPP ratios"
5853
+ ],
5854
+ "type": "bool"
5855
+ },
5856
+ {
5857
+ "name": "validators_to_fund_this_rebalance",
5858
+ "docs": [
5859
+ "Number of validators to fund in small distribution mode",
5860
+ "Calculated as floor(total_to_distribute / MIN_STAKE_DELEGATION)"
5861
+ ],
5862
+ "type": "u16"
5863
+ },
5864
+ {
5865
+ "name": "amount_per_validator_this_rebalance",
5866
+ "docs": [
5867
+ "Amount each validator gets in small distribution mode",
5868
+ "Calculated as total_to_distribute / validators_to_fund"
5869
+ ],
5870
+ "type": "u64"
5871
+ },
5062
5872
  {
5063
5873
  "name": "selection_entry_threshold_vpp",
5064
5874
  "docs": [
@@ -5076,56 +5886,56 @@
5076
5886
  {
5077
5887
  "name": "addition_in_progress",
5078
5888
  "docs": [
5079
- "Whether validator addition selection is currently in progress (batched processing)"
5889
+ "DEPRECATED see BatchOrchestrator. Always false."
5080
5890
  ],
5081
5891
  "type": "bool"
5082
5892
  },
5083
5893
  {
5084
5894
  "name": "addition_next_rank",
5085
5895
  "docs": [
5086
- "Next rank to process in leaderboard sorted_indices"
5896
+ "DEPRECATED see BatchOrchestrator.addition_next_rank. Always 0."
5087
5897
  ],
5088
5898
  "type": "u16"
5089
5899
  },
5090
5900
  {
5091
5901
  "name": "addition_target_rank",
5092
5902
  "docs": [
5093
- "Target rank to process up to (inclusive)"
5903
+ "DEPRECATED see BatchOrchestrator.addition_target_rank. Always 0."
5094
5904
  ],
5095
5905
  "type": "u16"
5096
5906
  },
5097
5907
  {
5098
5908
  "name": "validators_added_this_selection",
5099
5909
  "docs": [
5100
- "Number of validators added in the current selection cycle"
5910
+ "DEPRECATED see BatchOrchestrator. Always 0."
5101
5911
  ],
5102
5912
  "type": "u16"
5103
5913
  },
5104
5914
  {
5105
5915
  "name": "removal_in_progress",
5106
5916
  "docs": [
5107
- "Whether validator removal selection is currently in progress (batched processing)"
5917
+ "DEPRECATED see BatchOrchestrator. Always false."
5108
5918
  ],
5109
5919
  "type": "bool"
5110
5920
  },
5111
5921
  {
5112
5922
  "name": "removal_next_index",
5113
5923
  "docs": [
5114
- "Next index in active list to check for removal"
5924
+ "DEPRECATED see BatchOrchestrator.removal_next_index. Always 0."
5115
5925
  ],
5116
5926
  "type": "u16"
5117
5927
  },
5118
5928
  {
5119
5929
  "name": "removal_active_list_snapshot",
5120
5930
  "docs": [
5121
- "Snapshot of active list count at start of removal (frozen)"
5931
+ "DEPRECATED see BatchOrchestrator. Always 0."
5122
5932
  ],
5123
5933
  "type": "u16"
5124
5934
  },
5125
5935
  {
5126
5936
  "name": "validators_removed_this_selection",
5127
5937
  "docs": [
5128
- "Number of validators removed in the current selection cycle"
5938
+ "DEPRECATED see BatchOrchestrator. Always 0."
5129
5939
  ],
5130
5940
  "type": "u16"
5131
5941
  }
@@ -5235,39 +6045,31 @@
5235
6045
  {
5236
6046
  "name": "TrancheState",
5237
6047
  "docs": [
5238
- "All i128 values use 8-decimal precision (SCALE = 1e8 = 100,000,000)",
5239
- "This matches Chainlink SOL/USD's native format, avoiding conversion overhead",
6048
+ "All u64 values use 8-decimal precision (SCALE = 1e8 = 100,000,000)",
5240
6049
  "Example: $193.32 is stored as 19332000000"
5241
6050
  ],
5242
6051
  "type": {
5243
6052
  "kind": "struct",
5244
6053
  "fields": [
5245
- {
5246
- "name": "admin",
5247
- "docs": [
5248
- "Admin authority (can update growth parameters and price bounds)"
5249
- ],
5250
- "type": "pubkey"
5251
- },
5252
6054
  {
5253
6055
  "name": "current_tranche_number",
5254
6056
  "type": "u64"
5255
6057
  },
5256
6058
  {
5257
6059
  "name": "current_tranche_supply",
5258
- "type": "i128"
6060
+ "type": "u64"
5259
6061
  },
5260
6062
  {
5261
6063
  "name": "current_tranche_price_usd",
5262
- "type": "i128"
6064
+ "type": "u64"
5263
6065
  },
5264
6066
  {
5265
6067
  "name": "total_pretokens_sold",
5266
- "type": "i128"
6068
+ "type": "u64"
5267
6069
  },
5268
6070
  {
5269
6071
  "name": "initial_tranche_supply",
5270
- "type": "i128"
6072
+ "type": "u64"
5271
6073
  },
5272
6074
  {
5273
6075
  "name": "supply_growth_bps",
@@ -5277,9 +6079,9 @@
5277
6079
  "type": "u16"
5278
6080
  },
5279
6081
  {
5280
- "name": "price_growth_bps",
6082
+ "name": "price_growth_cents",
5281
6083
  "docs": [
5282
- "Price growth in basis points (e.g., 200 = 2%, max 10000)"
6084
+ "Price growth in cents per tranche (0.01 USD units)"
5283
6085
  ],
5284
6086
  "type": "u16"
5285
6087
  },
@@ -5288,14 +6090,14 @@
5288
6090
  "docs": [
5289
6091
  "Minimum valid SOL/USD price for validation (8-dec)"
5290
6092
  ],
5291
- "type": "i128"
6093
+ "type": "u64"
5292
6094
  },
5293
6095
  {
5294
6096
  "name": "max_price_usd",
5295
6097
  "docs": [
5296
6098
  "Maximum valid SOL/USD price for validation (8-dec)"
5297
6099
  ],
5298
- "type": "i128"
6100
+ "type": "u64"
5299
6101
  },
5300
6102
  {
5301
6103
  "name": "max_staleness_seconds",
@@ -5340,7 +6142,7 @@
5340
6142
  },
5341
6143
  {
5342
6144
  "name": "total_pretokens_purchased",
5343
- "type": "i128"
6145
+ "type": "u64"
5344
6146
  },
5345
6147
  {
5346
6148
  "name": "last_tranche_number",
@@ -5348,7 +6150,7 @@
5348
6150
  },
5349
6151
  {
5350
6152
  "name": "last_tranche_price_usd",
5351
- "type": "i128"
6153
+ "type": "u64"
5352
6154
  },
5353
6155
  {
5354
6156
  "name": "bump",
@@ -5373,6 +6175,13 @@
5373
6175
  {
5374
6176
  "name": "bump",
5375
6177
  "type": "u8"
6178
+ },
6179
+ {
6180
+ "name": "tracked_balance",
6181
+ "docs": [
6182
+ "Last reconciled liqSOL token balance for this user ATA"
6183
+ ],
6184
+ "type": "u64"
5376
6185
  }
5377
6186
  ]
5378
6187
  }