-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Discussion: Dividend Standard #1526
Comments
I've been exploring a similar idea for the past weeks so I think it can be interesting to share my thoughts here! First I feel like the concept of a dividend standard could easily become a new alternative way to raise funds in the crypto-world. In some cases, ICOs are not the most adapted way to go and this could be a solution to avoid "useless / non-pertinent" tokens. This concept could allow companies to raise funds by providing an "asset" really related to their activity. For example, we can easily imagine an exchange or a marketplace raising funds selling "assets", collecting fees during its activity and then giving back X % of all fees as dividends to the owners of the assets. About the standard itself, I've been thinking about a "Dividend distribution contract", more or less in the spirit of the ERC20. The goal of this contract would be to define what are the assets, how many of them exist, who owns them, etc... almost like a classic token.
|
This could be useful for scheduling the payouts: #1339. |
Some thoughts on this:
|
This is a great discussion which adds great points to the work we've done. I think the problem should be approached as general as possible - avoiding the term dividends. |
This is another related interface standard and implementation for a dividend-paying ERC20 token. Let's have a discussion and try to reach a consensus! |
I'm not in favor of using the term "dividend". Dividends are a very loaded term with various meanings in finance. Something more neutral, like our "ClaimsToken", or even "ReturnOnClaimsToken" or "PaymentDistribtionToken" would be better. As @rolandkofler put it, a dividend standard would just be a specialization of a return on claim standard.
|
If I understand your point correctly, this should be taken care of in @Roger-Wu 's implementation and ours (#1843). The |
I looked over the code in #1843. I did not see where it was tracking a historical balance for For reference, looks at OZ's ERC20Snapshot contract here: https://github.com/OpenZeppelin/openzeppelin-solidity/blob/master/contracts/drafts/ERC20Snapshot.sol Feel free to point me in the right direction if I overlooked a piece of code. |
Well, to be efficient, historical balances are not tracked directly in the ClaimsToken. Instead, there are two additional mappings per token holder, that track the processed and claimed funds. They make some accounting at every transfer and payout - but only for the active account. With this mechanism it is possible to distribute payments at exactly the token distribution at the time of payment, without going through all accounts and without tracking all balance changes explicitly. Here's a very good explanation of the principle by @Arachnid: https://medium.com/@weka/dividend-bearing-tokens-on-ethereum-42d01c710657 Does that cover what you meant in you original point about dividend distribution for historic balances? |
Quick reply! Thanks, I'll respond here versus editing my previous comment. I see now, after a closer inspection. The code is updating during I will further digest the code and mull it over. Besides from a pure technological problem you're solving, have you any insight on how this standard can meet current legal regulations? (pending on your location, of course) |
I don't think this should be part of the standard. It should be simple and modular to be integrated with compliance frameworks like #1400 . The ClaimsToken aims to do that. |
There has been no activity on this issue for two months. It will be closed in a week if no further activity occurs. If you would like to move this EIP forward, please respond to any outstanding feedback or add a comment indicating that you have addressed all required feedback and are ready for a review. |
This issue was closed due to inactivity. If you are still pursuing it, feel free to reopen it and respond to any feedback or request a review in a comment. |
A dividend standard (more general: a return on claim standard):
Therefore we believe that there is an opportunity for an Ethereum Request for Comment (ERC) targeting dividend disbursement, that can become a de facto standard in the spirit of the famous ERC20. It’s time to build a community around this endeavor.
A more in depth problem domain analysis can be found here:
https://docs.google.com/document/d/1ERjxWZbsGXp4J6ZKotyoniTlLNjaZO4JSwg66UHc-p0/edit
The text was updated successfully, but these errors were encountered: