Stake into Gro Pools

Required contract addresses

How to stake into Gro Protocol Pools

After you get some LP from the desired pool to interact with. You can call the following method with LPTokenStaker.
Also make sure you have allowance to interact with this contract as a spender (more on Check Spending Limits).
1
lpTokenStakerContract.methods.deposit(PID, amount)
Copied!
  • PID: The Pool unique id - available here.
  • amount: an integer (uint256) that is the LP amount to stake into the pool.

How to unstake from Gro Protocol Pools

Once you have some liquidity staked into a pool, you can unstake with this method from LPTokenStaker.
1
lpTokenStakerContract.methods.withdraw(PID, amount)
Copied!
  • PID: The Pool unique id - available here.
  • amount: an integer (uint256) that is the LP amount to unstake from the pool.