@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
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "StakingLib",
|
|
4
|
+
"sourceName": "contracts/liqEth/StakingLib.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"internalType": "bytes",
|
|
10
|
+
"name": "pubkey",
|
|
11
|
+
"type": "bytes"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"internalType": "bytes32",
|
|
15
|
+
"name": "withdrawalCredentials",
|
|
16
|
+
"type": "bytes32"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"internalType": "bytes",
|
|
20
|
+
"name": "signature",
|
|
21
|
+
"type": "bytes"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"internalType": "uint64",
|
|
25
|
+
"name": "gweiAmount",
|
|
26
|
+
"type": "uint64"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"name": "computeDepositDataRoot",
|
|
30
|
+
"outputs": [
|
|
31
|
+
{
|
|
32
|
+
"internalType": "bytes32",
|
|
33
|
+
"name": "",
|
|
34
|
+
"type": "bytes32"
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"stateMutability": "pure",
|
|
38
|
+
"type": "function"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"inputs": [
|
|
42
|
+
{
|
|
43
|
+
"internalType": "bytes",
|
|
44
|
+
"name": "pubkey",
|
|
45
|
+
"type": "bytes"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"internalType": "bytes",
|
|
49
|
+
"name": "signature",
|
|
50
|
+
"type": "bytes"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"internalType": "bytes32",
|
|
54
|
+
"name": "depositDataRoot",
|
|
55
|
+
"type": "bytes32"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"internalType": "bytes32",
|
|
59
|
+
"name": "withdrawalCredentials",
|
|
60
|
+
"type": "bytes32"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"internalType": "uint64",
|
|
64
|
+
"name": "gweiAmount",
|
|
65
|
+
"type": "uint64"
|
|
66
|
+
}
|
|
67
|
+
],
|
|
68
|
+
"name": "validateDepositKey",
|
|
69
|
+
"outputs": [
|
|
70
|
+
{
|
|
71
|
+
"internalType": "bool",
|
|
72
|
+
"name": "isValid",
|
|
73
|
+
"type": "bool"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"internalType": "string",
|
|
77
|
+
"name": "errorMessage",
|
|
78
|
+
"type": "string"
|
|
79
|
+
}
|
|
80
|
+
],
|
|
81
|
+
"stateMutability": "pure",
|
|
82
|
+
"type": "function"
|
|
83
|
+
}
|
|
84
|
+
],
|
|
85
|
+
"bytecode": "0x60808060405234601957610810908161001f823930815050f35b600080fdfe608060405260048036101561001357600080fd5b600090813560e01c8063c838cad0146100ac5763d2c6a3a61461003557600080fd5b60803660031901126100a85767ffffffffffffffff9181358381116100a8576100619036908401610153565b926044358581116100a45761007891369101610153565b93909260643595861686036100a157602061009987878760243587896104c3565b604051908152f35b80fd5b8380fd5b5080fd5b509060a03660031901126100a15767ffffffffffffffff91803583811161014f576100da9036908301610153565b92909160243585811161014f576100f391369101610153565b9160843595861686036100a15760606101158760643560443587878b8b610219565b919060405192839115158252604060208301526101418151809281604086015260208686019101610186565b601f01601f19168101030190f35b8280fd5b9181601f840112156101815782359167ffffffffffffffff8311610181576020838186019501011161018157565b600080fd5b60005b8381106101995750506000910152565b8181015183820152602001610189565b6040810190811067ffffffffffffffff8211176101c557604052565b634e487b7160e01b600052604160045260246000fd5b6060810190811067ffffffffffffffff8211176101c557604052565b90821015610203570190565b634e487b7160e01b600052603260045260246000fd5b929095919694966030976030880361048657606097606084036104455786156103ff5760019960005b67ffffffffffffffff8116828110156103ee576001600160f81b03199061026a90858b6101f7565b35166102825760010167ffffffffffffffff16610242565b50509091929394959697985060005b6103b15760019860005b67ffffffffffffffff8116828110156103a1576001600160f81b0319906102c39088886101f7565b35166102db5760010167ffffffffffffffff1661029b565b505090919293949596975060005b61035e576102f6956104c3565b03610322576001906040516020810181811067ffffffffffffffff8211176101c5576040526000815290565b600090604051610331816101a9565b601a81527f4465706f736974206461746120726f6f74206d69736d61746368000000000000602082015290565b50505050505050600090604051610374816101a9565b601881527f5369676e61747572652063616e6e6f74206265207a65726f0000000000000000602082015290565b50505090919293949596976102e9565b5050505050505090506000906040516103c9816101a9565b60158152745075626b65792063616e6e6f74206265207a65726f60581b602082015290565b505050909192939495969798610291565b50505050505050915050600090604051610418816101a9565b602081527f4465706f736974206461746120726f6f742063616e6e6f74206265207a65726f602082015290565b5050505050505091505060009060405161045e816101a9565b6018815277092dcecc2d8d2c840e6d2cedcc2e8eae4ca40d8cadccee8d60431b602082015290565b50505050505091505060009060405161049e816101a9565b6015815274092dcecc2d8d2c840e0eac4d6caf240d8cadccee8d605b1b602082015290565b94919092936030840361079d576060810361075d576020938411610181576040948551938585019780358952866fffffffffffffffffffffffffffffffff199101351687860152868552610516856101db565b610527875198899651968791610186565b85600089819a60029881010390885afa156107415787519067ffffffffffff00008160081b9160081c9165ff000000ff0064ff000000ff65ffffffffffff66ff000000ff0000861667ff000000ff00000085161760101c16941691161760101b16179167ffffffffffffffff9380881161075957808911610759576060116107555786896105dc8a518381019085358252848601358d8201528c81526105cc816101db565b8c51928392839251928391610186565b81010390895afa1561074b57868961060c8151938b518c8582019201358252838d8201528c81526105cc816101db565b81010390895afa1561074b5788610649889282518b51908582019283528c8201528b8152610639816101db565b8b51928392839251928391610186565b81010390885afa15610741578761068787928251968a51908582019283528b8201528a8152610677816101db565b8a51928392839251928391610186565b81010390875afa15610737576106d385928892835195895191868301938082891c1691881b161760c01b8352898201528881526106c3816101db565b8851928392839251928391610186565b81010390855afa1561072a57906107108592835186519086820192835287820152868152610700816101db565b8651928392839251928391610186565b810103915afa1561072057505190565b51903d90823e3d90fd5b50505051903d90823e3d90fd5b85513d88823e3d90fd5b86513d89823e3d90fd5b87513d8a823e3d90fd5b8880fd5b8980fd5b60405162461bcd60e51b8152602060048201526018602482015277092dcecc2d8d2c840e6d2cedcc2e8eae4ca40d8cadccee8d60431b6044820152606490fd5b60405162461bcd60e51b8152602060048201526015602482015274092dcecc2d8d2c840e0eac4d6caf240d8cadccee8d605b1b6044820152606490fdfea264697066735822122038a2021778249d7ee5a50c0c2186f5d9c7e3ef7947d528996a02b7d3230f172164736f6c63430008190033",
|
|
86
|
+
"deployedBytecode": "0x608060405260048036101561001357600080fd5b600090813560e01c8063c838cad0146100ac5763d2c6a3a61461003557600080fd5b60803660031901126100a85767ffffffffffffffff9181358381116100a8576100619036908401610153565b926044358581116100a45761007891369101610153565b93909260643595861686036100a157602061009987878760243587896104c3565b604051908152f35b80fd5b8380fd5b5080fd5b509060a03660031901126100a15767ffffffffffffffff91803583811161014f576100da9036908301610153565b92909160243585811161014f576100f391369101610153565b9160843595861686036100a15760606101158760643560443587878b8b610219565b919060405192839115158252604060208301526101418151809281604086015260208686019101610186565b601f01601f19168101030190f35b8280fd5b9181601f840112156101815782359167ffffffffffffffff8311610181576020838186019501011161018157565b600080fd5b60005b8381106101995750506000910152565b8181015183820152602001610189565b6040810190811067ffffffffffffffff8211176101c557604052565b634e487b7160e01b600052604160045260246000fd5b6060810190811067ffffffffffffffff8211176101c557604052565b90821015610203570190565b634e487b7160e01b600052603260045260246000fd5b929095919694966030976030880361048657606097606084036104455786156103ff5760019960005b67ffffffffffffffff8116828110156103ee576001600160f81b03199061026a90858b6101f7565b35166102825760010167ffffffffffffffff16610242565b50509091929394959697985060005b6103b15760019860005b67ffffffffffffffff8116828110156103a1576001600160f81b0319906102c39088886101f7565b35166102db5760010167ffffffffffffffff1661029b565b505090919293949596975060005b61035e576102f6956104c3565b03610322576001906040516020810181811067ffffffffffffffff8211176101c5576040526000815290565b600090604051610331816101a9565b601a81527f4465706f736974206461746120726f6f74206d69736d61746368000000000000602082015290565b50505050505050600090604051610374816101a9565b601881527f5369676e61747572652063616e6e6f74206265207a65726f0000000000000000602082015290565b50505090919293949596976102e9565b5050505050505090506000906040516103c9816101a9565b60158152745075626b65792063616e6e6f74206265207a65726f60581b602082015290565b505050909192939495969798610291565b50505050505050915050600090604051610418816101a9565b602081527f4465706f736974206461746120726f6f742063616e6e6f74206265207a65726f602082015290565b5050505050505091505060009060405161045e816101a9565b6018815277092dcecc2d8d2c840e6d2cedcc2e8eae4ca40d8cadccee8d60431b602082015290565b50505050505091505060009060405161049e816101a9565b6015815274092dcecc2d8d2c840e0eac4d6caf240d8cadccee8d605b1b602082015290565b94919092936030840361079d576060810361075d576020938411610181576040948551938585019780358952866fffffffffffffffffffffffffffffffff199101351687860152868552610516856101db565b610527875198899651968791610186565b85600089819a60029881010390885afa156107415787519067ffffffffffff00008160081b9160081c9165ff000000ff0064ff000000ff65ffffffffffff66ff000000ff0000861667ff000000ff00000085161760101c16941691161760101b16179167ffffffffffffffff9380881161075957808911610759576060116107555786896105dc8a518381019085358252848601358d8201528c81526105cc816101db565b8c51928392839251928391610186565b81010390895afa1561074b57868961060c8151938b518c8582019201358252838d8201528c81526105cc816101db565b81010390895afa1561074b5788610649889282518b51908582019283528c8201528b8152610639816101db565b8b51928392839251928391610186565b81010390885afa15610741578761068787928251968a51908582019283528b8201528a8152610677816101db565b8a51928392839251928391610186565b81010390875afa15610737576106d385928892835195895191868301938082891c1691881b161760c01b8352898201528881526106c3816101db565b8851928392839251928391610186565b81010390855afa1561072a57906107108592835186519086820192835287820152868152610700816101db565b8651928392839251928391610186565b810103915afa1561072057505190565b51903d90823e3d90fd5b50505051903d90823e3d90fd5b85513d88823e3d90fd5b86513d89823e3d90fd5b87513d8a823e3d90fd5b8880fd5b8980fd5b60405162461bcd60e51b8152602060048201526018602482015277092dcecc2d8d2c840e6d2cedcc2e8eae4ca40d8cadccee8d60431b6044820152606490fd5b60405162461bcd60e51b8152602060048201526015602482015274092dcecc2d8d2c840e0eac4d6caf240d8cadccee8d605b1b6044820152606490fdfea264697066735822122038a2021778249d7ee5a50c0c2186f5d9c7e3ef7947d528996a02b7d3230f172164736f6c63430008190033",
|
|
87
|
+
"linkReferences": {},
|
|
88
|
+
"deployedLinkReferences": {}
|
|
89
|
+
}
|