- BASIC CONCEPTS
- Governance
- Gas and fees
- Transactions
- Accounts
- Staking rewards algorithm
- Validator
- Delegator
On-chain governance#
Proposal process#
The overall process of a proposal is shown below:
Details:
- The proposer should pledge OKT when initiating a proposal to prevent malicious initiation of a proposal.
- The voting participants are bond OKT holders, except for the following two
- a. the OKT holder bond/unbond to validator after entering vote_period
- b. the OKT holder becomes validator after entering vote_period
- The weight of the vote depends on the amount of OKTs in the bond.
- To prevent duplicate voting:
- a. the voting period is smaller than unbond_period. The minimum length of the voting period is 72h (adjustable depending on the type of proposals) .
- b. if the delegator votes before the validator votes on his behalf, the weight of the validator’s vote does not include the weight of OKT in his bond.
- c. if the delegator votes after the validator votes on his behalf, the weight of the voting result replaces the weight of the vote cast by the validator on behalf of the delegator.
Proposal types#
OKTC offers 4 types of proposals for different purposes:
- Text Proposal: to obtain network views of a topic.
- Parameter Proposal: to change system parameters.
- Software Upgrade Proposal: to support the entire network upgrade.
- Delist Proposal: to cancel a software upgrade
Except for text proposals, there are four proposal stages, including initiation, deposit_period, vote_period and execution. Execution is not a text proposal’s stage.
Proposal voting statistics#
Meanings of variables:
- totalBonded: the sum of bonded OKT that can be used to vote on the entire network.
- totalVotingPower: the sum of bonded OKT that participate in voting.
- percentVoting = totalVotingPower / totalBonded.
- Quorum: voting weight threshold for participating voters (0.334).
- Threshold: weight threshold for the proportion of Yes votes to all non-abstained votes (0.5).
- Veto: weight threshold for the proportion of NoWithVeto votes to all votes (0.334).
- YesInVotePeriod: weight threshold for the proportion of Yes votes to totalBonded before the voting ends (0.667).
- Yes: the sum of bonded OKT voting Yes.
- No: the sum of bonded OKT voting No.
- NoWithVeto: the sum of bonded OKT voting NoWithVeto.
- Abstain: the sum of bonded OKT voting Abstain.
Proposal parameters#
Text proposal parameters#
- deposit period(
TextMaxDepositPeriod
): 24h - minimum deposit(
TextMinDeposit
): 100okt - voting period(
TextVotingPeriod
): 72h
Parameter proposal parameters#
- deposit period(
ParamChangeMaxDepositPeriod
): 24h - minimum deposit(
ParamChangeMinDeposit
): 100okt - voting period(
ParamChangeVotingPeriod
): 72h - maximum block height(
ParamChangeMaxBlockHeight
):100000
Delist proposal parameters#
- deposit period(
ParamChangeMaxDepositPeriod
): 24h - minimum deposit(
ParamChangeMinDeposit
): 100okt - voting period(
ParamChangeVotingPeriod
): 72h
Software upgrade proposal parameters#
- deposit period(
AppUpgradeMaxDepositPeriod
): 24h - minimum deposit(
AppUpgradeMinDeposit
): 100okt - voting period(
AppUpgradeVotingPeriod
): 72h
Voting parameters of all proposals#
- voting weight threshold for participating voters (
Quorum
):0.334 - weight threshold for the proportion of Yes votes to all non-abstained votes (
Threshold
):0.5 - weight threshold for the proportion of NoWithVeto votes to all votes (
Veto
):0.334 - weight threshold for the proportion of Yes votes to all votes (including the voted and unvoted) before the voting ends (
YesInVotePeriod
):0.667