@wireio/stake 1.1.69 → 1.3.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 (201) hide show
  1. package/README.md +1 -1
  2. package/lib/stake.browser.js +1385 -91
  3. package/lib/stake.browser.js.map +1 -1
  4. package/lib/stake.d.ts +1085 -137
  5. package/lib/stake.js +1385 -90
  6. package/lib/stake.js.map +1 -1
  7. package/lib/stake.m.js +1385 -91
  8. package/lib/stake.m.js.map +1 -1
  9. package/package.json +1 -1
  10. package/src/assets/ethereum/hoodi/common/Base58.sol/Base58.dbg.json +1 -1
  11. package/src/assets/ethereum/hoodi/common/OpenZepArtifacts.sol/__Dummy_OZ_UUPS__.dbg.json +1 -1
  12. package/src/assets/ethereum/hoodi/common/RestrictedCallers.sol/RestrictedCallers.dbg.json +1 -1
  13. package/src/assets/ethereum/hoodi/common/iodata.sol/iodata.dbg.json +1 -1
  14. package/src/assets/ethereum/hoodi/common/iodata_util.sol/iodata_util.dbg.json +1 -1
  15. package/src/assets/ethereum/hoodi/common/sysio_data.sol/sysio_data.dbg.json +1 -1
  16. package/src/assets/ethereum/hoodi/common/sysio_errors.sol/sysio_errors.dbg.json +1 -1
  17. package/src/assets/ethereum/hoodi/common/sysio_merkle.sol/sysio_merkle.dbg.json +1 -1
  18. package/src/assets/ethereum/hoodi/common/sysio_name.sol/sysio_name.dbg.json +1 -1
  19. package/src/assets/ethereum/hoodi/common/sysio_pubkey.sol/sysio_pubkey.dbg.json +1 -1
  20. package/src/assets/ethereum/hoodi/common/sysio_read.sol/sysio_read.dbg.json +1 -1
  21. package/src/assets/ethereum/hoodi/common/sysio_tester.sol/SysioTester.dbg.json +1 -1
  22. package/src/assets/ethereum/hoodi/common/sysio_verify.sol/sysio_verify.dbg.json +1 -1
  23. package/src/assets/ethereum/hoodi/common/sysio_write.sol/sysio_write.dbg.json +1 -1
  24. package/src/assets/ethereum/hoodi/liqEth/BeaconState.sol/BeaconState.dbg.json +1 -1
  25. package/src/assets/ethereum/hoodi/liqEth/DepositManager.sol/DepositManagerV2.dbg.json +1 -1
  26. package/src/assets/ethereum/hoodi/liqEth/LiqEthAuthority.sol/LiqEthAuthority.dbg.json +1 -1
  27. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IAccounting.dbg.json +1 -1
  28. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IDepositContract.dbg.json +1 -1
  29. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IDepositManager.dbg.json +1 -1
  30. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/ILiqEthUpgradeable.dbg.json +1 -1
  31. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IRewardsERC20.dbg.json +1 -1
  32. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IRewardsERC20Pausable.dbg.json +1 -1
  33. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IStakingModule.dbg.json +1 -1
  34. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IValidatorBalanceVerifier.dbg.json +1 -1
  35. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IWithdrawalRecord.dbg.json +1 -1
  36. package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/LiqEthCommon.dbg.json +1 -1
  37. package/src/assets/ethereum/hoodi/liqEth/LiqEthDeepFreeze.sol/LiqEthDeepFreeze.dbg.json +1 -1
  38. package/src/assets/ethereum/hoodi/liqEth/LiqEthManaged.sol/LiqEthManaged.dbg.json +1 -1
  39. package/src/assets/ethereum/hoodi/liqEth/RewardsERC20.sol/RewardsERC20UpgradeableV2.dbg.json +1 -1
  40. package/src/assets/ethereum/hoodi/liqEth/RewardsERC20Pausable.sol/RewardsERC20PausableUpgradeableV2.dbg.json +1 -1
  41. package/src/assets/ethereum/hoodi/liqEth/Yield.sol/YieldOracle.dbg.json +1 -1
  42. package/src/assets/ethereum/hoodi/liqEth/accounting.sol/AccountingV2.dbg.json +1 -1
  43. package/src/assets/ethereum/hoodi/liqEth/liqEth.sol/LiqEthTokenV2.dbg.json +1 -1
  44. package/src/assets/ethereum/hoodi/liqEth/stakingModule.sol/StakingModuleV2.dbg.json +1 -1
  45. package/src/assets/ethereum/hoodi/liqEth/v1/DepositManager.sol/DepositManager.dbg.json +1 -1
  46. package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/IAccounting.dbg.json +1 -1
  47. package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/IDepositContract.dbg.json +1 -1
  48. package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/IDepositManager.dbg.json +1 -1
  49. package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/ILiqEthUpgradeable.dbg.json +1 -1
  50. package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/IRewardsERC20.dbg.json +1 -1
  51. package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/IRewardsERC20Pausable.dbg.json +1 -1
  52. package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/IStakingModule.dbg.json +1 -1
  53. package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/IValidatorBalanceVerifier.dbg.json +1 -1
  54. package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/IWithdrawalRecord.dbg.json +1 -1
  55. package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/LiqEthCommon.dbg.json +1 -1
  56. package/src/assets/ethereum/hoodi/liqEth/v1/RewardsERC20.sol/RewardsERC20Upgradeable.dbg.json +1 -1
  57. package/src/assets/ethereum/hoodi/liqEth/v1/RewardsERC20Pausable.sol/RewardsERC20PausableUpgradeable.dbg.json +1 -1
  58. package/src/assets/ethereum/hoodi/liqEth/v1/accounting.sol/Accounting.dbg.json +1 -1
  59. package/src/assets/ethereum/hoodi/liqEth/v1/liqEth.sol/LiqEthToken.dbg.json +1 -1
  60. package/src/assets/ethereum/hoodi/liqEth/v1/stakingModule.sol/StakingModule.dbg.json +1 -1
  61. package/src/assets/ethereum/hoodi/liqEth/withdrawalQueue.sol/WithdrawalQueue.dbg.json +1 -1
  62. package/src/assets/ethereum/hoodi/liqEth/withdrawalVault.sol/Uint64BE.dbg.json +1 -1
  63. package/src/assets/ethereum/hoodi/liqEth/withdrawalVault.sol/WithdrawalVault.dbg.json +1 -1
  64. package/src/assets/ethereum/hoodi/outpost/BAR.sol/BAR.dbg.json +1 -1
  65. package/src/assets/ethereum/hoodi/outpost/BAR.sol/BAR.json +45 -2
  66. package/src/assets/ethereum/hoodi/outpost/Depositor.sol/Depositor.dbg.json +1 -1
  67. package/src/assets/ethereum/hoodi/outpost/Depositor.sol/Depositor.json +45 -2
  68. package/src/assets/ethereum/hoodi/outpost/EthUsdPriceConsumer.sol/AggregatorV3Interface.dbg.json +1 -1
  69. package/src/assets/ethereum/hoodi/outpost/EthUsdPriceConsumer.sol/EthUsdPriceConsumer.dbg.json +1 -1
  70. package/src/assets/ethereum/hoodi/outpost/EthUsdPriceConsumer.sol/EthUsdPriceConsumer.json +2 -2
  71. package/src/assets/ethereum/hoodi/outpost/InstaswapBridgeAttestations.sol/BridgeDepositCodec.dbg.json +1 -1
  72. package/src/assets/ethereum/hoodi/outpost/InstaswapBridgeAttestations.sol/BridgeDepositCodec.json +2 -2
  73. package/src/assets/ethereum/hoodi/outpost/InstaswapBridgeAttestations.sol/BridgeWithdrawCodec.dbg.json +1 -1
  74. package/src/assets/ethereum/hoodi/outpost/InstaswapBridgeAttestations.sol/BridgeWithdrawCodec.json +2 -2
  75. package/src/assets/ethereum/hoodi/outpost/InstaswapBridgeAttestations.sol/BridgeWithdrawConfirmCodec.dbg.json +1 -1
  76. package/src/assets/ethereum/hoodi/outpost/InstaswapBridgeAttestations.sol/BridgeWithdrawConfirmCodec.json +2 -2
  77. package/src/assets/ethereum/hoodi/outpost/InstaswapBridgeAttestations.sol/BridgeWithdrawFailedCodec.dbg.json +1 -1
  78. package/src/assets/ethereum/hoodi/outpost/InstaswapBridgeAttestations.sol/BridgeWithdrawFailedCodec.json +2 -2
  79. package/src/assets/ethereum/hoodi/outpost/InstaswapBridgeAttestations.sol/InstaswapBridgeAttestationTypeLib.dbg.json +1 -1
  80. package/src/assets/ethereum/hoodi/outpost/InstaswapBridgeAttestations.sol/InstaswapBridgeAttestationTypeLib.json +2 -2
  81. package/src/assets/ethereum/hoodi/outpost/LiqEthBridge.sol/IDepositorBridgeHooks.dbg.json +1 -1
  82. package/src/assets/ethereum/hoodi/outpost/LiqEthBridge.sol/LiqEthBridge.dbg.json +1 -1
  83. package/src/assets/ethereum/hoodi/outpost/LiqEthBridge.sol/LiqEthBridge.json +45 -2
  84. package/src/assets/ethereum/hoodi/outpost/OPP.sol/OPP.dbg.json +1 -1
  85. package/src/assets/ethereum/hoodi/outpost/OPP.sol/OPP.json +47 -4
  86. package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/IOPP.dbg.json +1 -1
  87. package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/IOPPEndpoint.dbg.json +1 -1
  88. package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/IOPPInbound.dbg.json +1 -1
  89. package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/IOPPReceiver.dbg.json +1 -1
  90. package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/IOPPSender.dbg.json +1 -1
  91. package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/OPPCommon.dbg.json +1 -1
  92. package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/OPPCommon.json +2 -2
  93. package/src/assets/ethereum/hoodi/outpost/OPPEndpoint.sol/OPPEndpoint.dbg.json +1 -1
  94. package/src/assets/ethereum/hoodi/outpost/OPPEndpoint.sol/OPPEndpoint.json +43 -0
  95. package/src/assets/ethereum/hoodi/outpost/OPPEndpointManaged.sol/OPPEndpointManaged.dbg.json +1 -1
  96. package/src/assets/ethereum/hoodi/outpost/OPPEndpointManaged.sol/OPPEndpointManaged.json +43 -0
  97. package/src/assets/ethereum/hoodi/outpost/OPPEndpointOwnable.sol/OPPEndpointOwnable.dbg.json +1 -1
  98. package/src/assets/ethereum/hoodi/outpost/OPPEndpointOwnable.sol/OPPEndpointOwnable.json +43 -0
  99. package/src/assets/ethereum/hoodi/outpost/OPPErrors.sol/OPPErrors.dbg.json +1 -1
  100. package/src/assets/ethereum/hoodi/outpost/OPPErrors.sol/OPPErrors.json +45 -2
  101. package/src/assets/ethereum/hoodi/outpost/OPPInbound.sol/OPPInbound.dbg.json +1 -1
  102. package/src/assets/ethereum/hoodi/outpost/OPPInbound.sol/OPPInbound.json +109 -15
  103. package/src/assets/ethereum/hoodi/outpost/OPPReceiver.sol/OPPReceiver.dbg.json +1 -1
  104. package/src/assets/ethereum/hoodi/outpost/OPPReceiver.sol/OPPReceiver.json +43 -0
  105. package/src/assets/ethereum/hoodi/outpost/OPPSender.sol/OPPSender.dbg.json +1 -1
  106. package/src/assets/ethereum/hoodi/outpost/OPPSender.sol/OPPSender.json +43 -0
  107. package/src/assets/ethereum/hoodi/outpost/OperatorRegistry.sol/OperatorRegistry.dbg.json +1 -1
  108. package/src/assets/ethereum/hoodi/outpost/OperatorRegistry.sol/OperatorRegistry.json +45 -2
  109. package/src/assets/ethereum/hoodi/outpost/OutpostErrors.sol/OutpostErrors.dbg.json +1 -1
  110. package/src/assets/ethereum/hoodi/outpost/OutpostErrors.sol/OutpostErrors.json +2 -2
  111. package/src/assets/ethereum/hoodi/outpost/OutpostManaged.sol/OutpostManaged.dbg.json +1 -1
  112. package/src/assets/ethereum/hoodi/outpost/OutpostManaged.sol/OutpostManaged.json +2 -2
  113. package/src/assets/ethereum/hoodi/outpost/OutpostManager.sol/OutpostManager.dbg.json +1 -1
  114. package/src/assets/ethereum/hoodi/outpost/OutpostManager.sol/OutpostManager.json +45 -2
  115. package/src/assets/ethereum/hoodi/outpost/OutpostManagerAuthority.sol/OutpostManagerAuthority.dbg.json +1 -1
  116. package/src/assets/ethereum/hoodi/outpost/OutpostManagerAuthority.sol/OutpostManagerAuthority.json +2 -2
  117. package/src/assets/ethereum/hoodi/outpost/OutpostManagerCommon.sol/IOutpostManager.dbg.json +1 -1
  118. package/src/assets/ethereum/hoodi/outpost/OutpostManagerCommon.sol/IOutpostUpgradeable.dbg.json +1 -1
  119. package/src/assets/ethereum/hoodi/outpost/OutpostManagerCommon.sol/OutpostManagerCommon.dbg.json +1 -1
  120. package/src/assets/ethereum/hoodi/outpost/OutpostManagerCommon.sol/OutpostManagerCommon.json +2 -2
  121. package/src/assets/ethereum/hoodi/outpost/OutpostOwnable.sol/OutpostOwnable.dbg.json +1 -1
  122. package/src/assets/ethereum/hoodi/outpost/OutpostOwnable.sol/OutpostOwnable.json +2 -2
  123. package/src/assets/ethereum/hoodi/outpost/OutpostReserve.sol/OutpostReserve.dbg.json +1 -1
  124. package/src/assets/ethereum/hoodi/outpost/OutpostReserve.sol/OutpostReserve.json +45 -2
  125. package/src/assets/ethereum/hoodi/outpost/Pool.sol/Pool.dbg.json +1 -1
  126. package/src/assets/ethereum/hoodi/outpost/Pool.sol/Pool.json +2 -2
  127. package/src/assets/ethereum/hoodi/outpost/Pretoken.sol/Pretoken.dbg.json +1 -1
  128. package/src/assets/ethereum/hoodi/outpost/Pretoken.sol/Pretoken.json +45 -2
  129. package/src/assets/ethereum/hoodi/outpost/ReceiptNFT.sol/ReceiptNFT.dbg.json +1 -1
  130. package/src/assets/ethereum/hoodi/outpost/ReceiptNFT.sol/ReceiptNFT.json +2 -2
  131. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/InstaswapConfirmCodec.dbg.json +1 -1
  132. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/InstaswapConfirmCodec.json +2 -2
  133. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/InstaswapFailedCodec.dbg.json +1 -1
  134. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/InstaswapFailedCodec.json +2 -2
  135. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/InstaswapRequestCodec.dbg.json +1 -1
  136. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/InstaswapRequestCodec.json +2 -2
  137. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/InstaswapSettlementCodec.dbg.json +1 -1
  138. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/InstaswapSettlementCodec.json +2 -2
  139. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/PrincipalExitConfirmCodec.dbg.json +1 -1
  140. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/PrincipalExitConfirmCodec.json +2 -2
  141. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/PrincipalExitFailedCodec.dbg.json +1 -1
  142. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/PrincipalExitFailedCodec.json +2 -2
  143. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/PrincipalExitRequestCodec.dbg.json +1 -1
  144. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/PrincipalExitRequestCodec.json +2 -2
  145. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/PrincipalStakeDeltaCodec.dbg.json +1 -1
  146. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/PrincipalStakeDeltaCodec.json +2 -2
  147. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/WireYieldHubAssetCodec.dbg.json +1 -1
  148. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/WireYieldHubAssetCodec.json +2 -2
  149. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/WireYieldHubAttestationTypeLib.dbg.json +1 -1
  150. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/WireYieldHubAttestationTypeLib.json +2 -2
  151. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/WireYieldHubAttestations.dbg.json +1 -1
  152. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/WireYieldHubAttestations.json +2 -2
  153. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/YieldDepositCodec.dbg.json +1 -1
  154. package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/YieldDepositCodec.json +2 -2
  155. package/src/assets/ethereum/hoodi/outpost/interfaces/IPretoken.sol/IPretoken.dbg.json +1 -1
  156. package/src/assets/ethereum/hoodi/outpost/interfaces/IWarrant.sol/IWarrant.dbg.json +1 -1
  157. package/src/assets/ethereum/hoodi/outpost/token/ERC721EthEquivalentVotesUpgradeable.sol/ERC721EthEquivalentVotesUpgradeable.dbg.json +1 -1
  158. package/src/assets/ethereum/hoodi/outpost/token/IERC721EthEquivalent.sol/IERC721EthEquivalent.dbg.json +1 -1
  159. package/src/assets/ethereum/hoodi/token/ERC1155Token.sol/ERC1155Token.dbg.json +1 -1
  160. package/src/assets/ethereum/hoodi/token/ERC20Token.sol/ERC20Token.dbg.json +1 -1
  161. package/src/assets/ethereum/hoodi/token/ERC721Token.sol/ERC721Token.dbg.json +1 -1
  162. package/src/assets/solana/devnet/idl/liqsol_core.json +774 -16
  163. package/src/assets/solana/devnet/idl/validator_leaderboard.json +161 -0
  164. package/src/assets/solana/devnet/types/liqsol_core.ts +774 -16
  165. package/src/assets/solana/devnet/types/validator_leaderboard.ts +161 -0
  166. package/src/networks/solana/clients/instaswap.client.ts +59 -47
  167. package/src/assets/ethereum/hoodi/WNS/BucketWNS.sol/BucketWNS.dbg.json +0 -4
  168. package/src/assets/ethereum/hoodi/WNS/BucketWNS.sol/BucketWNS.json +0 -699
  169. package/src/assets/ethereum/hoodi/WNS/Challenge.sol/Challenge.dbg.json +0 -4
  170. package/src/assets/ethereum/hoodi/WNS/Challenge.sol/Challenge.json +0 -3139
  171. package/src/assets/ethereum/hoodi/WNS/ChallengeLib.sol/ChallengeLib.dbg.json +0 -4
  172. package/src/assets/ethereum/hoodi/WNS/ChallengeLib.sol/ChallengeLib.json +0 -106
  173. package/src/assets/ethereum/hoodi/WNS/Errors.sol/WNSErrs.dbg.json +0 -4
  174. package/src/assets/ethereum/hoodi/WNS/Errors.sol/WNSErrs.json +0 -180
  175. package/src/assets/ethereum/hoodi/WNS/LiqWNS.sol/LiqWNS.dbg.json +0 -4
  176. package/src/assets/ethereum/hoodi/WNS/LiqWNS.sol/LiqWNS.json +0 -470
  177. package/src/assets/ethereum/hoodi/WNS/SChain.sol/SChain.dbg.json +0 -4
  178. package/src/assets/ethereum/hoodi/WNS/SChain.sol/SChain.json +0 -1983
  179. package/src/assets/ethereum/hoodi/WNS/UTXO.sol/UTXO.dbg.json +0 -4
  180. package/src/assets/ethereum/hoodi/WNS/UTXO.sol/UTXO.json +0 -1231
  181. package/src/assets/ethereum/hoodi/WNS/UTXOio.sol/UTXOio.dbg.json +0 -4
  182. package/src/assets/ethereum/hoodi/WNS/UTXOio.sol/UTXOio.json +0 -1524
  183. package/src/assets/ethereum/hoodi/WNS/WNSCommon.sol/IBucketWNS.dbg.json +0 -4
  184. package/src/assets/ethereum/hoodi/WNS/WNSCommon.sol/IBucketWNS.json +0 -119
  185. package/src/assets/ethereum/hoodi/WNS/WNSCommon.sol/IChallenge.dbg.json +0 -4
  186. package/src/assets/ethereum/hoodi/WNS/WNSCommon.sol/IChallenge.json +0 -374
  187. package/src/assets/ethereum/hoodi/WNS/WNSCommon.sol/ISChain.dbg.json +0 -4
  188. package/src/assets/ethereum/hoodi/WNS/WNSCommon.sol/ISChain.json +0 -865
  189. package/src/assets/ethereum/hoodi/WNS/WNSCommon.sol/IUTXO.dbg.json +0 -4
  190. package/src/assets/ethereum/hoodi/WNS/WNSCommon.sol/IUTXO.json +0 -524
  191. package/src/assets/ethereum/hoodi/WNS/WNSCommon.sol/WNSCommon.dbg.json +0 -4
  192. package/src/assets/ethereum/hoodi/WNS/WNSCommon.sol/WNSCommon.json +0 -10
  193. package/src/assets/ethereum/hoodi/WNS/WithdrawBatch.sol/WithdrawBatch.dbg.json +0 -4
  194. package/src/assets/ethereum/hoodi/WNS/WithdrawBatch.sol/WithdrawBatch.json +0 -1232
  195. package/src/assets/ethereum/hoodi/outpost/MockAggregator.sol/MockAggregator.json +0 -97
  196. package/src/assets/ethereum/hoodi/token/Eman1155.sol/Eman1155.dbg.json +0 -4
  197. package/src/assets/ethereum/hoodi/token/Eman1155.sol/Eman1155.json +0 -560
  198. package/src/assets/ethereum/hoodi/token/Eman20.sol/Eman20.dbg.json +0 -4
  199. package/src/assets/ethereum/hoodi/token/Eman20.sol/Eman20.json +0 -460
  200. package/src/assets/ethereum/hoodi/token/Eman721.sol/Eman721.dbg.json +0 -4
  201. package/src/assets/ethereum/hoodi/token/Eman721.sol/Eman721.json +0 -624
package/lib/stake.d.ts CHANGED
@@ -9074,6 +9074,68 @@ type LiqsolCore = {
9074
9074
  "description": "Created with Anchor";
9075
9075
  };
9076
9076
  "instructions": [
9077
+ {
9078
+ "name": "accumulateUnstakeRequest";
9079
+ "docs": [
9080
+ "Accumulate unstake requests to be processed in next allocation cycle",
9081
+ "Multiple requests can be accumulated before calculating allocations",
9082
+ "Returns the target epoch when this unstake request will be processed",
9083
+ "We should not be able to call this without development feature enabled",
9084
+ ""
9085
+ ];
9086
+ "discriminator": [
9087
+ 24,
9088
+ 73,
9089
+ 69,
9090
+ 139,
9091
+ 36,
9092
+ 209,
9093
+ 105,
9094
+ 252
9095
+ ];
9096
+ "accounts": [
9097
+ {
9098
+ "name": "admin";
9099
+ "writable": true;
9100
+ "signer": true;
9101
+ },
9102
+ {
9103
+ "name": "stakeAllocationState";
9104
+ "docs": [
9105
+ "Stake allocation state - to accumulate pending unstake requests"
9106
+ ];
9107
+ "writable": true;
9108
+ },
9109
+ {
9110
+ "name": "stakeMetrics";
9111
+ "docs": [
9112
+ "Stake metrics - to validate total unstake amount is available"
9113
+ ];
9114
+ },
9115
+ {
9116
+ "name": "maintenanceLedger";
9117
+ "docs": [
9118
+ "Maintenance ledger - to determine target processing epoch"
9119
+ ];
9120
+ },
9121
+ {
9122
+ "name": "globalConfig";
9123
+ "docs": [
9124
+ "Global config for min_unstake_request setting"
9125
+ ];
9126
+ },
9127
+ {
9128
+ "name": "clock";
9129
+ }
9130
+ ];
9131
+ "args": [
9132
+ {
9133
+ "name": "amount";
9134
+ "type": "u64";
9135
+ }
9136
+ ];
9137
+ "returns": "u64";
9138
+ },
9077
9139
  {
9078
9140
  "name": "activateWireLive";
9079
9141
  "discriminator": [
@@ -9164,6 +9226,110 @@ type LiqsolCore = {
9164
9226
  ];
9165
9227
  "args": [];
9166
9228
  },
9229
+ {
9230
+ "name": "addValidatorV2";
9231
+ "docs": [
9232
+ "Add a new validator bbypassing the looking at leaderboard and getting validators form there"
9233
+ ];
9234
+ "discriminator": [
9235
+ 217,
9236
+ 158,
9237
+ 30,
9238
+ 19,
9239
+ 123,
9240
+ 99,
9241
+ 110,
9242
+ 30
9243
+ ];
9244
+ "accounts": [
9245
+ {
9246
+ "name": "authority";
9247
+ "writable": true;
9248
+ "signer": true;
9249
+ },
9250
+ {
9251
+ "name": "activeList";
9252
+ "docs": [
9253
+ "Active list - will add the validator here"
9254
+ ];
9255
+ "writable": true;
9256
+ },
9257
+ {
9258
+ "name": "validatorInfo";
9259
+ "docs": [
9260
+ "Create the validator info account"
9261
+ ];
9262
+ "writable": true;
9263
+ },
9264
+ {
9265
+ "name": "validatorTransient";
9266
+ "docs": [
9267
+ "Create the validator transient account"
9268
+ ];
9269
+ "writable": true;
9270
+ },
9271
+ {
9272
+ "name": "stakeAllocationState";
9273
+ "docs": [
9274
+ "Stake allocation state - to update total_active_vpp when adding validator"
9275
+ ];
9276
+ "writable": true;
9277
+ },
9278
+ {
9279
+ "name": "systemProgram";
9280
+ }
9281
+ ];
9282
+ "args": [
9283
+ {
9284
+ "name": "voteAccount";
9285
+ "type": "pubkey";
9286
+ },
9287
+ {
9288
+ "name": "name";
9289
+ "type": "string";
9290
+ },
9291
+ {
9292
+ "name": "performanceScore";
9293
+ "type": "u8";
9294
+ }
9295
+ ];
9296
+ },
9297
+ {
9298
+ "name": "adminDeleteEpochAssertions";
9299
+ "discriminator": [
9300
+ 211,
9301
+ 16,
9302
+ 0,
9303
+ 217,
9304
+ 53,
9305
+ 105,
9306
+ 192,
9307
+ 45
9308
+ ];
9309
+ "accounts": [
9310
+ {
9311
+ "name": "epochHeader";
9312
+ "docs": [
9313
+ "validating and closing any supplied per-message PDAs."
9314
+ ];
9315
+ "writable": true;
9316
+ },
9317
+ {
9318
+ "name": "admin";
9319
+ "writable": true;
9320
+ "signer": true;
9321
+ },
9322
+ {
9323
+ "name": "globalConfig";
9324
+ }
9325
+ ];
9326
+ "args": [
9327
+ {
9328
+ "name": "epochNumber";
9329
+ "type": "u32";
9330
+ }
9331
+ ];
9332
+ },
9167
9333
  {
9168
9334
  "name": "adminDeleteEpochAttestations";
9169
9335
  "discriminator": [
@@ -9284,6 +9450,43 @@ type LiqsolCore = {
9284
9450
  ];
9285
9451
  "args": [];
9286
9452
  },
9453
+ {
9454
+ "name": "blacklistValidator";
9455
+ "docs": [
9456
+ "Blacklist a validator (user-facing, maintenance will handle graveyard movement)",
9457
+ "UnderPerforming is set automatically when score is updated",
9458
+ "Another serious emergency stop function"
9459
+ ];
9460
+ "discriminator": [
9461
+ 125,
9462
+ 42,
9463
+ 36,
9464
+ 229,
9465
+ 27,
9466
+ 38,
9467
+ 226,
9468
+ 62
9469
+ ];
9470
+ "accounts": [
9471
+ {
9472
+ "name": "validatorInfo";
9473
+ "writable": true;
9474
+ },
9475
+ {
9476
+ "name": "stakeAllocationState";
9477
+ "docs": [
9478
+ "Stake allocation state - to update total_active_vpp when VPP changes"
9479
+ ];
9480
+ "writable": true;
9481
+ }
9482
+ ];
9483
+ "args": [
9484
+ {
9485
+ "name": "voteAccount";
9486
+ "type": "pubkey";
9487
+ }
9488
+ ];
9489
+ },
9287
9490
  {
9288
9491
  "name": "bondRole";
9289
9492
  "discriminator": [
@@ -9652,6 +9855,66 @@ type LiqsolCore = {
9652
9855
  ];
9653
9856
  "args": [];
9654
9857
  },
9858
+ {
9859
+ "name": "closePendingAssertionsForTest";
9860
+ "discriminator": [
9861
+ 229,
9862
+ 108,
9863
+ 58,
9864
+ 223,
9865
+ 235,
9866
+ 102,
9867
+ 243,
9868
+ 163
9869
+ ];
9870
+ "accounts": [
9871
+ {
9872
+ "name": "pendingAttestations";
9873
+ "writable": true;
9874
+ },
9875
+ {
9876
+ "name": "signer";
9877
+ "writable": true;
9878
+ "signer": true;
9879
+ }
9880
+ ];
9881
+ "args": [
9882
+ {
9883
+ "name": "epochNumber";
9884
+ "type": "u32";
9885
+ }
9886
+ ];
9887
+ },
9888
+ {
9889
+ "name": "closePendingAttestationsForTest";
9890
+ "discriminator": [
9891
+ 169,
9892
+ 19,
9893
+ 172,
9894
+ 195,
9895
+ 162,
9896
+ 30,
9897
+ 203,
9898
+ 195
9899
+ ];
9900
+ "accounts": [
9901
+ {
9902
+ "name": "pendingAttestations";
9903
+ "writable": true;
9904
+ },
9905
+ {
9906
+ "name": "signer";
9907
+ "writable": true;
9908
+ "signer": true;
9909
+ }
9910
+ ];
9911
+ "args": [
9912
+ {
9913
+ "name": "epochNumber";
9914
+ "type": "u32";
9915
+ }
9916
+ ];
9917
+ },
9655
9918
  {
9656
9919
  "name": "completeUnbondRole";
9657
9920
  "discriminator": [
@@ -10454,11 +10717,6 @@ type LiqsolCore = {
10454
10717
  "Global config — read opp_required_signature_weight."
10455
10718
  ];
10456
10719
  },
10457
- {
10458
- "name": "signer";
10459
- "writable": true;
10460
- "signer": true;
10461
- },
10462
10720
  {
10463
10721
  "name": "instructions";
10464
10722
  "docs": [
@@ -11182,21 +11440,84 @@ type LiqsolCore = {
11182
11440
  ];
11183
11441
  },
11184
11442
  {
11185
- "name": "instaswapCrossChain";
11443
+ "name": "injectTestYield";
11186
11444
  "discriminator": [
11187
- 66,
11188
- 67,
11189
- 238,
11190
- 187,
11191
- 6,
11192
- 87,
11193
- 65,
11194
- 50
11445
+ 55,
11446
+ 41,
11447
+ 251,
11448
+ 228,
11449
+ 58,
11450
+ 191,
11451
+ 103,
11452
+ 248
11195
11453
  ];
11196
11454
  "accounts": [
11197
11455
  {
11198
- "name": "user";
11199
- "writable": true;
11456
+ "name": "admin";
11457
+ "signer": true;
11458
+ },
11459
+ {
11460
+ "name": "globalConfig";
11461
+ },
11462
+ {
11463
+ "name": "globalState";
11464
+ "writable": true;
11465
+ },
11466
+ {
11467
+ "name": "distributionState";
11468
+ "writable": true;
11469
+ },
11470
+ {
11471
+ "name": "liqsolMint";
11472
+ "writable": true;
11473
+ },
11474
+ {
11475
+ "name": "poolAuthority";
11476
+ },
11477
+ {
11478
+ "name": "liqsolPoolAta";
11479
+ "writable": true;
11480
+ },
11481
+ {
11482
+ "name": "depositAuthority";
11483
+ "writable": true;
11484
+ },
11485
+ {
11486
+ "name": "liqsolProgram";
11487
+ },
11488
+ {
11489
+ "name": "liqsolMintAuthority";
11490
+ },
11491
+ {
11492
+ "name": "instructionsSysvar";
11493
+ },
11494
+ {
11495
+ "name": "tokenProgram";
11496
+ }
11497
+ ];
11498
+ "args": [
11499
+ {
11500
+ "name": "amount";
11501
+ "type": "u64";
11502
+ }
11503
+ ];
11504
+ },
11505
+ {
11506
+ "name": "instaswapCrossChain";
11507
+ "discriminator": [
11508
+ 66,
11509
+ 67,
11510
+ 238,
11511
+ 187,
11512
+ 6,
11513
+ 87,
11514
+ 65,
11515
+ 50
11516
+ ];
11517
+ "accounts": [
11518
+ {
11519
+ "name": "user";
11520
+ "writable": true;
11200
11521
  "signer": true;
11201
11522
  },
11202
11523
  {
@@ -12431,6 +12752,147 @@ type LiqsolCore = {
12431
12752
  ];
12432
12753
  "args": [];
12433
12754
  },
12755
+ {
12756
+ "name": "reportAssertion";
12757
+ "discriminator": [
12758
+ 58,
12759
+ 30,
12760
+ 23,
12761
+ 45,
12762
+ 59,
12763
+ 128,
12764
+ 164,
12765
+ 196
12766
+ ];
12767
+ "accounts": [
12768
+ {
12769
+ "name": "pendingAttestations";
12770
+ "writable": true;
12771
+ },
12772
+ {
12773
+ "name": "oppEpochState";
12774
+ "writable": true;
12775
+ },
12776
+ {
12777
+ "name": "signer";
12778
+ "writable": true;
12779
+ "signer": true;
12780
+ },
12781
+ {
12782
+ "name": "systemProgram";
12783
+ },
12784
+ {
12785
+ "name": "globalConfig";
12786
+ "docs": [
12787
+ "Global config — read opp_max_attestations and opp_max_interval_secs thresholds."
12788
+ ];
12789
+ }
12790
+ ];
12791
+ "args": [
12792
+ {
12793
+ "name": "assertion";
12794
+ "type": {
12795
+ "defined": {
12796
+ "name": "attestation";
12797
+ };
12798
+ };
12799
+ }
12800
+ ];
12801
+ },
12802
+ {
12803
+ "name": "reportAttestation";
12804
+ "discriminator": [
12805
+ 93,
12806
+ 18,
12807
+ 185,
12808
+ 16,
12809
+ 85,
12810
+ 253,
12811
+ 20,
12812
+ 143
12813
+ ];
12814
+ "accounts": [
12815
+ {
12816
+ "name": "pendingAttestations";
12817
+ "writable": true;
12818
+ },
12819
+ {
12820
+ "name": "oppEpochState";
12821
+ "writable": true;
12822
+ },
12823
+ {
12824
+ "name": "signer";
12825
+ "writable": true;
12826
+ "signer": true;
12827
+ },
12828
+ {
12829
+ "name": "systemProgram";
12830
+ },
12831
+ {
12832
+ "name": "globalConfig";
12833
+ "docs": [
12834
+ "Global config — read opp_max_attestations and opp_max_interval_secs thresholds."
12835
+ ];
12836
+ }
12837
+ ];
12838
+ "args": [
12839
+ {
12840
+ "name": "assertion";
12841
+ "type": {
12842
+ "defined": {
12843
+ "name": "attestation";
12844
+ };
12845
+ };
12846
+ }
12847
+ ];
12848
+ },
12849
+ {
12850
+ "name": "reportValidationOperatorAction";
12851
+ "discriminator": [
12852
+ 95,
12853
+ 193,
12854
+ 0,
12855
+ 214,
12856
+ 205,
12857
+ 190,
12858
+ 64,
12859
+ 186
12860
+ ];
12861
+ "accounts": [
12862
+ {
12863
+ "name": "pendingAttestations";
12864
+ "writable": true;
12865
+ },
12866
+ {
12867
+ "name": "oppEpochState";
12868
+ "writable": true;
12869
+ },
12870
+ {
12871
+ "name": "signer";
12872
+ "writable": true;
12873
+ "signer": true;
12874
+ },
12875
+ {
12876
+ "name": "systemProgram";
12877
+ },
12878
+ {
12879
+ "name": "globalConfig";
12880
+ "docs": [
12881
+ "Global config — read opp_max_attestations and opp_max_interval_secs thresholds."
12882
+ ];
12883
+ }
12884
+ ];
12885
+ "args": [
12886
+ {
12887
+ "name": "wireAccount";
12888
+ "type": "string";
12889
+ },
12890
+ {
12891
+ "name": "amount";
12892
+ "type": "u64";
12893
+ }
12894
+ ];
12895
+ },
12434
12896
  {
12435
12897
  "name": "requestUnbondRole";
12436
12898
  "discriminator": [
@@ -12628,71 +13090,332 @@ type LiqsolCore = {
12628
13090
  ];
12629
13091
  },
12630
13092
  {
12631
- "name": "setAdmin";
13093
+ "name": "resetDistributionState";
12632
13094
  "discriminator": [
12633
- 251,
12634
- 163,
12635
- 0,
12636
- 52,
12637
- 91,
12638
- 194,
12639
- 187,
12640
- 92
13095
+ 159,
13096
+ 183,
13097
+ 162,
13098
+ 74,
13099
+ 228,
13100
+ 135,
13101
+ 157,
13102
+ 79
12641
13103
  ];
12642
13104
  "accounts": [
12643
- {
12644
- "name": "globalConfig";
12645
- "writable": true;
12646
- },
12647
13105
  {
12648
13106
  "name": "admin";
12649
13107
  "signer": true;
12650
13108
  },
12651
13109
  {
12652
- "name": "newAuthority";
13110
+ "name": "distributionState";
13111
+ "writable": true;
12653
13112
  }
12654
13113
  ];
12655
13114
  "args": [];
12656
13115
  },
12657
13116
  {
12658
- "name": "setCranky";
13117
+ "name": "resetDistributionUserRecord";
12659
13118
  "discriminator": [
12660
- 232,
12661
- 48,
12662
- 178,
12663
- 74,
12664
- 194,
12665
- 60,
12666
- 143,
12667
- 164
13119
+ 165,
13120
+ 186,
13121
+ 33,
13122
+ 18,
13123
+ 6,
13124
+ 254,
13125
+ 156,
13126
+ 36
12668
13127
  ];
12669
13128
  "accounts": [
12670
- {
12671
- "name": "globalConfig";
12672
- "writable": true;
12673
- },
12674
13129
  {
12675
13130
  "name": "admin";
12676
13131
  "signer": true;
12677
13132
  },
12678
13133
  {
12679
- "name": "newAuthority";
13134
+ "name": "tokenAccount";
13135
+ },
13136
+ {
13137
+ "name": "userRecord";
13138
+ "writable": true;
12680
13139
  }
12681
13140
  ];
12682
13141
  "args": [];
12683
13142
  },
12684
13143
  {
12685
- "name": "setPaused";
13144
+ "name": "resetGlobalState";
12686
13145
  "discriminator": [
12687
- 91,
12688
- 60,
12689
- 125,
12690
- 192,
12691
- 176,
12692
- 225,
12693
- 166,
12694
- 218
12695
- ];
13146
+ 252,
13147
+ 41,
13148
+ 117,
13149
+ 110,
13150
+ 248,
13151
+ 165,
13152
+ 48,
13153
+ 88
13154
+ ];
13155
+ "accounts": [
13156
+ {
13157
+ "name": "admin";
13158
+ "signer": true;
13159
+ },
13160
+ {
13161
+ "name": "globalConfig";
13162
+ },
13163
+ {
13164
+ "name": "globalState";
13165
+ "writable": true;
13166
+ },
13167
+ {
13168
+ "name": "poolAuthority";
13169
+ },
13170
+ {
13171
+ "name": "bucketAuthority";
13172
+ },
13173
+ {
13174
+ "name": "liqsolMint";
13175
+ "writable": true;
13176
+ },
13177
+ {
13178
+ "name": "liqsolPoolAta";
13179
+ "writable": true;
13180
+ },
13181
+ {
13182
+ "name": "bucketTokenAccount";
13183
+ "writable": true;
13184
+ },
13185
+ {
13186
+ "name": "tokenProgram";
13187
+ },
13188
+ {
13189
+ "name": "associatedTokenProgram";
13190
+ }
13191
+ ];
13192
+ "args": [];
13193
+ },
13194
+ {
13195
+ "name": "resetOppPendingForTest";
13196
+ "discriminator": [
13197
+ 233,
13198
+ 188,
13199
+ 101,
13200
+ 78,
13201
+ 36,
13202
+ 169,
13203
+ 153,
13204
+ 55
13205
+ ];
13206
+ "accounts": [
13207
+ {
13208
+ "name": "oppEpochState";
13209
+ "writable": true;
13210
+ },
13211
+ {
13212
+ "name": "signer";
13213
+ "writable": true;
13214
+ "signer": true;
13215
+ }
13216
+ ];
13217
+ "args": [];
13218
+ },
13219
+ {
13220
+ "name": "resetOppStateForTest";
13221
+ "discriminator": [
13222
+ 34,
13223
+ 13,
13224
+ 204,
13225
+ 52,
13226
+ 70,
13227
+ 124,
13228
+ 90,
13229
+ 48
13230
+ ];
13231
+ "accounts": [
13232
+ {
13233
+ "name": "oppEpochState";
13234
+ "writable": true;
13235
+ },
13236
+ {
13237
+ "name": "signer";
13238
+ "writable": true;
13239
+ "signer": true;
13240
+ }
13241
+ ];
13242
+ "args": [];
13243
+ },
13244
+ {
13245
+ "name": "resetPriceHistory";
13246
+ "discriminator": [
13247
+ 213,
13248
+ 231,
13249
+ 155,
13250
+ 139,
13251
+ 248,
13252
+ 60,
13253
+ 67,
13254
+ 199
13255
+ ];
13256
+ "accounts": [
13257
+ {
13258
+ "name": "admin";
13259
+ "writable": true;
13260
+ "signer": true;
13261
+ },
13262
+ {
13263
+ "name": "globalConfig";
13264
+ },
13265
+ {
13266
+ "name": "trancheState";
13267
+ "writable": true;
13268
+ },
13269
+ {
13270
+ "name": "priceHistory";
13271
+ "writable": true;
13272
+ },
13273
+ {
13274
+ "name": "systemProgram";
13275
+ }
13276
+ ];
13277
+ "args": [];
13278
+ },
13279
+ {
13280
+ "name": "resetTrancheState";
13281
+ "discriminator": [
13282
+ 106,
13283
+ 102,
13284
+ 143,
13285
+ 40,
13286
+ 152,
13287
+ 173,
13288
+ 165,
13289
+ 168
13290
+ ];
13291
+ "accounts": [
13292
+ {
13293
+ "name": "admin";
13294
+ "writable": true;
13295
+ "signer": true;
13296
+ },
13297
+ {
13298
+ "name": "globalConfig";
13299
+ },
13300
+ {
13301
+ "name": "trancheState";
13302
+ "writable": true;
13303
+ },
13304
+ {
13305
+ "name": "priceHistory";
13306
+ "writable": true;
13307
+ },
13308
+ {
13309
+ "name": "systemProgram";
13310
+ }
13311
+ ];
13312
+ "args": [];
13313
+ },
13314
+ {
13315
+ "name": "setAdmin";
13316
+ "discriminator": [
13317
+ 251,
13318
+ 163,
13319
+ 0,
13320
+ 52,
13321
+ 91,
13322
+ 194,
13323
+ 187,
13324
+ 92
13325
+ ];
13326
+ "accounts": [
13327
+ {
13328
+ "name": "globalConfig";
13329
+ "writable": true;
13330
+ },
13331
+ {
13332
+ "name": "admin";
13333
+ "signer": true;
13334
+ },
13335
+ {
13336
+ "name": "newAuthority";
13337
+ }
13338
+ ];
13339
+ "args": [];
13340
+ },
13341
+ {
13342
+ "name": "setCranky";
13343
+ "discriminator": [
13344
+ 232,
13345
+ 48,
13346
+ 178,
13347
+ 74,
13348
+ 194,
13349
+ 60,
13350
+ 143,
13351
+ 164
13352
+ ];
13353
+ "accounts": [
13354
+ {
13355
+ "name": "globalConfig";
13356
+ "writable": true;
13357
+ },
13358
+ {
13359
+ "name": "admin";
13360
+ "signer": true;
13361
+ },
13362
+ {
13363
+ "name": "newAuthority";
13364
+ }
13365
+ ];
13366
+ "args": [];
13367
+ },
13368
+ {
13369
+ "name": "setLastStateChangeEpoch";
13370
+ "docs": [
13371
+ "Admin function to directly set last_state_change_epoch (useful for testing cooldowns)"
13372
+ ];
13373
+ "discriminator": [
13374
+ 94,
13375
+ 57,
13376
+ 139,
13377
+ 195,
13378
+ 123,
13379
+ 224,
13380
+ 227,
13381
+ 106
13382
+ ];
13383
+ "accounts": [
13384
+ {
13385
+ "name": "validatorInfo";
13386
+ "writable": true;
13387
+ },
13388
+ {
13389
+ "name": "stakeAllocationState";
13390
+ "docs": [
13391
+ "Stake allocation state - to update total_active_vpp when VPP changes"
13392
+ ];
13393
+ "writable": true;
13394
+ }
13395
+ ];
13396
+ "args": [
13397
+ {
13398
+ "name": "voteAccount";
13399
+ "type": "pubkey";
13400
+ },
13401
+ {
13402
+ "name": "epoch";
13403
+ "type": "u16";
13404
+ }
13405
+ ];
13406
+ },
13407
+ {
13408
+ "name": "setPaused";
13409
+ "discriminator": [
13410
+ 91,
13411
+ 60,
13412
+ 125,
13413
+ 192,
13414
+ 176,
13415
+ 225,
13416
+ 166,
13417
+ 218
13418
+ ];
12696
13419
  "accounts": [
12697
13420
  {
12698
13421
  "name": "admin";
@@ -13236,6 +13959,13 @@ type LiqsolCore = {
13236
13959
  "name": "bridgeState";
13237
13960
  "writable": true;
13238
13961
  },
13962
+ {
13963
+ "name": "outpostAccount";
13964
+ "docs": [
13965
+ "User's pretoken deposit record."
13966
+ ];
13967
+ "writable": true;
13968
+ },
13239
13969
  {
13240
13970
  "name": "extraAccountMetaList";
13241
13971
  },
@@ -13288,6 +14018,34 @@ type LiqsolCore = {
13288
14018
  }
13289
14019
  ];
13290
14020
  },
14021
+ {
14022
+ "name": "testClearActiveList";
14023
+ "discriminator": [
14024
+ 17,
14025
+ 195,
14026
+ 59,
14027
+ 174,
14028
+ 184,
14029
+ 137,
14030
+ 149,
14031
+ 144
14032
+ ];
14033
+ "accounts": [
14034
+ {
14035
+ "name": "activeList";
14036
+ "writable": true;
14037
+ },
14038
+ {
14039
+ "name": "processingState";
14040
+ "writable": true;
14041
+ },
14042
+ {
14043
+ "name": "authority";
14044
+ "signer": true;
14045
+ }
14046
+ ];
14047
+ "args": [];
14048
+ },
13291
14049
  {
13292
14050
  "name": "updateConfigBool";
13293
14051
  "discriminator": [
@@ -17287,48 +18045,209 @@ type ValidatorLeaderboard = {
17287
18045
  ];
17288
18046
  "accounts": [
17289
18047
  {
17290
- "name": "authority";
18048
+ "name": "authority";
18049
+ "writable": true;
18050
+ "signer": true;
18051
+ },
18052
+ {
18053
+ "name": "leaderboardState";
18054
+ "writable": true;
18055
+ },
18056
+ {
18057
+ "name": "systemProgram";
18058
+ }
18059
+ ];
18060
+ "args": [];
18061
+ },
18062
+ {
18063
+ "name": "reallocLeaderboard";
18064
+ "discriminator": [
18065
+ 2,
18066
+ 70,
18067
+ 106,
18068
+ 94,
18069
+ 81,
18070
+ 225,
18071
+ 113,
18072
+ 152
18073
+ ];
18074
+ "accounts": [
18075
+ {
18076
+ "name": "leaderboardState";
18077
+ "writable": true;
18078
+ },
18079
+ {
18080
+ "name": "payer";
18081
+ "writable": true;
18082
+ "signer": true;
18083
+ },
18084
+ {
18085
+ "name": "systemProgram";
18086
+ }
18087
+ ];
18088
+ "args": [];
18089
+ },
18090
+ {
18091
+ "name": "testClearLeaderboard";
18092
+ "discriminator": [
18093
+ 118,
18094
+ 207,
18095
+ 26,
18096
+ 205,
18097
+ 180,
18098
+ 7,
18099
+ 75,
18100
+ 244
18101
+ ];
18102
+ "accounts": [
18103
+ {
18104
+ "name": "leaderboardState";
18105
+ "writable": true;
18106
+ },
18107
+ {
18108
+ "name": "authority";
18109
+ "signer": true;
18110
+ }
18111
+ ];
18112
+ "args": [];
18113
+ },
18114
+ {
18115
+ "name": "testForceRegisterValidator";
18116
+ "discriminator": [
18117
+ 136,
18118
+ 156,
18119
+ 132,
18120
+ 32,
18121
+ 96,
18122
+ 240,
18123
+ 7,
18124
+ 115
18125
+ ];
18126
+ "accounts": [
18127
+ {
18128
+ "name": "registrant";
17291
18129
  "writable": true;
17292
18130
  "signer": true;
17293
18131
  },
18132
+ {
18133
+ "name": "voteAccount";
18134
+ },
18135
+ {
18136
+ "name": "validatorRecord";
18137
+ "writable": true;
18138
+ },
17294
18139
  {
17295
18140
  "name": "leaderboardState";
17296
18141
  "writable": true;
17297
18142
  },
17298
18143
  {
17299
18144
  "name": "systemProgram";
18145
+ },
18146
+ {
18147
+ "name": "clock";
18148
+ }
18149
+ ];
18150
+ "args": [
18151
+ {
18152
+ "name": "vpp";
18153
+ "type": "u8";
17300
18154
  }
17301
18155
  ];
17302
- "args": [];
17303
18156
  },
17304
18157
  {
17305
- "name": "reallocLeaderboard";
18158
+ "name": "testForceUpdateVpp";
17306
18159
  "discriminator": [
17307
- 2,
17308
- 70,
17309
- 106,
17310
- 94,
17311
- 81,
17312
- 225,
17313
- 113,
17314
- 152
18160
+ 67,
18161
+ 51,
18162
+ 28,
18163
+ 174,
18164
+ 200,
18165
+ 214,
18166
+ 203,
18167
+ 162
17315
18168
  ];
17316
18169
  "accounts": [
17317
18170
  {
17318
- "name": "leaderboardState";
18171
+ "name": "registrant";
17319
18172
  "writable": true;
18173
+ "signer": true;
17320
18174
  },
17321
18175
  {
17322
- "name": "payer";
18176
+ "name": "voteAccount";
18177
+ },
18178
+ {
18179
+ "name": "validatorRecord";
17323
18180
  "writable": true;
17324
- "signer": true;
17325
18181
  },
17326
18182
  {
17327
- "name": "systemProgram";
18183
+ "name": "leaderboardState";
18184
+ "writable": true;
18185
+ }
18186
+ ];
18187
+ "args": [
18188
+ {
18189
+ "name": "vpp";
18190
+ "type": "u8";
17328
18191
  }
17329
18192
  ];
18193
+ },
18194
+ {
18195
+ "name": "testLogEpochInfo";
18196
+ "discriminator": [
18197
+ 196,
18198
+ 206,
18199
+ 58,
18200
+ 88,
18201
+ 160,
18202
+ 47,
18203
+ 2,
18204
+ 153
18205
+ ];
18206
+ "accounts": [];
17330
18207
  "args": [];
17331
18208
  },
18209
+ {
18210
+ "name": "testSeedRandomValidators";
18211
+ "discriminator": [
18212
+ 48,
18213
+ 155,
18214
+ 181,
18215
+ 112,
18216
+ 163,
18217
+ 242,
18218
+ 43,
18219
+ 146
18220
+ ];
18221
+ "accounts": [
18222
+ {
18223
+ "name": "registrant";
18224
+ "writable": true;
18225
+ "signer": true;
18226
+ },
18227
+ {
18228
+ "name": "leaderboardState";
18229
+ "writable": true;
18230
+ }
18231
+ ];
18232
+ "args": [
18233
+ {
18234
+ "name": "count";
18235
+ "type": "u16";
18236
+ },
18237
+ {
18238
+ "name": "seed";
18239
+ "type": "u64";
18240
+ },
18241
+ {
18242
+ "name": "minVpp";
18243
+ "type": "u8";
18244
+ },
18245
+ {
18246
+ "name": "maxVpp";
18247
+ "type": "u8";
18248
+ }
18249
+ ];
18250
+ },
17332
18251
  {
17333
18252
  "name": "updateCommission";
17334
18253
  "discriminator": [
@@ -18052,73 +18971,6 @@ declare class DistributionClient {
18052
18971
  getAverageScaledPayRate(windowSize?: number): Promise<BN>;
18053
18972
  }
18054
18973
 
18055
- type SolanaInstaswapSubmitParams = {
18056
- amountLamports: bigint;
18057
- destinationChain: number | string | bigint;
18058
- destinationAddress: Uint8Array;
18059
- minOutLamports: bigint;
18060
- };
18061
- type SolanaInstaswapSubmitHooks = {
18062
- onSubmitted?: (signature: string) => void | Promise<void>;
18063
- };
18064
- type SolanaDepositToWireParams = {
18065
- quantityLamports: bigint;
18066
- recipient: string;
18067
- };
18068
- type SolanaInstaswapConnectedBalances = {
18069
- nativeLamports: string;
18070
- liqsolLamports: string;
18071
- liqsolDecimals: number;
18072
- };
18073
- declare class SolanaInstaswapClient {
18074
- private readonly provider;
18075
- private readonly pgs;
18076
- private readonly submitInstructions?;
18077
- private readonly program;
18078
- private readonly convertClient;
18079
- constructor(provider: AnchorProvider, pgs: SolanaProgramService, submitInstructions?: ((ix: TransactionInstruction | TransactionInstruction[]) => Promise<string>) | undefined);
18080
- submitCrossChain(params: SolanaInstaswapSubmitParams, hooks?: SolanaInstaswapSubmitHooks): Promise<string>;
18081
- depositToWire(params: SolanaDepositToWireParams, hooks?: SolanaInstaswapSubmitHooks): Promise<string>;
18082
- getConnectedBalances(owner?: PublicKey$1 | string): Promise<SolanaInstaswapConnectedBalances>;
18083
- private finalizeReadyEpoch;
18084
- private fetchPendingAttestations;
18085
- private isEpochFinalizationRequired;
18086
- private runRpcWithRecovery;
18087
- private extractTimedOutSignature;
18088
- private waitForSignatureSuccess;
18089
- private resolveOwner;
18090
- private toSafeNumber;
18091
- private sleep;
18092
- private sendInstructions;
18093
- }
18094
-
18095
- /**
18096
- * Simple read client for the validator_leaderboard program.
18097
- *
18098
- * Adjust account names/fields to match your IDL (state, validatorRecord, etc).
18099
- */
18100
- declare class LeaderboardClient {
18101
- private readonly provider;
18102
- private readonly pgs;
18103
- private program;
18104
- constructor(provider: AnchorProvider, pgs: SolanaProgramService);
18105
- getState(): Promise<LeaderboardState | null>;
18106
- getValidatorRecord(voteAccount: PublicKey$1): Promise<ValidatorRecord | null>;
18107
- /**
18108
- * Convenience helper to fetch and return top validators ordered
18109
- * by the on-chain leaderboard scores.
18110
- *
18111
- * Uses:
18112
- * - `leaderboardState.scores`
18113
- * - `leaderboardState.sortedIndices`
18114
- * - `validatorRecord.registryIndex`
18115
- *
18116
- * Fallback: if leaderboardState can't be fetched, we sort by
18117
- * `creditsObserved` descending.
18118
- */
18119
- getTopValidators(limit?: number): Promise<ValidatorRecord[]>;
18120
- }
18121
-
18122
18974
  /** BN | bigint -> bigint helper (keeps code readable) */
18123
18975
  declare function toBigint(x: any): bigint;
18124
18976
  /**
@@ -18234,6 +19086,102 @@ declare function ceilDiv(n: BN, d: BN): BN;
18234
19086
  declare function normalizeToBigInt(x: any): bigint;
18235
19087
  declare const safeFetch: <T>(promise: Promise<T>, label?: string) => Promise<T | null>;
18236
19088
 
19089
+ type SolanaInstaswapSubmitParams = {
19090
+ amountLamports: bigint;
19091
+ destinationChain: number | string | bigint;
19092
+ destinationAddress: Uint8Array;
19093
+ minOutLamports: bigint;
19094
+ };
19095
+ type SolanaInstaswapSubmitHooks = {
19096
+ onSubmitted?: (signature: string) => void | Promise<void>;
19097
+ };
19098
+ type SolanaDepositToWireParams = {
19099
+ quantityLamports: bigint;
19100
+ recipient: string;
19101
+ };
19102
+ type SolanaInstaswapConnectedBalances = {
19103
+ nativeLamports: string;
19104
+ liqsolLamports: string;
19105
+ liqsolDecimals: number;
19106
+ };
19107
+ declare function buildSolanaInstaswapCrossChainAccounts(params: {
19108
+ user: PublicKey$1;
19109
+ accounts: OutpostAccounts;
19110
+ liqsolCoreProgram: PublicKey$1;
19111
+ transferHookProgram: PublicKey$1;
19112
+ pendingAttestations: PublicKey$1;
19113
+ }): {
19114
+ user: PublicKey$1;
19115
+ globalState: PublicKey$1;
19116
+ liqsolMint: PublicKey$1;
19117
+ distributionState: PublicKey$1;
19118
+ userAta: PublicKey$1;
19119
+ senderUserRecord: PublicKey$1;
19120
+ bridgeAuthority: PublicKey$1;
19121
+ bridgeVaultAta: PublicKey$1;
19122
+ bridgeUserRecord: PublicKey$1;
19123
+ bridgeState: PublicKey$1;
19124
+ extraAccountMetaList: PublicKey$1;
19125
+ liqsolCoreProgram: PublicKey$1;
19126
+ transferHookProgram: PublicKey$1;
19127
+ bucketAuthority: PublicKey$1;
19128
+ bucketTokenAccount: PublicKey$1;
19129
+ bucketUserRecord: PublicKey$1;
19130
+ tokenProgram: PublicKey$1;
19131
+ systemProgram: PublicKey$1;
19132
+ globalConfig: PublicKey$1;
19133
+ oppEpochState: PublicKey$1;
19134
+ pendingAttestations: PublicKey$1;
19135
+ };
19136
+ declare class SolanaInstaswapClient {
19137
+ private readonly provider;
19138
+ private readonly pgs;
19139
+ private readonly submitInstructions?;
19140
+ private readonly program;
19141
+ private readonly convertClient;
19142
+ constructor(provider: AnchorProvider, pgs: SolanaProgramService, submitInstructions?: ((ix: TransactionInstruction | TransactionInstruction[]) => Promise<string>) | undefined);
19143
+ submitCrossChain(params: SolanaInstaswapSubmitParams, hooks?: SolanaInstaswapSubmitHooks): Promise<string>;
19144
+ depositToWire(params: SolanaDepositToWireParams, hooks?: SolanaInstaswapSubmitHooks): Promise<string>;
19145
+ getConnectedBalances(owner?: PublicKey$1 | string): Promise<SolanaInstaswapConnectedBalances>;
19146
+ private finalizeReadyEpoch;
19147
+ private fetchPendingAttestations;
19148
+ private isEpochFinalizationRequired;
19149
+ private runRpcWithRecovery;
19150
+ private extractTimedOutSignature;
19151
+ private waitForSignatureSuccess;
19152
+ private resolveOwner;
19153
+ private toSafeNumber;
19154
+ private sleep;
19155
+ private sendInstructions;
19156
+ }
19157
+
19158
+ /**
19159
+ * Simple read client for the validator_leaderboard program.
19160
+ *
19161
+ * Adjust account names/fields to match your IDL (state, validatorRecord, etc).
19162
+ */
19163
+ declare class LeaderboardClient {
19164
+ private readonly provider;
19165
+ private readonly pgs;
19166
+ private program;
19167
+ constructor(provider: AnchorProvider, pgs: SolanaProgramService);
19168
+ getState(): Promise<LeaderboardState | null>;
19169
+ getValidatorRecord(voteAccount: PublicKey$1): Promise<ValidatorRecord | null>;
19170
+ /**
19171
+ * Convenience helper to fetch and return top validators ordered
19172
+ * by the on-chain leaderboard scores.
19173
+ *
19174
+ * Uses:
19175
+ * - `leaderboardState.scores`
19176
+ * - `leaderboardState.sortedIndices`
19177
+ * - `validatorRecord.registryIndex`
19178
+ *
19179
+ * Fallback: if leaderboardState can't be fetched, we sort by
19180
+ * `creditsObserved` descending.
19181
+ */
19182
+ getTopValidators(limit?: number): Promise<ValidatorRecord[]>;
19183
+ }
19184
+
18237
19185
  /**
18238
19186
  * OutpostClient
18239
19187
  *
@@ -18580,5 +19528,5 @@ declare class SolanaStakingClient implements IStakingClient {
18580
19528
  private getSingleTxFeeLamports;
18581
19529
  }
18582
19530
 
18583
- export { ADDRESSES, ADDRESS_BOOK_BY_CHAIN, CHAINLINK_FEED, CHAINLINK_PROGRAM, CONTRACTS_BY_CHAIN, ConvertClient, DEFAULT_AVERAGE_PAY_RATE, DEFAULT_PAY_RATE_LOOKBACK, DistributionClient, EPHEMERAL_RENT_EXEMPTION, ERC1155Abi, ERC20Abi, ERC721Abi, types$1 as ETH, EthereumContractService, EthereumInstaswapClient, EthereumStakingClient, HOODI_ADDRESSES, INDEX_SCALE, INITIAL_TRANCHE_SUPPLY, LAMPORTS_PER_SOL, LeaderboardClient, MAINNET_ADDRESSES, OutpostClient, PAY_RATE_SCALE_FACTOR, PDA_SEEDS, PROGRAM_IDS_BY_CHAIN, PurchaseAsset, ReceiptNFTKind, SCALE, types as SOL, SolanaInstaswapClient, SolanaStakingClient, Staker, SupportedEvmChainID, SupportedSolChainID, TokenClient, airdropSol, buildOutpostAccounts, buildSolanaTrancheLadder, buildSolanaTrancheSnapshot, ceilDiv, deriveEphemeralStakeAddress, generateRandomDepositAmount, generateTestKeypair, getEpochSnapshot, getErrorMessage, getProgramIds, lamportsToSol, msToEpochEnd, normalizeToBigInt, safeFetch, scheduledInstruction, sleep, solToLamports, toBigint, tokensToShares, waitForConfirmation, waitUntilSafeToExecuteFunction };
19531
+ export { ADDRESSES, ADDRESS_BOOK_BY_CHAIN, CHAINLINK_FEED, CHAINLINK_PROGRAM, CONTRACTS_BY_CHAIN, ConvertClient, DEFAULT_AVERAGE_PAY_RATE, DEFAULT_PAY_RATE_LOOKBACK, DistributionClient, EPHEMERAL_RENT_EXEMPTION, ERC1155Abi, ERC20Abi, ERC721Abi, types$1 as ETH, EthereumContractService, EthereumInstaswapClient, EthereumStakingClient, HOODI_ADDRESSES, INDEX_SCALE, INITIAL_TRANCHE_SUPPLY, LAMPORTS_PER_SOL, LeaderboardClient, MAINNET_ADDRESSES, OutpostClient, PAY_RATE_SCALE_FACTOR, PDA_SEEDS, PROGRAM_IDS_BY_CHAIN, PurchaseAsset, ReceiptNFTKind, SCALE, types as SOL, SolanaInstaswapClient, SolanaStakingClient, Staker, SupportedEvmChainID, SupportedSolChainID, TokenClient, airdropSol, buildOutpostAccounts, buildSolanaInstaswapCrossChainAccounts, buildSolanaTrancheLadder, buildSolanaTrancheSnapshot, ceilDiv, deriveEphemeralStakeAddress, generateRandomDepositAmount, generateTestKeypair, getEpochSnapshot, getErrorMessage, getProgramIds, lamportsToSol, msToEpochEnd, normalizeToBigInt, safeFetch, scheduledInstruction, sleep, solToLamports, toBigint, tokensToShares, waitForConfirmation, waitUntilSafeToExecuteFunction };
18584
19532
  export type { BalanceView, ChainSymbol, ContractConfig, ContractOptions, Contracts, EpochSnapshot, EthereumDepositToWireParams, EthereumEnsureLiqEthBalanceParams, EthereumInstaswapConnectedBalances, EthereumInstaswapOutpostAddresses, EthereumInstaswapSubmitHooks, EthereumInstaswapSubmitParams, IStakingClient, OPPAssertion, OutpostAccounts, Portfolio, PurchaseQuote, ScheduleConfig, SolanaDepositToWireParams, SolanaInstaswapConnectedBalances, SolanaInstaswapSubmitHooks, SolanaInstaswapSubmitParams, SolanaProgramIds, SquadsXConfig, StakerConfig, TrancheLadderItem, TrancheSnapshot, WithdrawReceipt$1 as WithdrawReceipt, WithdrawStatus, YieldView };