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

NewProjectTier

func NewProjectTier( projectID string, tierDuration int64, totalDistributeAmount int64, startTime int64, endTime int64, ) *ProjectTier

NewProjectTier returns a pointer to a new ProjectTier with the given values.

Parameters:

  • projectID: launchpad project identifier associated with the tier.
  • tierDuration: tier duration in days; launchpad tiers use 30, 90, or 180.
  • totalDistributeAmount: total token amount allocated for this tier.
  • startTime: tier start timestamp in Unix seconds.
  • endTime: tier end timestamp in Unix seconds.

Returns:

  • tier: new ProjectTier with the supplied identity, allocation, and time window; counters and rates start at zero.

Params

Command

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

Result