NewStakerV1
NewStakerV1 constructs a version 1 staker implementation backed by the supplied accessors.
Parameters:
- stakerStore: Persistent storage accessor for pools, deposits, incentives, tier state, and reward bookkeeping.
- poolAccessor: Accessor for pool state used while updating and resolving staked positions.
- emissionAccessor: Accessor for GNS emission data used to calculate rewards.
- nftAccessor: Accessor for the position NFT ownership and token operations.
Returns:
- staker: New stakerV1 implementation wired to the supplied store and accessors.
Command
gnokey query vm/qeval -remote "http://127.0.0.1:26657" -data "gno.land/r/gnoswap/staker/v1.NewStakerV1(,,,)"
Result