-
Notifications
You must be signed in to change notification settings - Fork 0
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
💸 GitConsensus addRelease(): use transfer() instead of mint() for distributions #29
Comments
Having the ability to Having a dedicated repository treasury is an interesting idea. Project owners can have their repository treasury mint X tokens every Y blocks to ensure supply stability. |
Yep! Trying to play devil's advocate here, and this goes through my mind:
What mechanisms currently exist for periodic calls like this? In my experience there needs to be something external (usually an EOA) to trigger any computation / state changes. I've seen periodic contract pollers a while ago, but am really behind on what the current patterns for this would be. |
Could we emit an event utilizing a minimal amount of gas to identify transfer rewards?
Two ways come to mind:
(2) would probably be more gas-efficient. |
Instead of token.mint(), we could use the standard ERC20 token.transfer() if the GitConsensus contract is an approved to transfer that amount before-hand.
This would create alternative tokenomics models, such as having as designating a repository treasury. This type of model would could allow for a stable
tokenSupply()
, which is particularly desirable for those projects looking to maintain a stable trading price overtime.The text was updated successfully, but these errors were encountered: