Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding kmon staking strategy #1628

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

umbecanessa
Copy link

Added a strategy to count KMON token staked as voting power

Comment on lines +58 to +61
const formattedResult = Object.fromEntries(
res.map((value, i) => [
addresses[i],
parseFloat(value) / 10 ** options.decimals // Format balance using the token decimals
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @umbecanessa You can use our strategy https://snapshot.org/#/strategy/math in your space directly without any need of new strategy, you tried? you have to use divide operation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants