DXgovernance / davi-monorepo

https://davi-monorepo-davi.vercel.app
8 stars 12 forks source link

Burn rep core action #316

Open rossneilson opened 1 year ago

rossneilson commented 1 year ago

User Story As a manager of a rep dao, I want have a burn rep action so that I can remove people from rep guilds.

Solution

This should just be another core action working the same way as mint rep for the most part, except of course calling a different method on the same rep token. We should only show if the dao uses rep.

If we have subgraph capability we should use show a select input with all the members of a guild. If we only have rpc data then we should just show an address input like with mint rep action.

We should also show the selected users current rep amount.

Then the user should select the percentage of that users rep they would like to burn. This means inputting 100% would remove them from the dao.

We should also ensure we have a proper action summary showing the amount being burnt. If it is 100% we could also show the message "remove user from guild"

0xvangrim commented 1 year ago

This ticket might need some more details 😆 @rossneilson

rossneilson commented 1 year ago

This ticket might need some more details 😆 @rossneilson

Haha made it before I boarded a plane more as a reminder that we need to do it. Added a description now