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

MakeProjectTierID

func MakeProjectTierID(projectID string, duration int64) string

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 "http://127.0.0.1:26657" -data "gno.land/r/gnoswap/launchpad.MakeProjectTierID(,)"

Result