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

GetProjectTierDistributeAmountPerSecondX128

func GetProjectTierDistributeAmountPerSecondX128(projectId string, tier int64) (*u256.Uint, error)

GetProjectTierDistributeAmountPerSecondX128 returns the distribute amount per second (Q128) 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:

  • amountPerSecondX128: project-token distribution rate per second in Q128 fixed-point units; nil when no value is available.
  • err: non-nil when the project or tier cannot be found.

Params

Command

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

Result