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 generates a unique project ID based on the given token path and the current block height.

The generated ID combines the `tokenPath` and the current block height in the following format: "{tokenPath}:{height}"

Parameters: - tokenPath (string): The path of the token associated with the project.

Returns: - string: A unique project ID in the format "tokenPath:height".

Params

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/gnoswap/launchpad.MakeProjectID(,)"

Result