NewPool
NewPool creates pool reward state initialized at currentTime (Unix seconds).
Parameters:
- poolPath: Pool identifier to store in the new reward-state object.
- currentTime: Unix timestamp in seconds used to seed the initial accumulation, reward-cache, and liquidity snapshots.
Returns:
- pool: Initialized pool with empty backing structures and zero initial reward/liquidity snapshots at currentTime.
Command
gnokey query vm/qeval -remote "http://127.0.0.1:26657" -data "gno.land/r/gnoswap/staker.NewPool(,)"
Result