HQ20 / contracts

A set of reusable smart-contracts

Home Page:https://hq20-contracts.netlify.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Refine DividendableERC20

alcueca opened this issue · comments

Take the comments here and make sure we account for them.

Also, if test coverage is high enough, get it out of drafts.

From that link, all specifications are met, with this exception:

  • Contract owner can not collect dividends on minted tokens it holds.

Should we do this? It's like founding a company and then not be able to collect dividends because the company is yours.

It seems that you are not the only one a bit puzzled by that constraint:

Hi @frangio, sure thing. It really just means that newly minted tokens can’t dilute the dividend disbursement. The tokens have to be held by an account other than the contract to be counted toward determining the token holders share.

I don't see the point either or restricting dividends to the non-owner. I think it just introduces unnecessary complexity. Let's skip that one. Good job 👍