gnoswap-labs / governance

Governance realms for gno.land dapps
MIT License
3 stars 0 forks source link

Change the use of the word "Delegation" #21

Closed dongwon8247 closed 2 months ago

dongwon8247 commented 2 months ago

It's confusing to see Staker and Delegation (or Delegate).

From my understanding, Staker enables users to stake tokens and give voting power, a low-level requirement for governance. And Delegation enables users to get delegated tokens for their staking via Staker to give dapps/users more utilities.

We should improve the use of the word in code and improve the docs.

How about making it as "DelegatedToken"?

@notJoon @r3v4s

notJoon commented 2 months ago

@dongwon8247 Yeah I agree with the "delegstion" is sounds very ambiguous. I'll change the package name.

notJoon commented 2 months ago

Renamed tokendelegate to match go's naming convention.