@polkassembly/util
Version:
Set of utility functions for Polkassembly and more.
17 lines (11 loc) • 658 B
Markdown
All notable changes to this project will be documented in this file.
Add getFailingThreshold. Use the aye/nay without conviction. The guess on the threshold makes the assumption that all votes have a conviction of x1.
Fix a case were Supermajority threshold was not returning any value although a root was found.
`getPassingThreshold` returns an object `{ isValid: boolean, passingThreshold?: BN }` with `isValid` being true if a threshold was found.
Add function descriptions, fix typo in Readme and fix imports.