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

GetProjectActiveStatus

func GetProjectActiveStatus(projectId string) (bool, error)

GetProjectActiveStatus returns whether a project is currently active.

Parameters:

  • projectId: unique identifier of the project to inspect.

Returns:

  • active: true when the project is active at the current Unix time; false when it is inactive.
  • err: non-nil when projectId does not identify a stored project.

Param

Command

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

Result