NewPositionV1
NewPositionV1 constructs a position implementation backed by the supplied position store and NFT accessor.
Parameters:
- positionStore: storage interface used to read and update position records
- accessor: NFT interface used for position token minting, burning, approval, and ownership
Returns:
- position: IPosition implementation connected to positionStore and accessor
Command
gnokey query vm/qeval -remote "http://127.0.0.1:26657" -data "gno.land/r/gnoswap/position/v1.NewPositionV1(,)"
Result