Using Injected Liquidity Contracts
Last updated
Last updated
Injected liquidity staking pools (ILPs) allow for the periodic injection of rewards based only on the proportional stake in the token. This type of staking has proven simple and flexible. It was originally a solution for providing market sensitive xUSD rewards as a stability mechanism. Many of the existing ILP staking opportunities are still related to xUSD rewards distribution, though they now support additional tokens, such as CompX, cAlgo and LP tokens. From a user's perspective working with the ILP's is quite simple. See image below.
Previous staking contracts written for and utilized by CompX were used to pay out tokens in kind, as the reward for staking. The novelty of the ILP model, is that it allows for rewards to be distributed in another token, which can be added to the contract piecemeal, allowing for a longer term staking experience. This is what allows daily xUSD rewards to be distributed to users as interest payments are collected.
To begin staking, confirm that you are connected to the CompX dApp, and navigate to our staking page.
The available staking pools will be displayed, and can be readily sorted using the quick navigation options at the top of the page. Selecting All, will display every staking contract currently available. Selecting CompX will display only pools that are managed by CompX, which will mostly be pools that are related to the protocol, such as xUSD staking and liquidity staking. Selecting the Genesis option will display all of our genesis staking pools, which are community created and managed staking opportunities.
ILPs can be quickly identified by the small icon of the syringe in the top right corner of the staking card.
The staking card for an ILP has a lot of information for the user.
Reward Frequency: This informs the user of the frequency of reward payouts. Payouts are not continuous due to how xUSD harvesting is implemented. Rewards are added periodically to the contract and are then distributed according to the posted schedule.
Estimated APY: This is an estimated calculation of APY based the amount of reward tokens to be released, and total staked balance.
Total Staked: Displays the amount of the staked token that has been deposited into the contract. In this case, the listed token is the xUSD/USDC LP from Pact.
TVL: Displays the value of all deposited tokens in the contract.
View Contract: This allows the user to look at the contract using their explorer of choice. Simply click on the link to the desired explorer.
Lock-Up info: Some contracts require a minimum time component before rewards can be received. Information regarding this period will be disclosed in this area, along with a countdown timer to when the deposited stake becomes eligible for rewards.
Your Stake: Displays how many tokens the user has deposited into the pool.
Accrued Rewards: Displays the amount of reward tokens the user is currently eligible for.
Stake "Token" Button: If a user wishes to begin staking, this is the starting point. Click this button to begin the opt-in process for the contract and make the initial deposit. If the user is already staking, this button can be used at will to add additional funds to the contract. Be aware of any cool down periods that apply if re-staking.
Unstake Button: This button allows the removal of funds from the staking contract. When the user clicks this button, they'll be given a pop up box that lists the users current stake. It allows the user user to withdraw up to that amount. Unstaking will also call "claim rewards", so be sure that you are opted into the reward asset to make sure that your transaction can be completed.
Claim Rewards Button: This button allows you to simply collect your rewards. Upon successful claiming of rewards, the amount seen in the "Accrued Rewards" row will be sent directly to the users wallet.