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

GetProjectDepositAmount

func GetProjectDepositAmount(projectId string) (int64, error)

GetProjectDepositAmount returns the deposit amount of a project by its ID.

Parameters:

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

Returns:

  • amount: project-token amount initially allocated to the project, in token base units.
  • 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.GetProjectDepositAmount()"

Result