Farm

StakingPool (StakingPools.sol)

Farm provide incentives for investors to provide liquidity for the protocol.

function deposit(uint256 _poolId, uint256 _depositAmount)

Deposit the token corresponding to each poolId into the stakingPool.

function withdraw(uint256 _poolId, uint256 _depositAmount)

Withdraw the deposited token corresponding to each poolId from the stakingPool.

function claim(uint256 _poolId)

Claim the rewards from the pool.

Last updated