Software Development Kit
Common Utilities

general.ts (opens in a new tab)

Calculate the voting power percentage for a member of a DAO. Return the current time in seconds. Calculate the share of a member's token balance compared to the total number of shares in a DAO. Calculate the USD value share of a member in a DAO, based on the total USD value of the DAO, the total shares in the DAO, and the number of shares the member has.


  • votingPowerPercentage
  • nowInSeconds
  • memberTokenBalanceShare
  • memberUsdValueShare