Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

pool package

Function

EncodeTickKey

func EncodeTickKey(tick int32) string

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.

Param

Command

gnokey query vm/qeval -remote "http://127.0.0.1:26657" -data "gno.land/r/gnoswap/pool.EncodeTickKey()"

Result