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

launchpad package

Function

GetProjectTiersRatios

func GetProjectTiersRatios(projectId string) (map[int64]int64, error)
Ask AI Claude ChatGPT

GetProjectTiersRatios returns the tiers ratios map of a project by its ID.

Parameters:

  • projectId: unique identifier of the launchpad project to inspect.

Returns:

  • tiersRatios: cloned map from tier duration to its allocation ratio.
  • err: non-nil when projectId does not identify a stored project.

Param

Command

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

Result

Gno Expression Evaluator

Evaluate any read-only Gno expression against gno.land/r/gnoswap/launchpad, for example a function call with arguments.