@wireio/stake 0.0.5 → 0.0.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.
- package/README.md +204 -15
- package/lib/stake.browser.js +69370 -4589
- package/lib/stake.browser.js.map +1 -1
- package/lib/stake.d.ts +17899 -5512
- package/lib/stake.js +70103 -4899
- package/lib/stake.js.map +1 -1
- package/lib/stake.m.js +69370 -4589
- package/lib/stake.m.js.map +1 -1
- package/package.json +6 -3
- package/src/assets/ethereum/hoodi/common/Base58.sol/Base58.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/common/Base58.sol/Base58.json +164 -0
- package/src/assets/ethereum/hoodi/common/OpenZepArtifacts.sol/__Dummy_OZ_UUPS__.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/common/OpenZepArtifacts.sol/__Dummy_OZ_UUPS__.json +76 -0
- package/src/assets/ethereum/hoodi/common/RestrictedCallers.sol/RestrictedCallers.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/common/RestrictedCallers.sol/RestrictedCallers.json +10 -0
- package/src/assets/ethereum/hoodi/common/iodata.sol/iodata.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/common/iodata.sol/iodata.json +618 -0
- package/src/assets/ethereum/hoodi/common/iodata_util.sol/iodata_util.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/common/iodata_util.sol/iodata_util.json +40 -0
- package/src/assets/ethereum/hoodi/common/sysio_data.sol/sysio_data.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/common/sysio_data.sol/sysio_data.json +10 -0
- package/src/assets/ethereum/hoodi/common/sysio_errors.sol/sysio_errors.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/common/sysio_errors.sol/sysio_errors.json +10 -0
- package/src/assets/ethereum/hoodi/common/sysio_merkle.sol/sysio_merkle.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/common/sysio_merkle.sol/sysio_merkle.json +233 -0
- package/src/assets/ethereum/hoodi/common/sysio_name.sol/sysio_name.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/common/sysio_name.sol/sysio_name.json +49 -0
- package/src/assets/ethereum/hoodi/common/sysio_pubkey.sol/sysio_pubkey.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/common/sysio_pubkey.sol/sysio_pubkey.json +64 -0
- package/src/assets/ethereum/hoodi/common/sysio_read.sol/sysio_read.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/common/sysio_read.sol/sysio_read.json +1458 -0
- package/src/assets/ethereum/hoodi/common/sysio_tester.sol/SysioTester.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/common/sysio_tester.sol/SysioTester.json +1532 -0
- package/src/assets/ethereum/hoodi/common/sysio_verify.sol/sysio_verify.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/common/sysio_verify.sol/sysio_verify.json +1525 -0
- package/src/assets/ethereum/hoodi/common/sysio_write.sol/sysio_write.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/common/sysio_write.sol/sysio_write.json +1076 -0
- package/src/assets/ethereum/hoodi/liqEth/BeaconState.sol/BeaconState.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/liqEth/BeaconState.sol/BeaconState.json +807 -0
- package/src/assets/ethereum/hoodi/liqEth/DepositManager.sol/DepositManagerV2.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/liqEth/DepositManager.sol/DepositManagerV2.json +985 -0
- package/src/assets/ethereum/hoodi/liqEth/LiqEthAuthority.sol/LiqEthAuthority.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/liqEth/LiqEthAuthority.sol/LiqEthAuthority.json +1289 -0
- package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IAccounting.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IAccounting.json +182 -0
- package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IDepositContract.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IDepositContract.json +39 -0
- package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IDepositManager.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IDepositManager.json +64 -0
- package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/ILiqEthUpgradeable.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/ILiqEthUpgradeable.json +29 -0
- package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IRewardsERC20.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IRewardsERC20.json +319 -0
- package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IRewardsERC20Pausable.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IRewardsERC20Pausable.json +333 -0
- package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IStakingModule.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IStakingModule.json +344 -0
- package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IValidatorBalanceVerifier.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IValidatorBalanceVerifier.json +129 -0
- package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IWithdrawalRecord.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IWithdrawalRecord.json +66 -0
- package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/LiqEthCommon.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/LiqEthCommon.json +10 -0
- package/src/assets/ethereum/hoodi/liqEth/LiqEthDeepFreeze.sol/LiqEthDeepFreeze.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/liqEth/LiqEthDeepFreeze.sol/LiqEthDeepFreeze.json +236 -0
- package/src/assets/ethereum/hoodi/liqEth/LiqEthManaged.sol/LiqEthManaged.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/liqEth/LiqEthManaged.sol/LiqEthManaged.json +229 -0
- package/src/assets/ethereum/hoodi/liqEth/RewardsERC20.sol/RewardsERC20UpgradeableV2.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/liqEth/RewardsERC20.sol/RewardsERC20UpgradeableV2.json +957 -0
- package/src/assets/ethereum/hoodi/liqEth/RewardsERC20Pausable.sol/RewardsERC20PausableUpgradeableV2.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/liqEth/RewardsERC20Pausable.sol/RewardsERC20PausableUpgradeableV2.json +1020 -0
- package/src/assets/ethereum/hoodi/liqEth/Yield.sol/YieldOracle.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/liqEth/Yield.sol/YieldOracle.json +1376 -0
- package/src/assets/ethereum/hoodi/liqEth/accounting.sol/AccountingV2.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/liqEth/accounting.sol/AccountingV2.json +629 -0
- package/src/assets/ethereum/hoodi/liqEth/liqEth.sol/LiqEthTokenV2.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/liqEth/liqEth.sol/LiqEthTokenV2.json +1323 -0
- package/src/assets/ethereum/hoodi/liqEth/stakingModule.sol/StakingModuleV2.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/liqEth/stakingModule.sol/StakingModuleV2.json +1779 -0
- package/src/assets/ethereum/hoodi/liqEth/v1/DepositManager.sol/DepositManager.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/liqEth/v1/DepositManager.sol/DepositManager.json +978 -0
- package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/IAccounting.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/IAccounting.json +176 -0
- package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/IDepositContract.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/IDepositContract.json +39 -0
- package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/IDepositManager.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/IDepositManager.json +64 -0
- package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/ILiqEthUpgradeable.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/ILiqEthUpgradeable.json +29 -0
- package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/IRewardsERC20.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/IRewardsERC20.json +249 -0
- package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/IRewardsERC20Pausable.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/IRewardsERC20Pausable.json +263 -0
- package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/IStakingModule.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/IStakingModule.json +344 -0
- package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/IValidatorBalanceVerifier.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/IValidatorBalanceVerifier.json +129 -0
- package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/IWithdrawalRecord.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/IWithdrawalRecord.json +66 -0
- package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/LiqEthCommon.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/liqEth/v1/LiqEthCommon.sol/LiqEthCommon.json +10 -0
- package/src/assets/ethereum/hoodi/liqEth/v1/RewardsERC20.sol/RewardsERC20Upgradeable.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/liqEth/v1/RewardsERC20.sol/RewardsERC20Upgradeable.json +874 -0
- package/src/assets/ethereum/hoodi/liqEth/v1/RewardsERC20Pausable.sol/RewardsERC20PausableUpgradeable.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/liqEth/v1/RewardsERC20Pausable.sol/RewardsERC20PausableUpgradeable.json +937 -0
- package/src/assets/ethereum/hoodi/liqEth/v1/accounting.sol/Accounting.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/liqEth/v1/accounting.sol/Accounting.json +548 -0
- package/src/assets/ethereum/hoodi/liqEth/v1/liqEth.sol/LiqEthToken.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/liqEth/v1/liqEth.sol/LiqEthToken.json +1233 -0
- package/src/assets/ethereum/hoodi/liqEth/v1/stakingModule.sol/StakingModule.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/liqEth/v1/stakingModule.sol/StakingModule.json +1772 -0
- package/src/assets/ethereum/hoodi/liqEth/withdrawalQueue.sol/WithdrawalQueue.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/liqEth/withdrawalQueue.sol/WithdrawalQueue.json +973 -0
- package/src/assets/ethereum/hoodi/liqEth/withdrawalVault.sol/Uint64BE.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/liqEth/withdrawalVault.sol/Uint64BE.json +10 -0
- package/src/assets/ethereum/hoodi/liqEth/withdrawalVault.sol/WithdrawalVault.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/liqEth/withdrawalVault.sol/WithdrawalVault.json +441 -0
- package/src/assets/ethereum/hoodi/outpost/BAR.sol/BAR.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/BAR.sol/BAR.json +1111 -0
- package/src/assets/ethereum/hoodi/outpost/Depositor.sol/Depositor.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/Depositor.sol/Depositor.json +1696 -0
- package/src/assets/ethereum/hoodi/outpost/EthUsdPriceConsumer.sol/AggregatorV3Interface.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/EthUsdPriceConsumer.sol/AggregatorV3Interface.json +122 -0
- package/src/assets/ethereum/hoodi/outpost/EthUsdPriceConsumer.sol/EthUsdPriceConsumer.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/EthUsdPriceConsumer.sol/EthUsdPriceConsumer.json +274 -0
- package/src/assets/ethereum/hoodi/outpost/InstaswapBridgeAttestations.sol/BridgeDepositCodec.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/InstaswapBridgeAttestations.sol/BridgeDepositCodec.json +10 -0
- package/src/assets/ethereum/hoodi/outpost/InstaswapBridgeAttestations.sol/BridgeWithdrawCodec.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/InstaswapBridgeAttestations.sol/BridgeWithdrawCodec.json +10 -0
- package/src/assets/ethereum/hoodi/outpost/InstaswapBridgeAttestations.sol/BridgeWithdrawConfirmCodec.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/InstaswapBridgeAttestations.sol/BridgeWithdrawConfirmCodec.json +10 -0
- package/src/assets/ethereum/hoodi/outpost/InstaswapBridgeAttestations.sol/InstaswapBridgeAttestationTypeLib.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/InstaswapBridgeAttestations.sol/InstaswapBridgeAttestationTypeLib.json +10 -0
- package/src/assets/ethereum/hoodi/outpost/LiqEthBridge.sol/LiqEthBridge.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/LiqEthBridge.sol/LiqEthBridge.json +1044 -0
- package/src/assets/ethereum/hoodi/outpost/OPP.sol/OPP.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/OPP.sol/OPP.json +1055 -0
- package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/IOPP.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/IOPP.json +81 -0
- package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/IOPPEndpoint.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/IOPPEndpoint.json +29 -0
- package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/IOPPInbound.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/IOPPInbound.json +330 -0
- package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/IOPPReceiver.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/IOPPReceiver.json +29 -0
- package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/IOPPSender.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/IOPPSender.json +41 -0
- package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/OPPCommon.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/OPPCommon.json +287 -0
- package/src/assets/ethereum/hoodi/outpost/OPPEndpoint.sol/OPPEndpoint.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/OPPEndpoint.sol/OPPEndpoint.json +294 -0
- package/src/assets/ethereum/hoodi/outpost/OPPEndpointManaged.sol/OPPEndpointManaged.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/OPPEndpointManaged.sol/OPPEndpointManaged.json +415 -0
- package/src/assets/ethereum/hoodi/outpost/OPPEndpointOwnable.sol/OPPEndpointOwnable.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/OPPEndpointOwnable.sol/OPPEndpointOwnable.json +399 -0
- package/src/assets/ethereum/hoodi/outpost/OPPErrors.sol/OPPErrors.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/OPPErrors.sol/OPPErrors.json +245 -0
- package/src/assets/ethereum/hoodi/outpost/OPPInbound.sol/OPPInbound.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/OPPInbound.sol/OPPInbound.json +1204 -0
- package/src/assets/ethereum/hoodi/outpost/OPPReceiver.sol/OPPReceiver.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/OPPReceiver.sol/OPPReceiver.json +312 -0
- package/src/assets/ethereum/hoodi/outpost/OPPSender.sol/OPPSender.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/OPPSender.sol/OPPSender.json +324 -0
- package/src/assets/ethereum/hoodi/outpost/OperatorRegistry.sol/OperatorRegistry.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/OperatorRegistry.sol/OperatorRegistry.json +1068 -0
- package/src/assets/ethereum/hoodi/outpost/OutpostErrors.sol/OutpostErrors.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/OutpostErrors.sol/OutpostErrors.json +211 -0
- package/src/assets/ethereum/hoodi/outpost/OutpostManaged.sol/OutpostManaged.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/OutpostManaged.sol/OutpostManaged.json +229 -0
- package/src/assets/ethereum/hoodi/outpost/OutpostManager.sol/OutpostManager.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/OutpostManager.sol/OutpostManager.json +751 -0
- package/src/assets/ethereum/hoodi/outpost/OutpostManagerAuthority.sol/OutpostManagerAuthority.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/OutpostManagerAuthority.sol/OutpostManagerAuthority.json +1432 -0
- package/src/assets/ethereum/hoodi/outpost/OutpostManagerCommon.sol/IOutpostManager.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/OutpostManagerCommon.sol/IOutpostManager.json +130 -0
- package/src/assets/ethereum/hoodi/outpost/OutpostManagerCommon.sol/IOutpostUpgradeable.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/OutpostManagerCommon.sol/IOutpostUpgradeable.json +29 -0
- package/src/assets/ethereum/hoodi/outpost/OutpostManagerCommon.sol/OutpostManagerCommon.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/OutpostManagerCommon.sol/OutpostManagerCommon.json +141 -0
- package/src/assets/ethereum/hoodi/outpost/OutpostOwnable.sol/OutpostOwnable.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/OutpostOwnable.sol/OutpostOwnable.json +213 -0
- package/src/assets/ethereum/hoodi/outpost/OutpostReserve.sol/OutpostReserve.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/OutpostReserve.sol/OutpostReserve.json +888 -0
- package/src/assets/ethereum/hoodi/outpost/Pool.sol/Pool.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/Pool.sol/Pool.json +659 -0
- package/src/assets/ethereum/hoodi/outpost/Pretoken.sol/Pretoken.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/Pretoken.sol/Pretoken.json +1393 -0
- package/src/assets/ethereum/hoodi/outpost/ReceiptNFT.sol/ReceiptNFT.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/ReceiptNFT.sol/ReceiptNFT.json +1738 -0
- package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/InstaswapConfirmCodec.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/InstaswapConfirmCodec.json +10 -0
- package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/InstaswapFailedCodec.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/InstaswapFailedCodec.json +10 -0
- package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/InstaswapRequestCodec.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/InstaswapRequestCodec.json +10 -0
- package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/InstaswapSettlementCodec.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/InstaswapSettlementCodec.json +10 -0
- package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/PrincipalExitConfirmCodec.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/PrincipalExitConfirmCodec.json +10 -0
- package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/PrincipalExitFailedCodec.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/PrincipalExitFailedCodec.json +10 -0
- package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/PrincipalExitRequestCodec.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/PrincipalExitRequestCodec.json +10 -0
- package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/PrincipalStakeDeltaCodec.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/PrincipalStakeDeltaCodec.json +10 -0
- package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/WireYieldHubAssetCodec.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/WireYieldHubAssetCodec.json +10 -0
- package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/WireYieldHubAttestationTypeLib.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/WireYieldHubAttestationTypeLib.json +10 -0
- package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/WireYieldHubAttestations.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/WireYieldHubAttestations.json +1437 -0
- package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/YieldDepositCodec.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/WireYieldHubAttestations.sol/YieldDepositCodec.json +10 -0
- package/src/assets/ethereum/hoodi/outpost/interfaces/IPretoken.sol/IPretoken.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/interfaces/IPretoken.sol/IPretoken.json +29 -0
- package/src/assets/ethereum/hoodi/outpost/interfaces/IWarrant.sol/IWarrant.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/interfaces/IWarrant.sol/IWarrant.json +29 -0
- package/src/assets/ethereum/hoodi/outpost/token/ERC721EthEquivalentVotesUpgradeable.sol/ERC721EthEquivalentVotesUpgradeable.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/token/ERC721EthEquivalentVotesUpgradeable.sol/ERC721EthEquivalentVotesUpgradeable.json +858 -0
- package/src/assets/ethereum/hoodi/outpost/token/IERC721EthEquivalent.sol/IERC721EthEquivalent.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/token/IERC721EthEquivalent.sol/IERC721EthEquivalent.json +30 -0
- package/src/assets/ethereum/hoodi/token/ERC1155Token.sol/ERC1155Token.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/token/ERC1155Token.sol/ERC1155Token.json +472 -0
- package/src/assets/ethereum/hoodi/token/ERC20Token.sol/ERC20Token.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/token/ERC20Token.sol/ERC20Token.json +330 -0
- package/src/assets/ethereum/hoodi/token/ERC721Token.sol/ERC721Token.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/token/ERC721Token.sol/ERC721Token.json +449 -0
- package/src/assets/ethereum/hoodi/token/Eman1155.sol/Eman1155.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/token/Eman1155.sol/Eman1155.json +560 -0
- package/src/assets/ethereum/hoodi/token/Eman20.sol/Eman20.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/token/Eman20.sol/Eman20.json +460 -0
- package/src/assets/ethereum/hoodi/token/Eman721.sol/Eman721.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/token/Eman721.sol/Eman721.json +624 -0
- package/src/assets/ethereum/mainnet/common/Base58.sol/Base58.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/common/Base58.sol/Base58.json +164 -0
- package/src/assets/ethereum/mainnet/common/OpenZepArtifacts.sol/__Dummy_OZ_UUPS__.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/common/OpenZepArtifacts.sol/__Dummy_OZ_UUPS__.json +76 -0
- package/src/assets/ethereum/mainnet/common/RestrictedCallers.sol/RestrictedCallers.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/common/RestrictedCallers.sol/RestrictedCallers.json +10 -0
- package/src/assets/ethereum/mainnet/common/iodata.sol/iodata.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/common/iodata.sol/iodata.json +618 -0
- package/src/assets/ethereum/mainnet/common/iodata_util.sol/iodata_util.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/common/iodata_util.sol/iodata_util.json +40 -0
- package/src/assets/ethereum/mainnet/common/sysio_data.sol/sysio_data.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/common/sysio_data.sol/sysio_data.json +10 -0
- package/src/assets/ethereum/mainnet/common/sysio_errors.sol/sysio_errors.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/common/sysio_errors.sol/sysio_errors.json +10 -0
- package/src/assets/ethereum/mainnet/common/sysio_merkle.sol/sysio_merkle.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/common/sysio_merkle.sol/sysio_merkle.json +233 -0
- package/src/assets/ethereum/mainnet/common/sysio_name.sol/sysio_name.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/common/sysio_name.sol/sysio_name.json +49 -0
- package/src/assets/ethereum/mainnet/common/sysio_pubkey.sol/sysio_pubkey.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/common/sysio_pubkey.sol/sysio_pubkey.json +64 -0
- package/src/assets/ethereum/mainnet/common/sysio_read.sol/sysio_read.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/common/sysio_read.sol/sysio_read.json +1458 -0
- package/src/assets/ethereum/mainnet/common/sysio_tester.sol/SysioTester.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/common/sysio_tester.sol/SysioTester.json +1532 -0
- package/src/assets/ethereum/mainnet/common/sysio_verify.sol/sysio_verify.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/common/sysio_verify.sol/sysio_verify.json +1525 -0
- package/src/assets/ethereum/mainnet/common/sysio_write.sol/sysio_write.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/common/sysio_write.sol/sysio_write.json +1076 -0
- package/src/assets/ethereum/mainnet/liqEth/BeaconState.sol/BeaconState.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/liqEth/BeaconState.sol/BeaconState.json +807 -0
- package/src/assets/ethereum/mainnet/liqEth/DepositManager.sol/DepositManagerV2.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/liqEth/DepositManager.sol/DepositManagerV2.json +1004 -0
- package/src/assets/ethereum/mainnet/liqEth/DepositManager.sol/IStakingModuleBondLocker.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/liqEth/DepositManager.sol/IStakingModuleBondLocker.json +29 -0
- package/src/assets/ethereum/mainnet/liqEth/KeyBondManager.sol/KeyBondManager.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/liqEth/KeyBondManager.sol/KeyBondManager.json +897 -0
- package/src/assets/ethereum/mainnet/liqEth/LiqEthAuthority.sol/LiqEthAuthority.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/liqEth/LiqEthAuthority.sol/LiqEthAuthority.json +1289 -0
- package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IDepositContract.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IDepositContract.json +39 -0
- package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IDepositManager.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IDepositManager.json +64 -0
- package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IKeyBondManager.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IKeyBondManager.json +189 -0
- package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/ILiqEthUpgradeable.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/ILiqEthUpgradeable.json +29 -0
- package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IRewardsERC20.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IRewardsERC20.json +319 -0
- package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IRewardsERC20Pausable.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IRewardsERC20Pausable.json +333 -0
- package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IStakingModule.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IStakingModule.json +279 -0
- package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IValidatorBalanceVerifier.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IValidatorBalanceVerifier.json +129 -0
- package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IWithdrawalRecord.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/IWithdrawalRecord.json +66 -0
- package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/LiqEthCommon.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/liqEth/LiqEthCommon.sol/LiqEthCommon.json +10 -0
- package/src/assets/ethereum/mainnet/liqEth/LiqEthDeepFreeze.sol/LiqEthDeepFreeze.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/liqEth/LiqEthDeepFreeze.sol/LiqEthDeepFreeze.json +236 -0
- package/src/assets/ethereum/mainnet/liqEth/LiqEthManaged.sol/LiqEthManaged.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/liqEth/LiqEthManaged.sol/LiqEthManaged.json +229 -0
- package/src/assets/ethereum/mainnet/liqEth/RewardsERC20.sol/RewardsERC20UpgradeableV2.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/liqEth/RewardsERC20.sol/RewardsERC20UpgradeableV2.json +957 -0
- package/src/assets/ethereum/mainnet/liqEth/RewardsERC20Pausable.sol/RewardsERC20PausableUpgradeableV2.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/liqEth/RewardsERC20Pausable.sol/RewardsERC20PausableUpgradeableV2.json +1020 -0
- package/src/assets/ethereum/mainnet/liqEth/StakingLib.sol/StakingLib.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/liqEth/StakingLib.sol/StakingLib.json +89 -0
- package/src/assets/ethereum/mainnet/liqEth/Yield.sol/YieldOracle.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/liqEth/Yield.sol/YieldOracle.json +1376 -0
- package/src/assets/ethereum/mainnet/liqEth/liqEth.sol/LiqEthTokenV2.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/liqEth/liqEth.sol/LiqEthTokenV2.json +1323 -0
- package/src/assets/ethereum/mainnet/liqEth/stakingModule.sol/StakingModuleV2.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/liqEth/stakingModule.sol/StakingModuleV2.json +1896 -0
- package/src/assets/ethereum/mainnet/liqEth/v1/DepositManager.sol/DepositManager.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/liqEth/v1/DepositManager.sol/DepositManager.json +978 -0
- package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/IAccounting.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/IAccounting.json +176 -0
- package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/IDepositContract.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/IDepositContract.json +39 -0
- package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/IDepositManager.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/IDepositManager.json +64 -0
- package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/ILiqEthUpgradeable.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/ILiqEthUpgradeable.json +29 -0
- package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/IRewardsERC20.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/IRewardsERC20.json +249 -0
- package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/IRewardsERC20Pausable.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/IRewardsERC20Pausable.json +263 -0
- package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/IStakingModule.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/IStakingModule.json +344 -0
- package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/IValidatorBalanceVerifier.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/IValidatorBalanceVerifier.json +129 -0
- package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/IWithdrawalRecord.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/IWithdrawalRecord.json +66 -0
- package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/LiqEthCommon.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/liqEth/v1/LiqEthCommon.sol/LiqEthCommon.json +10 -0
- package/src/assets/ethereum/mainnet/liqEth/v1/RewardsERC20.sol/RewardsERC20Upgradeable.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/liqEth/v1/RewardsERC20.sol/RewardsERC20Upgradeable.json +874 -0
- package/src/assets/ethereum/mainnet/liqEth/v1/RewardsERC20Pausable.sol/RewardsERC20PausableUpgradeable.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/liqEth/v1/RewardsERC20Pausable.sol/RewardsERC20PausableUpgradeable.json +937 -0
- package/src/assets/ethereum/mainnet/liqEth/v1/accounting.sol/Accounting.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/liqEth/v1/accounting.sol/Accounting.json +542 -0
- package/src/assets/ethereum/mainnet/liqEth/v1/liqEth.sol/LiqEthToken.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/liqEth/v1/liqEth.sol/LiqEthToken.json +1233 -0
- package/src/assets/ethereum/mainnet/liqEth/v1/stakingModule.sol/StakingModule.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/liqEth/v1/stakingModule.sol/StakingModule.json +1772 -0
- package/src/assets/ethereum/mainnet/liqEth/withdrawalQueue.sol/WithdrawalQueue.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/liqEth/withdrawalQueue.sol/WithdrawalQueue.json +973 -0
- package/src/assets/ethereum/mainnet/liqEth/withdrawalVault.sol/Uint64BE.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/liqEth/withdrawalVault.sol/Uint64BE.json +10 -0
- package/src/assets/ethereum/mainnet/liqEth/withdrawalVault.sol/WithdrawalVault.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/liqEth/withdrawalVault.sol/WithdrawalVault.json +441 -0
- package/src/assets/ethereum/mainnet/outpost/BAR.sol/BARV2.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/outpost/BAR.sol/BARV2.json +1915 -0
- package/src/assets/ethereum/mainnet/outpost/Depositor.sol/DepositorV2.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/outpost/Depositor.sol/DepositorV2.json +1845 -0
- package/src/assets/ethereum/mainnet/outpost/EthUsdPriceConsumer.sol/AggregatorV3Interface.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/outpost/EthUsdPriceConsumer.sol/AggregatorV3Interface.json +122 -0
- package/src/assets/ethereum/mainnet/outpost/EthUsdPriceConsumer.sol/EthUsdPriceConsumer.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/outpost/EthUsdPriceConsumer.sol/EthUsdPriceConsumer.json +551 -0
- package/src/assets/ethereum/mainnet/outpost/OPP.sol/OPP.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/outpost/OPP.sol/OPP.json +948 -0
- package/src/assets/ethereum/mainnet/outpost/OPPCommon.sol/IOPP.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/outpost/OPPCommon.sol/IOPP.json +88 -0
- package/src/assets/ethereum/mainnet/outpost/OPPCommon.sol/IOPPEndpoint.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/outpost/OPPCommon.sol/IOPPEndpoint.json +29 -0
- package/src/assets/ethereum/mainnet/outpost/OPPCommon.sol/IOPPInbound.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/outpost/OPPCommon.sol/IOPPInbound.json +194 -0
- package/src/assets/ethereum/mainnet/outpost/OPPCommon.sol/IOPPReceiver.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/outpost/OPPCommon.sol/IOPPReceiver.json +29 -0
- package/src/assets/ethereum/mainnet/outpost/OPPCommon.sol/IOPPSender.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/outpost/OPPCommon.sol/IOPPSender.json +36 -0
- package/src/assets/ethereum/mainnet/outpost/OPPCommon.sol/OPPCommon.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/outpost/OPPCommon.sol/OPPCommon.json +199 -0
- package/src/assets/ethereum/mainnet/outpost/OPPEndpoint.sol/OPPEndpoint.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/outpost/OPPEndpoint.sol/OPPEndpoint.json +273 -0
- package/src/assets/ethereum/mainnet/outpost/OPPEndpointManaged.sol/OPPEndpointManaged.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/outpost/OPPEndpointManaged.sol/OPPEndpointManaged.json +394 -0
- package/src/assets/ethereum/mainnet/outpost/OPPEndpointOwnable.sol/OPPEndpointOwnable.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/outpost/OPPEndpointOwnable.sol/OPPEndpointOwnable.json +378 -0
- package/src/assets/ethereum/mainnet/outpost/OPPErrors.sol/OPPErrors.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/outpost/OPPErrors.sol/OPPErrors.json +224 -0
- package/src/assets/ethereum/mainnet/outpost/OPPInbound.sol/OPPInbound.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/outpost/OPPInbound.sol/OPPInbound.json +1010 -0
- package/src/assets/ethereum/mainnet/outpost/OPPReceiver.sol/OPPReceiver.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/outpost/OPPReceiver.sol/OPPReceiver.json +291 -0
- package/src/assets/ethereum/mainnet/outpost/OPPSender.sol/OPPSender.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/outpost/OPPSender.sol/OPPSender.json +298 -0
- package/src/assets/ethereum/mainnet/outpost/OutpostErrors.sol/OutpostErrors.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/outpost/OutpostErrors.sol/OutpostErrors.json +488 -0
- package/src/assets/ethereum/mainnet/outpost/OutpostManaged.sol/OutpostManaged.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/outpost/OutpostManaged.sol/OutpostManaged.json +229 -0
- package/src/assets/ethereum/mainnet/outpost/OutpostManager.sol/OutpostManagerV2.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/outpost/OutpostManager.sol/OutpostManagerV2.json +737 -0
- package/src/assets/ethereum/mainnet/outpost/OutpostManagerAuthority.sol/OutpostManagerAuthority.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/outpost/OutpostManagerAuthority.sol/OutpostManagerAuthority.json +1432 -0
- package/src/assets/ethereum/mainnet/outpost/OutpostManagerCommon.sol/IOutpostManager.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/outpost/OutpostManagerCommon.sol/IOutpostManager.json +130 -0
- package/src/assets/ethereum/mainnet/outpost/OutpostManagerCommon.sol/IOutpostUpgradeable.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/outpost/OutpostManagerCommon.sol/IOutpostUpgradeable.json +29 -0
- package/src/assets/ethereum/mainnet/outpost/OutpostManagerCommon.sol/OutpostManagerCommon.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/outpost/OutpostManagerCommon.sol/OutpostManagerCommon.json +141 -0
- package/src/assets/ethereum/mainnet/outpost/OutpostOwnable.sol/OutpostOwnable.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/outpost/OutpostOwnable.sol/OutpostOwnable.json +213 -0
- package/src/assets/ethereum/mainnet/outpost/Pool.sol/PoolV2.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/outpost/Pool.sol/PoolV2.json +943 -0
- package/src/assets/ethereum/mainnet/outpost/Pretoken.sol/PretokenV2.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/outpost/Pretoken.sol/PretokenV2.json +1703 -0
- package/src/assets/ethereum/mainnet/outpost/ReceiptNFT.sol/ReceiptNFT.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/outpost/ReceiptNFT.sol/ReceiptNFT.json +2015 -0
- package/src/assets/ethereum/mainnet/outpost/interfaces/IPretoken.sol/IPretoken.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/outpost/interfaces/IPretoken.sol/IPretoken.json +29 -0
- package/src/assets/ethereum/mainnet/outpost/interfaces/IWarrant.sol/IWarrant.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/outpost/interfaces/IWarrant.sol/IWarrant.json +29 -0
- package/src/assets/ethereum/mainnet/outpost/token/ERC721EthEquivalentVotesUpgradeable.sol/ERC721EthEquivalentVotesUpgradeable.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/outpost/token/ERC721EthEquivalentVotesUpgradeable.sol/ERC721EthEquivalentVotesUpgradeable.json +858 -0
- package/src/assets/ethereum/mainnet/outpost/token/IERC721EthEquivalent.sol/IERC721EthEquivalent.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/outpost/token/IERC721EthEquivalent.sol/IERC721EthEquivalent.json +30 -0
- package/src/assets/ethereum/mainnet/outpost/v1/BAR.sol/BAR.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/outpost/v1/BAR.sol/BAR.json +1871 -0
- package/src/assets/ethereum/mainnet/outpost/v1/Depositor.sol/Depositor.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/outpost/v1/Depositor.sol/Depositor.json +1653 -0
- package/src/assets/ethereum/mainnet/outpost/v1/OutpostManager.sol/OutpostManager.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/outpost/v1/OutpostManager.sol/OutpostManager.json +730 -0
- package/src/assets/ethereum/mainnet/outpost/v1/Pool.sol/Pool.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/outpost/v1/Pool.sol/Pool.json +936 -0
- package/src/assets/ethereum/mainnet/outpost/v1/Pretoken.sol/Pretoken.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/outpost/v1/Pretoken.sol/Pretoken.json +1665 -0
- package/src/assets/ethereum/mainnet/token/ERC1155Token.sol/ERC1155Token.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/token/ERC1155Token.sol/ERC1155Token.json +472 -0
- package/src/assets/ethereum/mainnet/token/ERC20Token.sol/ERC20Token.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/token/ERC20Token.sol/ERC20Token.json +330 -0
- package/src/assets/ethereum/mainnet/token/ERC721Token.sol/ERC721Token.dbg.json +4 -0
- package/src/assets/ethereum/mainnet/token/ERC721Token.sol/ERC721Token.json +449 -0
- package/src/assets/solana/devnet/idl/liqsol_core.json +8546 -0
- package/src/assets/solana/devnet/idl/liqsol_token.json +217 -0
- package/src/assets/solana/devnet/idl/transfer_hook.json +490 -0
- package/src/assets/solana/devnet/idl/validator_leaderboard.json +735 -0
- package/src/assets/solana/devnet/types/liqsol_core.ts +8552 -0
- package/src/assets/solana/devnet/types/liqsol_token.ts +223 -0
- package/src/assets/solana/devnet/types/transfer_hook.ts +496 -0
- package/src/assets/solana/devnet/types/validator_leaderboard.ts +741 -0
- package/src/assets/solana/mainnet/idl/liqsol_core.json +6678 -0
- package/src/assets/solana/mainnet/idl/liqsol_token.json +217 -0
- package/src/assets/solana/mainnet/idl/transfer_hook.json +479 -0
- package/src/assets/solana/mainnet/idl/validator_leaderboard.json +574 -0
- package/src/assets/solana/mainnet/types/liqsol_core.ts +6684 -0
- package/src/assets/solana/mainnet/types/liqsol_token.ts +223 -0
- package/src/assets/solana/mainnet/types/transfer_hook.ts +485 -0
- package/src/assets/solana/mainnet/types/validator_leaderboard.ts +580 -0
- package/src/assets/solana/realdevnet/idl/liqsol_core.json +7112 -0
- package/src/assets/solana/realdevnet/idl/liqsol_token.json +217 -0
- package/src/assets/solana/realdevnet/idl/transfer_hook.json +479 -0
- package/src/assets/solana/realdevnet/idl/validator_leaderboard.json +735 -0
- package/src/assets/solana/realdevnet/types/liqsol_core.ts +7118 -0
- package/src/assets/solana/realdevnet/types/liqsol_token.ts +223 -0
- package/src/assets/solana/realdevnet/types/transfer_hook.ts +485 -0
- package/src/assets/solana/realdevnet/types/validator_leaderboard.ts +741 -0
- package/src/index.ts +7 -8
- package/src/networks/ethereum/clients/convert.client.ts +221 -0
- package/src/networks/ethereum/clients/opp.client.ts +389 -0
- package/src/networks/ethereum/clients/pretoken.client.ts +165 -0
- package/src/networks/ethereum/clients/receipt.client.ts +199 -0
- package/src/networks/ethereum/clients/stake.client.ts +203 -0
- package/src/networks/ethereum/clients/validator.client.ts +61 -0
- package/src/networks/ethereum/contract.ts +438 -58
- package/src/networks/ethereum/ethereum.ts +591 -51
- package/src/networks/ethereum/types.ts +138 -2
- package/src/networks/ethereum/utils.ts +340 -0
- package/src/networks/solana/clients/convert.client.ts +341 -0
- package/src/networks/solana/clients/distribution.client.ts +304 -176
- package/src/networks/solana/clients/leaderboard.client.ts +85 -163
- package/src/networks/solana/clients/outpost.client.ts +325 -0
- package/src/networks/solana/clients/token.client.ts +210 -0
- package/src/networks/solana/constants.ts +152 -69
- package/src/networks/solana/program.ts +397 -102
- package/src/networks/solana/solana.ts +1208 -68
- package/src/networks/solana/types.ts +757 -0
- package/src/networks/solana/utils.ts +542 -93
- package/src/scripts/fetch-artifacts.sh +24 -0
- package/src/scripts/tsconfig.json +17 -0
- package/src/staker.ts +85 -0
- package/src/types.ts +364 -0
- package/src/assets/ethereum/ABI/token/ERC1155Token.sol/ERC1155Token.dbg.json +0 -4
- package/src/assets/ethereum/ABI/token/ERC1155Token.sol/ERC1155Token.json +0 -472
- package/src/assets/ethereum/ABI/token/ERC20Token.sol/ERC20Token.dbg.json +0 -4
- package/src/assets/ethereum/ABI/token/ERC20Token.sol/ERC20Token.json +0 -330
- package/src/assets/ethereum/ABI/token/ERC721Token.sol/ERC721Token.dbg.json +0 -4
- package/src/assets/ethereum/ABI/token/ERC721Token.sol/ERC721Token.json +0 -449
- package/src/assets/solana/idl/deposit.json +0 -260
- package/src/assets/solana/idl/distribution.json +0 -736
- package/src/assets/solana/idl/liq_sol_token.json +0 -275
- package/src/assets/solana/idl/stake_controller.json +0 -1788
- package/src/assets/solana/idl/stake_registry.json +0 -435
- package/src/assets/solana/idl/treasury.json +0 -336
- package/src/assets/solana/idl/validator_leaderboard.json +0 -528
- package/src/assets/solana/idl/validator_registry.json +0 -418
- package/src/assets/solana/idl/yield_oracle.json +0 -32
- package/src/assets/solana/types/deposit.ts +0 -266
- package/src/assets/solana/types/distribution.ts +0 -742
- package/src/assets/solana/types/liq_sol_token.ts +0 -281
- package/src/assets/solana/types/stake_controller.ts +0 -1794
- package/src/assets/solana/types/stake_registry.ts +0 -441
- package/src/assets/solana/types/treasury.ts +0 -342
- package/src/assets/solana/types/validator_leaderboard.ts +0 -534
- package/src/assets/solana/types/validator_registry.ts +0 -424
- package/src/assets/solana/types/yield_oracle.ts +0 -38
- package/src/networks/solana/clients/deposit.client.ts +0 -178
- package/src/staker/staker.ts +0 -56
- package/src/staker/types.ts +0 -40
- package/src/utils.ts +0 -9
|
@@ -0,0 +1,757 @@
|
|
|
1
|
+
import { PublicKey, TokenAmount, Transaction, VersionedTransaction } from "@solana/web3.js";
|
|
2
|
+
import { BN } from '@coral-xyz/anchor';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* ============================================================
|
|
6
|
+
* Common / Wallet Types
|
|
7
|
+
* ============================================================
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
export type SolanaTransaction = Transaction | VersionedTransaction;
|
|
11
|
+
|
|
12
|
+
export type WalletLike = {
|
|
13
|
+
publicKey: PublicKey;
|
|
14
|
+
signTransaction: <T extends SolanaTransaction>(tx: T) => Promise<T>;
|
|
15
|
+
signAllTransactions?: <T extends SolanaTransaction>(txs: T[]) => Promise<T[]>;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export type ParsedAccountInfo = {
|
|
19
|
+
extensions: Array<{ extension: string }>;
|
|
20
|
+
isNative: boolean;
|
|
21
|
+
mint: string;
|
|
22
|
+
owner: string;
|
|
23
|
+
state: string;
|
|
24
|
+
tokenAmount: TokenAmount;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* ============================================================
|
|
29
|
+
* Wire Outpost Snapshot
|
|
30
|
+
* ============================================================
|
|
31
|
+
*
|
|
32
|
+
* This is the high-level “view model” the SDK returns after
|
|
33
|
+
* fetching all relevant on-chain accounts for a given user.
|
|
34
|
+
*/
|
|
35
|
+
|
|
36
|
+
export type OutpostWireStateSnapshot = {
|
|
37
|
+
/**
|
|
38
|
+
* Global Wire/outpost state.
|
|
39
|
+
* May be null if the fetch fails.
|
|
40
|
+
*/
|
|
41
|
+
globalState: GlobalState | null;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Per-user Outpost account (old “wire receipt”), or null if user
|
|
45
|
+
* hasn’t interacted yet.
|
|
46
|
+
*/
|
|
47
|
+
outpostAccount: OutpostAccount | null;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Index-based liqSOL distribution state, or null if not initialized.
|
|
51
|
+
*/
|
|
52
|
+
distributionState: DistributionState | null;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Global tranche pricing/supply state (`trancheState`).
|
|
56
|
+
* May be null if not initialized.
|
|
57
|
+
*/
|
|
58
|
+
trancheState: TrancheState | null;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Per-user pretoken purchase record (`userPretokenRecord` in the IDL).
|
|
62
|
+
* May be null if the user never purchased.
|
|
63
|
+
*/
|
|
64
|
+
userPretokenRecord: UserPretokenRecord | null;
|
|
65
|
+
|
|
66
|
+
// Balances
|
|
67
|
+
/** liqSOL in the pool ATA (Token-2022 raw amount), or null on fetch failure */
|
|
68
|
+
liqsolPoolBalance: BN | null;
|
|
69
|
+
|
|
70
|
+
/** liqSOL in the user’s ATA (Token-2022 raw amount), or null on fetch failure */
|
|
71
|
+
userLiqsolBalance: BN | null;
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* ============================================================
|
|
76
|
+
* Core Enums / Aliases (from IDL variants)
|
|
77
|
+
* ============================================================
|
|
78
|
+
*/
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* `wireState` enum from IDL:
|
|
82
|
+
* - preLaunch: pretokens phase, no refunds
|
|
83
|
+
* - postLaunch: normal operation
|
|
84
|
+
* - refund: refund mode active
|
|
85
|
+
*/
|
|
86
|
+
export type WireState = 'preLaunch' | 'postLaunch' | 'refund';
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* `role` enum from IDL:
|
|
90
|
+
* Yield operator, batch operator, underwriter, pool operator.
|
|
91
|
+
*/
|
|
92
|
+
export type Role =
|
|
93
|
+
| 'yieldOperator'
|
|
94
|
+
| 'batchOperator'
|
|
95
|
+
| 'underwriter'
|
|
96
|
+
| 'poolOperator';
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Validator reputation from IDL `validatorReputation`.
|
|
100
|
+
*/
|
|
101
|
+
export type ValidatorReputation =
|
|
102
|
+
| 'trusted'
|
|
103
|
+
| 'blacklisted'
|
|
104
|
+
| 'underPerforming';
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Validator lifecycle state from IDL `validatorState`.
|
|
108
|
+
*/
|
|
109
|
+
export type ValidatorState =
|
|
110
|
+
| 'warming'
|
|
111
|
+
| 'notDelegated'
|
|
112
|
+
| 'cooling'
|
|
113
|
+
| 'warm'
|
|
114
|
+
| 'readyToCool';
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* ============================================================
|
|
118
|
+
* Distribution / Index Types
|
|
119
|
+
* ============================================================
|
|
120
|
+
*/
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* IDL: `distributionState`
|
|
124
|
+
*
|
|
125
|
+
* Index-based distribution for liqSOL earnings.
|
|
126
|
+
* Note: this is separate from your local `UserRecord` type above.
|
|
127
|
+
*/
|
|
128
|
+
export type DistributionState = {
|
|
129
|
+
/** liqSOL mint (Token-2022) */
|
|
130
|
+
liqsolMint: PublicKey;
|
|
131
|
+
|
|
132
|
+
/** Current index (scaled) */
|
|
133
|
+
currentIndex: BN;
|
|
134
|
+
|
|
135
|
+
/** Total shares across all distribution users */
|
|
136
|
+
totalShares: BN;
|
|
137
|
+
|
|
138
|
+
/** Last observed bucket balance (for incremental index updates) */
|
|
139
|
+
lastBucketBalance: BN;
|
|
140
|
+
|
|
141
|
+
/** PDA bumps and cached authorities for bucket/pool */
|
|
142
|
+
bump: number;
|
|
143
|
+
bucketBump: number;
|
|
144
|
+
poolBump: number;
|
|
145
|
+
bucketAuthority: PublicKey;
|
|
146
|
+
poolAuthority: PublicKey;
|
|
147
|
+
};
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* IDL: `userRecord`
|
|
151
|
+
*
|
|
152
|
+
* On-chain distribution user record; tracks shares only.
|
|
153
|
+
*/
|
|
154
|
+
export type DistributionUserRecord = {
|
|
155
|
+
shares: BN;
|
|
156
|
+
bump: number;
|
|
157
|
+
};
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Simple preview container for “how many pretokens do I get?”
|
|
161
|
+
* Matches the calculateExpectedPretokens math from capital-staking.
|
|
162
|
+
*/
|
|
163
|
+
export interface SharesPreview {
|
|
164
|
+
// Input
|
|
165
|
+
liqsolAmountLamports: BN;
|
|
166
|
+
solPriceUsd: BN; // 1e8 scale
|
|
167
|
+
pretokenPriceUsd: BN; // 1e8 scale
|
|
168
|
+
// Output
|
|
169
|
+
estimatedPretokens: BN; // 1e8 scale
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* ============================================================
|
|
173
|
+
* Global / GlobalState (New IDL Layout)
|
|
174
|
+
* ============================================================
|
|
175
|
+
*/
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* IDL: `global`
|
|
179
|
+
*
|
|
180
|
+
* Withdraw operator state:
|
|
181
|
+
* - NFT withdrawal receipts
|
|
182
|
+
* - Encumbered funds for pending withdrawals
|
|
183
|
+
*/
|
|
184
|
+
export type GlobalAccount = {
|
|
185
|
+
/** PDA bump */
|
|
186
|
+
bump: number;
|
|
187
|
+
|
|
188
|
+
/** Authority that can update serviceable epochs / receipts */
|
|
189
|
+
authority: PublicKey;
|
|
190
|
+
|
|
191
|
+
/** liqSOL mint used/burned when processing withdrawals */
|
|
192
|
+
liqsolMint: PublicKey;
|
|
193
|
+
|
|
194
|
+
/** Highest epoch which can currently be serviced/claimed */
|
|
195
|
+
serviceableEpoch: BN;
|
|
196
|
+
|
|
197
|
+
/** Total SOL encumbered (reserved for open withdrawal receipts) */
|
|
198
|
+
totalEncumberedFunds: BN;
|
|
199
|
+
|
|
200
|
+
/** Monotonic counter for generating unique receipt IDs */
|
|
201
|
+
nextReceiptId: BN;
|
|
202
|
+
};
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* IDL: `globalState`
|
|
206
|
+
*
|
|
207
|
+
* Wire pretokens + outpost configuration:
|
|
208
|
+
* - Admin / deployment timing
|
|
209
|
+
* - Refund delay
|
|
210
|
+
* - Total staked/purchased liqSOL via outpost
|
|
211
|
+
* - Global share accounting
|
|
212
|
+
* - Protocol shares
|
|
213
|
+
* - Role bonding requirements and warmup
|
|
214
|
+
* - `wireState` lifecycle (preLaunch/postLaunch/refund)
|
|
215
|
+
*/
|
|
216
|
+
export type GlobalState = {
|
|
217
|
+
/** Deployment timestamp (Unix, seconds) */
|
|
218
|
+
deployedAt: BN;
|
|
219
|
+
|
|
220
|
+
/** Delay before refunds are permitted (seconds) */
|
|
221
|
+
refundDelaySeconds: BN;
|
|
222
|
+
|
|
223
|
+
/** Global pause flag (if true, most ops are disabled) */
|
|
224
|
+
paused: boolean;
|
|
225
|
+
|
|
226
|
+
/** Total liqSOL staked via outpost (principal) */
|
|
227
|
+
totalStakedLiqsol: BN;
|
|
228
|
+
|
|
229
|
+
/** Total liqSOL used to purchase pretokens */
|
|
230
|
+
totalPurchasedLiqsol: BN;
|
|
231
|
+
|
|
232
|
+
/** Total shares issued to all users (staking + purchases) */
|
|
233
|
+
totalShares: BN;
|
|
234
|
+
|
|
235
|
+
/** Total shares allocated to protocol */
|
|
236
|
+
protocolShares: BN;
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* Current share-to-liqSOL index
|
|
240
|
+
* (scaled by a fixed INDEX_SCALE constant from the program).
|
|
241
|
+
*/
|
|
242
|
+
currentIndex: BN;
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* Replaced legacy `lastPoolLiqsolBalance`
|
|
246
|
+
* with expected balance based on total shares and current index.
|
|
247
|
+
*/
|
|
248
|
+
expectedPoolBalance: BN;
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* Accumulated liqSOL yield available to the protocol
|
|
252
|
+
* (used for `purchaseFromYield`-style flows).
|
|
253
|
+
*/
|
|
254
|
+
yieldAccumulatedLiqsol: BN;
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* Role principals in liqSOL; index by Role:
|
|
258
|
+
* [YieldOperator, BatchOperator, Underwriter, PoolOperator]
|
|
259
|
+
*/
|
|
260
|
+
rolePrincipals: BN[];
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* Global warmup duration in seconds for newly bonded roles.
|
|
264
|
+
* Before this time passes, roles are not considered active.
|
|
265
|
+
*/
|
|
266
|
+
roleWarmupDuration: BN;
|
|
267
|
+
|
|
268
|
+
/** Wire lifecycle state (preLaunch / postLaunch / refund) */
|
|
269
|
+
wireState: WireState | any;
|
|
270
|
+
|
|
271
|
+
/** PDA bump */
|
|
272
|
+
bump: number;
|
|
273
|
+
};
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
/**
|
|
277
|
+
* IDL: `globalConfig`
|
|
278
|
+
*
|
|
279
|
+
* Zero-copy global config PDA.
|
|
280
|
+
* Authority is taken from StakeControllerState, not stored here.
|
|
281
|
+
*/
|
|
282
|
+
export type GlobalConfig = {
|
|
283
|
+
/** PDA bump */
|
|
284
|
+
bump: number;
|
|
285
|
+
|
|
286
|
+
/** 7-byte padding (unused) */
|
|
287
|
+
padding: number[]; // u8[7]
|
|
288
|
+
|
|
289
|
+
/** Minimum SOL amount a user can deposit (lamports, u64) */
|
|
290
|
+
minUserDeposit: BN;
|
|
291
|
+
|
|
292
|
+
/** Minimum SOL amount for an unstake/withdrawal request (lamports, u64) */
|
|
293
|
+
minUnstakeRequest: BN;
|
|
294
|
+
|
|
295
|
+
/** Minimum stake delta to trigger a stake rebalance order (lamports, u64) */
|
|
296
|
+
minRebalanceStakeDelta: BN;
|
|
297
|
+
|
|
298
|
+
/** Minimum unstake delta to trigger an unstake rebalance order (lamports, u64) */
|
|
299
|
+
minRebalanceUnstakeDelta: BN;
|
|
300
|
+
|
|
301
|
+
/** Minimum transient stake to include in effective stake calculations (lamports, u64) */
|
|
302
|
+
transientThreshold: BN;
|
|
303
|
+
|
|
304
|
+
/**
|
|
305
|
+
* Minimum slots that must have elapsed in the epoch before late epoch operations can execute (u64)
|
|
306
|
+
*/
|
|
307
|
+
minLateEpochSlotGate: BN;
|
|
308
|
+
|
|
309
|
+
/** Reserved u64[2] */
|
|
310
|
+
reservedU64: BN[];
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* Epochs a validator must wait in the graveyard before it is booted.
|
|
314
|
+
* This begins after the last recorded state change (u16)
|
|
315
|
+
*/
|
|
316
|
+
cooldownEpochs: number;
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* Multiplier for deposit fee calculation (u16).
|
|
320
|
+
* Typically: avg_pay_rate * expected_warmup_epochs
|
|
321
|
+
*/
|
|
322
|
+
depositFeeMultiplier: number;
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* Minimum VPP score required to enter the active validator set,
|
|
326
|
+
* fallback when the validator set is very small (u16)
|
|
327
|
+
*/
|
|
328
|
+
minVppEntry: number;
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* VPP score threshold below which a validator is removed from active set,
|
|
332
|
+
* fallback threshold (u16)
|
|
333
|
+
*/
|
|
334
|
+
minVppExit: number;
|
|
335
|
+
|
|
336
|
+
/**
|
|
337
|
+
* Max validators for "tiny" network band (uses fixed VPP thresholds) (u16)
|
|
338
|
+
*/
|
|
339
|
+
tinyNetworkThreshold: number;
|
|
340
|
+
|
|
341
|
+
/**
|
|
342
|
+
* Max validators for "small" network band (uses percentile-based selection) (u16)
|
|
343
|
+
*/
|
|
344
|
+
smallNetworkThreshold: number;
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
* Max validators for "medium" network band (uses percentile-based selection) (u16)
|
|
348
|
+
*/
|
|
349
|
+
mediumNetworkThreshold: number;
|
|
350
|
+
|
|
351
|
+
/**
|
|
352
|
+
* Fixed rank threshold to enter active set in large networks (0-indexed, u16)
|
|
353
|
+
*/
|
|
354
|
+
largeNetworkEntryRank: number;
|
|
355
|
+
|
|
356
|
+
/**
|
|
357
|
+
* Fixed rank threshold to exit active set in large networks (0-indexed, u16)
|
|
358
|
+
*/
|
|
359
|
+
largeNetworkExitRank: number;
|
|
360
|
+
|
|
361
|
+
/** Reserved u16[3] */
|
|
362
|
+
reservedU16: number[];
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* Percentile rank required to enter active set in small networks (u8)
|
|
366
|
+
*/
|
|
367
|
+
smallNetworkEntryPercent: number;
|
|
368
|
+
|
|
369
|
+
/**
|
|
370
|
+
* Percentile rank below which validators exit in small networks (u8)
|
|
371
|
+
*/
|
|
372
|
+
smallNetworkExitPercent: number;
|
|
373
|
+
|
|
374
|
+
/**
|
|
375
|
+
* Percentile rank required to enter active set in medium networks (u8)
|
|
376
|
+
*/
|
|
377
|
+
mediumNetworkEntryPercent: number;
|
|
378
|
+
|
|
379
|
+
/**
|
|
380
|
+
* Percentile rank below which validators exit in medium networks (u8)
|
|
381
|
+
*/
|
|
382
|
+
mediumNetworkExitPercent: number;
|
|
383
|
+
|
|
384
|
+
/** Reserved u8[2] */
|
|
385
|
+
reservedU8: number[];
|
|
386
|
+
|
|
387
|
+
/**
|
|
388
|
+
* Feature flags (u16 bitfield):
|
|
389
|
+
* Bit 0: DepositsEnabled
|
|
390
|
+
* Bit 1: WithdrawalsEnabled
|
|
391
|
+
* Bit 2: ClaimWithdrawalsEnabled
|
|
392
|
+
* Bit 3: ProcessStakeOrdersEnabled
|
|
393
|
+
* Bit 4: ProcessUnstakeOrdersEnabled
|
|
394
|
+
* Bit 5: ProcessPayCycleEnabled
|
|
395
|
+
* Bit 6: RebalancingEnabled
|
|
396
|
+
* Bits 7–15: Reserved
|
|
397
|
+
*/
|
|
398
|
+
featureFlags: number;
|
|
399
|
+
|
|
400
|
+
/** Reserved flags (u16[1]) */
|
|
401
|
+
reservedFlags: number[];
|
|
402
|
+
};
|
|
403
|
+
|
|
404
|
+
/**
|
|
405
|
+
* ============================================================
|
|
406
|
+
* Outpost / Pretoken Accounts
|
|
407
|
+
* ============================================================
|
|
408
|
+
*/
|
|
409
|
+
|
|
410
|
+
/**
|
|
411
|
+
* IDL: `outpostAccount`
|
|
412
|
+
*
|
|
413
|
+
* Per-user Wire Outpost state:
|
|
414
|
+
* - Staked liqSOL + shares
|
|
415
|
+
* - Purchased liqSOL + shares
|
|
416
|
+
* - Role bonding principals and bitmap flags
|
|
417
|
+
* - Warmup timestamp
|
|
418
|
+
*/
|
|
419
|
+
export type OutpostAccount = {
|
|
420
|
+
/** User owner of this outpost account */
|
|
421
|
+
user: PublicKey;
|
|
422
|
+
|
|
423
|
+
/** Principal liqSOL staked via outpost */
|
|
424
|
+
stakedLiqsol: BN;
|
|
425
|
+
|
|
426
|
+
/** Shares from staking (index-based accounting) */
|
|
427
|
+
stakedShares: BN;
|
|
428
|
+
|
|
429
|
+
/** Principal liqSOL used for purchases */
|
|
430
|
+
purchasedLiqsol: BN;
|
|
431
|
+
|
|
432
|
+
/** Shares from liqSOL purchases */
|
|
433
|
+
purchasedShares: BN;
|
|
434
|
+
|
|
435
|
+
/**
|
|
436
|
+
* LiqSOL principals locked by roles:
|
|
437
|
+
* [YieldOperator, BatchOperator, Underwriter, PoolOperator]
|
|
438
|
+
*/
|
|
439
|
+
bondedPrincipals: BN[];
|
|
440
|
+
|
|
441
|
+
/**
|
|
442
|
+
* Bitmap of bonded roles (bits 0–3 correspond to Role enum order).
|
|
443
|
+
*/
|
|
444
|
+
bondedRoles: number;
|
|
445
|
+
|
|
446
|
+
/**
|
|
447
|
+
* Bitmap of roles that have requested unbonding (bits 0–3).
|
|
448
|
+
*/
|
|
449
|
+
unbondRequested: number;
|
|
450
|
+
|
|
451
|
+
/**
|
|
452
|
+
* Warmup end time; roles are not active until this timestamp.
|
|
453
|
+
*/
|
|
454
|
+
warmupEndsAt: BN;
|
|
455
|
+
|
|
456
|
+
/** PDA bump */
|
|
457
|
+
bump: number;
|
|
458
|
+
};
|
|
459
|
+
|
|
460
|
+
/**
|
|
461
|
+
* Backwards-compat: old name `WireReceipt` used in SDK now maps
|
|
462
|
+
* directly to the new `OutpostAccount` layout.
|
|
463
|
+
*/
|
|
464
|
+
export type WireReceipt = OutpostAccount;
|
|
465
|
+
|
|
466
|
+
/**
|
|
467
|
+
* IDL: `userPretokenRecord`
|
|
468
|
+
*
|
|
469
|
+
* Per-user pretoken purchase history:
|
|
470
|
+
* - Total SOL deposited
|
|
471
|
+
* - Total pretokens purchased (8-decimal i128)
|
|
472
|
+
* - Last tranche number & price used
|
|
473
|
+
*/
|
|
474
|
+
export type UserPretokenRecord = {
|
|
475
|
+
user: PublicKey;
|
|
476
|
+
|
|
477
|
+
/** Total SOL deposited for pretokens (unscaled u64) */
|
|
478
|
+
totalSolDeposited: BN;
|
|
479
|
+
|
|
480
|
+
/** Total pretokens purchased (8-decimal scaled i128) */
|
|
481
|
+
totalPretokensPurchased: BN;
|
|
482
|
+
|
|
483
|
+
/** Last tranche number used for a purchase */
|
|
484
|
+
lastTrancheNumber: BN;
|
|
485
|
+
|
|
486
|
+
/** Last tranche price in USD (8-decimal scaled i128) */
|
|
487
|
+
lastTranchePriceUsd: BN;
|
|
488
|
+
|
|
489
|
+
bump: number;
|
|
490
|
+
};
|
|
491
|
+
|
|
492
|
+
/**
|
|
493
|
+
* IDL: `trancheState`
|
|
494
|
+
*
|
|
495
|
+
* Global tranche configuration and pricing.
|
|
496
|
+
* All price/supply fields use 8-decimal precision (SCALE = 1e8).
|
|
497
|
+
*/
|
|
498
|
+
export type TrancheState = {
|
|
499
|
+
/** Current tranche number */
|
|
500
|
+
currentTrancheNumber: BN;
|
|
501
|
+
|
|
502
|
+
/** Remaining supply in the current tranche (8-decimal i128) */
|
|
503
|
+
currentTrancheSupply: BN;
|
|
504
|
+
|
|
505
|
+
/** Current tranche price in USD (8-decimal i128) */
|
|
506
|
+
currentTranchePriceUsd: BN;
|
|
507
|
+
|
|
508
|
+
/** Total pretokens sold across all tranches (8-decimal i128) */
|
|
509
|
+
totalPretokensSold: BN;
|
|
510
|
+
|
|
511
|
+
/** Initial per-tranche supply (8-decimal i128) */
|
|
512
|
+
initialTrancheSupply: BN;
|
|
513
|
+
|
|
514
|
+
/** Supply growth in basis points per tranche */
|
|
515
|
+
supplyGrowthBps: number;
|
|
516
|
+
|
|
517
|
+
/** Price growth in cents per tranche (0.01 USD units) */
|
|
518
|
+
priceGrowthCents: number;
|
|
519
|
+
|
|
520
|
+
/** Minimum valid SOL/USD price for Chainlink validation (8-decimal i128) */
|
|
521
|
+
minPriceUsd: BN;
|
|
522
|
+
|
|
523
|
+
/** Maximum valid SOL/USD price for Chainlink validation (8-decimal i128) */
|
|
524
|
+
maxPriceUsd: BN;
|
|
525
|
+
|
|
526
|
+
/** Maximum staleness in seconds for Chainlink price data */
|
|
527
|
+
maxStalenessSeconds: BN;
|
|
528
|
+
|
|
529
|
+
/** Chainlink program address */
|
|
530
|
+
chainlinkProgram: PublicKey;
|
|
531
|
+
|
|
532
|
+
/** Chainlink SOL/USD feed address */
|
|
533
|
+
chainlinkFeed: PublicKey;
|
|
534
|
+
|
|
535
|
+
/** PDA bump */
|
|
536
|
+
bump: number;
|
|
537
|
+
};
|
|
538
|
+
|
|
539
|
+
/**
|
|
540
|
+
* ============================================================
|
|
541
|
+
* Pay Rate / Price History
|
|
542
|
+
* ============================================================
|
|
543
|
+
*/
|
|
544
|
+
|
|
545
|
+
/**
|
|
546
|
+
* IDL: `payRateEntry`
|
|
547
|
+
*/
|
|
548
|
+
export type PayRateEntry = {
|
|
549
|
+
/** Unix timestamp for this rate sample */
|
|
550
|
+
timestamp: BN;
|
|
551
|
+
|
|
552
|
+
/** Scaled pay rate (u64; program defines scale) */
|
|
553
|
+
scaledRate: BN;
|
|
554
|
+
};
|
|
555
|
+
|
|
556
|
+
/**
|
|
557
|
+
* IDL: `payRateHistory`
|
|
558
|
+
*
|
|
559
|
+
* Circular buffer of recent pay rates.
|
|
560
|
+
*/
|
|
561
|
+
export type PayRateHistory = {
|
|
562
|
+
/** Current index in the circular buffer */
|
|
563
|
+
currentIndex: number;
|
|
564
|
+
|
|
565
|
+
/** Total entries ever added (monotonic counter) */
|
|
566
|
+
totalEntriesAdded: BN;
|
|
567
|
+
|
|
568
|
+
/** Buffer of entries (fixed-capacity on-chain) */
|
|
569
|
+
entries: PayRateEntry[];
|
|
570
|
+
|
|
571
|
+
/** Maximum entries the buffer can hold */
|
|
572
|
+
maxEntries: number;
|
|
573
|
+
|
|
574
|
+
/** PDA bump */
|
|
575
|
+
bump: number;
|
|
576
|
+
};
|
|
577
|
+
|
|
578
|
+
/**
|
|
579
|
+
* IDL: `priceHistory`
|
|
580
|
+
*
|
|
581
|
+
* Circular buffer of recent SOL/USD prices, 8-decimal precision.
|
|
582
|
+
*/
|
|
583
|
+
export type PriceHistory = {
|
|
584
|
+
/** Window size used for moving average, etc. */
|
|
585
|
+
windowSize: number;
|
|
586
|
+
|
|
587
|
+
/** Recent prices (8-decimal scaled i128) */
|
|
588
|
+
prices: BN[];
|
|
589
|
+
|
|
590
|
+
/** Number of valid entries in the buffer */
|
|
591
|
+
count: number;
|
|
592
|
+
|
|
593
|
+
/** Index to write the next price into */
|
|
594
|
+
nextIndex: number;
|
|
595
|
+
|
|
596
|
+
/** PDA bump */
|
|
597
|
+
bump: number;
|
|
598
|
+
};
|
|
599
|
+
|
|
600
|
+
/**
|
|
601
|
+
* ============================================================
|
|
602
|
+
* Leaderboard Types
|
|
603
|
+
* ============================================================
|
|
604
|
+
*/
|
|
605
|
+
|
|
606
|
+
/**
|
|
607
|
+
* On-chain leaderboard snapshot.
|
|
608
|
+
*
|
|
609
|
+
* IDL account: `leaderboardState`
|
|
610
|
+
*
|
|
611
|
+
* - `scores[i]` is the numeric score for validator with registry index `i`
|
|
612
|
+
* - `sortedIndices` is a permutation of [0..N) giving indices from
|
|
613
|
+
* highest score to lowest.
|
|
614
|
+
* - `voteAccounts[i]` is the vote account pubkey corresponding to
|
|
615
|
+
* validator registry index `i`.
|
|
616
|
+
*/
|
|
617
|
+
export type LeaderboardState = {
|
|
618
|
+
/**
|
|
619
|
+
* Per-validator scores (i64 on-chain).
|
|
620
|
+
* Index corresponds to `registryIndex` in ValidatorRecord.
|
|
621
|
+
*/
|
|
622
|
+
scores: number[];
|
|
623
|
+
|
|
624
|
+
/**
|
|
625
|
+
* Sorted indices into `scores[]` / `voteAccounts[]`,
|
|
626
|
+
* typically highest score first.
|
|
627
|
+
*/
|
|
628
|
+
sortedIndices: number[]; // u32 on-chain
|
|
629
|
+
|
|
630
|
+
/**
|
|
631
|
+
* Vote accounts for validators. Parallel array to `scores`.
|
|
632
|
+
* `voteAccounts[i]` is the vote account for validator with
|
|
633
|
+
* `registryIndex == i`.
|
|
634
|
+
*/
|
|
635
|
+
voteAccounts: { bytes: number[]; }[];
|
|
636
|
+
|
|
637
|
+
/**
|
|
638
|
+
* Number of active validators currently tracked in the leaderboard.
|
|
639
|
+
* Only the first `numValidators` entries of the arrays are meaningful.
|
|
640
|
+
*/
|
|
641
|
+
numValidators: number; // u32 on-chain
|
|
642
|
+
|
|
643
|
+
/** PDA bump seed for leaderboardState. */
|
|
644
|
+
bump: number; // u8 on-chain
|
|
645
|
+
|
|
646
|
+
/**
|
|
647
|
+
* Reserved padding / future-proofing on-chain (u64[8]).
|
|
648
|
+
* Not used by client logic, but surfaced for completeness.
|
|
649
|
+
*/
|
|
650
|
+
padding: number[];
|
|
651
|
+
};
|
|
652
|
+
|
|
653
|
+
/**
|
|
654
|
+
* Per-validator record tying Solana vote account to
|
|
655
|
+
* Wire staking / MEV metadata.
|
|
656
|
+
*
|
|
657
|
+
* IDL account: `validatorRecord`
|
|
658
|
+
*/
|
|
659
|
+
export type ValidatorRecord = {
|
|
660
|
+
/**
|
|
661
|
+
* The validator's Solana vote account.
|
|
662
|
+
*/
|
|
663
|
+
voteAccount: PublicKey;
|
|
664
|
+
|
|
665
|
+
/**
|
|
666
|
+
* Index into the global validator registry / leaderboard arrays.
|
|
667
|
+
* This is the index used for `scores[]`, `voteAccounts[]`, etc.
|
|
668
|
+
*/
|
|
669
|
+
registryIndex: number;
|
|
670
|
+
|
|
671
|
+
/**
|
|
672
|
+
* Last observed vote credits for this validator,
|
|
673
|
+
* used for rewards / performance accounting.
|
|
674
|
+
*/
|
|
675
|
+
creditsObserved: BN;
|
|
676
|
+
|
|
677
|
+
/**
|
|
678
|
+
* Historical commission values over time (e.g., per epoch).
|
|
679
|
+
* Exact semantics depend on on-chain implementation, but this is
|
|
680
|
+
* typically a ring buffer of u8/u16 basis-point values.
|
|
681
|
+
*/
|
|
682
|
+
commissionHistory: number[];
|
|
683
|
+
|
|
684
|
+
/**
|
|
685
|
+
* Current index into `commissionHistory` ring buffer.
|
|
686
|
+
*/
|
|
687
|
+
commissionIndex: number;
|
|
688
|
+
|
|
689
|
+
/**
|
|
690
|
+
* Last time (unix timestamp or slot-aligned time) the base
|
|
691
|
+
* commission was updated.
|
|
692
|
+
*/
|
|
693
|
+
lastCommissionUpdate: BN;
|
|
694
|
+
|
|
695
|
+
/**
|
|
696
|
+
* Last epoch for which this record was updated.
|
|
697
|
+
*/
|
|
698
|
+
epoch: BN;
|
|
699
|
+
|
|
700
|
+
/**
|
|
701
|
+
* Last observed slot for this validator record.
|
|
702
|
+
*/
|
|
703
|
+
slot: BN;
|
|
704
|
+
|
|
705
|
+
/**
|
|
706
|
+
* Whether this validator is operated by a Wire-approved operator.
|
|
707
|
+
* Used for preferential routing / UX labeling.
|
|
708
|
+
*/
|
|
709
|
+
wireOperator: boolean;
|
|
710
|
+
|
|
711
|
+
/**
|
|
712
|
+
* Current MEV commission (e.g., bps or percentage).
|
|
713
|
+
*/
|
|
714
|
+
mevCommission: number;
|
|
715
|
+
|
|
716
|
+
/**
|
|
717
|
+
* Historical MEV commission values over time.
|
|
718
|
+
*/
|
|
719
|
+
mevCommissionHistory: number[];
|
|
720
|
+
|
|
721
|
+
/**
|
|
722
|
+
* Current index into `mevCommissionHistory` ring buffer.
|
|
723
|
+
*/
|
|
724
|
+
mevCommissionIndex: number;
|
|
725
|
+
|
|
726
|
+
/**
|
|
727
|
+
* Last time the MEV commission was updated.
|
|
728
|
+
*/
|
|
729
|
+
lastMevCommissionUpdate: BN;
|
|
730
|
+
|
|
731
|
+
/**
|
|
732
|
+
* PDA bump seed for validatorRecord.
|
|
733
|
+
*/
|
|
734
|
+
bump: number;
|
|
735
|
+
};
|
|
736
|
+
|
|
737
|
+
/**
|
|
738
|
+
* IDL: `receiptData`
|
|
739
|
+
*
|
|
740
|
+
* Withdrawal receipt data structure tracking pending withdrawals.
|
|
741
|
+
* Each receipt represents a user's request to withdraw liqSOL,
|
|
742
|
+
* with the withdrawal contingent on sufficient encumbered funds
|
|
743
|
+
* being available at the serviceable epoch.
|
|
744
|
+
*/
|
|
745
|
+
export type ReceiptData = {
|
|
746
|
+
/** Unique receipt identifier (monotonically increasing, u64) */
|
|
747
|
+
receiptId: bigint;
|
|
748
|
+
|
|
749
|
+
/** Amount of liqSOL requested for withdrawal (Token-2022 raw amount, u64) */
|
|
750
|
+
liqports: bigint;
|
|
751
|
+
|
|
752
|
+
/** Epoch at which this receipt becomes claimable (u64) */
|
|
753
|
+
epoch: bigint;
|
|
754
|
+
|
|
755
|
+
/** Flag indicating whether this receipt has been fulfilled/claimed (bool) */
|
|
756
|
+
fulfilled: boolean;
|
|
757
|
+
};
|