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

launchpad package

Function

GetProjectTierTotalDepositCount

func GetProjectTierTotalDepositCount(projectId string, tier int64) (int64, error)
Ask AI Claude ChatGPT

GetProjectTierTotalDepositCount returns the total deposit count of a project tier.

Parameters:

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

Returns:

  • count: cumulative number of deposits created in the tier.
  • err: non-nil when the project or tier cannot be found.

Params

Command

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

Result