DFIPs and CFPs
This document details how to participate in DFIPs and CFPs on DeFiChain. With the recent introduction of On-Chain Governance, it is important to follow all the steps outlined below to ensure your DFIPs/CFPs are submitted successfully on-chain.
Overview
There are 2 key phases to take note of for those who wish to submit a proposal:
- Proposal submission: Every proposal has to be available on the blockchain for 130,000 blocks (approximately 45 days) before the vote becomes valid. This will be referred to as the proposal ingestion period.
- Proposal voting period: Upon submission, all proposals are eligible for voting in the next 260,000 blocks (~90 days) . For proposals that have fulfilled the 130,000-block ingestion period, masternodes can vote for them across the next 45 days (130,000 blocks).
For more information, please see this blog here.
Submit Proposals On-Chain
Step 1: Submission of DFIPs and CFPs on GitHub / Reddit
Community users can opt to follow either userflow A or userflow B.
-
Userflow A - for GitHub submission:
- Submit your proposal on GitHub
- Create a reddit link to facilitate discussion on your proposal (add the GitHub link of your proposal to your reddit post_
- Use the Github link for generating the command in step 2
-
Userflow B - for Reddit submission:
- Submit your proposal on Reddit.
- Use the Reddit link for generating the command in step 2
Step 2: Generating command on DeFiScan
Upon creating a submission on Github/Reddit, a command has to be generated for proposals to be submitted on-chain.
- To generate a command, head over to https://defiscan.live/, under the ‘On-Chain Governance' tab.
- Select
Create proposal
. - Fill in the details. Once all details have been verified, a command line will be generated in the final step.
- Copy the command line.
Step 3: Submit command in full node wallet
This will be the final step to ensure your proposal is submitted on-chain, which then allows the community to start voting.
- Head over and sign in to your full-node wallet CLI.
- Paste the command line generated on DeFiScan earlier.
- Ensure that your wallet has sufficient funds for the proposal fee, as it will be deducted during this transaction. Upon successful transaction, you should be able to view your proposal on DeFiScan, under the ‘On-Chain Governance’ tab.
Alternatively, the community can also use community projects like the DeFiChain Light Wallet to create a DFIP/CFP proposal.
Voting Proposals On-Chain
DeFiChain's consensus is to allow masternodes to make a vote on DFIPs. One masternode is eligible for one vote.
If there are duplicate votes from the same nodes, the final posted votes before the block end height for the proposal will be counted. Votes can be withdrawn by posting a neutral vote. Non-voting nodes are considered neutral votes.
At the end block height for each proposal, a simple majority of the votes, excluding neutral votes, would determine the outcome of a decision.
How to vote on-chain
Step 1: Generating voting command on DeFiScan
- Under the
On-Chain Governance
tab on DeFiScan, select a proposal from the list that you want to vote on. This will bring you to the proposal details page. - Within the details page, select ‘Submit vote’. You will be prompted to key in your masternode ID, followed by your voting choice.
- Once all details have been verified, a voting command line will be generated in the final step.
- Copy the voting command line.
Step 2: Submit voting command in full node wallet
This will be the final step to ensure your vote is submitted on-chain.
- Head over and sign in to your full-node wallet CLI.
- Paste the voting command line generated on DeFiScan.
- Upon successful transaction, you should be able to view your vote under the proposal details page.
- Repeat the process should you wish to vote on other open proposals.
Frequently Asked Questions (FAQs)
1. How are proposal fees calculated?
For DFIPs: 50 DFI for Vote of Confidence, or 500 DFI for reallocation of block rewards.
For CFPs, it requires a fee of either 1% of the amount requested or 10 DFI, whichever is higher, for Community Fund Proposal.
2. Are there other ways to submit my proposals?
If you have downloaded DeFiChain mobile Light Wallet, you may also choose to submit your proposals on the app. You may find the submission button under the Portfolio
tab.
3. Are there other ways to vote on open proposals?
Voting is currently only available on the full node wallet. Do follow the instructions on how to vote on-chain.