@wireio/stake 0.1.3 → 0.1.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 (526) hide show
  1. package/README.md +185 -243
  2. package/lib/stake.browser.js +64498 -6551
  3. package/lib/stake.browser.js.map +1 -1
  4. package/lib/stake.d.ts +18865 -349
  5. package/lib/stake.js +64886 -6556
  6. package/lib/stake.js.map +1 -1
  7. package/lib/stake.m.js +64498 -6551
  8. package/lib/stake.m.js.map +1 -1
  9. package/package.json +6 -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/BeaconState.sol/BeaconState.json +807 -0
  40. package/src/assets/ethereum/hoodi/liqEth/DepositManager.sol/DepositManagerV2.dbg.json +4 -0
  41. package/src/assets/ethereum/hoodi/liqEth/DepositManager.sol/DepositManagerV2.json +985 -0
  42. package/src/assets/ethereum/hoodi/liqEth/LiqEthAuthority.sol/LiqEthAuthority.dbg.json +4 -0
  43. package/src/assets/ethereum/hoodi/liqEth/LiqEthAuthority.sol/LiqEthAuthority.json +1289 -0
  44. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IAccounting.dbg.json +4 -0
  45. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IAccounting.json +182 -0
  46. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IDepositContract.dbg.json +4 -0
  47. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IDepositManager.dbg.json +4 -0
  48. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/ILiqEthUpgradeable.dbg.json +4 -0
  49. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/ILiqEthUpgradeable.json +29 -0
  50. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IRewardsERC20.dbg.json +4 -0
  51. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IRewardsERC20.json +319 -0
  52. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IRewardsERC20Pausable.dbg.json +4 -0
  53. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IRewardsERC20Pausable.json +333 -0
  54. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IStakingModule.dbg.json +4 -0
  55. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IStakingModule.json +344 -0
  56. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IValidatorBalanceVerifier.dbg.json +4 -0
  57. package/src/assets/ethereum/{ABI → hoodi}/liqEth/LiqEthCommon.sol/IValidatorBalanceVerifier.json +59 -0
  58. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IWithdrawalRecord.dbg.json +4 -0
  59. package/src/assets/ethereum/{ABI → hoodi}/liqEth/LiqEthCommon.sol/IWithdrawalRecord.json +14 -12
  60. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/LiqEthCommon.dbg.json +4 -0
  61. package/src/assets/ethereum/{ABI → hoodi}/liqEth/LiqEthCommon.sol/LiqEthCommon.json +2 -2
  62. package/src/assets/ethereum/hoodi/liqEth/LiqEthDeepFreeze.sol/LiqEthDeepFreeze.dbg.json +4 -0
  63. package/src/assets/ethereum/hoodi/liqEth/LiqEthDeepFreeze.sol/LiqEthDeepFreeze.json +236 -0
  64. package/src/assets/ethereum/hoodi/liqEth/LiqEthManaged.sol/LiqEthManaged.dbg.json +4 -0
  65. package/src/assets/ethereum/hoodi/liqEth/LiqEthManaged.sol/LiqEthManaged.json +229 -0
  66. package/src/assets/ethereum/hoodi/liqEth/RewardsERC20.sol/RewardsERC20UpgradeableV2.dbg.json +4 -0
  67. package/src/assets/ethereum/hoodi/liqEth/RewardsERC20.sol/RewardsERC20UpgradeableV2.json +957 -0
  68. package/src/assets/ethereum/hoodi/liqEth/RewardsERC20Pausable.sol/RewardsERC20PausableUpgradeableV2.dbg.json +4 -0
  69. package/src/assets/ethereum/hoodi/liqEth/RewardsERC20Pausable.sol/RewardsERC20PausableUpgradeableV2.json +1020 -0
  70. package/src/assets/ethereum/hoodi/liqEth/Yield.sol/YieldOracle.dbg.json +4 -0
  71. package/src/assets/ethereum/hoodi/liqEth/Yield.sol/YieldOracle.json +1376 -0
  72. package/src/assets/ethereum/hoodi/liqEth/accounting.sol/AccountingV2.dbg.json +4 -0
  73. package/src/assets/ethereum/hoodi/liqEth/accounting.sol/AccountingV2.json +629 -0
  74. package/src/assets/ethereum/hoodi/liqEth/liqEth.sol/LiqEthTokenV2.dbg.json +4 -0
  75. package/src/assets/ethereum/hoodi/liqEth/liqEth.sol/LiqEthTokenV2.json +1323 -0
  76. package/src/assets/ethereum/hoodi/liqEth/stakingModule.sol/StakingModuleV2.dbg.json +4 -0
  77. package/src/assets/ethereum/hoodi/liqEth/stakingModule.sol/StakingModuleV2.json +1779 -0
  78. package/src/assets/ethereum/hoodi/liqEth/v1/DepositManager.sol/DepositManager.dbg.json +4 -0
  79. package/src/assets/ethereum/hoodi/liqEth/v1/DepositManager.sol/DepositManager.json +978 -0
  80. package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/IAccounting.dbg.json +4 -0
  81. package/src/assets/ethereum/{ABI/liqEth → hoodi/liqEth/v1}/LiqEthCommon.sol/IAccounting.json +25 -21
  82. package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/IDepositContract.dbg.json +4 -0
  83. package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/IDepositContract.json +39 -0
  84. package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/IDepositManager.dbg.json +4 -0
  85. package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/IDepositManager.json +64 -0
  86. package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/ILiqEthUpgradeable.dbg.json +4 -0
  87. package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/ILiqEthUpgradeable.json +29 -0
  88. package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/IRewardsERC20.dbg.json +4 -0
  89. package/src/assets/ethereum/{ABI/liqEth → hoodi/liqEth/v1}/LiqEthCommon.sol/IRewardsERC20.json +37 -1
  90. package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/IRewardsERC20Pausable.dbg.json +4 -0
  91. package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/IRewardsERC20Pausable.json +263 -0
  92. package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/IStakingModule.dbg.json +4 -0
  93. package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/IStakingModule.json +344 -0
  94. package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/IValidatorBalanceVerifier.dbg.json +4 -0
  95. package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/IValidatorBalanceVerifier.json +129 -0
  96. package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/IWithdrawalRecord.dbg.json +4 -0
  97. package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/IWithdrawalRecord.json +66 -0
  98. package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/LiqEthCommon.dbg.json +4 -0
  99. package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/LiqEthCommon.json +10 -0
  100. package/src/assets/ethereum/hoodi/liqEth/v1/RewardsERC20.sol/RewardsERC20Upgradeable.dbg.json +4 -0
  101. package/src/assets/ethereum/{ABI/liqEth/RewardsERC20Pausable.sol/RewardsERC20Pausable.json → hoodi/liqEth/v1/RewardsERC20.sol/RewardsERC20Upgradeable.json} +140 -78
  102. package/src/assets/ethereum/hoodi/liqEth/v1/RewardsERC20Pausable.sol/RewardsERC20PausableUpgradeable.dbg.json +4 -0
  103. package/src/assets/ethereum/hoodi/liqEth/v1/RewardsERC20Pausable.sol/RewardsERC20PausableUpgradeable.json +937 -0
  104. package/src/assets/ethereum/hoodi/liqEth/v1/accounting.sol/Accounting.dbg.json +4 -0
  105. package/src/assets/ethereum/hoodi/liqEth/v1/accounting.sol/Accounting.json +548 -0
  106. package/src/assets/ethereum/hoodi/liqEth/v1/liqEth.sol/LiqEthToken.dbg.json +4 -0
  107. package/src/assets/ethereum/hoodi/liqEth/v1/liqEth.sol/LiqEthToken.json +1233 -0
  108. package/src/assets/ethereum/hoodi/liqEth/v1/stakingModule.sol/StakingModule.dbg.json +4 -0
  109. package/src/assets/ethereum/hoodi/liqEth/v1/stakingModule.sol/StakingModule.json +1772 -0
  110. package/src/assets/ethereum/hoodi/liqEth/withdrawalQueue.sol/WithdrawalQueue.dbg.json +4 -0
  111. package/src/assets/ethereum/hoodi/liqEth/withdrawalQueue.sol/WithdrawalQueue.json +973 -0
  112. package/src/assets/ethereum/hoodi/liqEth/withdrawalVault.sol/Uint64BE.dbg.json +4 -0
  113. package/src/assets/ethereum/{ABI → hoodi}/liqEth/withdrawalVault.sol/Uint64BE.json +2 -2
  114. package/src/assets/ethereum/hoodi/liqEth/withdrawalVault.sol/WithdrawalVault.dbg.json +4 -0
  115. package/src/assets/ethereum/hoodi/liqEth/withdrawalVault.sol/WithdrawalVault.json +441 -0
  116. package/src/assets/ethereum/hoodi/outpost/BAR.sol/BAR.dbg.json +4 -0
  117. package/src/assets/ethereum/hoodi/outpost/BAR.sol/BAR.json +1111 -0
  118. package/src/assets/ethereum/hoodi/outpost/Depositor.sol/Depositor.dbg.json +4 -0
  119. package/src/assets/ethereum/hoodi/outpost/Depositor.sol/Depositor.json +1696 -0
  120. package/src/assets/ethereum/hoodi/outpost/EthUsdPriceConsumer.sol/AggregatorV3Interface.dbg.json +4 -0
  121. package/src/assets/ethereum/hoodi/outpost/EthUsdPriceConsumer.sol/AggregatorV3Interface.json +122 -0
  122. package/src/assets/ethereum/hoodi/outpost/EthUsdPriceConsumer.sol/EthUsdPriceConsumer.dbg.json +4 -0
  123. package/src/assets/ethereum/hoodi/outpost/EthUsdPriceConsumer.sol/EthUsdPriceConsumer.json +274 -0
  124. package/src/assets/ethereum/hoodi/outpost/InstaswapBridgeAttestations.sol/BridgeDepositCodec.dbg.json +4 -0
  125. package/src/assets/ethereum/hoodi/outpost/InstaswapBridgeAttestations.sol/BridgeDepositCodec.json +10 -0
  126. package/src/assets/ethereum/hoodi/outpost/InstaswapBridgeAttestations.sol/BridgeWithdrawCodec.dbg.json +4 -0
  127. package/src/assets/ethereum/hoodi/outpost/InstaswapBridgeAttestations.sol/BridgeWithdrawCodec.json +10 -0
  128. package/src/assets/ethereum/hoodi/outpost/InstaswapBridgeAttestations.sol/BridgeWithdrawConfirmCodec.dbg.json +4 -0
  129. package/src/assets/ethereum/hoodi/outpost/InstaswapBridgeAttestations.sol/BridgeWithdrawConfirmCodec.json +10 -0
  130. package/src/assets/ethereum/hoodi/outpost/InstaswapBridgeAttestations.sol/InstaswapBridgeAttestationTypeLib.dbg.json +4 -0
  131. package/src/assets/ethereum/hoodi/outpost/InstaswapBridgeAttestations.sol/InstaswapBridgeAttestationTypeLib.json +10 -0
  132. package/src/assets/ethereum/hoodi/outpost/LiqEthBridge.sol/LiqEthBridge.dbg.json +4 -0
  133. package/src/assets/ethereum/hoodi/outpost/LiqEthBridge.sol/LiqEthBridge.json +1044 -0
  134. package/src/assets/ethereum/hoodi/outpost/OPP.sol/OPP.dbg.json +4 -0
  135. package/src/assets/ethereum/hoodi/outpost/OPP.sol/OPP.json +1055 -0
  136. package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/IOPP.dbg.json +4 -0
  137. package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/IOPP.json +81 -0
  138. package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/IOPPEndpoint.dbg.json +4 -0
  139. package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/IOPPEndpoint.json +29 -0
  140. package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/IOPPInbound.dbg.json +4 -0
  141. package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/IOPPInbound.json +330 -0
  142. package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/IOPPReceiver.dbg.json +4 -0
  143. package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/IOPPReceiver.json +29 -0
  144. package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/IOPPSender.dbg.json +4 -0
  145. package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/IOPPSender.json +41 -0
  146. package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/OPPCommon.dbg.json +4 -0
  147. package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/OPPCommon.json +287 -0
  148. package/src/assets/ethereum/hoodi/outpost/OPPEndpoint.sol/OPPEndpoint.dbg.json +4 -0
  149. package/src/assets/ethereum/hoodi/outpost/OPPEndpoint.sol/OPPEndpoint.json +294 -0
  150. package/src/assets/ethereum/hoodi/outpost/OPPEndpointManaged.sol/OPPEndpointManaged.dbg.json +4 -0
  151. package/src/assets/ethereum/hoodi/outpost/OPPEndpointManaged.sol/OPPEndpointManaged.json +415 -0
  152. package/src/assets/ethereum/hoodi/outpost/OPPEndpointOwnable.sol/OPPEndpointOwnable.dbg.json +4 -0
  153. package/src/assets/ethereum/hoodi/outpost/OPPEndpointOwnable.sol/OPPEndpointOwnable.json +399 -0
  154. package/src/assets/ethereum/hoodi/outpost/OPPErrors.sol/OPPErrors.dbg.json +4 -0
  155. package/src/assets/ethereum/hoodi/outpost/OPPErrors.sol/OPPErrors.json +245 -0
  156. package/src/assets/ethereum/hoodi/outpost/OPPInbound.sol/OPPInbound.dbg.json +4 -0
  157. package/src/assets/ethereum/hoodi/outpost/OPPInbound.sol/OPPInbound.json +1204 -0
  158. package/src/assets/ethereum/hoodi/outpost/OPPReceiver.sol/OPPReceiver.dbg.json +4 -0
  159. package/src/assets/ethereum/hoodi/outpost/OPPReceiver.sol/OPPReceiver.json +312 -0
  160. package/src/assets/ethereum/hoodi/outpost/OPPSender.sol/OPPSender.dbg.json +4 -0
  161. package/src/assets/ethereum/hoodi/outpost/OPPSender.sol/OPPSender.json +324 -0
  162. package/src/assets/ethereum/hoodi/outpost/OperatorRegistry.sol/OperatorRegistry.dbg.json +4 -0
  163. package/src/assets/ethereum/hoodi/outpost/OperatorRegistry.sol/OperatorRegistry.json +1068 -0
  164. package/src/assets/ethereum/hoodi/outpost/OutpostErrors.sol/OutpostErrors.dbg.json +4 -0
  165. package/src/assets/ethereum/hoodi/outpost/OutpostErrors.sol/OutpostErrors.json +211 -0
  166. package/src/assets/ethereum/hoodi/outpost/OutpostManaged.sol/OutpostManaged.dbg.json +4 -0
  167. package/src/assets/ethereum/hoodi/outpost/OutpostManaged.sol/OutpostManaged.json +229 -0
  168. package/src/assets/ethereum/hoodi/outpost/OutpostManager.sol/OutpostManager.dbg.json +4 -0
  169. package/src/assets/ethereum/hoodi/outpost/OutpostManager.sol/OutpostManager.json +751 -0
  170. package/src/assets/ethereum/hoodi/outpost/OutpostManagerAuthority.sol/OutpostManagerAuthority.dbg.json +4 -0
  171. package/src/assets/ethereum/hoodi/outpost/OutpostManagerAuthority.sol/OutpostManagerAuthority.json +1432 -0
  172. package/src/assets/ethereum/hoodi/outpost/OutpostManagerCommon.sol/IOutpostManager.dbg.json +4 -0
  173. package/src/assets/ethereum/hoodi/outpost/OutpostManagerCommon.sol/IOutpostManager.json +130 -0
  174. package/src/assets/ethereum/hoodi/outpost/OutpostManagerCommon.sol/IOutpostUpgradeable.dbg.json +4 -0
  175. package/src/assets/ethereum/hoodi/outpost/OutpostManagerCommon.sol/IOutpostUpgradeable.json +29 -0
  176. package/src/assets/ethereum/hoodi/outpost/OutpostManagerCommon.sol/OutpostManagerCommon.dbg.json +4 -0
  177. package/src/assets/ethereum/hoodi/outpost/OutpostManagerCommon.sol/OutpostManagerCommon.json +141 -0
  178. package/src/assets/ethereum/hoodi/outpost/OutpostOwnable.sol/OutpostOwnable.dbg.json +4 -0
  179. package/src/assets/ethereum/hoodi/outpost/OutpostOwnable.sol/OutpostOwnable.json +213 -0
  180. package/src/assets/ethereum/hoodi/outpost/OutpostReserve.sol/OutpostReserve.dbg.json +4 -0
  181. package/src/assets/ethereum/hoodi/outpost/OutpostReserve.sol/OutpostReserve.json +888 -0
  182. package/src/assets/ethereum/hoodi/outpost/Pool.sol/Pool.dbg.json +4 -0
  183. package/src/assets/ethereum/hoodi/outpost/Pool.sol/Pool.json +659 -0
  184. package/src/assets/ethereum/hoodi/outpost/Pretoken.sol/Pretoken.dbg.json +4 -0
  185. package/src/assets/ethereum/hoodi/outpost/Pretoken.sol/Pretoken.json +1393 -0
  186. package/src/assets/ethereum/hoodi/outpost/ReceiptNFT.sol/ReceiptNFT.dbg.json +4 -0
  187. package/src/assets/ethereum/hoodi/outpost/ReceiptNFT.sol/ReceiptNFT.json +1738 -0
  188. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/InstaswapConfirmCodec.dbg.json +4 -0
  189. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/InstaswapConfirmCodec.json +10 -0
  190. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/InstaswapFailedCodec.dbg.json +4 -0
  191. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/InstaswapFailedCodec.json +10 -0
  192. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/InstaswapRequestCodec.dbg.json +4 -0
  193. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/InstaswapRequestCodec.json +10 -0
  194. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/InstaswapSettlementCodec.dbg.json +4 -0
  195. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/InstaswapSettlementCodec.json +10 -0
  196. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/PrincipalExitConfirmCodec.dbg.json +4 -0
  197. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/PrincipalExitConfirmCodec.json +10 -0
  198. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/PrincipalExitFailedCodec.dbg.json +4 -0
  199. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/PrincipalExitFailedCodec.json +10 -0
  200. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/PrincipalExitRequestCodec.dbg.json +4 -0
  201. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/PrincipalExitRequestCodec.json +10 -0
  202. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/PrincipalStakeDeltaCodec.dbg.json +4 -0
  203. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/PrincipalStakeDeltaCodec.json +10 -0
  204. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/WireYieldHubAssetCodec.dbg.json +4 -0
  205. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/WireYieldHubAssetCodec.json +10 -0
  206. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/WireYieldHubAttestationTypeLib.dbg.json +4 -0
  207. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/WireYieldHubAttestationTypeLib.json +10 -0
  208. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/WireYieldHubAttestations.dbg.json +4 -0
  209. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/WireYieldHubAttestations.json +1437 -0
  210. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/YieldDepositCodec.dbg.json +4 -0
  211. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/YieldDepositCodec.json +10 -0
  212. package/src/assets/ethereum/hoodi/outpost/interfaces/IPretoken.sol/IPretoken.dbg.json +4 -0
  213. package/src/assets/ethereum/{ABI/liqEth/LiqEthCommon.sol/ILiqEthMint.json → hoodi/outpost/interfaces/IPretoken.sol/IPretoken.json} +6 -12
  214. package/src/assets/ethereum/hoodi/outpost/interfaces/IWarrant.sol/IWarrant.dbg.json +4 -0
  215. package/src/assets/ethereum/{ABI/liqEth/LiqEthCommon.sol/ILiqEthBurn.json → hoodi/outpost/interfaces/IWarrant.sol/IWarrant.json} +9 -4
  216. package/src/assets/ethereum/hoodi/outpost/token/ERC721EthEquivalentVotesUpgradeable.sol/ERC721EthEquivalentVotesUpgradeable.dbg.json +4 -0
  217. package/src/assets/ethereum/hoodi/outpost/token/ERC721EthEquivalentVotesUpgradeable.sol/ERC721EthEquivalentVotesUpgradeable.json +858 -0
  218. package/src/assets/ethereum/hoodi/outpost/token/IERC721EthEquivalent.sol/IERC721EthEquivalent.dbg.json +4 -0
  219. package/src/assets/ethereum/hoodi/outpost/token/IERC721EthEquivalent.sol/IERC721EthEquivalent.json +30 -0
  220. package/src/assets/ethereum/hoodi/token/ERC1155Token.sol/ERC1155Token.dbg.json +4 -0
  221. package/src/assets/ethereum/hoodi/token/ERC1155Token.sol/ERC1155Token.json +472 -0
  222. package/src/assets/ethereum/hoodi/token/ERC20Token.sol/ERC20Token.dbg.json +4 -0
  223. package/src/assets/ethereum/hoodi/token/ERC20Token.sol/ERC20Token.json +330 -0
  224. package/src/assets/ethereum/hoodi/token/ERC721Token.sol/ERC721Token.dbg.json +4 -0
  225. package/src/assets/ethereum/hoodi/token/ERC721Token.sol/ERC721Token.json +449 -0
  226. package/src/assets/ethereum/hoodi/token/Eman1155.sol/Eman1155.dbg.json +4 -0
  227. package/src/assets/ethereum/hoodi/token/Eman1155.sol/Eman1155.json +560 -0
  228. package/src/assets/ethereum/hoodi/token/Eman20.sol/Eman20.dbg.json +4 -0
  229. package/src/assets/ethereum/hoodi/token/Eman20.sol/Eman20.json +460 -0
  230. package/src/assets/ethereum/hoodi/token/Eman721.sol/Eman721.dbg.json +4 -0
  231. package/src/assets/ethereum/hoodi/token/Eman721.sol/Eman721.json +624 -0
  232. package/src/assets/ethereum/mainnet/common/Base58.sol/Base58.dbg.json +4 -0
  233. package/src/assets/ethereum/mainnet/common/Base58.sol/Base58.json +164 -0
  234. package/src/assets/ethereum/mainnet/common/OpenZepArtifacts.sol/__Dummy_OZ_UUPS__.dbg.json +4 -0
  235. package/src/assets/ethereum/mainnet/common/OpenZepArtifacts.sol/__Dummy_OZ_UUPS__.json +76 -0
  236. package/src/assets/ethereum/mainnet/common/RestrictedCallers.sol/RestrictedCallers.dbg.json +4 -0
  237. package/src/assets/ethereum/mainnet/common/RestrictedCallers.sol/RestrictedCallers.json +10 -0
  238. package/src/assets/ethereum/mainnet/common/iodata.sol/iodata.dbg.json +4 -0
  239. package/src/assets/ethereum/mainnet/common/iodata.sol/iodata.json +618 -0
  240. package/src/assets/ethereum/mainnet/common/iodata_util.sol/iodata_util.dbg.json +4 -0
  241. package/src/assets/ethereum/mainnet/common/iodata_util.sol/iodata_util.json +40 -0
  242. package/src/assets/ethereum/mainnet/common/sysio_data.sol/sysio_data.dbg.json +4 -0
  243. package/src/assets/ethereum/mainnet/common/sysio_data.sol/sysio_data.json +10 -0
  244. package/src/assets/ethereum/mainnet/common/sysio_errors.sol/sysio_errors.dbg.json +4 -0
  245. package/src/assets/ethereum/mainnet/common/sysio_errors.sol/sysio_errors.json +10 -0
  246. package/src/assets/ethereum/mainnet/common/sysio_merkle.sol/sysio_merkle.dbg.json +4 -0
  247. package/src/assets/ethereum/mainnet/common/sysio_merkle.sol/sysio_merkle.json +233 -0
  248. package/src/assets/ethereum/mainnet/common/sysio_name.sol/sysio_name.dbg.json +4 -0
  249. package/src/assets/ethereum/mainnet/common/sysio_name.sol/sysio_name.json +49 -0
  250. package/src/assets/ethereum/mainnet/common/sysio_pubkey.sol/sysio_pubkey.dbg.json +4 -0
  251. package/src/assets/ethereum/mainnet/common/sysio_pubkey.sol/sysio_pubkey.json +64 -0
  252. package/src/assets/ethereum/mainnet/common/sysio_read.sol/sysio_read.dbg.json +4 -0
  253. package/src/assets/ethereum/mainnet/common/sysio_read.sol/sysio_read.json +1458 -0
  254. package/src/assets/ethereum/mainnet/common/sysio_tester.sol/SysioTester.dbg.json +4 -0
  255. package/src/assets/ethereum/mainnet/common/sysio_tester.sol/SysioTester.json +1532 -0
  256. package/src/assets/ethereum/mainnet/common/sysio_verify.sol/sysio_verify.dbg.json +4 -0
  257. package/src/assets/ethereum/mainnet/common/sysio_verify.sol/sysio_verify.json +1525 -0
  258. package/src/assets/ethereum/mainnet/common/sysio_write.sol/sysio_write.dbg.json +4 -0
  259. package/src/assets/ethereum/mainnet/common/sysio_write.sol/sysio_write.json +1076 -0
  260. package/src/assets/ethereum/mainnet/liqEth/BeaconState.sol/BeaconState.dbg.json +4 -0
  261. package/src/assets/ethereum/mainnet/liqEth/BeaconState.sol/BeaconState.json +807 -0
  262. package/src/assets/ethereum/mainnet/liqEth/DepositManager.sol/DepositManagerV2.dbg.json +4 -0
  263. package/src/assets/ethereum/mainnet/liqEth/DepositManager.sol/DepositManagerV2.json +1004 -0
  264. package/src/assets/ethereum/mainnet/liqEth/DepositManager.sol/IStakingModuleBondLocker.dbg.json +4 -0
  265. package/src/assets/ethereum/mainnet/liqEth/DepositManager.sol/IStakingModuleBondLocker.json +29 -0
  266. package/src/assets/ethereum/mainnet/liqEth/KeyBondManager.sol/KeyBondManager.dbg.json +4 -0
  267. package/src/assets/ethereum/mainnet/liqEth/KeyBondManager.sol/KeyBondManager.json +897 -0
  268. package/src/assets/ethereum/mainnet/liqEth/LiqEthAuthority.sol/LiqEthAuthority.dbg.json +4 -0
  269. package/src/assets/ethereum/mainnet/liqEth/LiqEthAuthority.sol/LiqEthAuthority.json +1289 -0
  270. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IDepositContract.dbg.json +4 -0
  271. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IDepositContract.json +39 -0
  272. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IDepositManager.dbg.json +4 -0
  273. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IDepositManager.json +64 -0
  274. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IKeyBondManager.dbg.json +4 -0
  275. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IKeyBondManager.json +189 -0
  276. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/ILiqEthUpgradeable.dbg.json +4 -0
  277. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/ILiqEthUpgradeable.json +29 -0
  278. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IRewardsERC20.dbg.json +4 -0
  279. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IRewardsERC20.json +319 -0
  280. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IRewardsERC20Pausable.dbg.json +4 -0
  281. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IRewardsERC20Pausable.json +333 -0
  282. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IStakingModule.dbg.json +4 -0
  283. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IStakingModule.json +279 -0
  284. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IValidatorBalanceVerifier.dbg.json +4 -0
  285. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IValidatorBalanceVerifier.json +129 -0
  286. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IWithdrawalRecord.dbg.json +4 -0
  287. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IWithdrawalRecord.json +66 -0
  288. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/LiqEthCommon.dbg.json +4 -0
  289. package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/LiqEthCommon.json +10 -0
  290. package/src/assets/ethereum/mainnet/liqEth/LiqEthDeepFreeze.sol/LiqEthDeepFreeze.dbg.json +4 -0
  291. package/src/assets/ethereum/mainnet/liqEth/LiqEthDeepFreeze.sol/LiqEthDeepFreeze.json +236 -0
  292. package/src/assets/ethereum/mainnet/liqEth/LiqEthManaged.sol/LiqEthManaged.dbg.json +4 -0
  293. package/src/assets/ethereum/mainnet/liqEth/LiqEthManaged.sol/LiqEthManaged.json +229 -0
  294. package/src/assets/ethereum/mainnet/liqEth/RewardsERC20.sol/RewardsERC20UpgradeableV2.dbg.json +4 -0
  295. package/src/assets/ethereum/mainnet/liqEth/RewardsERC20.sol/RewardsERC20UpgradeableV2.json +957 -0
  296. package/src/assets/ethereum/mainnet/liqEth/RewardsERC20Pausable.sol/RewardsERC20PausableUpgradeableV2.dbg.json +4 -0
  297. package/src/assets/ethereum/mainnet/liqEth/RewardsERC20Pausable.sol/RewardsERC20PausableUpgradeableV2.json +1020 -0
  298. package/src/assets/ethereum/mainnet/liqEth/StakingLib.sol/StakingLib.dbg.json +4 -0
  299. package/src/assets/ethereum/mainnet/liqEth/StakingLib.sol/StakingLib.json +89 -0
  300. package/src/assets/ethereum/mainnet/liqEth/Yield.sol/YieldOracle.dbg.json +4 -0
  301. package/src/assets/ethereum/mainnet/liqEth/Yield.sol/YieldOracle.json +1376 -0
  302. package/src/assets/ethereum/mainnet/liqEth/liqEth.sol/LiqEthTokenV2.dbg.json +4 -0
  303. package/src/assets/ethereum/mainnet/liqEth/liqEth.sol/LiqEthTokenV2.json +1323 -0
  304. package/src/assets/ethereum/mainnet/liqEth/stakingModule.sol/StakingModuleV2.dbg.json +4 -0
  305. package/src/assets/ethereum/mainnet/liqEth/stakingModule.sol/StakingModuleV2.json +1896 -0
  306. package/src/assets/ethereum/mainnet/liqEth/v1/DepositManager.sol/DepositManager.dbg.json +4 -0
  307. package/src/assets/ethereum/mainnet/liqEth/v1/DepositManager.sol/DepositManager.json +978 -0
  308. package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/IAccounting.dbg.json +4 -0
  309. package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/IAccounting.json +176 -0
  310. package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/IDepositContract.dbg.json +4 -0
  311. package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/IDepositContract.json +39 -0
  312. package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/IDepositManager.dbg.json +4 -0
  313. package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/IDepositManager.json +64 -0
  314. package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/ILiqEthUpgradeable.dbg.json +4 -0
  315. package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/ILiqEthUpgradeable.json +29 -0
  316. package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/IRewardsERC20.dbg.json +4 -0
  317. package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/IRewardsERC20.json +249 -0
  318. package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/IRewardsERC20Pausable.dbg.json +4 -0
  319. package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/IRewardsERC20Pausable.json +263 -0
  320. package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/IStakingModule.dbg.json +4 -0
  321. package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/IStakingModule.json +344 -0
  322. package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/IValidatorBalanceVerifier.dbg.json +4 -0
  323. package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/IValidatorBalanceVerifier.json +129 -0
  324. package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/IWithdrawalRecord.dbg.json +4 -0
  325. package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/IWithdrawalRecord.json +66 -0
  326. package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/LiqEthCommon.dbg.json +4 -0
  327. package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/LiqEthCommon.json +10 -0
  328. package/src/assets/ethereum/mainnet/liqEth/v1/RewardsERC20.sol/RewardsERC20Upgradeable.dbg.json +4 -0
  329. package/src/assets/ethereum/{ABI/liqEth/RewardsERC20.sol/RewardsERC20.json → mainnet/liqEth/v1/RewardsERC20.sol/RewardsERC20Upgradeable.json} +159 -34
  330. package/src/assets/ethereum/mainnet/liqEth/v1/RewardsERC20Pausable.sol/RewardsERC20PausableUpgradeable.dbg.json +4 -0
  331. package/src/assets/ethereum/mainnet/liqEth/v1/RewardsERC20Pausable.sol/RewardsERC20PausableUpgradeable.json +937 -0
  332. package/src/assets/ethereum/mainnet/liqEth/v1/accounting.sol/Accounting.dbg.json +4 -0
  333. package/src/assets/ethereum/mainnet/liqEth/v1/accounting.sol/Accounting.json +542 -0
  334. package/src/assets/ethereum/mainnet/liqEth/v1/liqEth.sol/LiqEthToken.dbg.json +4 -0
  335. package/src/assets/ethereum/mainnet/liqEth/v1/liqEth.sol/LiqEthToken.json +1233 -0
  336. package/src/assets/ethereum/mainnet/liqEth/v1/stakingModule.sol/StakingModule.dbg.json +4 -0
  337. package/src/assets/ethereum/mainnet/liqEth/v1/stakingModule.sol/StakingModule.json +1772 -0
  338. package/src/assets/ethereum/mainnet/liqEth/withdrawalQueue.sol/WithdrawalQueue.dbg.json +4 -0
  339. package/src/assets/ethereum/mainnet/liqEth/withdrawalQueue.sol/WithdrawalQueue.json +973 -0
  340. package/src/assets/ethereum/mainnet/liqEth/withdrawalVault.sol/Uint64BE.dbg.json +4 -0
  341. package/src/assets/ethereum/mainnet/liqEth/withdrawalVault.sol/Uint64BE.json +10 -0
  342. package/src/assets/ethereum/mainnet/liqEth/withdrawalVault.sol/WithdrawalVault.dbg.json +4 -0
  343. package/src/assets/ethereum/mainnet/liqEth/withdrawalVault.sol/WithdrawalVault.json +441 -0
  344. package/src/assets/ethereum/mainnet/outpost/BAR.sol/BARV2.dbg.json +4 -0
  345. package/src/assets/ethereum/mainnet/outpost/BAR.sol/BARV2.json +1915 -0
  346. package/src/assets/ethereum/mainnet/outpost/Depositor.sol/DepositorV2.dbg.json +4 -0
  347. package/src/assets/ethereum/mainnet/outpost/Depositor.sol/DepositorV2.json +1845 -0
  348. package/src/assets/ethereum/mainnet/outpost/EthUsdPriceConsumer.sol/AggregatorV3Interface.dbg.json +4 -0
  349. package/src/assets/ethereum/mainnet/outpost/EthUsdPriceConsumer.sol/AggregatorV3Interface.json +122 -0
  350. package/src/assets/ethereum/mainnet/outpost/EthUsdPriceConsumer.sol/EthUsdPriceConsumer.dbg.json +4 -0
  351. package/src/assets/ethereum/mainnet/outpost/EthUsdPriceConsumer.sol/EthUsdPriceConsumer.json +551 -0
  352. package/src/assets/ethereum/mainnet/outpost/OPP.sol/OPP.dbg.json +4 -0
  353. package/src/assets/ethereum/mainnet/outpost/OPP.sol/OPP.json +948 -0
  354. package/src/assets/ethereum/mainnet/outpost/OPPCommon.sol/IOPP.dbg.json +4 -0
  355. package/src/assets/ethereum/mainnet/outpost/OPPCommon.sol/IOPP.json +88 -0
  356. package/src/assets/ethereum/mainnet/outpost/OPPCommon.sol/IOPPEndpoint.dbg.json +4 -0
  357. package/src/assets/ethereum/mainnet/outpost/OPPCommon.sol/IOPPEndpoint.json +29 -0
  358. package/src/assets/ethereum/mainnet/outpost/OPPCommon.sol/IOPPInbound.dbg.json +4 -0
  359. package/src/assets/ethereum/mainnet/outpost/OPPCommon.sol/IOPPInbound.json +194 -0
  360. package/src/assets/ethereum/mainnet/outpost/OPPCommon.sol/IOPPReceiver.dbg.json +4 -0
  361. package/src/assets/ethereum/mainnet/outpost/OPPCommon.sol/IOPPReceiver.json +29 -0
  362. package/src/assets/ethereum/mainnet/outpost/OPPCommon.sol/IOPPSender.dbg.json +4 -0
  363. package/src/assets/ethereum/mainnet/outpost/OPPCommon.sol/IOPPSender.json +36 -0
  364. package/src/assets/ethereum/mainnet/outpost/OPPCommon.sol/OPPCommon.dbg.json +4 -0
  365. package/src/assets/ethereum/mainnet/outpost/OPPCommon.sol/OPPCommon.json +199 -0
  366. package/src/assets/ethereum/mainnet/outpost/OPPEndpoint.sol/OPPEndpoint.dbg.json +4 -0
  367. package/src/assets/ethereum/mainnet/outpost/OPPEndpoint.sol/OPPEndpoint.json +273 -0
  368. package/src/assets/ethereum/mainnet/outpost/OPPEndpointManaged.sol/OPPEndpointManaged.dbg.json +4 -0
  369. package/src/assets/ethereum/mainnet/outpost/OPPEndpointManaged.sol/OPPEndpointManaged.json +394 -0
  370. package/src/assets/ethereum/mainnet/outpost/OPPEndpointOwnable.sol/OPPEndpointOwnable.dbg.json +4 -0
  371. package/src/assets/ethereum/mainnet/outpost/OPPEndpointOwnable.sol/OPPEndpointOwnable.json +378 -0
  372. package/src/assets/ethereum/mainnet/outpost/OPPErrors.sol/OPPErrors.dbg.json +4 -0
  373. package/src/assets/ethereum/mainnet/outpost/OPPErrors.sol/OPPErrors.json +224 -0
  374. package/src/assets/ethereum/mainnet/outpost/OPPInbound.sol/OPPInbound.dbg.json +4 -0
  375. package/src/assets/ethereum/mainnet/outpost/OPPInbound.sol/OPPInbound.json +1010 -0
  376. package/src/assets/ethereum/mainnet/outpost/OPPReceiver.sol/OPPReceiver.dbg.json +4 -0
  377. package/src/assets/ethereum/mainnet/outpost/OPPReceiver.sol/OPPReceiver.json +291 -0
  378. package/src/assets/ethereum/mainnet/outpost/OPPSender.sol/OPPSender.dbg.json +4 -0
  379. package/src/assets/ethereum/mainnet/outpost/OPPSender.sol/OPPSender.json +298 -0
  380. package/src/assets/ethereum/mainnet/outpost/OutpostErrors.sol/OutpostErrors.dbg.json +4 -0
  381. package/src/assets/ethereum/mainnet/outpost/OutpostErrors.sol/OutpostErrors.json +488 -0
  382. package/src/assets/ethereum/mainnet/outpost/OutpostManaged.sol/OutpostManaged.dbg.json +4 -0
  383. package/src/assets/ethereum/mainnet/outpost/OutpostManaged.sol/OutpostManaged.json +229 -0
  384. package/src/assets/ethereum/mainnet/outpost/OutpostManager.sol/OutpostManagerV2.dbg.json +4 -0
  385. package/src/assets/ethereum/mainnet/outpost/OutpostManager.sol/OutpostManagerV2.json +737 -0
  386. package/src/assets/ethereum/mainnet/outpost/OutpostManagerAuthority.sol/OutpostManagerAuthority.dbg.json +4 -0
  387. package/src/assets/ethereum/mainnet/outpost/OutpostManagerAuthority.sol/OutpostManagerAuthority.json +1432 -0
  388. package/src/assets/ethereum/mainnet/outpost/OutpostManagerCommon.sol/IOutpostManager.dbg.json +4 -0
  389. package/src/assets/ethereum/mainnet/outpost/OutpostManagerCommon.sol/IOutpostManager.json +130 -0
  390. package/src/assets/ethereum/mainnet/outpost/OutpostManagerCommon.sol/IOutpostUpgradeable.dbg.json +4 -0
  391. package/src/assets/ethereum/mainnet/outpost/OutpostManagerCommon.sol/IOutpostUpgradeable.json +29 -0
  392. package/src/assets/ethereum/mainnet/outpost/OutpostManagerCommon.sol/OutpostManagerCommon.dbg.json +4 -0
  393. package/src/assets/ethereum/mainnet/outpost/OutpostManagerCommon.sol/OutpostManagerCommon.json +141 -0
  394. package/src/assets/ethereum/mainnet/outpost/OutpostOwnable.sol/OutpostOwnable.dbg.json +4 -0
  395. package/src/assets/ethereum/mainnet/outpost/OutpostOwnable.sol/OutpostOwnable.json +213 -0
  396. package/src/assets/ethereum/mainnet/outpost/Pool.sol/PoolV2.dbg.json +4 -0
  397. package/src/assets/ethereum/mainnet/outpost/Pool.sol/PoolV2.json +943 -0
  398. package/src/assets/ethereum/mainnet/outpost/Pretoken.sol/PretokenV2.dbg.json +4 -0
  399. package/src/assets/ethereum/mainnet/outpost/Pretoken.sol/PretokenV2.json +1703 -0
  400. package/src/assets/ethereum/mainnet/outpost/ReceiptNFT.sol/ReceiptNFT.dbg.json +4 -0
  401. package/src/assets/ethereum/mainnet/outpost/ReceiptNFT.sol/ReceiptNFT.json +2015 -0
  402. package/src/assets/ethereum/mainnet/outpost/interfaces/IPretoken.sol/IPretoken.dbg.json +4 -0
  403. package/src/assets/ethereum/mainnet/outpost/interfaces/IPretoken.sol/IPretoken.json +29 -0
  404. package/src/assets/ethereum/mainnet/outpost/interfaces/IWarrant.sol/IWarrant.dbg.json +4 -0
  405. package/src/assets/ethereum/mainnet/outpost/interfaces/IWarrant.sol/IWarrant.json +29 -0
  406. package/src/assets/ethereum/mainnet/outpost/token/ERC721EthEquivalentVotesUpgradeable.sol/ERC721EthEquivalentVotesUpgradeable.dbg.json +4 -0
  407. package/src/assets/ethereum/mainnet/outpost/token/ERC721EthEquivalentVotesUpgradeable.sol/ERC721EthEquivalentVotesUpgradeable.json +858 -0
  408. package/src/assets/ethereum/mainnet/outpost/token/IERC721EthEquivalent.sol/IERC721EthEquivalent.dbg.json +4 -0
  409. package/src/assets/ethereum/mainnet/outpost/token/IERC721EthEquivalent.sol/IERC721EthEquivalent.json +30 -0
  410. package/src/assets/ethereum/mainnet/outpost/v1/BAR.sol/BAR.dbg.json +4 -0
  411. package/src/assets/ethereum/mainnet/outpost/v1/BAR.sol/BAR.json +1871 -0
  412. package/src/assets/ethereum/mainnet/outpost/v1/Depositor.sol/Depositor.dbg.json +4 -0
  413. package/src/assets/ethereum/mainnet/outpost/v1/Depositor.sol/Depositor.json +1653 -0
  414. package/src/assets/ethereum/mainnet/outpost/v1/OutpostManager.sol/OutpostManager.dbg.json +4 -0
  415. package/src/assets/ethereum/mainnet/outpost/v1/OutpostManager.sol/OutpostManager.json +730 -0
  416. package/src/assets/ethereum/mainnet/outpost/v1/Pool.sol/Pool.dbg.json +4 -0
  417. package/src/assets/ethereum/mainnet/outpost/v1/Pool.sol/Pool.json +936 -0
  418. package/src/assets/ethereum/mainnet/outpost/v1/Pretoken.sol/Pretoken.dbg.json +4 -0
  419. package/src/assets/ethereum/mainnet/outpost/v1/Pretoken.sol/Pretoken.json +1665 -0
  420. package/src/assets/ethereum/mainnet/token/ERC1155Token.sol/ERC1155Token.dbg.json +4 -0
  421. package/src/assets/ethereum/mainnet/token/ERC1155Token.sol/ERC1155Token.json +472 -0
  422. package/src/assets/ethereum/mainnet/token/ERC20Token.sol/ERC20Token.dbg.json +4 -0
  423. package/src/assets/ethereum/mainnet/token/ERC20Token.sol/ERC20Token.json +330 -0
  424. package/src/assets/ethereum/mainnet/token/ERC721Token.sol/ERC721Token.dbg.json +4 -0
  425. package/src/assets/ethereum/mainnet/token/ERC721Token.sol/ERC721Token.json +449 -0
  426. package/src/assets/solana/devnet/idl/liqsol_core.json +8566 -0
  427. package/src/assets/solana/{idl → devnet/idl}/liqsol_token.json +35 -1
  428. package/src/assets/solana/devnet/idl/transfer_hook.json +490 -0
  429. package/src/assets/solana/devnet/idl/validator_leaderboard.json +735 -0
  430. package/src/assets/solana/devnet/types/liqsol_core.ts +8572 -0
  431. package/src/assets/solana/{types → devnet/types}/liqsol_token.ts +35 -1
  432. package/src/assets/solana/devnet/types/transfer_hook.ts +496 -0
  433. package/src/assets/solana/devnet/types/validator_leaderboard.ts +741 -0
  434. package/src/assets/solana/mainnet/idl/liqsol_core.json +6678 -0
  435. package/src/assets/solana/mainnet/idl/liqsol_token.json +217 -0
  436. package/src/assets/solana/mainnet/idl/transfer_hook.json +479 -0
  437. package/src/assets/solana/{idl → mainnet/idl}/validator_leaderboard.json +4 -4
  438. package/src/assets/solana/mainnet/types/liqsol_core.ts +6684 -0
  439. package/src/assets/solana/mainnet/types/liqsol_token.ts +223 -0
  440. package/src/assets/solana/mainnet/types/transfer_hook.ts +485 -0
  441. package/src/assets/solana/{types → mainnet/types}/validator_leaderboard.ts +4 -4
  442. package/src/assets/solana/realdevnet/idl/liqsol_core.json +7112 -0
  443. package/src/assets/solana/realdevnet/idl/liqsol_token.json +217 -0
  444. package/src/assets/solana/realdevnet/idl/transfer_hook.json +479 -0
  445. package/src/assets/solana/realdevnet/idl/validator_leaderboard.json +735 -0
  446. package/src/assets/solana/realdevnet/types/liqsol_core.ts +7118 -0
  447. package/src/assets/solana/realdevnet/types/liqsol_token.ts +223 -0
  448. package/src/assets/solana/realdevnet/types/transfer_hook.ts +485 -0
  449. package/src/assets/solana/realdevnet/types/validator_leaderboard.ts +741 -0
  450. package/src/index.ts +6 -4
  451. package/src/networks/ethereum/clients/convert.client.ts +221 -0
  452. package/src/networks/ethereum/clients/opp.client.ts +389 -0
  453. package/src/networks/ethereum/clients/pretoken.client.ts +165 -0
  454. package/src/networks/ethereum/clients/receipt.client.ts +199 -0
  455. package/src/networks/ethereum/clients/stake.client.ts +203 -0
  456. package/src/networks/ethereum/clients/validator.client.ts +61 -0
  457. package/src/networks/ethereum/contract.ts +424 -109
  458. package/src/networks/ethereum/ethereum.ts +546 -110
  459. package/src/networks/ethereum/types.ts +125 -17
  460. package/src/networks/ethereum/utils.ts +340 -0
  461. package/src/networks/solana/clients/convert.client.ts +341 -0
  462. package/src/networks/solana/clients/distribution.client.ts +266 -262
  463. package/src/networks/solana/clients/leaderboard.client.ts +68 -26
  464. package/src/networks/solana/clients/outpost.client.ts +342 -0
  465. package/src/networks/solana/clients/token.client.ts +214 -0
  466. package/src/networks/solana/constants.ts +100 -181
  467. package/src/networks/solana/program.ts +432 -28
  468. package/src/networks/solana/solana.ts +1137 -149
  469. package/src/networks/solana/types.ts +743 -33
  470. package/src/networks/solana/utils.ts +368 -304
  471. package/src/{staker/staker.ts → staker.ts} +27 -6
  472. package/src/types.ts +364 -0
  473. package/src/assets/ethereum/ABI/liqEth/DepositManager.sol/DepositManager.dbg.json +0 -4
  474. package/src/assets/ethereum/ABI/liqEth/DepositManager.sol/DepositManager.json +0 -1153
  475. package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IAccounting.dbg.json +0 -4
  476. package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IDepositContract.dbg.json +0 -4
  477. package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IDepositManager.dbg.json +0 -4
  478. package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/ILiqEthBurn.dbg.json +0 -4
  479. package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/ILiqEthMint.dbg.json +0 -4
  480. package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IRewardsERC20.dbg.json +0 -4
  481. package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IStakingModule.dbg.json +0 -4
  482. package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IStakingModule.json +0 -138
  483. package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IValidatorBalanceVerifier.dbg.json +0 -4
  484. package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IWithdrawalRecord.dbg.json +0 -4
  485. package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/LiqEthCommon.dbg.json +0 -4
  486. package/src/assets/ethereum/ABI/liqEth/RewardsERC20.sol/RewardsERC20.dbg.json +0 -4
  487. package/src/assets/ethereum/ABI/liqEth/RewardsERC20Pausable.sol/RewardsERC20Pausable.dbg.json +0 -4
  488. package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/BeaconRoots.dbg.json +0 -4
  489. package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/BeaconRoots.json +0 -10
  490. package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/SSZ.dbg.json +0 -4
  491. package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/SSZ.json +0 -10
  492. package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/ValidatorBalanceVerifier.dbg.json +0 -4
  493. package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/ValidatorBalanceVerifier.json +0 -225
  494. package/src/assets/ethereum/ABI/liqEth/Yield.sol/BeaconRoots.dbg.json +0 -4
  495. package/src/assets/ethereum/ABI/liqEth/Yield.sol/BeaconRoots.json +0 -10
  496. package/src/assets/ethereum/ABI/liqEth/Yield.sol/SSZ.dbg.json +0 -4
  497. package/src/assets/ethereum/ABI/liqEth/Yield.sol/SSZ.json +0 -10
  498. package/src/assets/ethereum/ABI/liqEth/Yield.sol/YieldOracle.dbg.json +0 -4
  499. package/src/assets/ethereum/ABI/liqEth/Yield.sol/YieldOracle.json +0 -813
  500. package/src/assets/ethereum/ABI/liqEth/accounting.sol/Accounting.dbg.json +0 -4
  501. package/src/assets/ethereum/ABI/liqEth/accounting.sol/Accounting.json +0 -651
  502. package/src/assets/ethereum/ABI/liqEth/liqEth.sol/LiqEthToken.dbg.json +0 -4
  503. package/src/assets/ethereum/ABI/liqEth/liqEth.sol/LiqEthToken.json +0 -1110
  504. package/src/assets/ethereum/ABI/liqEth/liqEthBurn.sol/LiqEthBurn.dbg.json +0 -4
  505. package/src/assets/ethereum/ABI/liqEth/liqEthBurn.sol/LiqEthBurn.json +0 -391
  506. package/src/assets/ethereum/ABI/liqEth/liqEthMint.sol/LiqEthMint.dbg.json +0 -4
  507. package/src/assets/ethereum/ABI/liqEth/liqEthMint.sol/LiqEthMint.json +0 -402
  508. package/src/assets/ethereum/ABI/liqEth/stakingModule.sol/StakingModule.dbg.json +0 -4
  509. package/src/assets/ethereum/ABI/liqEth/stakingModule.sol/StakingModule.json +0 -1225
  510. package/src/assets/ethereum/ABI/liqEth/withdrawalQueue.sol/WithdrawalQueue.dbg.json +0 -4
  511. package/src/assets/ethereum/ABI/liqEth/withdrawalQueue.sol/WithdrawalQueue.json +0 -927
  512. package/src/assets/ethereum/ABI/liqEth/withdrawalVault.sol/Uint64BE.dbg.json +0 -4
  513. package/src/assets/ethereum/ABI/liqEth/withdrawalVault.sol/WithdrawalVault.dbg.json +0 -4
  514. package/src/assets/ethereum/ABI/liqEth/withdrawalVault.sol/WithdrawalVault.json +0 -447
  515. package/src/assets/ethereum/ABI/token/ERC1155Token.sol/ERC1155Token.dbg.json +0 -4
  516. package/src/assets/ethereum/ABI/token/ERC1155Token.sol/ERC1155Token.json +0 -472
  517. package/src/assets/ethereum/ABI/token/ERC20Token.sol/ERC20Token.dbg.json +0 -4
  518. package/src/assets/ethereum/ABI/token/ERC20Token.sol/ERC20Token.json +0 -330
  519. package/src/assets/ethereum/ABI/token/ERC721Token.sol/ERC721Token.dbg.json +0 -4
  520. package/src/assets/ethereum/ABI/token/ERC721Token.sol/ERC721Token.json +0 -449
  521. package/src/assets/solana/idl/liqsol_core.json +0 -4239
  522. package/src/assets/solana/types/liqsol_core.ts +0 -4245
  523. package/src/networks/solana/clients/deposit.client.ts +0 -131
  524. package/src/staker/types.ts +0 -49
  525. /package/src/assets/ethereum/{ABI → hoodi}/liqEth/LiqEthCommon.sol/IDepositContract.json +0 -0
  526. /package/src/assets/ethereum/{ABI → hoodi}/liqEth/LiqEthCommon.sol/IDepositManager.json +0 -0
@@ -1,4239 +0,0 @@
1
- {
2
- "address": "BsxpwvCaoerUPdY4CgPFgHMmgN939ogDd8MMvH7Zdpgr",
3
- "metadata": {
4
- "name": "liqsol_core",
5
- "version": "0.1.0",
6
- "spec": "0.1.0",
7
- "description": "Created with Anchor"
8
- },
9
- "instructions": [
10
- {
11
- "name": "add_bond_level",
12
- "discriminator": [
13
- 102,
14
- 36,
15
- 12,
16
- 245,
17
- 60,
18
- 124,
19
- 92,
20
- 74
21
- ],
22
- "accounts": [
23
- {
24
- "name": "authority",
25
- "writable": true,
26
- "signer": true
27
- },
28
- {
29
- "name": "bar_config"
30
- },
31
- {
32
- "name": "bond_level",
33
- "writable": true
34
- },
35
- {
36
- "name": "system_program"
37
- }
38
- ],
39
- "args": [
40
- {
41
- "name": "bond_id",
42
- "type": {
43
- "array": [
44
- "u8",
45
- 32
46
- ]
47
- }
48
- },
49
- {
50
- "name": "warmup_period",
51
- "type": "u64"
52
- },
53
- {
54
- "name": "cooldown_period",
55
- "type": "u64"
56
- },
57
- {
58
- "name": "min_receipt_principal",
59
- "type": "u64"
60
- },
61
- {
62
- "name": "roles",
63
- "type": {
64
- "array": [
65
- {
66
- "defined": {
67
- "name": "Role"
68
- }
69
- },
70
- 4
71
- ]
72
- }
73
- }
74
- ]
75
- },
76
- {
77
- "name": "add_validator",
78
- "docs": [
79
- "Done///"
80
- ],
81
- "discriminator": [
82
- 250,
83
- 113,
84
- 53,
85
- 54,
86
- 141,
87
- 117,
88
- 215,
89
- 185
90
- ],
91
- "accounts": [
92
- {
93
- "name": "authority",
94
- "signer": true
95
- },
96
- {
97
- "name": "validator_registry",
98
- "writable": true
99
- },
100
- {
101
- "name": "transients_tracking",
102
- "writable": true
103
- }
104
- ],
105
- "args": [
106
- {
107
- "name": "vote_account",
108
- "type": "pubkey"
109
- },
110
- {
111
- "name": "name",
112
- "type": "string"
113
- },
114
- {
115
- "name": "performance_score",
116
- "type": "u8"
117
- }
118
- ]
119
- },
120
- {
121
- "name": "advance_serviceability",
122
- "docs": [
123
- "Advance the max servicable receipt ID"
124
- ],
125
- "discriminator": [
126
- 139,
127
- 89,
128
- 79,
129
- 2,
130
- 90,
131
- 211,
132
- 173,
133
- 240
134
- ],
135
- "accounts": [
136
- {
137
- "name": "global",
138
- "writable": true
139
- },
140
- {
141
- "name": "runtime_program"
142
- }
143
- ],
144
- "args": [
145
- {
146
- "name": "resolved_epoch",
147
- "type": "u64"
148
- }
149
- ]
150
- },
151
- {
152
- "name": "bond_wire_receipt",
153
- "discriminator": [
154
- 56,
155
- 121,
156
- 67,
157
- 27,
158
- 75,
159
- 101,
160
- 114,
161
- 5
162
- ],
163
- "accounts": [
164
- {
165
- "name": "payer",
166
- "writable": true,
167
- "signer": true
168
- },
169
- {
170
- "name": "bond_level",
171
- "writable": true
172
- },
173
- {
174
- "name": "actor",
175
- "docs": [
176
- "Actor being bonded/flagged"
177
- ]
178
- },
179
- {
180
- "name": "bonded_actor",
181
- "writable": true
182
- },
183
- {
184
- "name": "bond_owner",
185
- "docs": [
186
- "Owner of the WireReceipt bond"
187
- ],
188
- "writable": true,
189
- "signer": true
190
- },
191
- {
192
- "name": "bar_config"
193
- },
194
- {
195
- "name": "wire_receipt",
196
- "docs": [
197
- "The WireReceipt account used as the bond; must belong to the bond owner"
198
- ],
199
- "writable": true
200
- },
201
- {
202
- "name": "system_program"
203
- }
204
- ],
205
- "args": []
206
- },
207
- {
208
- "name": "claim_bond",
209
- "discriminator": [
210
- 173,
211
- 34,
212
- 157,
213
- 61,
214
- 45,
215
- 120,
216
- 246,
217
- 11
218
- ],
219
- "accounts": [
220
- {
221
- "name": "bond_owner",
222
- "writable": true,
223
- "signer": true
224
- },
225
- {
226
- "name": "bar_config",
227
- "docs": [
228
- "Reserved for future OPP assertions"
229
- ]
230
- },
231
- {
232
- "name": "bond_level"
233
- },
234
- {
235
- "name": "actor",
236
- "docs": [
237
- "Actor whose bond is being claimed/cleared"
238
- ]
239
- },
240
- {
241
- "name": "bonded_actor",
242
- "writable": true
243
- },
244
- {
245
- "name": "wire_receipt",
246
- "docs": [
247
- "The WireReceipt to unlock after claiming bond"
248
- ],
249
- "writable": true
250
- }
251
- ],
252
- "args": [
253
- {
254
- "name": "reclaim_storage",
255
- "type": "bool"
256
- }
257
- ]
258
- },
259
- {
260
- "name": "claim_withdraw",
261
- "docs": [
262
- "Pay user (stub) and close/burn the receipt via CPI to nft_factory."
263
- ],
264
- "discriminator": [
265
- 232,
266
- 89,
267
- 154,
268
- 117,
269
- 16,
270
- 204,
271
- 182,
272
- 224
273
- ],
274
- "accounts": [
275
- {
276
- "name": "user",
277
- "writable": true,
278
- "signer": true
279
- },
280
- {
281
- "name": "global",
282
- "docs": [
283
- "Global operator state"
284
- ],
285
- "writable": true
286
- },
287
- {
288
- "name": "mint_authority"
289
- },
290
- {
291
- "name": "receipt_data",
292
- "writable": true
293
- },
294
- {
295
- "name": "mint_account",
296
- "writable": true
297
- },
298
- {
299
- "name": "owner_ata",
300
- "writable": true
301
- },
302
- {
303
- "name": "token_program"
304
- },
305
- {
306
- "name": "system_program"
307
- },
308
- {
309
- "name": "associated_token_program"
310
- }
311
- ],
312
- "args": []
313
- },
314
- {
315
- "name": "deposit",
316
- "discriminator": [
317
- 242,
318
- 35,
319
- 198,
320
- 137,
321
- 82,
322
- 225,
323
- 242,
324
- 182
325
- ],
326
- "accounts": [
327
- {
328
- "name": "user",
329
- "writable": true,
330
- "signer": true
331
- },
332
- {
333
- "name": "deposit_authority",
334
- "writable": true
335
- },
336
- {
337
- "name": "system_program"
338
- },
339
- {
340
- "name": "token_program"
341
- },
342
- {
343
- "name": "associated_token_program"
344
- },
345
- {
346
- "name": "liqsol_program"
347
- },
348
- {
349
- "name": "pay_rate_history"
350
- },
351
- {
352
- "name": "stake_program"
353
- },
354
- {
355
- "name": "liqsol_mint",
356
- "writable": true
357
- },
358
- {
359
- "name": "user_ata",
360
- "writable": true
361
- },
362
- {
363
- "name": "liqsol_mint_authority"
364
- },
365
- {
366
- "name": "reserve_pool",
367
- "writable": true
368
- },
369
- {
370
- "name": "vault"
371
- },
372
- {
373
- "name": "ephemeral_stake",
374
- "writable": true
375
- },
376
- {
377
- "name": "controller_state",
378
- "writable": true
379
- },
380
- {
381
- "name": "payout_state",
382
- "writable": true
383
- },
384
- {
385
- "name": "bucket_authority"
386
- },
387
- {
388
- "name": "bucket_token_account",
389
- "docs": [
390
- "The bucket's associated token account"
391
- ],
392
- "writable": true
393
- },
394
- {
395
- "name": "user_record",
396
- "writable": true
397
- },
398
- {
399
- "name": "distribution_state",
400
- "writable": true
401
- },
402
- {
403
- "name": "instructions_sysvar"
404
- },
405
- {
406
- "name": "clock"
407
- },
408
- {
409
- "name": "stake_history"
410
- },
411
- {
412
- "name": "rent"
413
- }
414
- ],
415
- "args": [
416
- {
417
- "name": "amount",
418
- "type": "u64"
419
- },
420
- {
421
- "name": "seed",
422
- "type": "u32"
423
- }
424
- ]
425
- },
426
- {
427
- "name": "deposit_to_reserve",
428
- "docs": [
429
- "Done///",
430
- "/// TODO: delete after development or put in that flag thing"
431
- ],
432
- "discriminator": [
433
- 8,
434
- 79,
435
- 123,
436
- 129,
437
- 146,
438
- 140,
439
- 178,
440
- 128
441
- ],
442
- "accounts": [
443
- {
444
- "name": "depositor",
445
- "writable": true,
446
- "signer": true
447
- },
448
- {
449
- "name": "reserve_pool",
450
- "writable": true
451
- },
452
- {
453
- "name": "vault"
454
- },
455
- {
456
- "name": "ephemeral_stake",
457
- "writable": true
458
- },
459
- {
460
- "name": "controller_state"
461
- },
462
- {
463
- "name": "stake_program"
464
- },
465
- {
466
- "name": "system_program"
467
- },
468
- {
469
- "name": "clock"
470
- },
471
- {
472
- "name": "stake_history"
473
- },
474
- {
475
- "name": "rent"
476
- }
477
- ],
478
- "args": [
479
- {
480
- "name": "amount",
481
- "type": "u64"
482
- },
483
- {
484
- "name": "seed",
485
- "type": "u32"
486
- }
487
- ]
488
- },
489
- {
490
- "name": "distribute_from_reserve",
491
- "docs": [
492
- "Done///"
493
- ],
494
- "discriminator": [
495
- 204,
496
- 157,
497
- 72,
498
- 30,
499
- 26,
500
- 149,
501
- 166,
502
- 166
503
- ],
504
- "accounts": [
505
- {
506
- "name": "reserve_pool",
507
- "writable": true
508
- },
509
- {
510
- "name": "vault"
511
- },
512
- {
513
- "name": "epoch_state",
514
- "writable": true
515
- },
516
- {
517
- "name": "processing_state",
518
- "writable": true
519
- },
520
- {
521
- "name": "validator_registry",
522
- "writable": true
523
- },
524
- {
525
- "name": "stake_program"
526
- },
527
- {
528
- "name": "system_program"
529
- },
530
- {
531
- "name": "clock"
532
- },
533
- {
534
- "name": "stake_history"
535
- },
536
- {
537
- "name": "stake_config"
538
- },
539
- {
540
- "name": "rent"
541
- }
542
- ],
543
- "args": [
544
- {
545
- "name": "validators_count",
546
- "type": "u8"
547
- }
548
- ]
549
- },
550
- {
551
- "name": "get_transient_values",
552
- "discriminator": [
553
- 13,
554
- 139,
555
- 204,
556
- 177,
557
- 30,
558
- 98,
559
- 185,
560
- 246
561
- ],
562
- "accounts": [
563
- {
564
- "name": "validator_registry"
565
- }
566
- ],
567
- "args": [
568
- {
569
- "name": "vote_account",
570
- "type": "pubkey"
571
- }
572
- ]
573
- },
574
- {
575
- "name": "init_bucket",
576
- "docs": [
577
- "Done///"
578
- ],
579
- "discriminator": [
580
- 237,
581
- 69,
582
- 61,
583
- 218,
584
- 18,
585
- 60,
586
- 21,
587
- 236
588
- ],
589
- "accounts": [
590
- {
591
- "name": "admin",
592
- "writable": true,
593
- "signer": true
594
- },
595
- {
596
- "name": "bucket_authority"
597
- },
598
- {
599
- "name": "bucket_token_account",
600
- "writable": true
601
- },
602
- {
603
- "name": "liqsol_mint"
604
- },
605
- {
606
- "name": "system_program"
607
- },
608
- {
609
- "name": "token_program"
610
- },
611
- {
612
- "name": "associated_token_program"
613
- }
614
- ],
615
- "args": []
616
- },
617
- {
618
- "name": "initialize",
619
- "discriminator": [
620
- 175,
621
- 175,
622
- 109,
623
- 31,
624
- 13,
625
- 152,
626
- 155,
627
- 237
628
- ],
629
- "accounts": [
630
- {
631
- "name": "authority",
632
- "writable": true,
633
- "signer": true
634
- },
635
- {
636
- "name": "liqsol_mint"
637
- },
638
- {
639
- "name": "distribution_state",
640
- "writable": true
641
- },
642
- {
643
- "name": "token_program"
644
- },
645
- {
646
- "name": "system_program"
647
- },
648
- {
649
- "name": "rent"
650
- }
651
- ],
652
- "args": []
653
- },
654
- {
655
- "name": "initialize_bar",
656
- "discriminator": [
657
- 35,
658
- 177,
659
- 162,
660
- 209,
661
- 1,
662
- 193,
663
- 155,
664
- 110
665
- ],
666
- "accounts": [
667
- {
668
- "name": "payer",
669
- "writable": true,
670
- "signer": true
671
- },
672
- {
673
- "name": "bar_config",
674
- "writable": true
675
- },
676
- {
677
- "name": "system_program"
678
- }
679
- ],
680
- "args": []
681
- },
682
- {
683
- "name": "initialize_epoch_state",
684
- "docs": [
685
- "Done///"
686
- ],
687
- "discriminator": [
688
- 139,
689
- 122,
690
- 53,
691
- 254,
692
- 85,
693
- 205,
694
- 138,
695
- 245
696
- ],
697
- "accounts": [
698
- {
699
- "name": "admin",
700
- "writable": true,
701
- "signer": true
702
- },
703
- {
704
- "name": "epoch_state",
705
- "writable": true
706
- },
707
- {
708
- "name": "system_program"
709
- }
710
- ],
711
- "args": []
712
- },
713
- {
714
- "name": "initialize_pay_cycle",
715
- "docs": [
716
- "Done///"
717
- ],
718
- "discriminator": [
719
- 1,
720
- 184,
721
- 249,
722
- 179,
723
- 11,
724
- 182,
725
- 239,
726
- 224
727
- ],
728
- "accounts": [
729
- {
730
- "name": "admin",
731
- "writable": true,
732
- "signer": true
733
- },
734
- {
735
- "name": "pay_cycle",
736
- "writable": true
737
- },
738
- {
739
- "name": "system_program"
740
- }
741
- ],
742
- "args": []
743
- },
744
- {
745
- "name": "initialize_pay_rate_history",
746
- "docs": [
747
- "Done///"
748
- ],
749
- "discriminator": [
750
- 157,
751
- 190,
752
- 74,
753
- 135,
754
- 91,
755
- 232,
756
- 250,
757
- 122
758
- ],
759
- "accounts": [
760
- {
761
- "name": "admin",
762
- "writable": true,
763
- "signer": true
764
- },
765
- {
766
- "name": "pay_rate_history",
767
- "writable": true
768
- },
769
- {
770
- "name": "system_program"
771
- }
772
- ],
773
- "args": []
774
- },
775
- {
776
- "name": "initialize_payout_state",
777
- "docs": [
778
- "Done///"
779
- ],
780
- "discriminator": [
781
- 105,
782
- 120,
783
- 7,
784
- 121,
785
- 238,
786
- 221,
787
- 62,
788
- 160
789
- ],
790
- "accounts": [
791
- {
792
- "name": "admin",
793
- "writable": true,
794
- "signer": true
795
- },
796
- {
797
- "name": "payout_state",
798
- "writable": true
799
- },
800
- {
801
- "name": "system_program"
802
- }
803
- ],
804
- "args": []
805
- },
806
- {
807
- "name": "initialize_processing_state",
808
- "docs": [
809
- "Done///"
810
- ],
811
- "discriminator": [
812
- 228,
813
- 202,
814
- 164,
815
- 194,
816
- 29,
817
- 134,
818
- 125,
819
- 242
820
- ],
821
- "accounts": [
822
- {
823
- "name": "admin",
824
- "writable": true,
825
- "signer": true
826
- },
827
- {
828
- "name": "processing_state",
829
- "writable": true
830
- },
831
- {
832
- "name": "system_program"
833
- }
834
- ],
835
- "args": []
836
- },
837
- {
838
- "name": "initialize_reserve_pool",
839
- "docs": [
840
- "Done///"
841
- ],
842
- "discriminator": [
843
- 4,
844
- 7,
845
- 171,
846
- 131,
847
- 156,
848
- 172,
849
- 150,
850
- 220
851
- ],
852
- "accounts": [
853
- {
854
- "name": "reserve_pool",
855
- "writable": true
856
- },
857
- {
858
- "name": "vault"
859
- },
860
- {
861
- "name": "payer",
862
- "writable": true,
863
- "signer": true
864
- },
865
- {
866
- "name": "controller_state",
867
- "writable": true
868
- },
869
- {
870
- "name": "stake_program"
871
- },
872
- {
873
- "name": "system_program"
874
- },
875
- {
876
- "name": "rent"
877
- }
878
- ],
879
- "args": []
880
- },
881
- {
882
- "name": "initialize_stake_controller_state",
883
- "docs": [
884
- "Done///"
885
- ],
886
- "discriminator": [
887
- 220,
888
- 247,
889
- 13,
890
- 165,
891
- 202,
892
- 250,
893
- 102,
894
- 197
895
- ],
896
- "accounts": [
897
- {
898
- "name": "controller_state",
899
- "writable": true
900
- },
901
- {
902
- "name": "payer",
903
- "writable": true,
904
- "signer": true
905
- },
906
- {
907
- "name": "authority",
908
- "signer": true
909
- },
910
- {
911
- "name": "system_program"
912
- }
913
- ],
914
- "args": []
915
- },
916
- {
917
- "name": "initialize_stake_metrics",
918
- "docs": [
919
- "Done///"
920
- ],
921
- "discriminator": [
922
- 203,
923
- 209,
924
- 129,
925
- 123,
926
- 12,
927
- 17,
928
- 20,
929
- 175
930
- ],
931
- "accounts": [
932
- {
933
- "name": "admin",
934
- "writable": true,
935
- "signer": true
936
- },
937
- {
938
- "name": "stake_metrics",
939
- "writable": true
940
- },
941
- {
942
- "name": "system_program"
943
- }
944
- ],
945
- "args": []
946
- },
947
- {
948
- "name": "initialize_tranche_state",
949
- "discriminator": [
950
- 160,
951
- 50,
952
- 212,
953
- 249,
954
- 197,
955
- 155,
956
- 79,
957
- 226
958
- ],
959
- "accounts": [
960
- {
961
- "name": "authority",
962
- "writable": true,
963
- "signer": true
964
- },
965
- {
966
- "name": "tranche_state",
967
- "writable": true
968
- },
969
- {
970
- "name": "chainlink_feed"
971
- },
972
- {
973
- "name": "chainlink_program"
974
- },
975
- {
976
- "name": "system_program"
977
- }
978
- ],
979
- "args": []
980
- },
981
- {
982
- "name": "initialize_transients_tracking",
983
- "docs": [
984
- "Done///"
985
- ],
986
- "discriminator": [
987
- 45,
988
- 17,
989
- 111,
990
- 28,
991
- 248,
992
- 238,
993
- 237,
994
- 30
995
- ],
996
- "accounts": [
997
- {
998
- "name": "payer",
999
- "writable": true,
1000
- "signer": true
1001
- },
1002
- {
1003
- "name": "transients_tracking",
1004
- "writable": true
1005
- },
1006
- {
1007
- "name": "system_program"
1008
- }
1009
- ],
1010
- "args": []
1011
- },
1012
- {
1013
- "name": "initialize_validator_registry",
1014
- "docs": [
1015
- "Done///"
1016
- ],
1017
- "discriminator": [
1018
- 168,
1019
- 49,
1020
- 128,
1021
- 236,
1022
- 25,
1023
- 7,
1024
- 168,
1025
- 85
1026
- ],
1027
- "accounts": [
1028
- {
1029
- "name": "payer",
1030
- "writable": true,
1031
- "signer": true
1032
- },
1033
- {
1034
- "name": "validator_registry",
1035
- "writable": true
1036
- },
1037
- {
1038
- "name": "system_program"
1039
- }
1040
- ],
1041
- "args": [
1042
- {
1043
- "name": "authority",
1044
- "type": "pubkey"
1045
- }
1046
- ]
1047
- },
1048
- {
1049
- "name": "initialize_vault",
1050
- "docs": [
1051
- "Done///"
1052
- ],
1053
- "discriminator": [
1054
- 48,
1055
- 191,
1056
- 163,
1057
- 44,
1058
- 71,
1059
- 129,
1060
- 63,
1061
- 164
1062
- ],
1063
- "accounts": [
1064
- {
1065
- "name": "vault",
1066
- "writable": true
1067
- },
1068
- {
1069
- "name": "payer",
1070
- "writable": true,
1071
- "signer": true
1072
- },
1073
- {
1074
- "name": "controller_state",
1075
- "writable": true
1076
- },
1077
- {
1078
- "name": "system_program"
1079
- }
1080
- ],
1081
- "args": []
1082
- },
1083
- {
1084
- "name": "initialize_wire_config",
1085
- "discriminator": [
1086
- 65,
1087
- 61,
1088
- 193,
1089
- 228,
1090
- 121,
1091
- 252,
1092
- 165,
1093
- 207
1094
- ],
1095
- "accounts": [
1096
- {
1097
- "name": "admin",
1098
- "writable": true,
1099
- "signer": true
1100
- },
1101
- {
1102
- "name": "global_state",
1103
- "writable": true
1104
- },
1105
- {
1106
- "name": "system_program"
1107
- }
1108
- ],
1109
- "args": []
1110
- },
1111
- {
1112
- "name": "maintenance_merge_transients",
1113
- "docs": [
1114
- "Done///"
1115
- ],
1116
- "discriminator": [
1117
- 171,
1118
- 33,
1119
- 27,
1120
- 133,
1121
- 97,
1122
- 62,
1123
- 213,
1124
- 96
1125
- ],
1126
- "accounts": [
1127
- {
1128
- "name": "admin",
1129
- "signer": true
1130
- },
1131
- {
1132
- "name": "vault",
1133
- "writable": true
1134
- },
1135
- {
1136
- "name": "validator_registry",
1137
- "writable": true
1138
- },
1139
- {
1140
- "name": "transients_tracking",
1141
- "writable": true
1142
- },
1143
- {
1144
- "name": "stake_program"
1145
- },
1146
- {
1147
- "name": "system_program"
1148
- },
1149
- {
1150
- "name": "clock"
1151
- },
1152
- {
1153
- "name": "stake_history"
1154
- },
1155
- {
1156
- "name": "rent"
1157
- },
1158
- {
1159
- "name": "epoch_state",
1160
- "writable": true
1161
- },
1162
- {
1163
- "name": "processing_state",
1164
- "writable": true
1165
- }
1166
- ],
1167
- "args": [
1168
- {
1169
- "name": "vote_account",
1170
- "type": "pubkey"
1171
- },
1172
- {
1173
- "name": "start_epoch",
1174
- "type": "u64"
1175
- }
1176
- ]
1177
- },
1178
- {
1179
- "name": "move_transient_to_active",
1180
- "discriminator": [
1181
- 140,
1182
- 99,
1183
- 170,
1184
- 186,
1185
- 84,
1186
- 61,
1187
- 184,
1188
- 75
1189
- ],
1190
- "accounts": [
1191
- {
1192
- "name": "validator_registry",
1193
- "writable": true
1194
- }
1195
- ],
1196
- "args": [
1197
- {
1198
- "name": "vote_account",
1199
- "type": "pubkey"
1200
- },
1201
- {
1202
- "name": "amount",
1203
- "type": "u64"
1204
- }
1205
- ]
1206
- },
1207
- {
1208
- "name": "process_pay_cycle",
1209
- "docs": [
1210
- "Done///"
1211
- ],
1212
- "discriminator": [
1213
- 98,
1214
- 183,
1215
- 240,
1216
- 247,
1217
- 39,
1218
- 248,
1219
- 198,
1220
- 224
1221
- ],
1222
- "accounts": [
1223
- {
1224
- "name": "admin",
1225
- "signer": true
1226
- },
1227
- {
1228
- "name": "pay_cycle",
1229
- "writable": true
1230
- },
1231
- {
1232
- "name": "stake_metrics",
1233
- "writable": true
1234
- },
1235
- {
1236
- "name": "payout_state",
1237
- "writable": true
1238
- },
1239
- {
1240
- "name": "pay_rate_history",
1241
- "writable": true
1242
- },
1243
- {
1244
- "name": "distribution_state"
1245
- },
1246
- {
1247
- "name": "liqsol_mint",
1248
- "writable": true
1249
- },
1250
- {
1251
- "name": "bucket_token_account",
1252
- "writable": true
1253
- },
1254
- {
1255
- "name": "stake_controller_authority",
1256
- "writable": true
1257
- },
1258
- {
1259
- "name": "mint_authority"
1260
- },
1261
- {
1262
- "name": "liqsol_program"
1263
- },
1264
- {
1265
- "name": "token_program"
1266
- },
1267
- {
1268
- "name": "instructions"
1269
- }
1270
- ],
1271
- "args": []
1272
- },
1273
- {
1274
- "name": "purchase_warrants_from_yield",
1275
- "discriminator": [
1276
- 42,
1277
- 126,
1278
- 140,
1279
- 136,
1280
- 176,
1281
- 155,
1282
- 106,
1283
- 139
1284
- ],
1285
- "accounts": [
1286
- {
1287
- "name": "user",
1288
- "writable": true,
1289
- "signer": true
1290
- },
1291
- {
1292
- "name": "global_state",
1293
- "writable": true
1294
- },
1295
- {
1296
- "name": "liqsol_mint"
1297
- },
1298
- {
1299
- "name": "pool_authority",
1300
- "docs": [
1301
- "Pool authority PDA"
1302
- ]
1303
- },
1304
- {
1305
- "name": "liqsol_pool_ata",
1306
- "docs": [
1307
- "Pool's liqSOL ATA - deterministically derived from pool_authority + liqsol_mint"
1308
- ],
1309
- "writable": true
1310
- },
1311
- {
1312
- "name": "sol_bucket",
1313
- "docs": [
1314
- "SOL bucket for raw SOL warrant purchases"
1315
- ],
1316
- "writable": true
1317
- },
1318
- {
1319
- "name": "liqsol_pool_user_record",
1320
- "writable": true
1321
- },
1322
- {
1323
- "name": "distribution_state",
1324
- "writable": true
1325
- },
1326
- {
1327
- "name": "pay_rate_history"
1328
- },
1329
- {
1330
- "name": "bucket_authority"
1331
- },
1332
- {
1333
- "name": "bucket_token_account",
1334
- "writable": true
1335
- },
1336
- {
1337
- "name": "token_program"
1338
- },
1339
- {
1340
- "name": "system_program"
1341
- },
1342
- {
1343
- "name": "tranche_state",
1344
- "writable": true
1345
- },
1346
- {
1347
- "name": "user_warrant_record",
1348
- "writable": true
1349
- },
1350
- {
1351
- "name": "chainlink_feed"
1352
- },
1353
- {
1354
- "name": "chainlink_program"
1355
- }
1356
- ],
1357
- "args": []
1358
- },
1359
- {
1360
- "name": "purchase_with_liqsol",
1361
- "discriminator": [
1362
- 90,
1363
- 74,
1364
- 45,
1365
- 119,
1366
- 201,
1367
- 62,
1368
- 148,
1369
- 74
1370
- ],
1371
- "accounts": [
1372
- {
1373
- "name": "user",
1374
- "writable": true,
1375
- "signer": true
1376
- },
1377
- {
1378
- "name": "liqsol_mint",
1379
- "writable": true
1380
- },
1381
- {
1382
- "name": "global_state",
1383
- "writable": true
1384
- },
1385
- {
1386
- "name": "buyer_ata",
1387
- "writable": true
1388
- },
1389
- {
1390
- "name": "pool_authority"
1391
- },
1392
- {
1393
- "name": "liqsol_pool_ata",
1394
- "writable": true
1395
- },
1396
- {
1397
- "name": "warrant_deposit_record",
1398
- "docs": [
1399
- "User's warrant deposit record"
1400
- ],
1401
- "writable": true
1402
- },
1403
- {
1404
- "name": "liqsol_pool_user_record",
1405
- "docs": [
1406
- "Pool's UserRecord in distribution system (for yield tracking)"
1407
- ],
1408
- "writable": true
1409
- },
1410
- {
1411
- "name": "distribution_state",
1412
- "writable": true
1413
- },
1414
- {
1415
- "name": "pay_rate_history"
1416
- },
1417
- {
1418
- "name": "bucket_authority"
1419
- },
1420
- {
1421
- "name": "bucket_token_account",
1422
- "writable": true
1423
- },
1424
- {
1425
- "name": "sol_bucket"
1426
- },
1427
- {
1428
- "name": "tranche_state",
1429
- "writable": true
1430
- },
1431
- {
1432
- "name": "user_warrant_record",
1433
- "writable": true
1434
- },
1435
- {
1436
- "name": "chainlink_feed"
1437
- },
1438
- {
1439
- "name": "chainlink_program"
1440
- },
1441
- {
1442
- "name": "token_program"
1443
- },
1444
- {
1445
- "name": "associated_token_program"
1446
- },
1447
- {
1448
- "name": "system_program"
1449
- }
1450
- ],
1451
- "args": [
1452
- {
1453
- "name": "amount",
1454
- "type": "u64"
1455
- }
1456
- ]
1457
- },
1458
- {
1459
- "name": "purchase_with_sol",
1460
- "discriminator": [
1461
- 27,
1462
- 238,
1463
- 240,
1464
- 155,
1465
- 170,
1466
- 180,
1467
- 26,
1468
- 118
1469
- ],
1470
- "accounts": [
1471
- {
1472
- "name": "user",
1473
- "writable": true,
1474
- "signer": true
1475
- },
1476
- {
1477
- "name": "liqsol_mint",
1478
- "writable": true
1479
- },
1480
- {
1481
- "name": "global_state",
1482
- "writable": true
1483
- },
1484
- {
1485
- "name": "pool_authority",
1486
- "docs": [
1487
- "Pool authority PDA"
1488
- ]
1489
- },
1490
- {
1491
- "name": "liqsol_pool_ata",
1492
- "docs": [
1493
- "Pool's liqSOL ATA (for baseline tracking)"
1494
- ],
1495
- "writable": true
1496
- },
1497
- {
1498
- "name": "liqsol_pool_user_record",
1499
- "docs": [
1500
- "Pool's UserRecord in distribution system (for yield tracking)"
1501
- ],
1502
- "writable": true
1503
- },
1504
- {
1505
- "name": "distribution_state",
1506
- "writable": true
1507
- },
1508
- {
1509
- "name": "pay_rate_history"
1510
- },
1511
- {
1512
- "name": "bucket_authority"
1513
- },
1514
- {
1515
- "name": "bucket_token_account",
1516
- "writable": true
1517
- },
1518
- {
1519
- "name": "sol_bucket",
1520
- "docs": [
1521
- "Native SOL bucket (System Account PDA)"
1522
- ],
1523
- "writable": true
1524
- },
1525
- {
1526
- "name": "warrant_deposit_record",
1527
- "docs": [
1528
- "User's warrant deposit record"
1529
- ],
1530
- "writable": true
1531
- },
1532
- {
1533
- "name": "tranche_state",
1534
- "writable": true
1535
- },
1536
- {
1537
- "name": "user_warrant_record",
1538
- "writable": true
1539
- },
1540
- {
1541
- "name": "chainlink_feed"
1542
- },
1543
- {
1544
- "name": "chainlink_program"
1545
- },
1546
- {
1547
- "name": "token_program"
1548
- },
1549
- {
1550
- "name": "system_program"
1551
- }
1552
- ],
1553
- "args": [
1554
- {
1555
- "name": "amount",
1556
- "type": "u64"
1557
- }
1558
- ]
1559
- },
1560
- {
1561
- "name": "record_price",
1562
- "discriminator": [
1563
- 210,
1564
- 113,
1565
- 46,
1566
- 101,
1567
- 107,
1568
- 218,
1569
- 83,
1570
- 51
1571
- ],
1572
- "accounts": [
1573
- {
1574
- "name": "payer",
1575
- "writable": true,
1576
- "signer": true
1577
- },
1578
- {
1579
- "name": "tranche_state"
1580
- },
1581
- {
1582
- "name": "price_history",
1583
- "writable": true
1584
- },
1585
- {
1586
- "name": "chainlink_program"
1587
- },
1588
- {
1589
- "name": "chainlink_feed"
1590
- },
1591
- {
1592
- "name": "system_program"
1593
- }
1594
- ],
1595
- "args": []
1596
- },
1597
- {
1598
- "name": "request_withdraw",
1599
- "discriminator": [
1600
- 137,
1601
- 95,
1602
- 187,
1603
- 96,
1604
- 250,
1605
- 138,
1606
- 31,
1607
- 182
1608
- ],
1609
- "accounts": [
1610
- {
1611
- "name": "user",
1612
- "writable": true,
1613
- "signer": true
1614
- },
1615
- {
1616
- "name": "owner",
1617
- "docs": [
1618
- "Recipient of the NFT receipt (can be user)"
1619
- ],
1620
- "writable": true
1621
- },
1622
- {
1623
- "name": "global",
1624
- "docs": [
1625
- "Global operator state"
1626
- ],
1627
- "writable": true
1628
- },
1629
- {
1630
- "name": "liqsol_mint",
1631
- "docs": [
1632
- "liqSOL mint reference (must match Global.liqsol_mint so we can read decimals)"
1633
- ]
1634
- },
1635
- {
1636
- "name": "user_ata",
1637
- "writable": true
1638
- },
1639
- {
1640
- "name": "user_record",
1641
- "writable": true
1642
- },
1643
- {
1644
- "name": "mint_authority"
1645
- },
1646
- {
1647
- "name": "receipt_data",
1648
- "writable": true
1649
- },
1650
- {
1651
- "name": "metadata",
1652
- "writable": true
1653
- },
1654
- {
1655
- "name": "nft_mint",
1656
- "writable": true
1657
- },
1658
- {
1659
- "name": "nft_ata",
1660
- "writable": true
1661
- },
1662
- {
1663
- "name": "token_program"
1664
- },
1665
- {
1666
- "name": "token_interface"
1667
- },
1668
- {
1669
- "name": "associated_token_program"
1670
- },
1671
- {
1672
- "name": "system_program"
1673
- },
1674
- {
1675
- "name": "rent"
1676
- }
1677
- ],
1678
- "args": [
1679
- {
1680
- "name": "amount",
1681
- "type": "u64"
1682
- },
1683
- {
1684
- "name": "ts",
1685
- "type": "u64"
1686
- }
1687
- ]
1688
- },
1689
- {
1690
- "name": "reset_distribution_state",
1691
- "discriminator": [
1692
- 159,
1693
- 183,
1694
- 162,
1695
- 74,
1696
- 228,
1697
- 135,
1698
- 157,
1699
- 79
1700
- ],
1701
- "accounts": [
1702
- {
1703
- "name": "admin",
1704
- "signer": true
1705
- },
1706
- {
1707
- "name": "distribution_state",
1708
- "writable": true
1709
- }
1710
- ],
1711
- "args": []
1712
- },
1713
- {
1714
- "name": "reset_global_state",
1715
- "discriminator": [
1716
- 252,
1717
- 41,
1718
- 117,
1719
- 110,
1720
- 248,
1721
- 165,
1722
- 48,
1723
- 88
1724
- ],
1725
- "accounts": [
1726
- {
1727
- "name": "admin",
1728
- "signer": true
1729
- },
1730
- {
1731
- "name": "global_state",
1732
- "writable": true
1733
- }
1734
- ],
1735
- "args": []
1736
- },
1737
- {
1738
- "name": "reset_price_history",
1739
- "discriminator": [
1740
- 213,
1741
- 231,
1742
- 155,
1743
- 139,
1744
- 248,
1745
- 60,
1746
- 67,
1747
- 199
1748
- ],
1749
- "accounts": [
1750
- {
1751
- "name": "admin",
1752
- "writable": true,
1753
- "signer": true
1754
- },
1755
- {
1756
- "name": "tranche_state",
1757
- "writable": true
1758
- },
1759
- {
1760
- "name": "price_history",
1761
- "writable": true
1762
- },
1763
- {
1764
- "name": "system_program"
1765
- }
1766
- ],
1767
- "args": []
1768
- },
1769
- {
1770
- "name": "reset_tranche_state",
1771
- "discriminator": [
1772
- 106,
1773
- 102,
1774
- 143,
1775
- 40,
1776
- 152,
1777
- 173,
1778
- 165,
1779
- 168
1780
- ],
1781
- "accounts": [
1782
- {
1783
- "name": "admin",
1784
- "writable": true,
1785
- "signer": true
1786
- },
1787
- {
1788
- "name": "tranche_state",
1789
- "writable": true
1790
- },
1791
- {
1792
- "name": "price_history",
1793
- "writable": true
1794
- },
1795
- {
1796
- "name": "system_program"
1797
- }
1798
- ],
1799
- "args": []
1800
- },
1801
- {
1802
- "name": "set_d_day",
1803
- "discriminator": [
1804
- 161,
1805
- 160,
1806
- 249,
1807
- 85,
1808
- 122,
1809
- 254,
1810
- 165,
1811
- 218
1812
- ],
1813
- "accounts": [
1814
- {
1815
- "name": "admin",
1816
- "signer": true
1817
- },
1818
- {
1819
- "name": "global_state",
1820
- "writable": true
1821
- }
1822
- ],
1823
- "args": [
1824
- {
1825
- "name": "d_day",
1826
- "type": "bool"
1827
- }
1828
- ]
1829
- },
1830
- {
1831
- "name": "set_min_warmup_cooldown",
1832
- "discriminator": [
1833
- 68,
1834
- 204,
1835
- 32,
1836
- 34,
1837
- 89,
1838
- 181,
1839
- 12,
1840
- 5
1841
- ],
1842
- "accounts": [
1843
- {
1844
- "name": "authority",
1845
- "signer": true
1846
- },
1847
- {
1848
- "name": "bar_config",
1849
- "writable": true
1850
- }
1851
- ],
1852
- "args": [
1853
- {
1854
- "name": "min_warmup_cooldown",
1855
- "type": "u64"
1856
- }
1857
- ]
1858
- },
1859
- {
1860
- "name": "set_paused",
1861
- "discriminator": [
1862
- 91,
1863
- 60,
1864
- 125,
1865
- 192,
1866
- 176,
1867
- 225,
1868
- 166,
1869
- 218
1870
- ],
1871
- "accounts": [
1872
- {
1873
- "name": "admin",
1874
- "signer": true
1875
- },
1876
- {
1877
- "name": "global_state",
1878
- "writable": true
1879
- }
1880
- ],
1881
- "args": [
1882
- {
1883
- "name": "paused",
1884
- "type": "bool"
1885
- }
1886
- ]
1887
- },
1888
- {
1889
- "name": "set_refund_active",
1890
- "discriminator": [
1891
- 104,
1892
- 25,
1893
- 45,
1894
- 139,
1895
- 207,
1896
- 254,
1897
- 129,
1898
- 237
1899
- ],
1900
- "accounts": [
1901
- {
1902
- "name": "admin",
1903
- "signer": true
1904
- },
1905
- {
1906
- "name": "global_state",
1907
- "writable": true
1908
- }
1909
- ],
1910
- "args": [
1911
- {
1912
- "name": "refund_active",
1913
- "type": "bool"
1914
- }
1915
- ]
1916
- },
1917
- {
1918
- "name": "slash_bond",
1919
- "discriminator": [
1920
- 143,
1921
- 246,
1922
- 51,
1923
- 243,
1924
- 88,
1925
- 198,
1926
- 217,
1927
- 48
1928
- ],
1929
- "accounts": [
1930
- {
1931
- "name": "authority",
1932
- "writable": true,
1933
- "signer": true
1934
- },
1935
- {
1936
- "name": "bar_config"
1937
- },
1938
- {
1939
- "name": "actor",
1940
- "docs": [
1941
- "Actor being slashed"
1942
- ]
1943
- },
1944
- {
1945
- "name": "bonded_actor",
1946
- "writable": true
1947
- },
1948
- {
1949
- "name": "wire_receipt",
1950
- "docs": [
1951
- "The WireReceipt used as collateral - will be zeroed"
1952
- ],
1953
- "writable": true
1954
- }
1955
- ],
1956
- "args": []
1957
- },
1958
- {
1959
- "name": "stake_liqsol",
1960
- "discriminator": [
1961
- 135,
1962
- 102,
1963
- 130,
1964
- 67,
1965
- 57,
1966
- 29,
1967
- 101,
1968
- 95
1969
- ],
1970
- "accounts": [
1971
- {
1972
- "name": "user",
1973
- "writable": true,
1974
- "signer": true
1975
- },
1976
- {
1977
- "name": "liqsol_mint",
1978
- "writable": true
1979
- },
1980
- {
1981
- "name": "global_state",
1982
- "writable": true
1983
- },
1984
- {
1985
- "name": "user_ata",
1986
- "writable": true
1987
- },
1988
- {
1989
- "name": "pool_authority"
1990
- },
1991
- {
1992
- "name": "liqsol_pool_ata",
1993
- "writable": true
1994
- },
1995
- {
1996
- "name": "warrant_deposit_record",
1997
- "docs": [
1998
- "User's warrant deposit record"
1999
- ],
2000
- "writable": true
2001
- },
2002
- {
2003
- "name": "liqsol_pool_user_record",
2004
- "docs": [
2005
- "Pool's UserRecord in distribution system (for yield tracking)"
2006
- ],
2007
- "writable": true
2008
- },
2009
- {
2010
- "name": "distribution_state",
2011
- "writable": true
2012
- },
2013
- {
2014
- "name": "pay_rate_history"
2015
- },
2016
- {
2017
- "name": "bucket_authority"
2018
- },
2019
- {
2020
- "name": "bucket_token_account",
2021
- "writable": true
2022
- },
2023
- {
2024
- "name": "sol_bucket"
2025
- },
2026
- {
2027
- "name": "token_program"
2028
- },
2029
- {
2030
- "name": "associated_token_program"
2031
- },
2032
- {
2033
- "name": "system_program"
2034
- }
2035
- ],
2036
- "args": [
2037
- {
2038
- "name": "amount",
2039
- "type": "u64"
2040
- }
2041
- ]
2042
- },
2043
- {
2044
- "name": "sync_validator_scores",
2045
- "discriminator": [
2046
- 10,
2047
- 26,
2048
- 245,
2049
- 222,
2050
- 183,
2051
- 46,
2052
- 70,
2053
- 181
2054
- ],
2055
- "accounts": [
2056
- {
2057
- "name": "authority",
2058
- "signer": true
2059
- },
2060
- {
2061
- "name": "validator_registry",
2062
- "writable": true
2063
- },
2064
- {
2065
- "name": "stake_controller_program"
2066
- }
2067
- ],
2068
- "args": [
2069
- {
2070
- "name": "vote_accounts",
2071
- "type": {
2072
- "vec": "pubkey"
2073
- }
2074
- },
2075
- {
2076
- "name": "validator_metrics",
2077
- "type": {
2078
- "vec": {
2079
- "defined": {
2080
- "name": "ValidatorMetrics"
2081
- }
2082
- }
2083
- }
2084
- }
2085
- ]
2086
- },
2087
- {
2088
- "name": "sync_validator_stakes",
2089
- "docs": [
2090
- "Done///"
2091
- ],
2092
- "discriminator": [
2093
- 40,
2094
- 56,
2095
- 118,
2096
- 52,
2097
- 20,
2098
- 213,
2099
- 229,
2100
- 135
2101
- ],
2102
- "accounts": [
2103
- {
2104
- "name": "admin",
2105
- "signer": true
2106
- },
2107
- {
2108
- "name": "main_validator_stake"
2109
- },
2110
- {
2111
- "name": "validator_registry",
2112
- "writable": true
2113
- },
2114
- {
2115
- "name": "stake_history"
2116
- }
2117
- ],
2118
- "args": [
2119
- {
2120
- "name": "validator",
2121
- "type": "pubkey"
2122
- }
2123
- ]
2124
- },
2125
- {
2126
- "name": "unbond",
2127
- "discriminator": [
2128
- 151,
2129
- 129,
2130
- 36,
2131
- 46,
2132
- 102,
2133
- 195,
2134
- 111,
2135
- 122
2136
- ],
2137
- "accounts": [
2138
- {
2139
- "name": "bond_owner",
2140
- "signer": true
2141
- },
2142
- {
2143
- "name": "bar_config",
2144
- "docs": [
2145
- "Reserved for future OPP assertions"
2146
- ]
2147
- },
2148
- {
2149
- "name": "bond_level"
2150
- },
2151
- {
2152
- "name": "actor",
2153
- "docs": [
2154
- "Actor whose bond is being released"
2155
- ]
2156
- },
2157
- {
2158
- "name": "bonded_actor",
2159
- "writable": true
2160
- }
2161
- ],
2162
- "args": []
2163
- },
2164
- {
2165
- "name": "update_bond_level",
2166
- "discriminator": [
2167
- 48,
2168
- 233,
2169
- 159,
2170
- 234,
2171
- 230,
2172
- 200,
2173
- 171,
2174
- 205
2175
- ],
2176
- "accounts": [
2177
- {
2178
- "name": "authority",
2179
- "signer": true
2180
- },
2181
- {
2182
- "name": "bar_config"
2183
- },
2184
- {
2185
- "name": "bond_level",
2186
- "writable": true
2187
- }
2188
- ],
2189
- "args": [
2190
- {
2191
- "name": "warmup_period",
2192
- "type": "u64"
2193
- },
2194
- {
2195
- "name": "cooldown_period",
2196
- "type": "u64"
2197
- },
2198
- {
2199
- "name": "min_receipt_principal",
2200
- "type": "u64"
2201
- },
2202
- {
2203
- "name": "roles",
2204
- "type": {
2205
- "array": [
2206
- {
2207
- "defined": {
2208
- "name": "Role"
2209
- }
2210
- },
2211
- 4
2212
- ]
2213
- }
2214
- },
2215
- {
2216
- "name": "enabled",
2217
- "type": "bool"
2218
- }
2219
- ]
2220
- },
2221
- {
2222
- "name": "update_growth_parameters",
2223
- "discriminator": [
2224
- 172,
2225
- 187,
2226
- 237,
2227
- 233,
2228
- 250,
2229
- 160,
2230
- 115,
2231
- 239
2232
- ],
2233
- "accounts": [
2234
- {
2235
- "name": "admin",
2236
- "writable": true,
2237
- "signer": true
2238
- },
2239
- {
2240
- "name": "tranche_state",
2241
- "writable": true
2242
- },
2243
- {
2244
- "name": "price_history",
2245
- "writable": true
2246
- },
2247
- {
2248
- "name": "system_program"
2249
- }
2250
- ],
2251
- "args": [
2252
- {
2253
- "name": "supply_growth_bps",
2254
- "type": "u16"
2255
- },
2256
- {
2257
- "name": "price_growth_bps",
2258
- "type": "u16"
2259
- }
2260
- ]
2261
- },
2262
- {
2263
- "name": "update_max_resolved_deactivations",
2264
- "discriminator": [
2265
- 231,
2266
- 111,
2267
- 22,
2268
- 0,
2269
- 70,
2270
- 141,
2271
- 42,
2272
- 204
2273
- ],
2274
- "accounts": [
2275
- {
2276
- "name": "transients_tracking",
2277
- "writable": true
2278
- }
2279
- ],
2280
- "args": [
2281
- {
2282
- "name": "vote_account",
2283
- "type": "pubkey"
2284
- },
2285
- {
2286
- "name": "new_value",
2287
- "type": "u16"
2288
- }
2289
- ]
2290
- },
2291
- {
2292
- "name": "update_max_resolved_stake",
2293
- "discriminator": [
2294
- 241,
2295
- 21,
2296
- 28,
2297
- 14,
2298
- 58,
2299
- 11,
2300
- 76,
2301
- 44
2302
- ],
2303
- "accounts": [
2304
- {
2305
- "name": "transients_tracking",
2306
- "writable": true
2307
- }
2308
- ],
2309
- "args": [
2310
- {
2311
- "name": "vote_account",
2312
- "type": "pubkey"
2313
- },
2314
- {
2315
- "name": "new_value",
2316
- "type": "u16"
2317
- }
2318
- ]
2319
- },
2320
- {
2321
- "name": "update_price_bounds",
2322
- "discriminator": [
2323
- 241,
2324
- 116,
2325
- 141,
2326
- 65,
2327
- 61,
2328
- 95,
2329
- 232,
2330
- 28
2331
- ],
2332
- "accounts": [
2333
- {
2334
- "name": "admin",
2335
- "writable": true,
2336
- "signer": true
2337
- },
2338
- {
2339
- "name": "tranche_state",
2340
- "writable": true
2341
- },
2342
- {
2343
- "name": "price_history",
2344
- "writable": true
2345
- },
2346
- {
2347
- "name": "system_program"
2348
- }
2349
- ],
2350
- "args": [
2351
- {
2352
- "name": "min_price_usd",
2353
- "type": "i128"
2354
- },
2355
- {
2356
- "name": "max_price_usd",
2357
- "type": "i128"
2358
- },
2359
- {
2360
- "name": "max_staleness_seconds",
2361
- "type": "i64"
2362
- }
2363
- ]
2364
- },
2365
- {
2366
- "name": "update_stake_state_on_sync",
2367
- "docs": [
2368
- "Done///"
2369
- ],
2370
- "discriminator": [
2371
- 146,
2372
- 155,
2373
- 114,
2374
- 27,
2375
- 121,
2376
- 60,
2377
- 159,
2378
- 234
2379
- ],
2380
- "accounts": [
2381
- {
2382
- "name": "admin",
2383
- "signer": true
2384
- },
2385
- {
2386
- "name": "stake_metrics",
2387
- "writable": true
2388
- },
2389
- {
2390
- "name": "epoch_state",
2391
- "writable": true
2392
- },
2393
- {
2394
- "name": "payout_state",
2395
- "writable": true
2396
- },
2397
- {
2398
- "name": "processing_state",
2399
- "writable": true
2400
- },
2401
- {
2402
- "name": "validator_registry",
2403
- "writable": true
2404
- },
2405
- {
2406
- "name": "pay_cycle",
2407
- "writable": true
2408
- }
2409
- ],
2410
- "args": []
2411
- },
2412
- {
2413
- "name": "update_transients_tracking",
2414
- "discriminator": [
2415
- 146,
2416
- 77,
2417
- 164,
2418
- 79,
2419
- 174,
2420
- 67,
2421
- 108,
2422
- 106
2423
- ],
2424
- "accounts": [
2425
- {
2426
- "name": "transients_tracking",
2427
- "writable": true
2428
- }
2429
- ],
2430
- "args": [
2431
- {
2432
- "name": "vote_account",
2433
- "type": "pubkey"
2434
- },
2435
- {
2436
- "name": "params",
2437
- "type": {
2438
- "defined": {
2439
- "name": "TransientUpdateParams"
2440
- }
2441
- }
2442
- }
2443
- ]
2444
- },
2445
- {
2446
- "name": "update_user",
2447
- "discriminator": [
2448
- 9,
2449
- 2,
2450
- 160,
2451
- 169,
2452
- 118,
2453
- 12,
2454
- 207,
2455
- 84
2456
- ],
2457
- "accounts": [
2458
- {
2459
- "name": "user",
2460
- "writable": true
2461
- },
2462
- {
2463
- "name": "user_ata",
2464
- "writable": true
2465
- },
2466
- {
2467
- "name": "user_record",
2468
- "writable": true
2469
- },
2470
- {
2471
- "name": "authority",
2472
- "docs": [
2473
- "Authority that can update this user record",
2474
- "- For manual registration: user's keypair",
2475
- "- For deposit flow: deposit program's program_authority PDA"
2476
- ],
2477
- "signer": true
2478
- },
2479
- {
2480
- "name": "payer",
2481
- "docs": [
2482
- "Payer for the user record PDA creation (always the user)"
2483
- ],
2484
- "writable": true,
2485
- "signer": true
2486
- },
2487
- {
2488
- "name": "distribution_state",
2489
- "writable": true
2490
- },
2491
- {
2492
- "name": "liqsol_mint"
2493
- },
2494
- {
2495
- "name": "instructions_sysvar"
2496
- },
2497
- {
2498
- "name": "token_program"
2499
- },
2500
- {
2501
- "name": "pay_rate_history"
2502
- },
2503
- {
2504
- "name": "bucket_authority"
2505
- },
2506
- {
2507
- "name": "bucket_token_account",
2508
- "docs": [
2509
- "The bucket's associated token account holding liq"
2510
- ],
2511
- "writable": true
2512
- },
2513
- {
2514
- "name": "system_program"
2515
- }
2516
- ],
2517
- "args": []
2518
- },
2519
- {
2520
- "name": "withdraw_stake",
2521
- "discriminator": [
2522
- 153,
2523
- 8,
2524
- 22,
2525
- 138,
2526
- 105,
2527
- 176,
2528
- 87,
2529
- 66
2530
- ],
2531
- "accounts": [
2532
- {
2533
- "name": "user",
2534
- "writable": true,
2535
- "signer": true
2536
- },
2537
- {
2538
- "name": "liqsol_mint",
2539
- "writable": true
2540
- },
2541
- {
2542
- "name": "global_state",
2543
- "writable": true
2544
- },
2545
- {
2546
- "name": "user_ata",
2547
- "writable": true
2548
- },
2549
- {
2550
- "name": "pool_authority"
2551
- },
2552
- {
2553
- "name": "liqsol_pool_ata",
2554
- "writable": true
2555
- },
2556
- {
2557
- "name": "warrant_deposit_record",
2558
- "docs": [
2559
- "User's warrant deposit record"
2560
- ],
2561
- "writable": true
2562
- },
2563
- {
2564
- "name": "liqsol_pool_user_record",
2565
- "docs": [
2566
- "Pool's UserRecord in distribution system (for yield tracking)"
2567
- ],
2568
- "writable": true
2569
- },
2570
- {
2571
- "name": "distribution_state",
2572
- "writable": true
2573
- },
2574
- {
2575
- "name": "pay_rate_history"
2576
- },
2577
- {
2578
- "name": "bucket_authority"
2579
- },
2580
- {
2581
- "name": "bucket_token_account",
2582
- "docs": [
2583
- "The bucket's associated token account holding liqSOL"
2584
- ],
2585
- "writable": true
2586
- },
2587
- {
2588
- "name": "sol_bucket"
2589
- },
2590
- {
2591
- "name": "token_program"
2592
- },
2593
- {
2594
- "name": "system_program"
2595
- }
2596
- ],
2597
- "args": [
2598
- {
2599
- "name": "amount",
2600
- "type": "u64"
2601
- }
2602
- ]
2603
- }
2604
- ],
2605
- "accounts": [
2606
- {
2607
- "name": "BarConfig",
2608
- "discriminator": [
2609
- 172,
2610
- 166,
2611
- 67,
2612
- 186,
2613
- 146,
2614
- 5,
2615
- 198,
2616
- 67
2617
- ]
2618
- },
2619
- {
2620
- "name": "BondLevel",
2621
- "discriminator": [
2622
- 103,
2623
- 61,
2624
- 221,
2625
- 129,
2626
- 28,
2627
- 118,
2628
- 201,
2629
- 85
2630
- ]
2631
- },
2632
- {
2633
- "name": "BondedActor",
2634
- "discriminator": [
2635
- 127,
2636
- 148,
2637
- 70,
2638
- 241,
2639
- 91,
2640
- 0,
2641
- 3,
2642
- 233
2643
- ]
2644
- },
2645
- {
2646
- "name": "DistributionState",
2647
- "discriminator": [
2648
- 7,
2649
- 25,
2650
- 94,
2651
- 15,
2652
- 208,
2653
- 170,
2654
- 4,
2655
- 103
2656
- ]
2657
- },
2658
- {
2659
- "name": "EpochState",
2660
- "discriminator": [
2661
- 191,
2662
- 63,
2663
- 139,
2664
- 237,
2665
- 144,
2666
- 12,
2667
- 223,
2668
- 210
2669
- ]
2670
- },
2671
- {
2672
- "name": "Global",
2673
- "discriminator": [
2674
- 167,
2675
- 232,
2676
- 232,
2677
- 177,
2678
- 200,
2679
- 108,
2680
- 114,
2681
- 127
2682
- ]
2683
- },
2684
- {
2685
- "name": "GlobalState",
2686
- "discriminator": [
2687
- 163,
2688
- 46,
2689
- 74,
2690
- 168,
2691
- 216,
2692
- 123,
2693
- 133,
2694
- 98
2695
- ]
2696
- },
2697
- {
2698
- "name": "LiqReceiptData",
2699
- "discriminator": [
2700
- 75,
2701
- 119,
2702
- 90,
2703
- 79,
2704
- 25,
2705
- 200,
2706
- 9,
2707
- 46
2708
- ]
2709
- },
2710
- {
2711
- "name": "PayCycle",
2712
- "discriminator": [
2713
- 119,
2714
- 127,
2715
- 39,
2716
- 70,
2717
- 134,
2718
- 173,
2719
- 90,
2720
- 225
2721
- ]
2722
- },
2723
- {
2724
- "name": "PayRateHistory",
2725
- "discriminator": [
2726
- 139,
2727
- 8,
2728
- 65,
2729
- 111,
2730
- 71,
2731
- 41,
2732
- 187,
2733
- 218
2734
- ]
2735
- },
2736
- {
2737
- "name": "PayoutState",
2738
- "discriminator": [
2739
- 106,
2740
- 54,
2741
- 13,
2742
- 167,
2743
- 203,
2744
- 44,
2745
- 168,
2746
- 150
2747
- ]
2748
- },
2749
- {
2750
- "name": "PriceHistory",
2751
- "discriminator": [
2752
- 38,
2753
- 241,
2754
- 40,
2755
- 19,
2756
- 42,
2757
- 228,
2758
- 93,
2759
- 152
2760
- ]
2761
- },
2762
- {
2763
- "name": "ProcessingState",
2764
- "discriminator": [
2765
- 47,
2766
- 15,
2767
- 142,
2768
- 130,
2769
- 245,
2770
- 250,
2771
- 198,
2772
- 161
2773
- ]
2774
- },
2775
- {
2776
- "name": "StakeControllerState",
2777
- "discriminator": [
2778
- 218,
2779
- 168,
2780
- 114,
2781
- 136,
2782
- 80,
2783
- 186,
2784
- 29,
2785
- 218
2786
- ]
2787
- },
2788
- {
2789
- "name": "StakeMetrics",
2790
- "discriminator": [
2791
- 91,
2792
- 84,
2793
- 217,
2794
- 97,
2795
- 98,
2796
- 38,
2797
- 18,
2798
- 143
2799
- ]
2800
- },
2801
- {
2802
- "name": "TokenMetadata",
2803
- "discriminator": [
2804
- 237,
2805
- 215,
2806
- 132,
2807
- 182,
2808
- 24,
2809
- 127,
2810
- 175,
2811
- 173
2812
- ]
2813
- },
2814
- {
2815
- "name": "TrancheState",
2816
- "discriminator": [
2817
- 212,
2818
- 231,
2819
- 254,
2820
- 24,
2821
- 238,
2822
- 63,
2823
- 92,
2824
- 105
2825
- ]
2826
- },
2827
- {
2828
- "name": "UserRecord",
2829
- "discriminator": [
2830
- 210,
2831
- 252,
2832
- 132,
2833
- 218,
2834
- 191,
2835
- 85,
2836
- 173,
2837
- 167
2838
- ]
2839
- },
2840
- {
2841
- "name": "UserWarrantRecord",
2842
- "discriminator": [
2843
- 241,
2844
- 1,
2845
- 155,
2846
- 227,
2847
- 164,
2848
- 252,
2849
- 70,
2850
- 195
2851
- ]
2852
- },
2853
- {
2854
- "name": "UserWithdrawRecord",
2855
- "discriminator": [
2856
- 127,
2857
- 174,
2858
- 233,
2859
- 74,
2860
- 19,
2861
- 123,
2862
- 21,
2863
- 13
2864
- ]
2865
- },
2866
- {
2867
- "name": "ValidatorRegistry",
2868
- "discriminator": [
2869
- 168,
2870
- 113,
2871
- 195,
2872
- 186,
2873
- 62,
2874
- 121,
2875
- 163,
2876
- 230
2877
- ]
2878
- },
2879
- {
2880
- "name": "ValidatorTransientsTracking",
2881
- "discriminator": [
2882
- 120,
2883
- 82,
2884
- 6,
2885
- 162,
2886
- 246,
2887
- 129,
2888
- 133,
2889
- 63
2890
- ]
2891
- },
2892
- {
2893
- "name": "WireReceipt",
2894
- "discriminator": [
2895
- 166,
2896
- 10,
2897
- 172,
2898
- 11,
2899
- 51,
2900
- 126,
2901
- 156,
2902
- 221
2903
- ]
2904
- }
2905
- ],
2906
- "events": [
2907
- {
2908
- "name": "EpochResolved",
2909
- "discriminator": [
2910
- 62,
2911
- 81,
2912
- 212,
2913
- 223,
2914
- 209,
2915
- 104,
2916
- 51,
2917
- 65
2918
- ]
2919
- },
2920
- {
2921
- "name": "StakesMerged",
2922
- "discriminator": [
2923
- 3,
2924
- 16,
2925
- 51,
2926
- 153,
2927
- 152,
2928
- 186,
2929
- 19,
2930
- 97
2931
- ]
2932
- },
2933
- {
2934
- "name": "ValidatorsSyncedEvent",
2935
- "discriminator": [
2936
- 119,
2937
- 121,
2938
- 49,
2939
- 120,
2940
- 230,
2941
- 132,
2942
- 109,
2943
- 214
2944
- ]
2945
- },
2946
- {
2947
- "name": "WithdrawClaimed",
2948
- "discriminator": [
2949
- 77,
2950
- 130,
2951
- 89,
2952
- 38,
2953
- 239,
2954
- 172,
2955
- 174,
2956
- 85
2957
- ]
2958
- },
2959
- {
2960
- "name": "WithdrawRequested",
2961
- "discriminator": [
2962
- 114,
2963
- 16,
2964
- 240,
2965
- 206,
2966
- 93,
2967
- 128,
2968
- 151,
2969
- 39
2970
- ]
2971
- }
2972
- ],
2973
- "errors": [
2974
- {
2975
- "code": 6000,
2976
- "name": "DestinationAccountDoesNotExist",
2977
- "msg": "Destination stake account does not exist"
2978
- },
2979
- {
2980
- "code": 6001,
2981
- "name": "SourceAccountDoesNotExist",
2982
- "msg": "Source stake account does not exist"
2983
- },
2984
- {
2985
- "code": 6002,
2986
- "name": "InvalidDestinationOwner",
2987
- "msg": "Destination account not owned by stake program"
2988
- },
2989
- {
2990
- "code": 6003,
2991
- "name": "InvalidSourceOwner",
2992
- "msg": "Source account not owned by stake program"
2993
- },
2994
- {
2995
- "code": 6004,
2996
- "name": "ClockBorrowFailed",
2997
- "msg": "Failed to borrow clock data"
2998
- },
2999
- {
3000
- "code": 6005,
3001
- "name": "ClockDeserializeFailed",
3002
- "msg": "Failed to deserialize clock"
3003
- },
3004
- {
3005
- "code": 6006,
3006
- "name": "DestinationAnalysisFailed",
3007
- "msg": "Failed to analyze destination stake account"
3008
- },
3009
- {
3010
- "code": 6007,
3011
- "name": "SourceAnalysisFailed",
3012
- "msg": "Failed to analyze source stake account"
3013
- },
3014
- {
3015
- "code": 6008,
3016
- "name": "DestinationStillActivating",
3017
- "msg": "Destination stake is still activating"
3018
- },
3019
- {
3020
- "code": 6009,
3021
- "name": "DestinationDeactivating",
3022
- "msg": "Destination stake is deactivating"
3023
- },
3024
- {
3025
- "code": 6010,
3026
- "name": "SourceStillActivating",
3027
- "msg": "Source stake is still activating"
3028
- },
3029
- {
3030
- "code": 6011,
3031
- "name": "SourceDeactivating",
3032
- "msg": "Source stake is deactivating"
3033
- },
3034
- {
3035
- "code": 6012,
3036
- "name": "DestinationBorrowFailed",
3037
- "msg": "Failed to borrow destination account data"
3038
- },
3039
- {
3040
- "code": 6013,
3041
- "name": "DestinationParseFailed",
3042
- "msg": "Failed to parse destination stake state"
3043
- },
3044
- {
3045
- "code": 6014,
3046
- "name": "SourceBorrowFailed",
3047
- "msg": "Failed to borrow source account data"
3048
- },
3049
- {
3050
- "code": 6015,
3051
- "name": "SourceParseFailed",
3052
- "msg": "Failed to parse source stake state"
3053
- },
3054
- {
3055
- "code": 6016,
3056
- "name": "DifferentValidators",
3057
- "msg": "Stakes are delegated to different validators"
3058
- },
3059
- {
3060
- "code": 6017,
3061
- "name": "DifferentStakers",
3062
- "msg": "Stakes have different staker authorities"
3063
- },
3064
- {
3065
- "code": 6018,
3066
- "name": "DifferentWithdrawers",
3067
- "msg": "Stakes have different withdrawer authorities"
3068
- },
3069
- {
3070
- "code": 6019,
3071
- "name": "AuthoritiesNotFound",
3072
- "msg": "Could not extract authorities from accounts"
3073
- },
3074
- {
3075
- "code": 6020,
3076
- "name": "MergeInstructionFailed",
3077
- "msg": "Merge instruction failed"
3078
- },
3079
- {
3080
- "code": 6021,
3081
- "name": "EpochRewardsActive",
3082
- "msg": "Epoch rewards distribution is active - stake operations blocked"
3083
- },
3084
- {
3085
- "code": 6022,
3086
- "name": "DifferentCreditsObserved",
3087
- "msg": "Stakes have different credits_observed - cannot merge until both earn same rewards"
3088
- }
3089
- ],
3090
- "types": [
3091
- {
3092
- "name": "BarConfig",
3093
- "type": {
3094
- "kind": "struct",
3095
- "fields": [
3096
- {
3097
- "name": "authority",
3098
- "type": "pubkey"
3099
- },
3100
- {
3101
- "name": "min_warmup_cooldown",
3102
- "type": "u64"
3103
- },
3104
- {
3105
- "name": "bump",
3106
- "type": "u8"
3107
- }
3108
- ]
3109
- }
3110
- },
3111
- {
3112
- "name": "BondLevel",
3113
- "type": {
3114
- "kind": "struct",
3115
- "fields": [
3116
- {
3117
- "name": "id",
3118
- "type": {
3119
- "array": [
3120
- "u8",
3121
- 32
3122
- ]
3123
- }
3124
- },
3125
- {
3126
- "name": "warmup_period",
3127
- "type": "u64"
3128
- },
3129
- {
3130
- "name": "cooldown_period",
3131
- "type": "u64"
3132
- },
3133
- {
3134
- "name": "min_receipt_principal",
3135
- "docs": [
3136
- "Minimum principal across WireReceipt buckets (staked + purchased + purchased_with_sol)"
3137
- ],
3138
- "type": "u64"
3139
- },
3140
- {
3141
- "name": "roles",
3142
- "docs": [
3143
- "Roles granted when bonding at this level"
3144
- ],
3145
- "type": {
3146
- "array": [
3147
- {
3148
- "defined": {
3149
- "name": "Role"
3150
- }
3151
- },
3152
- 4
3153
- ]
3154
- }
3155
- },
3156
- {
3157
- "name": "enabled",
3158
- "type": "bool"
3159
- },
3160
- {
3161
- "name": "bump",
3162
- "type": "u8"
3163
- }
3164
- ]
3165
- }
3166
- },
3167
- {
3168
- "name": "BondedActor",
3169
- "type": {
3170
- "kind": "struct",
3171
- "fields": [
3172
- {
3173
- "name": "actor",
3174
- "type": "pubkey"
3175
- },
3176
- {
3177
- "name": "bond_owner",
3178
- "type": "pubkey"
3179
- },
3180
- {
3181
- "name": "wire_receipt",
3182
- "type": "pubkey"
3183
- },
3184
- {
3185
- "name": "bond_level_id",
3186
- "type": {
3187
- "array": [
3188
- "u8",
3189
- 32
3190
- ]
3191
- }
3192
- },
3193
- {
3194
- "name": "bonded_at",
3195
- "type": "i64"
3196
- },
3197
- {
3198
- "name": "unbonded_at",
3199
- "type": "i64"
3200
- },
3201
- {
3202
- "name": "bump",
3203
- "type": "u8"
3204
- }
3205
- ]
3206
- }
3207
- },
3208
- {
3209
- "name": "DistributionState",
3210
- "type": {
3211
- "kind": "struct",
3212
- "fields": [
3213
- {
3214
- "name": "liqsol_mint",
3215
- "type": "pubkey"
3216
- },
3217
- {
3218
- "name": "total_tracked_balance",
3219
- "type": "u64"
3220
- },
3221
- {
3222
- "name": "available_balance",
3223
- "type": "u64"
3224
- },
3225
- {
3226
- "name": "bump",
3227
- "type": "u8"
3228
- }
3229
- ]
3230
- }
3231
- },
3232
- {
3233
- "name": "EpochResolved",
3234
- "type": {
3235
- "kind": "struct",
3236
- "fields": [
3237
- {
3238
- "name": "validator",
3239
- "type": "pubkey"
3240
- },
3241
- {
3242
- "name": "epoch",
3243
- "type": "u64"
3244
- },
3245
- {
3246
- "name": "total_stake_amount",
3247
- "type": "u64"
3248
- },
3249
- {
3250
- "name": "max_index",
3251
- "type": "u32"
3252
- }
3253
- ]
3254
- }
3255
- },
3256
- {
3257
- "name": "EpochState",
3258
- "type": {
3259
- "kind": "struct",
3260
- "fields": [
3261
- {
3262
- "name": "last_updated_global_epoch",
3263
- "type": "u64"
3264
- },
3265
- {
3266
- "name": "last_distribution_epoch",
3267
- "type": {
3268
- "option": "u64"
3269
- }
3270
- },
3271
- {
3272
- "name": "last_distribution_slot",
3273
- "type": {
3274
- "option": "u64"
3275
- }
3276
- },
3277
- {
3278
- "name": "last_deactivation_epoch",
3279
- "type": "u64"
3280
- },
3281
- {
3282
- "name": "last_rebalance_epoch",
3283
- "type": "u64"
3284
- },
3285
- {
3286
- "name": "last_merge_transients_epoch",
3287
- "type": "u64"
3288
- },
3289
- {
3290
- "name": "current_merge_processing_epoch",
3291
- "type": "u64"
3292
- },
3293
- {
3294
- "name": "bump",
3295
- "type": "u8"
3296
- }
3297
- ]
3298
- }
3299
- },
3300
- {
3301
- "name": "Global",
3302
- "docs": [
3303
- "Global operator state. Epoch-based model: receipts are serviceable",
3304
- "when `epoch <= serviceable_epoch` as reported by an external runtime."
3305
- ],
3306
- "type": {
3307
- "kind": "struct",
3308
- "fields": [
3309
- {
3310
- "name": "bump",
3311
- "type": "u8"
3312
- },
3313
- {
3314
- "name": "liqsol_mint",
3315
- "docs": [
3316
- "Token-2022 liqSOL mint burned on withdraw."
3317
- ],
3318
- "type": "pubkey"
3319
- },
3320
- {
3321
- "name": "serviceable_epoch",
3322
- "docs": [
3323
- "Highest epoch that is currently claimable."
3324
- ],
3325
- "type": "u64"
3326
- }
3327
- ]
3328
- }
3329
- },
3330
- {
3331
- "name": "GlobalState",
3332
- "type": {
3333
- "kind": "struct",
3334
- "fields": [
3335
- {
3336
- "name": "admin",
3337
- "type": "pubkey"
3338
- },
3339
- {
3340
- "name": "d_day",
3341
- "docs": [
3342
- "D-Day flag - when true, staking withdrawals are disabled"
3343
- ],
3344
- "type": "bool"
3345
- },
3346
- {
3347
- "name": "refund_active",
3348
- "docs": [
3349
- "Refund flag - when true, users may burn their positions for principal"
3350
- ],
3351
- "type": "bool"
3352
- },
3353
- {
3354
- "name": "deployed_at",
3355
- "docs": [
3356
- "Delay before refunds automatically activate (seconds)"
3357
- ],
3358
- "type": "i64"
3359
- },
3360
- {
3361
- "name": "refund_delay_seconds",
3362
- "type": "i64"
3363
- },
3364
- {
3365
- "name": "paused",
3366
- "docs": [
3367
- "Global pause flag - when true, all operations except refunds are disabled"
3368
- ],
3369
- "type": "bool"
3370
- },
3371
- {
3372
- "name": "total_staked_liqsol",
3373
- "docs": [
3374
- "Aggregate liqSOL staked through warrants (maps to distribution tracked balance)"
3375
- ],
3376
- "type": "u64"
3377
- },
3378
- {
3379
- "name": "total_purchased_liqsol",
3380
- "docs": [
3381
- "Aggregate liqSOL warrant purchases (part of distribution tracked balance)"
3382
- ],
3383
- "type": "u64"
3384
- },
3385
- {
3386
- "name": "total_purchased_sol",
3387
- "docs": [
3388
- "Aggregate raw SOL warrant purchases (custodied in SOL bucket)"
3389
- ],
3390
- "type": "u64"
3391
- },
3392
- {
3393
- "name": "total_shares",
3394
- "docs": [
3395
- "Total shares issued to all users (for share/index yield isolation)"
3396
- ],
3397
- "type": "u64"
3398
- },
3399
- {
3400
- "name": "current_index",
3401
- "docs": [
3402
- "Current share-to-token exchange rate (scaled by INDEX_SCALE = 1e12)",
3403
- "Starts at INDEX_SCALE (1.0) and grows as yield accrues"
3404
- ],
3405
- "type": "u64"
3406
- },
3407
- {
3408
- "name": "last_pool_liqsol_balance",
3409
- "docs": [
3410
- "Last observed liqSOL pool balance (for proportional yield calculation)"
3411
- ],
3412
- "type": "u64"
3413
- },
3414
- {
3415
- "name": "last_pool_sol_balance",
3416
- "docs": [
3417
- "Last observed raw SOL pool balance (for proportional yield calculation)"
3418
- ],
3419
- "type": "u64"
3420
- },
3421
- {
3422
- "name": "yield_accumulated_sol_eq",
3423
- "docs": [
3424
- "Accumulated yield (in equivalent units) available for protocol warrant purchases"
3425
- ],
3426
- "type": "u64"
3427
- },
3428
- {
3429
- "name": "bump",
3430
- "type": "u8"
3431
- }
3432
- ]
3433
- }
3434
- },
3435
- {
3436
- "name": "LiqReceiptData",
3437
- "type": {
3438
- "kind": "struct",
3439
- "fields": [
3440
- {
3441
- "name": "liqports",
3442
- "type": "u64"
3443
- },
3444
- {
3445
- "name": "epoch",
3446
- "type": "u64"
3447
- },
3448
- {
3449
- "name": "fulfilled",
3450
- "type": "bool"
3451
- }
3452
- ]
3453
- }
3454
- },
3455
- {
3456
- "name": "PayCycle",
3457
- "type": {
3458
- "kind": "struct",
3459
- "fields": [
3460
- {
3461
- "name": "epoch",
3462
- "type": "u64"
3463
- },
3464
- {
3465
- "name": "total_yield",
3466
- "type": "u64"
3467
- },
3468
- {
3469
- "name": "timestamp",
3470
- "type": "i64"
3471
- },
3472
- {
3473
- "name": "fulfilled",
3474
- "type": "bool"
3475
- },
3476
- {
3477
- "name": "last_slot_paid_for",
3478
- "type": "u64"
3479
- },
3480
- {
3481
- "name": "bump",
3482
- "type": "u8"
3483
- }
3484
- ]
3485
- }
3486
- },
3487
- {
3488
- "name": "PayRateEntry",
3489
- "type": {
3490
- "kind": "struct",
3491
- "fields": [
3492
- {
3493
- "name": "timestamp",
3494
- "type": "i64"
3495
- },
3496
- {
3497
- "name": "scaled_rate",
3498
- "type": "u64"
3499
- }
3500
- ]
3501
- }
3502
- },
3503
- {
3504
- "name": "PayRateHistory",
3505
- "type": {
3506
- "kind": "struct",
3507
- "fields": [
3508
- {
3509
- "name": "current_index",
3510
- "type": "u16"
3511
- },
3512
- {
3513
- "name": "total_entries_added",
3514
- "type": "u64"
3515
- },
3516
- {
3517
- "name": "entries",
3518
- "type": {
3519
- "vec": {
3520
- "defined": {
3521
- "name": "PayRateEntry"
3522
- }
3523
- }
3524
- }
3525
- },
3526
- {
3527
- "name": "max_entries",
3528
- "type": "u16"
3529
- },
3530
- {
3531
- "name": "bump",
3532
- "type": "u8"
3533
- }
3534
- ]
3535
- }
3536
- },
3537
- {
3538
- "name": "PayoutState",
3539
- "type": {
3540
- "kind": "struct",
3541
- "fields": [
3542
- {
3543
- "name": "total_paid_out_this_epoch",
3544
- "type": "u64"
3545
- },
3546
- {
3547
- "name": "epoch_payout_delta",
3548
- "type": "i64"
3549
- },
3550
- {
3551
- "name": "fees_remaining_to_distribute",
3552
- "type": "u64"
3553
- },
3554
- {
3555
- "name": "fee_payout_per_pc",
3556
- "type": "u64"
3557
- },
3558
- {
3559
- "name": "total_fees_deposited",
3560
- "type": "u64"
3561
- },
3562
- {
3563
- "name": "total_cumulative_payout",
3564
- "type": "u64"
3565
- },
3566
- {
3567
- "name": "bump",
3568
- "type": "u8"
3569
- }
3570
- ]
3571
- }
3572
- },
3573
- {
3574
- "name": "PriceHistory",
3575
- "docs": [
3576
- "Price history for windowed moving average calculations",
3577
- "All prices stored in 8-decimal precision"
3578
- ],
3579
- "type": {
3580
- "kind": "struct",
3581
- "fields": [
3582
- {
3583
- "name": "window_size",
3584
- "docs": [
3585
- "Number of prices to keep in the moving average window"
3586
- ],
3587
- "type": "u8"
3588
- },
3589
- {
3590
- "name": "prices",
3591
- "docs": [
3592
- "Circular buffer of recent prices (fixed size, 8-dec each)"
3593
- ],
3594
- "type": {
3595
- "array": [
3596
- "i128",
3597
- 10
3598
- ]
3599
- }
3600
- },
3601
- {
3602
- "name": "count",
3603
- "docs": [
3604
- "Number of valid entries in the prices array (0-10)"
3605
- ],
3606
- "type": "u8"
3607
- },
3608
- {
3609
- "name": "next_index",
3610
- "type": "u8"
3611
- },
3612
- {
3613
- "name": "bump",
3614
- "type": "u8"
3615
- }
3616
- ]
3617
- }
3618
- },
3619
- {
3620
- "name": "ProcessingState",
3621
- "type": {
3622
- "kind": "struct",
3623
- "fields": [
3624
- {
3625
- "name": "validators_processed_this_epoch",
3626
- "type": "u8"
3627
- },
3628
- {
3629
- "name": "validators_merge_processed_this_epoch",
3630
- "type": "u8"
3631
- },
3632
- {
3633
- "name": "distribution_in_progress",
3634
- "type": "bool"
3635
- },
3636
- {
3637
- "name": "bump",
3638
- "type": "u8"
3639
- }
3640
- ]
3641
- }
3642
- },
3643
- {
3644
- "name": "Role",
3645
- "docs": [
3646
- "Role granted by a bond level"
3647
- ],
3648
- "type": {
3649
- "kind": "struct",
3650
- "fields": [
3651
- {
3652
- "name": "role_id",
3653
- "type": "u64"
3654
- },
3655
- {
3656
- "name": "execution_delay",
3657
- "docs": [
3658
- "Delay in seconds before role becomes active (for time-locked operations)"
3659
- ],
3660
- "type": "u32"
3661
- }
3662
- ]
3663
- }
3664
- },
3665
- {
3666
- "name": "StakeControllerState",
3667
- "type": {
3668
- "kind": "struct",
3669
- "fields": [
3670
- {
3671
- "name": "authority",
3672
- "type": "pubkey"
3673
- },
3674
- {
3675
- "name": "vault_initialized",
3676
- "type": "bool"
3677
- },
3678
- {
3679
- "name": "reserve_pool_initialized",
3680
- "type": "bool"
3681
- },
3682
- {
3683
- "name": "bump",
3684
- "type": "u8"
3685
- }
3686
- ]
3687
- }
3688
- },
3689
- {
3690
- "name": "StakeMetrics",
3691
- "type": {
3692
- "kind": "struct",
3693
- "fields": [
3694
- {
3695
- "name": "current_active_stake",
3696
- "type": "u64"
3697
- },
3698
- {
3699
- "name": "transient_active_stake",
3700
- "type": "u64"
3701
- },
3702
- {
3703
- "name": "actual_system_yield_received",
3704
- "type": "u64"
3705
- },
3706
- {
3707
- "name": "sol_system_pay_rate",
3708
- "type": "u64"
3709
- },
3710
- {
3711
- "name": "bump",
3712
- "type": "u8"
3713
- }
3714
- ]
3715
- }
3716
- },
3717
- {
3718
- "name": "StakesMerged",
3719
- "type": {
3720
- "kind": "struct",
3721
- "fields": [
3722
- {
3723
- "name": "validator",
3724
- "type": "pubkey"
3725
- },
3726
- {
3727
- "name": "epoch",
3728
- "type": "u64"
3729
- },
3730
- {
3731
- "name": "count",
3732
- "type": "u32"
3733
- },
3734
- {
3735
- "name": "amount",
3736
- "type": "u64"
3737
- }
3738
- ]
3739
- }
3740
- },
3741
- {
3742
- "name": "TokenMetadata",
3743
- "type": {
3744
- "kind": "struct",
3745
- "fields": [
3746
- {
3747
- "name": "name",
3748
- "type": "string"
3749
- },
3750
- {
3751
- "name": "symbol",
3752
- "type": "string"
3753
- },
3754
- {
3755
- "name": "uri",
3756
- "type": "string"
3757
- }
3758
- ]
3759
- }
3760
- },
3761
- {
3762
- "name": "TrancheState",
3763
- "docs": [
3764
- "All i128 values use 8-decimal precision (SCALE = 1e8 = 100,000,000)",
3765
- "This matches Chainlink SOL/USD's native format, avoiding conversion overhead",
3766
- "Example: $193.32 is stored as 19332000000"
3767
- ],
3768
- "type": {
3769
- "kind": "struct",
3770
- "fields": [
3771
- {
3772
- "name": "admin",
3773
- "docs": [
3774
- "Admin authority (can update growth parameters and price bounds)"
3775
- ],
3776
- "type": "pubkey"
3777
- },
3778
- {
3779
- "name": "current_tranche_number",
3780
- "type": "u64"
3781
- },
3782
- {
3783
- "name": "current_tranche_supply",
3784
- "type": "i128"
3785
- },
3786
- {
3787
- "name": "current_tranche_price_usd",
3788
- "type": "i128"
3789
- },
3790
- {
3791
- "name": "total_warrants_sold",
3792
- "type": "i128"
3793
- },
3794
- {
3795
- "name": "initial_tranche_supply",
3796
- "type": "i128"
3797
- },
3798
- {
3799
- "name": "supply_growth_bps",
3800
- "docs": [
3801
- "Supply growth in basis points (e.g., 100 = 1%, max 10000)"
3802
- ],
3803
- "type": "u16"
3804
- },
3805
- {
3806
- "name": "price_growth_bps",
3807
- "docs": [
3808
- "Price growth in basis points (e.g., 200 = 2%, max 10000)"
3809
- ],
3810
- "type": "u16"
3811
- },
3812
- {
3813
- "name": "min_price_usd",
3814
- "docs": [
3815
- "Minimum valid SOL/USD price for validation (8-dec)"
3816
- ],
3817
- "type": "i128"
3818
- },
3819
- {
3820
- "name": "max_price_usd",
3821
- "docs": [
3822
- "Maximum valid SOL/USD price for validation (8-dec)"
3823
- ],
3824
- "type": "i128"
3825
- },
3826
- {
3827
- "name": "max_staleness_seconds",
3828
- "docs": [
3829
- "Maximum staleness in seconds for Chainlink data"
3830
- ],
3831
- "type": "i64"
3832
- },
3833
- {
3834
- "name": "chainlink_program",
3835
- "docs": [
3836
- "Chainlink program address"
3837
- ],
3838
- "type": "pubkey"
3839
- },
3840
- {
3841
- "name": "chainlink_feed",
3842
- "docs": [
3843
- "Chainlink price feed PDA"
3844
- ],
3845
- "type": "pubkey"
3846
- },
3847
- {
3848
- "name": "bump",
3849
- "type": "u8"
3850
- }
3851
- ]
3852
- }
3853
- },
3854
- {
3855
- "name": "TransientStakeEntry",
3856
- "type": {
3857
- "kind": "struct",
3858
- "fields": [
3859
- {
3860
- "name": "vote_account",
3861
- "type": "pubkey"
3862
- },
3863
- {
3864
- "name": "max_resolved_epoch_deactivations",
3865
- "type": "u16"
3866
- },
3867
- {
3868
- "name": "max_resolved_activating_stake",
3869
- "type": "u16"
3870
- },
3871
- {
3872
- "name": "last_updated_epoch_activations",
3873
- "type": "u16"
3874
- },
3875
- {
3876
- "name": "last_updated_epoch_deactivations_rebalancing",
3877
- "type": "u16"
3878
- },
3879
- {
3880
- "name": "last_updated_epoch_deactivations_withdrawals",
3881
- "type": "u16"
3882
- },
3883
- {
3884
- "name": "total_deactivation_amount_for_epoch",
3885
- "type": "u64"
3886
- }
3887
- ]
3888
- }
3889
- },
3890
- {
3891
- "name": "TransientUpdateParams",
3892
- "type": {
3893
- "kind": "struct",
3894
- "fields": [
3895
- {
3896
- "name": "max_resolved_epoch_deactivations",
3897
- "type": {
3898
- "option": "u16"
3899
- }
3900
- },
3901
- {
3902
- "name": "max_resolved_activating_stake",
3903
- "type": {
3904
- "option": "u16"
3905
- }
3906
- },
3907
- {
3908
- "name": "last_updated_epoch_activations",
3909
- "type": {
3910
- "option": "u16"
3911
- }
3912
- },
3913
- {
3914
- "name": "last_updated_epoch_deactivations",
3915
- "type": {
3916
- "option": "u16"
3917
- }
3918
- }
3919
- ]
3920
- }
3921
- },
3922
- {
3923
- "name": "UserRecord",
3924
- "type": {
3925
- "kind": "struct",
3926
- "fields": [
3927
- {
3928
- "name": "user_ata",
3929
- "type": "pubkey"
3930
- },
3931
- {
3932
- "name": "tracked_balance",
3933
- "type": "u64"
3934
- },
3935
- {
3936
- "name": "claim_balance",
3937
- "type": "u64"
3938
- },
3939
- {
3940
- "name": "last_claim_timestamp",
3941
- "type": "i64"
3942
- },
3943
- {
3944
- "name": "bump",
3945
- "type": "u8"
3946
- }
3947
- ]
3948
- }
3949
- },
3950
- {
3951
- "name": "UserWarrantRecord",
3952
- "type": {
3953
- "kind": "struct",
3954
- "fields": [
3955
- {
3956
- "name": "user",
3957
- "type": "pubkey"
3958
- },
3959
- {
3960
- "name": "total_sol_deposited",
3961
- "type": "u64"
3962
- },
3963
- {
3964
- "name": "total_warrants_purchased",
3965
- "type": "i128"
3966
- },
3967
- {
3968
- "name": "last_tranche_number",
3969
- "type": "u64"
3970
- },
3971
- {
3972
- "name": "last_tranche_price_usd",
3973
- "type": "i128"
3974
- },
3975
- {
3976
- "name": "bump",
3977
- "type": "u8"
3978
- }
3979
- ]
3980
- }
3981
- },
3982
- {
3983
- "name": "UserWithdrawRecord",
3984
- "type": {
3985
- "kind": "struct",
3986
- "fields": [
3987
- {
3988
- "name": "bump",
3989
- "type": "u8"
3990
- },
3991
- {
3992
- "name": "tracked_balance",
3993
- "type": "u64"
3994
- }
3995
- ]
3996
- }
3997
- },
3998
- {
3999
- "name": "ValidatorInfo",
4000
- "type": {
4001
- "kind": "struct",
4002
- "fields": [
4003
- {
4004
- "name": "vote_account",
4005
- "type": "pubkey"
4006
- },
4007
- {
4008
- "name": "vpp",
4009
- "type": "u8"
4010
- },
4011
- {
4012
- "name": "current_active_stake",
4013
- "type": "u64"
4014
- },
4015
- {
4016
- "name": "epoch_reward",
4017
- "type": "u64"
4018
- },
4019
- {
4020
- "name": "transient_active_stake",
4021
- "type": "u64"
4022
- },
4023
- {
4024
- "name": "last_chain_sync_epoch",
4025
- "type": "u16"
4026
- }
4027
- ]
4028
- }
4029
- },
4030
- {
4031
- "name": "ValidatorMetrics",
4032
- "type": {
4033
- "kind": "struct",
4034
- "fields": [
4035
- {
4036
- "name": "commission",
4037
- "type": "u8"
4038
- },
4039
- {
4040
- "name": "skip_rate_bps",
4041
- "type": "u32"
4042
- },
4043
- {
4044
- "name": "is_delinquent",
4045
- "type": "bool"
4046
- },
4047
- {
4048
- "name": "activated_stake",
4049
- "type": "u64"
4050
- }
4051
- ]
4052
- }
4053
- },
4054
- {
4055
- "name": "ValidatorRegistry",
4056
- "type": {
4057
- "kind": "struct",
4058
- "fields": [
4059
- {
4060
- "name": "authority",
4061
- "type": "pubkey"
4062
- },
4063
- {
4064
- "name": "validators",
4065
- "type": {
4066
- "vec": {
4067
- "defined": {
4068
- "name": "ValidatorInfo"
4069
- }
4070
- }
4071
- }
4072
- },
4073
- {
4074
- "name": "last_update_epoch",
4075
- "type": "u64"
4076
- },
4077
- {
4078
- "name": "bump",
4079
- "type": "u8"
4080
- }
4081
- ]
4082
- }
4083
- },
4084
- {
4085
- "name": "ValidatorTransientsTracking",
4086
- "type": {
4087
- "kind": "struct",
4088
- "fields": [
4089
- {
4090
- "name": "entries",
4091
- "type": {
4092
- "vec": {
4093
- "defined": {
4094
- "name": "TransientStakeEntry"
4095
- }
4096
- }
4097
- }
4098
- },
4099
- {
4100
- "name": "count",
4101
- "type": "u16"
4102
- },
4103
- {
4104
- "name": "bump",
4105
- "type": "u8"
4106
- }
4107
- ]
4108
- }
4109
- },
4110
- {
4111
- "name": "ValidatorsSyncedEvent",
4112
- "type": {
4113
- "kind": "struct",
4114
- "fields": [
4115
- {
4116
- "name": "updated_count",
4117
- "type": "u32"
4118
- },
4119
- {
4120
- "name": "not_found_count",
4121
- "type": "u32"
4122
- },
4123
- {
4124
- "name": "epoch",
4125
- "type": "u64"
4126
- }
4127
- ]
4128
- }
4129
- },
4130
- {
4131
- "name": "WireReceipt",
4132
- "type": {
4133
- "kind": "struct",
4134
- "fields": [
4135
- {
4136
- "name": "user",
4137
- "type": "pubkey"
4138
- },
4139
- {
4140
- "name": "staked_liqsol",
4141
- "docs": [
4142
- "STAKE deposits (withdrawable pre-D-Day)",
4143
- "Principal amount staked (for display/tracking)"
4144
- ],
4145
- "type": "u64"
4146
- },
4147
- {
4148
- "name": "staked_shares",
4149
- "docs": [
4150
- "Shares from staking (actual accounting for yield isolation)"
4151
- ],
4152
- "type": "u64"
4153
- },
4154
- {
4155
- "name": "purchased_liqsol",
4156
- "docs": [
4157
- "WARRANT_PURCHASE deposits with liqSOL (permanent)",
4158
- "Principal amount spent on warrants (for display/tracking)"
4159
- ],
4160
- "type": "u64"
4161
- },
4162
- {
4163
- "name": "purchased_shares",
4164
- "docs": [
4165
- "Shares from liqSOL warrant purchases (actual accounting for yield isolation)"
4166
- ],
4167
- "type": "u64"
4168
- },
4169
- {
4170
- "name": "purchased_with_sol",
4171
- "docs": [
4172
- "WARRANT_PURCHASE deposits with raw SOL (permanent, separate settlement)",
4173
- "Principal amount in lamports spent on warrants"
4174
- ],
4175
- "type": "u64"
4176
- },
4177
- {
4178
- "name": "purchased_sol_shares",
4179
- "docs": [
4180
- "Shares from SOL warrant purchases (actual accounting for yield isolation)"
4181
- ],
4182
- "type": "u64"
4183
- },
4184
- {
4185
- "name": "locked",
4186
- "docs": [
4187
- "True when WireReceipt is locked by an active bond (prevents withdrawals)"
4188
- ],
4189
- "type": "bool"
4190
- },
4191
- {
4192
- "name": "bump",
4193
- "type": "u8"
4194
- }
4195
- ]
4196
- }
4197
- },
4198
- {
4199
- "name": "WithdrawClaimed",
4200
- "type": {
4201
- "kind": "struct",
4202
- "fields": [
4203
- {
4204
- "name": "epoch",
4205
- "type": "u64"
4206
- },
4207
- {
4208
- "name": "amount",
4209
- "type": "u64"
4210
- },
4211
- {
4212
- "name": "user",
4213
- "type": "pubkey"
4214
- }
4215
- ]
4216
- }
4217
- },
4218
- {
4219
- "name": "WithdrawRequested",
4220
- "type": {
4221
- "kind": "struct",
4222
- "fields": [
4223
- {
4224
- "name": "epoch",
4225
- "type": "u64"
4226
- },
4227
- {
4228
- "name": "amount",
4229
- "type": "u64"
4230
- },
4231
- {
4232
- "name": "user",
4233
- "type": "pubkey"
4234
- }
4235
- ]
4236
- }
4237
- }
4238
- ]
4239
- }