Uniswap V3 Staker - Mainnet

Decentralized Exchange. Uniswap-V3-Staker-v1.2 connector on mainnet triggers methods like deposit, depositAndStake, transferDeposit, withdraw, stake, unstake, claimRewards, createIncentive. 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

Transfer deposited NFT token

spells.add({  connector: "UNISWAP-V3-STAKER-B",  method: "deposit",  args: [_tokenId]});
Parameter Type Description
_tokenId uint256 NFT LP Token ID

DepositAndStake

To Deposit and Stake NFT for Staking

spells.add({  connector: "UNISWAP-V3-STAKER-B",  method: "depositAndStake",  args: [_rewardToken, _startTime, _endTime, _refundee, _tokenId]});
Parameter Type Description
_rewardToken address _rewardToken address
_startTime uint256 stake start time
_endTime uint256 stake end time
_refundee address refundee address
_tokenId uint256 NFT LP token id

TransferDeposit

Transfer deposited NFT token

spells.add({  connector: "UNISWAP-V3-STAKER-B",  method: "transferDeposit",  args: [_tokenId, _to]});
Parameter Type Description
_tokenId uint256 NFT LP Token ID
_to address address to transfer

Withdraw

Withdraw NFT LP token from staking pool

spells.add({  connector: "UNISWAP-V3-STAKER-B",  method: "withdraw",  args: [_tokenId]});
Parameter Type Description
_tokenId uint256 NFT LP Token ID

Stake

Stake NFT LP Position

spells.add({  connector: "UNISWAP-V3-STAKER-B",  method: "stake",  args: [_rewardToken, _startTime, _endTime, _refundee, _tokenId]});
Parameter Type Description
_rewardToken address _rewardToken address
_startTime uint256 stake start time
_endTime uint256 stake end time
_refundee address refundee address
_tokenId uint256 NFT LP token id

Unstake

Unstake NFT LP Position

spells.add({  connector: "UNISWAP-V3-STAKER-B",  method: "unstake",  args: [_rewardToken, _startTime, _endTime, _refundee, _tokenId]});
Parameter Type Description
_rewardToken address _rewardToken address
_startTime uint256 stake start time
_endTime uint256 stake end time
_refundee address refundee address
_tokenId uint256 NFT LP token id

ClaimRewards

Claim rewards

spells.add({  connector: "UNISWAP-V3-STAKER-B",  method: "claimRewards",  args: [_rewardToken, _amount]});
Parameter Type Description
_rewardToken address _rewardToken address
_amount uint256 requested amount

CreateIncentive

Create incentive

spells.add({  connector: "UNISWAP-V3-STAKER-B",  method: "createIncentive",  args: [_rewardToken, _startTime, _endTime, _refundee, _poolAddr, _reward]});
Parameter Type Description
_rewardToken address _rewardToken address
_startTime uint256 stake start time
_endTime uint256 stake end time
_refundee address refundee address
_poolAddr address Uniswap V3 Pool address
_reward uint256 reward amount

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.