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

memberstore/v0 package

Function

GetTierPower

func GetTierPower(tierName string, members MembersByTier) float64
Ask AI Claude ChatGPT

GetTierPower calculates the effective voting power for a tier given the current members. This is a safe accessor that uses the internal tiers configuration.

Params

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/gov/dao/memberstore/v0.GetTierPower(,)"

Result

Gno Expression Evaluator

Evaluate any read-only Gno expression against gno.land/r/gov/dao/memberstore/v0, for example a function call with arguments.