I'm using the ERC20Votes extension for my ERC20 token and I would like to assign balance = voting power.
If I understood the documentation correctly, in order to have your voting power = token balance, each wallet should self delegate itself.
By default, token balance does not account for voting power. This makes transfers cheaper. The downside is that it requires users to delegate to themselves in order to activate checkpoints and have their voting power tracked. Enabling self-delegation can easily be done by overriding the
delegatesfunction. Keep in mind however that this will significantly increase the base gas cost of transfers. (source)
Should this happen only once in order to activate checkpoints?
It's still not really clear on how this should work.
If someone has an example of a Token implementation that has balance=voting power, that would be awesome!
Thanks for your time!