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

GetProjectTier

func GetProjectTier(projectId string, tier int64) (*ProjectTier, error)

GetProjectTier retrieves a specific tier of a project. Returns a cloned tier to prevent external modification.

Parameters:

  • projectId: unique identifier of the project containing the tier.
  • tier: tier duration key, such as 30, 90, or 180.

Returns:

  • projectTier: cloned project tier; nil when the implementation supplies no tier without an error.
  • err: non-nil when the project or tier cannot be found.

Params

Command

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

Result