DeFiCh / ain

DeFi Blockchain - enabling decentralized finance on Bitcoin
https://defichain.com
MIT License
408 stars 122 forks source link

Add Option for in Dollar calculated DFI amount for CFP #1524

Open bernd-mack opened 2 years ago

bernd-mack commented 2 years ago

What would you like to be added:

For onchaingovernance and applying for a CFP the addition of an option to automatically measure the DFI amount directly at the end of a vote in dollars. Example: CFP request over $100 and DFI price stands at $1 -> One would need to request 100 DFIs. If the DFI price at the end of the voting is now 2$, you will get DFI in the equivalent of 200$ instead of the required 100$ due to the increased price. The same applies to the other direction, with a price of 0.5$ at the end of the voting, this means that one receives only 50$ instead of the required 100$.

Why is this needed:

At the moment CFPs are requested in DFI, but due to the duration of a voting and the price development it is not possible to estimate the DFI price at the end of the voting and therefore one has to build in a buffer to have some reserve in case of a drop and if the price rises, more will be distributed measured in dollars than might be needed.

defichain-bot commented 2 years ago

@bernd-mack: Thanks for opening an issue, it is currently awaiting triage.

The triage/accepted label can be added by foundation members by writing /triage accepted in a comment.

Details I am a bot created to help the [DeFiCh](https://github.com/DeFiCh) developers manage community feedback and contributions. You can check out my [manifest file](https://github.com/DeFiCh/ain/blob/master/.github/governance.yml) to understand my behavior and what I can do. If you want to use this for your project, you can check out the [DeFiCh/oss-governance-bot](https://github.com/DeFiCh/oss-governance-bot) repository.