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

launchpad package

Function

MakeProjectTierID

func MakeProjectTierID(projectID string, duration int64) string
Ask AI Claude ChatGPT

MakeProjectTierID constructs the tier identifier from a project ID and duration. The resulting identifier uses the "{projectID}:{duration}" format.

Parameters:

  • projectID: unique launchpad project identifier associated with the tier.
  • duration: tier duration in days, such as 30, 90, or 180.

Returns:

  • projectTierID: identifier combining projectID and duration with a colon.

Params

Command

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

Result