GetDepositExternalRewardLastCollectTimestamp
GetDepositExternalRewardLastCollectTimestamp returns the last external reward collection time for a position and incentive. For a newly tracked incentive, the value is based on the stake timestamp.
Parameters:
- lpTokenId: Position NFT token ID whose external reward cursor should be read.
- incentiveId: External incentive identifier whose collection cursor should be read.
Returns:
- timestamp: Unix timestamp of the last collection cursor; newly tracked incentives use the deposit's stake time.
- err: Non-nil when lpTokenId does not resolve to a stored deposit.
Command
gnokey query vm/qeval -remote "http://127.0.0.1:26657" -data "gno.land/r/gnoswap/staker.GetDepositExternalRewardLastCollectTimestamp(,)"
Result