@wireio/stake 2.5.1 → 2.6.0
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/lib/stake.browser.js +28102 -730
- package/lib/stake.browser.js.map +1 -1
- package/lib/stake.d.ts +53 -11
- package/lib/stake.js +28126 -730
- package/lib/stake.js.map +1 -1
- package/lib/stake.m.js +28102 -730
- package/lib/stake.m.js.map +1 -1
- package/package.json +3 -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 +1004 -0
- package/src/assets/ethereum/hoodi/liqEth/DepositManager.sol/IStakingModuleBondLocker.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/liqEth/DepositManager.sol/IStakingModuleBondLocker.json +29 -0
- package/src/assets/ethereum/hoodi/liqEth/KeyBondManager.sol/KeyBondManager.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/liqEth/KeyBondManager.sol/KeyBondManager.json +897 -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/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/IKeyBondManager.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/liqEth/LiqEthCommon.sol/IKeyBondManager.json +189 -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 +279 -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/StakingLib.sol/StakingLib.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/liqEth/StakingLib.sol/StakingLib.json +89 -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/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 +1896 -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 +542 -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/BARV2.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/BAR.sol/BARV2.json +1915 -0
- package/src/assets/ethereum/hoodi/outpost/Depositor.sol/DepositorV2.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/Depositor.sol/DepositorV2.json +1845 -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 +551 -0
- package/src/assets/ethereum/hoodi/outpost/OPP.sol/OPP.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/OPP.sol/OPP.json +948 -0
- package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/IOPP.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/IOPP.json +88 -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 +194 -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 +36 -0
- package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/OPPCommon.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/OPPCommon.sol/OPPCommon.json +199 -0
- package/src/assets/ethereum/hoodi/outpost/OPPEndpoint.sol/OPPEndpoint.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/OPPEndpoint.sol/OPPEndpoint.json +273 -0
- package/src/assets/ethereum/hoodi/outpost/OPPEndpointManaged.sol/OPPEndpointManaged.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/OPPEndpointManaged.sol/OPPEndpointManaged.json +394 -0
- package/src/assets/ethereum/hoodi/outpost/OPPEndpointOwnable.sol/OPPEndpointOwnable.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/OPPEndpointOwnable.sol/OPPEndpointOwnable.json +378 -0
- package/src/assets/ethereum/hoodi/outpost/OPPErrors.sol/OPPErrors.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/OPPErrors.sol/OPPErrors.json +224 -0
- package/src/assets/ethereum/hoodi/outpost/OPPInbound.sol/OPPInbound.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/OPPInbound.sol/OPPInbound.json +1010 -0
- package/src/assets/ethereum/hoodi/outpost/OPPReceiver.sol/OPPReceiver.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/OPPReceiver.sol/OPPReceiver.json +291 -0
- package/src/assets/ethereum/hoodi/outpost/OPPSender.sol/OPPSender.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/OPPSender.sol/OPPSender.json +298 -0
- package/src/assets/ethereum/hoodi/outpost/OutpostErrors.sol/OutpostErrors.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/OutpostErrors.sol/OutpostErrors.json +488 -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/OutpostManagerV2.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/OutpostManager.sol/OutpostManagerV2.json +737 -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/Pool.sol/PoolV2.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/Pool.sol/PoolV2.json +943 -0
- package/src/assets/ethereum/hoodi/outpost/Pretoken.sol/PretokenV2.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/Pretoken.sol/PretokenV2.json +1703 -0
- package/src/assets/ethereum/hoodi/outpost/ReceiptNFT.sol/ReceiptNFT.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/ReceiptNFT.sol/ReceiptNFT.json +2015 -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/outpost/v1/BAR.sol/BAR.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/v1/BAR.sol/BAR.json +1871 -0
- package/src/assets/ethereum/hoodi/outpost/v1/Depositor.sol/Depositor.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/v1/Depositor.sol/Depositor.json +1653 -0
- package/src/assets/ethereum/hoodi/outpost/v1/OutpostManager.sol/OutpostManager.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/v1/OutpostManager.sol/OutpostManager.json +730 -0
- package/src/assets/ethereum/hoodi/outpost/v1/Pool.sol/Pool.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/v1/Pool.sol/Pool.json +936 -0
- package/src/assets/ethereum/hoodi/outpost/v1/Pretoken.sol/Pretoken.dbg.json +4 -0
- package/src/assets/ethereum/hoodi/outpost/v1/Pretoken.sol/Pretoken.json +1665 -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/networks/ethereum/clients/stake.client.ts +81 -7
- package/src/networks/ethereum/contract.ts +189 -81
- package/src/networks/ethereum/ethereum.ts +47 -6
- package/src/networks/ethereum/types.ts +10 -0
- package/src/networks/solana/constants.ts +3 -3
- package/src/networks/solana/solana.ts +92 -7
- package/src/networks/solana/types.ts +2 -2
- package/src/types.ts +10 -1
package/lib/stake.d.ts
CHANGED
|
@@ -42,7 +42,12 @@ interface IStakingClient {
|
|
|
42
42
|
/** Claim a withdrawal receipt (burn NFT + receive ETH/SOL) via claim_withdraw. */
|
|
43
43
|
claimWithdraw(tokenId: bigint): Promise<string>;
|
|
44
44
|
/** Solana only: claim accrued liqSOL distribution rewards. */
|
|
45
|
-
|
|
45
|
+
/** Atomically deposit native token to liq token, then stake that liq token. On Solana: amount in lamports. On Ethereum: amount in wei. */
|
|
46
|
+
depositAndStake(amount: bigint): Promise<string>;
|
|
47
|
+
/** Atomically deposit native token to liq token, then buy pretokens with that liq token. On Solana: amount in lamports. On Ethereum: amount in wei. */
|
|
48
|
+
depositAndBuy(amount: bigint): Promise<string>;
|
|
49
|
+
/** Atomically unstake liq token, then request withdrawal. On Solana: amount in lamports. On Ethereum: tokenId (ReceiptNFT ID). */
|
|
50
|
+
unstakeAndWithdraw(amount: bigint): Promise<string>;
|
|
46
51
|
/** Enumerate withdrawal receipt NFTs held by the user (queued/ready/claimed). */
|
|
47
52
|
getPendingWithdraws(address?: string): Promise<WithdrawReceipt$1[]>;
|
|
48
53
|
/** Fetch the complete user portfolio */
|
|
@@ -360,6 +365,14 @@ interface WithdrawnStakeResult extends Result {
|
|
|
360
365
|
/** Parsed WithdrawnStake event, if present */
|
|
361
366
|
withdrawnstake?: WithdrawnStakeEvent;
|
|
362
367
|
}
|
|
368
|
+
interface DepositAndStakeResult extends Result {
|
|
369
|
+
/** Parsed Staked event, if present */
|
|
370
|
+
staked?: StakedEvent;
|
|
371
|
+
}
|
|
372
|
+
interface DepositAndPurchaseResult extends Result {
|
|
373
|
+
}
|
|
374
|
+
interface UnstakeAndWithdrawResult extends Result {
|
|
375
|
+
}
|
|
363
376
|
interface SharesBurnedEvent {
|
|
364
377
|
from: string;
|
|
365
378
|
shares: BigNumber;
|
|
@@ -395,11 +408,14 @@ type types$1_AddressBook = AddressBook;
|
|
|
395
408
|
declare const types$1_CONTRACT_NAMES: typeof CONTRACT_NAMES;
|
|
396
409
|
type types$1_ClaimedEvent = ClaimedEvent;
|
|
397
410
|
type types$1_ContractName = ContractName;
|
|
411
|
+
type types$1_DepositAndPurchaseResult = DepositAndPurchaseResult;
|
|
412
|
+
type types$1_DepositAndStakeResult = DepositAndStakeResult;
|
|
398
413
|
type types$1_DepositEvent = DepositEvent;
|
|
399
414
|
type types$1_DepositResult = DepositResult;
|
|
400
415
|
type types$1_SharesBurnedEvent = SharesBurnedEvent;
|
|
401
416
|
type types$1_StakedEvent = StakedEvent;
|
|
402
417
|
type types$1_StakedResult = StakedResult;
|
|
418
|
+
type types$1_UnstakeAndWithdrawResult = UnstakeAndWithdrawResult;
|
|
403
419
|
type types$1_ValidatorDepositedEvent = ValidatorDepositedEvent;
|
|
404
420
|
type types$1_WithdrawReceipt = WithdrawReceipt;
|
|
405
421
|
type types$1_WithdrawRequestedEvent = WithdrawRequestedEvent;
|
|
@@ -409,7 +425,7 @@ type types$1_WithdrawnStakeResult = WithdrawnStakeResult;
|
|
|
409
425
|
type types$1_preLaunchReceipt = preLaunchReceipt;
|
|
410
426
|
declare namespace types$1 {
|
|
411
427
|
export { types$1_CONTRACT_NAMES as CONTRACT_NAMES };
|
|
412
|
-
export type { types$1_AddressBook as AddressBook, types$1_ClaimedEvent as ClaimedEvent, types$1_ContractName as ContractName, types$1_DepositEvent as DepositEvent, types$1_DepositResult as DepositResult, types$1_SharesBurnedEvent as SharesBurnedEvent, types$1_StakedEvent as StakedEvent, types$1_StakedResult as StakedResult, types$1_ValidatorDepositedEvent as ValidatorDepositedEvent, types$1_WithdrawReceipt as WithdrawReceipt, types$1_WithdrawRequestedEvent as WithdrawRequestedEvent, types$1_WithdrawResult as WithdrawResult, types$1_WithdrawnStakeEvent as WithdrawnStakeEvent, types$1_WithdrawnStakeResult as WithdrawnStakeResult, types$1_preLaunchReceipt as preLaunchReceipt };
|
|
428
|
+
export type { types$1_AddressBook as AddressBook, types$1_ClaimedEvent as ClaimedEvent, types$1_ContractName as ContractName, types$1_DepositAndPurchaseResult as DepositAndPurchaseResult, types$1_DepositAndStakeResult as DepositAndStakeResult, types$1_DepositEvent as DepositEvent, types$1_DepositResult as DepositResult, types$1_SharesBurnedEvent as SharesBurnedEvent, types$1_StakedEvent as StakedEvent, types$1_StakedResult as StakedResult, types$1_UnstakeAndWithdrawResult as UnstakeAndWithdrawResult, types$1_ValidatorDepositedEvent as ValidatorDepositedEvent, types$1_WithdrawReceipt as WithdrawReceipt, types$1_WithdrawRequestedEvent as WithdrawRequestedEvent, types$1_WithdrawResult as WithdrawResult, types$1_WithdrawnStakeEvent as WithdrawnStakeEvent, types$1_WithdrawnStakeResult as WithdrawnStakeResult, types$1_preLaunchReceipt as preLaunchReceipt };
|
|
413
429
|
}
|
|
414
430
|
|
|
415
431
|
declare const INITIAL_TRANCHE_SUPPLY = 35000;
|
|
@@ -468,14 +484,15 @@ declare class EthereumStakingClient implements IStakingClient {
|
|
|
468
484
|
*/
|
|
469
485
|
withdraw(amount: bigint): Promise<string>;
|
|
470
486
|
/**
|
|
471
|
-
*
|
|
472
|
-
* @param
|
|
473
|
-
* @returns
|
|
487
|
+
* List withdrawal queue receipts for a wallet (pending / in-progress exits after safeBurn).
|
|
488
|
+
* @param address Owner to query; defaults to the connected wallet.
|
|
489
|
+
* @returns Withdrawal receipt NFT entries from the protocol view
|
|
474
490
|
*/
|
|
475
491
|
getPendingWithdraws(address?: string): Promise<WithdrawReceipt[]>;
|
|
476
492
|
/**
|
|
477
|
-
*
|
|
478
|
-
*
|
|
493
|
+
* Claim native ETH for a matured withdrawal using the WithdrawalQueue NFT token id
|
|
494
|
+
* (via DepositManager.claim after the delay has passed).
|
|
495
|
+
* @param tokenId Withdrawal request / queue NFT token id
|
|
479
496
|
* @returns transaction hash
|
|
480
497
|
*/
|
|
481
498
|
claimWithdraw(tokenId: bigint): Promise<string>;
|
|
@@ -486,6 +503,24 @@ declare class EthereumStakingClient implements IStakingClient {
|
|
|
486
503
|
*/
|
|
487
504
|
stake(amount: bigint): Promise<string>;
|
|
488
505
|
unstake(): Promise<string>;
|
|
506
|
+
/**
|
|
507
|
+
* Deposit ETH to liqETH, then stake liqETH in a single transaction.
|
|
508
|
+
* @param amountWei Amount in wei.
|
|
509
|
+
* @returns transaction hash
|
|
510
|
+
*/
|
|
511
|
+
depositAndStake(amountWei: bigint): Promise<string>;
|
|
512
|
+
/**
|
|
513
|
+
* Deposit ETH to liqETH, then purchase pretokens in a single transaction.
|
|
514
|
+
* @param amountWei Amount in wei.
|
|
515
|
+
* @returns transaction hash
|
|
516
|
+
*/
|
|
517
|
+
depositAndBuy(amountWei: bigint): Promise<string>;
|
|
518
|
+
/**
|
|
519
|
+
* Unstake liqETH, then request a withdrawal in a single transaction.
|
|
520
|
+
* @param tokenId The ReceiptNFT token ID for the stake position
|
|
521
|
+
* @returns transaction hash
|
|
522
|
+
*/
|
|
523
|
+
unstakeAndWithdraw(tokenId: bigint): Promise<string>;
|
|
489
524
|
/**
|
|
490
525
|
* ETH Prelaunch function to unstake liqEth
|
|
491
526
|
* @param tokenId ReceiptNFT tokenId for the owned NFT that will be burned
|
|
@@ -703,7 +738,7 @@ declare const ERC1155Abi: ({
|
|
|
703
738
|
declare const MAINNET_ADDRESSES: AddressBook;
|
|
704
739
|
/**
|
|
705
740
|
* HOODI TESTNET LATEST
|
|
706
|
-
*
|
|
741
|
+
* 3/25/26
|
|
707
742
|
*/
|
|
708
743
|
declare const HOODI_ADDRESSES: AddressBook;
|
|
709
744
|
declare const ADDRESS_BOOK_BY_CHAIN: Record<SupportedEvmChainID, AddressBook>;
|
|
@@ -762,8 +797,8 @@ declare class EthereumContractService {
|
|
|
762
797
|
type SolanaTransaction = Transaction | VersionedTransaction;
|
|
763
798
|
type WalletLike = {
|
|
764
799
|
publicKey: PublicKey$1;
|
|
765
|
-
signTransaction: (tx:
|
|
766
|
-
signAllTransactions?: (txs:
|
|
800
|
+
signTransaction: <T extends SolanaTransaction>(tx: T) => Promise<T>;
|
|
801
|
+
signAllTransactions?: <T extends SolanaTransaction>(txs: T[]) => Promise<T[]>;
|
|
767
802
|
};
|
|
768
803
|
type ParsedAccountInfo = {
|
|
769
804
|
extensions: Array<{
|
|
@@ -1394,7 +1429,7 @@ type SolanaProgramIds = {
|
|
|
1394
1429
|
LIQSOL_TOKEN: PublicKey$1;
|
|
1395
1430
|
VALIDATOR_LEADERBOARD: PublicKey$1;
|
|
1396
1431
|
TRANSFER_HOOK: PublicKey$1;
|
|
1397
|
-
|
|
1432
|
+
ALT: PublicKey$1;
|
|
1398
1433
|
};
|
|
1399
1434
|
declare const PROGRAM_IDS_BY_CHAIN: Record<SupportedSolChainID, SolanaProgramIds>;
|
|
1400
1435
|
declare const getProgramIds: (chainId: SolChainID) => SolanaProgramIds;
|
|
@@ -16872,6 +16907,12 @@ declare class SolanaStakingClient implements IStakingClient {
|
|
|
16872
16907
|
* instruction under the new IDL (no more native-SOL purchase).
|
|
16873
16908
|
*/
|
|
16874
16909
|
buy(amountLamports: bigint): Promise<string>;
|
|
16910
|
+
/** Deposit SOL to liqSOL, then syndicate that liqSOL in one transaction. Requires enough SOL for the deposit fee. */
|
|
16911
|
+
depositAndStake(amountLamports: bigint): Promise<string>;
|
|
16912
|
+
/** Deposit SOL to liqSOL, then buy pretokens with that liqSOL in one transaction. Requires enough SOL for the deposit fee. */
|
|
16913
|
+
depositAndBuy(amountLamports: bigint): Promise<string>;
|
|
16914
|
+
/** Desyndicate liqSOL, then request withdraw in one transaction. */
|
|
16915
|
+
unstakeAndWithdraw(amountLamports: bigint): Promise<string>;
|
|
16875
16916
|
/**
|
|
16876
16917
|
* Aggregate view of the user’s balances on Solana:
|
|
16877
16918
|
* - native: SOL wallet balance
|
|
@@ -16889,6 +16930,7 @@ declare class SolanaStakingClient implements IStakingClient {
|
|
|
16889
16930
|
getUserRecord(): Promise<DistributionUserRecord | null>;
|
|
16890
16931
|
get squadsMultisigPDA(): PublicKey$1 | undefined;
|
|
16891
16932
|
get squadsVaultPDA(): PublicKey$1 | undefined;
|
|
16933
|
+
/** Create a Squads vault transaction/proposal for one or more instructions. */
|
|
16892
16934
|
private sendSquadsIxs;
|
|
16893
16935
|
buildAndSendIx(ix: TransactionInstruction | TransactionInstruction[]): Promise<string>;
|
|
16894
16936
|
/**
|