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

launchpad package

Function

MakeProjectID

func MakeProjectID(tokenPath string, createdHeight int64) string

MakeProjectID combines a token path and creation height into a project identifier.

Parameters:

  • tokenPath: token path associated with the project.
  • createdHeight: block height at which the project was created.

Returns:

  • projectID: identifier in "{tokenPath}:{createdHeight}" form.

Params

Command

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

Result