NewUnstakedPosition
NewUnstakedPosition creates an exit checkpoint owing every reward source of the deposit.
Parameters:
- deposit: Deposit state captured when the position leaves the pool.
- exitTime: Unix timestamp when staking ended and this checkpoint's reward window stopped.
- exitTick: Pool tick observed at exitTime for reconstructing in-range rewards.
- lowerTick: Snapshot of the position's lower boundary tick, retained if the live pool prunes it.
- upperTick: Snapshot of the position's upper boundary tick, retained if the live pool prunes it.
- lowerOutsideAcc: Decimal-encoded outside reward-ratio accumulation of the lower tick at exitTime.
- upperOutsideAcc: Decimal-encoded outside reward-ratio accumulation of the upper tick at exitTime.
- tier: Pool emission tier at exitTime; zero denotes that the pool was not tiered.
- tierRatio: Tier reward-share ratio, in its stored scaled form, at exitTime.
- tierCount: Number of pools sharing the tier at exitTime for dividing tier rewards.
- unstakingFee: Staking-reward fee rate in basis points at exitTime (0-1,000; 100 = 1%).
- pendingIncentiveIds: External incentive IDs whose rewards are still owed by the position.
Returns:
- position: New exit checkpoint retaining the deposit and exit-time reward context; emission is initially uncollected and every supplied incentive is pending.
Command
gnokey query vm/qeval -remote "http://127.0.0.1:26657" -data "gno.land/r/gnoswap/staker.NewUnstakedPosition(,,,,,,,,,,,)"
Result