LiquidityPositionStaker
Roles
Incentive Creator:
Provides reward tokens to incentivize user liquidity. Incentives define:
Start and End: Users cannot stake outside of this period.
Reward: The theoretical max reward, calculated based on incentive parameters and staked liquidity.
Pool: Each program incentivizes liquidity within a single pool.
Remaining rewards are refunded to the incentive creator after the program ends.
Incentives may include lockups, which involve:
Duration: The period after unstaking before liquidity can be withdrawn.
Multiplier: Higher multipliers reward longer-term liquidity providers. Multipliers must ascend in value, with the highest set to 1e18 (100%).
User:
Owns liquidity position NFTs, which can be staked to earn rewards. Staking locks the liquidity until the lock period expires.
Owner:
The LiquidityPositionStaker has no privileged roles or upgradeability.
Interactions
Integrated with the Harvester, allowing tokens to be auto-compounded and/or harvested without unlocking them from the staker.
Interacts with the NonfungiblePositionManager and pools for core functionality.
Last updated