G-UNI Staking - Mainnet

Stake G-UNI for earning rewards. Stake-G-UNI-v1.1 connector on mainnet triggers methods like deposit, withdraw, claimReward. You can view details like source code, ABIs on Etherscan.

  • Use 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee to indicate ETH.
  • use -1 or dsa.maxValue for the maximum amount in function.
  • If not sure about the arguments getId and setId, pass 0.

Deposit

Deposit Tokens to staking pool.

spells.add({  connector: "INST-STAKING-B",  method: "deposit",  args: [stakingPool, stakingToken, amt, getId, setId]});
Parameter Type Description
stakingPool address staking pool address.
stakingToken address staking token address.
amt uint staking token amount.
getId uint ID to retrieve amount.
setId uint ID stores the amount of staked tokens.

Withdraw

Withdraw Tokens from the staking pool.

spells.add({  connector: "INST-STAKING-B",  method: "withdraw",  args: [stakingPool, stakingToken, amt, getId, setIdAmount, setIdReward]});
Parameter Type Description
stakingPool address staking pool address.
stakingToken address staking token address.
amt uint staking token amount.
getId uint ID to retrieve amount.
setIdAmount uint ID stores the amount of stake tokens withdrawn.
setIdReward uint ID stores the amount of reward tokens claimed.

ClaimReward

Claim Pending Rewards of tokens staked.

spells.add({  connector: "INST-STAKING-B",  method: "claimReward",  args: [stakingPool, setId]});
Parameter Type Description
stakingPool address staking pool address.
setId uint ID stores the amount of reward tokens claimed.

If you still can't find something you're looking for or have any questions, ask them at our developers community on Discord or simply send an Email.


Our team is excited about assisting you to build an application using Instadapp Developer Platform. Your questions and feedback help us make a better development environment for future developers.