EncodeTickKey
EncodeTickKey encodes a tick as a fixed-width 4-byte key whose lexicographic order matches the signed numeric order. Parameters:
- tick: signed tick index to encode.
Returns:
- key: fixed-width ordered key whose lexicographical ordering matches the signed numeric ordering of tick.
Command
gnokey query vm/qeval -remote "http://127.0.0.1:26657" -data "gno.land/r/gnoswap/pool.EncodeTickKey()"
Result