Cosmos Liquid Staking Module (LSM) is a modular component that enables liquid staking for any chain in the Cosmos ecosystem. LSM allows users to convert their staked assets into liquid assets without unbonding, which will help to improve the liquidity and security of the Cosmos ecosystem and pave the way for new DeFi applications. By integrating with LSM module, it will be easier for staked ATOM users to participate in StaFi staking service and thus help StaFi to attract more users and grow its community.
Without LSM, it is inconvenient for staked ATOM users to participate in the StaFi protocol. If they want to participate, they must first undelegate and wait 21 days before participating in the LSD protocol. This is inconvenient and will lose unbonding earnings. With LSM, users can migrate to the LSD protocol directly and losslessly with one-click operation through the LSM module without undelegate, and will not lose any earnings.
The Liquid Staking Manager (LSM) module allows users to transfer their staked ATOM to a liquid staking account, which mints the corresponding amount of rATOM to their wallet. This allows users to participate in the LSD protocol immediately and without any loss of earnings. However, there are still some limitations to using LSM alone.
One limitation is that the liquid tokens issued by LSM are not fungible. This means that they cannot be traded equally, which can be inconvenient for users who want to use their liquid tokens in DeFi applications.
Another limitation is that the liquid tokens issued by LSM are not interoperable with other DeFi protocols. This means that users cannot easily transfer their liquid tokens between different DeFi applications.
The LSD protocol solves these limitations by providing a unified liquid staking token (LST) that is fungible and interoperable with other DeFi protocols. This makes it more convenient for users to participate in DeFi applications and to trade their liquid tokens.
Note: The image is just an example of how the function works. The actual output may vary slightly
Once the development is complete, the StaFi rToken APP will be able to be used by users to stake their ATOM and mint rATOM. The LSM module will track the amount of ATOM that is staked and the amount of rATOM that has been minted. When a user stakes their ATOM, the LSM module will allow the user to transfer their ATOM to a liquid staking account. StaFiHub will then mint the corresponding amount of rATOM to the user’s wallet. When a user redeems their ATOM, the LSM module will allow the user to transfer their rATOM back to their ATOM account. The StaFiHub protocol will then burn the corresponding amount of rATOM.
In addition to the above, here are some of the challenges that need to be addressed:
Currently, liquid staking in Cosmos requires the use of third-party service providers. These providers often charge fees and may pose security risks. LSM aims to address these issues by providing users with a more direct and secure way to participate in liquid staking.
LSM uses a mechanism called “representative tokens” to implement liquid staking. When a user stakes their assets, they will receive a representative token. This token can be transferred and traded just like any other token. Users can redeem their assets at any time and receive the value of the representative tokens.
The LSM would limit the percentage of liquid staked ATOM by all liquid staking providers to 25% of the total supply of staked ATOM, in order to prevent liquid staking providers from collectively controlling more than ⅓ of the total staked ATOM supply, which is the threshold at which a group of bad actors could halt block production.
Technically speaking, this cap on liquid staked ATOM is enforced by limiting the total number of tokens that can be staked via interchain accounts and tokenized using the liquid staking module on the Cosmos Hub. Once this cap is reached, the LSM prevents interchain accounts from staking any more ATOM and prevents delegators from tokenizing any more delegations using the LSM.
As an additional security feature, validators who want to receive delegations from liquid staking providers would be required to self-bond a certain amount of ATOM. The validator self-bond, or “validator-bond,” means that validators need to have “skin in the game” in order to be entrusted with delegations from liquid staking providers. This disincentivizes malicious behavior by the validator and empowers the validator to negotiate its relationship with liquid staking providers. Please see the Appendix FAQ for additional descriptions of the validator bond factor and associated dynamics.
Technically speaking, the validator-bond is tracked by the LSM. The maximum number of tokens that can be delegated to a validator by a liquid staking provider is equal to the validator-bond multiplied by the “validator-bond factor.” The initial validator bond factor would be set at 250 and can be configurable by Cosmos Hub governance. Please see the appendix for details on this governance parameter and the starting value of 250.
With a validator-bond factor of 250, for every one ATOM a validator validator-bonds, that validator is eligible to receive up to two-hundred-and-fifty ATOM delegated from liquid staking providers. The validator-bond has no impact on anything other than eligibility for delegations from liquid staking providers.
The LSM enables users to instantly liquid stake their staked ATOM, without having to wait the twenty-one day unbonding period. This is important, because a very large portion of the ATOM supply is currently staked. Liquid staking ATOM that is already staked incurs a switching cost in the form of three weeks’ forfeited staking rewards. The LSM eliminates this switching cost.
A user would be able to visit any liquid staking provider that has integrated with the LSM and click a button to convert his staked ATOM to liquid staked ATOM. It would be as easy as liquid staking unstaked ATOM.
Technically speaking, this is accomplished by using something called an “LSM share.” Using the liquid staking module, a user can tokenize their staked ATOM and turn it into LSM shares. LSM shares can be redeemed for underlying staked tokens and are transferable. After staked ATOM is tokenized it can be immediately transferred to a liquid staking provider in exchange for liquid staking tokens - without having to wait for the unbonding period.