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

GetProjectTierRewardAccumulatedDistributeAmount

func GetProjectTierRewardAccumulatedDistributeAmount(projectTierId string) (int64, error)

GetProjectTierRewardAccumulatedDistributeAmount returns a legacy reward-manager field. The v1 reward paths do not maintain it, so normal reads return zero unless it was explicitly set.

Parameters:

  • projectTierId: composite project-tier identifier whose manager is requested.

Returns:

  • amount: legacy accumulated distribution amount in token base units; v1 accounting normally leaves it at zero unless explicitly set.
  • err: non-nil when projectTierId does not identify a stored reward manager.

Param

Command

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

Result