NewDeposit
NewDeposit creates a deposit for a staked LP position and initializes its reward cursors and maps.
Parameters:
- owner: Address that owns the staked position.
- targetPoolPath: Pool identifier associated with the position.
- liquidity: LP liquidity amount represented by the position.
- currentTime: Staking and initial reward-cursor time in Unix seconds.
- tickLower: Lower signed tick boundary of the position's range.
- tickUpper: Upper signed tick boundary of the position's range.
- warmups: Warmup schedule to apply to this position's rewards.
Returns:
- deposit: Newly initialized deposit containing the supplied position and warmup state.
Command
gnokey query vm/qeval -remote "http://127.0.0.1:26657" -data "gno.land/r/gnoswap/staker.NewDeposit(,,,,,,)"
Result