System parameters
How to read and write vires.finance governance proposals
There're 4 main categories of parameters:
Wire-up configuration
Asset parameters
Staking parameters
Governance and Voting parameters
Special parameters
All the parameters are stored in 3PJ1kc4EAPL6fxuz3UZL68LPz1G9u4ptjYT
.
How to create a proposal
To create a new configurational proposal, one needs to create a valid data transaction with from the configuration address(public key as shown below)
{
"senderPublicKey": "3gQ8QUfoGQW6YVuhUv3zuqsbmxbV5F2FAuDXJqVKD6C9",
"data": [
{
"type": "integer",
"value": "700",
"key": "DUk2YTxhRoAqMJLus4G2b3fR8hMHVh6eiyFx5r29VR6t_ReserveFactor"
},
// etc, many params at once
],
"feeAssetId": null,
"proofs": [],
"fee": 5000000,
"type": 12,
"version": 2,
"timestamp": 1644858113777,
}
Please find the list of active configuration parameters below. Current values might vary from what the ones in the examples below.
Wire-up Configuration
{
"key": "vires_distributor",
"type": "string",
"value": "3P2RkFDTHJCB82HcVvJNU2eMEfUo82ZFagV"
},
{
"key": "vires_minter",
"type": "string",
"value": "3PM9SV8qsubjwfxENgsLJvP1BG2Wc2VAd7b"
},
{
"key": "vires_staker",
"type": "string",
"value": "3PMrcFXJx23B9zbxxUT49z6ET6wF2dKfTdW"
},
{
"key": "protected_reserve",
"type": "string",
"value": "3PJKKT7gsWiPBJj11gkF3Xv7gKt8s2WPdTr"
},
{
"key": "dividends_contract",
"type": "string",
"value": "3PHvU5KXYJUAReeActQpS56TCdF8gupEjdR"
},
{
"key": "eb_rewards",
"type": "string",
"value": "3PMqStMdARUA1KDNSrknUkQgXBVJR9Kgxko"
},
{
"key": "main",
"type": "string",
"value": "3PAZv9tgK1PX7dKR7b4kchq5qdpUS3G5sYT"
},
{
"key": "divAdmins",
"type": "string",
"value": "3PHvU5KXYJUAReeActQpS56TCdF8gupEjdR"
},
{
"key": "primary_reserves",
"type": "string",
"value": "3PCwFXSq8vj8iKitA5zrrLRbuqehfmimpce|3PEiD1zJWTMZNWSCyzhvBw9pxxAWeEwaghR|3P8G747fnB1DTQ4d5uD114vjAaeezCW4FaM|3PA7QMFyHMtHeP66SUQnwCgwKQHKpCyXWwd|3PPdeWwrzaxqgr6BuReoF3sWfxW8SYv743D|3PGCkrHBxFMi7tz1xqnxgBpeNvn5E4M4g8S|3PBjqiMwwag72VWUtHNnVrxTBrNK8D7bVcN"
},
{
"key": "oracle_address",
"type": "string",
"value": "3PFHm5TYKw4vVzj4rW8s3Yso88aD73Dai1C"
},
{
"key": "rewardable_reserves",
"type": "string",
"value": "3PCwFXSq8vj8iKitA5zrrLRbuqehfmimpce|3PEiD1zJWTMZNWSCyzhvBw9pxxAWeEwaghR|3P8G747fnB1DTQ4d5uD114vjAaeezCW4FaM|3PA7QMFyHMtHeP66SUQnwCgwKQHKpCyXWwd|3PPdeWwrzaxqgr6BuReoF3sWfxW8SYv743D|3PGCkrHBxFMi7tz1xqnxgBpeNvn5E4M4g8S|3PBjqiMwwag72VWUtHNnVrxTBrNK8D7bVcN"
},
{
"key": "dividendableReserves",
"type": "string",
"value": "3P8G747fnB1DTQ4d5uD114vjAaeezCW4FaM|3PCwFXSq8vj8iKitA5zrrLRbuqehfmimpce|3PEiD1zJWTMZNWSCyzhvBw9pxxAWeEwaghR|3PGCkrHBxFMi7tz1xqnxgBpeNvn5E4M4g8S|3PA7QMFyHMtHeP66SUQnwCgwKQHKpCyXWwd|3PPdeWwrzaxqgr6BuReoF3sWfxW8SYv743D|3PBjqiMwwag72VWUtHNnVrxTBrNK8D7bVcN"
},
{
"key": "voting_contract",
"type": "string",
"value": "3PKNPHY8VX4XnrrvQ6ery7VqFtmmisD4aUX"
},
{
"key": "protected_reserve_assets",
"type": "string",
"value": "WAVES|DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p|34N9YcEETLWn93qYQ64EsP1x89tSruJU44RrEMSXXEPJ|6XtHjpXbs9RRJP2Sr9GUyVqzACcby9TkThHXnjVC5CDJ|8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS|474jTeYx2r2Va35794tCScAXWJG9hU2HcgxzMowaZUnu|DUk2YTxhRoAqMJLus4G2b3fR8hMHVh6eiyFx5r29VR6t"
},
{
"key": "dividendableTokens",
"type": "string",
"value": "WAVES|DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p|34N9YcEETLWn93qYQ64EsP1x89tSruJU44RrEMSXXEPJ|6XtHjpXbs9RRJP2Sr9GUyVqzACcby9TkThHXnjVC5CDJ|8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS|474jTeYx2r2Va35794tCScAXWJG9hU2HcgxzMowaZUnu|DUk2YTxhRoAqMJLus4G2b3fR8hMHVh6eiyFx5r29VR6t"
},
Asset Parameters
{
"key": "DUk2YTxhRoAqMJLus4G2b3fR8hMHVh6eiyFx5r29VR6t_APoint",
"type": "integer",
"value": 80
},
{
"key": "DUk2YTxhRoAqMJLus4G2b3fR8hMHVh6eiyFx5r29VR6t_BPoint",
"type": "integer",
"value": 800
},
{
"key": "DUk2YTxhRoAqMJLus4G2b3fR8hMHVh6eiyFx5r29VR6t_CPoint",
"type": "integer",
"value": 200
},
{
"key": "DUk2YTxhRoAqMJLus4G2b3fR8hMHVh6eiyFx5r29VR6t_DPoint",
"type": "integer",
"value": 800
},
{
"key": "DUk2YTxhRoAqMJLus4G2b3fR8hMHVh6eiyFx5r29VR6t_CollateralFactor",
"type": "integer",
"value": 800
},
{
"key": "DUk2YTxhRoAqMJLus4G2b3fR8hMHVh6eiyFx5r29VR6t_LiquidationPenalty",
"type": "integer",
"value": 100
},
{
"key": "DUk2YTxhRoAqMJLus4G2b3fR8hMHVh6eiyFx5r29VR6t_LiquidationThreshold",
"type": "integer",
"value": 800
},
{
"key": "DUk2YTxhRoAqMJLus4G2b3fR8hMHVh6eiyFx5r29VR6t_ReserveFactor",
"type": "integer",
"value": 100
},
{
"key": "DUk2YTxhRoAqMJLus4G2b3fR8hMHVh6eiyFx5r29VR6t_LiquidationFractionFactor",
"type": "integer",
"value": 2
}
Staking
{
"key": "staking_enabled_DUk2YTxhRoAqMJLus4G2b3fR8hMHVh6eiyFx5r29VR6t",
"type": "boolean",
"value": true
},
"key": "staking_config_DUk2YTxhRoAqMJLus4G2b3fR8hMHVh6eiyFx5r29VR6t",
"type": "string",
"value": "3PH9oV2vraW7z7BxbMjHjcCMg3dmBKmUyhh"
},
"key": "protected_staking_config_DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p",
"type": "string",
"value": "3PDHaUcRCwK2FBBTGjNMcRHfEVUBp4x5sdB"
},
{
"key": "protected_staking_enabled_DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p",
"type": "boolean",
"value": true
},
{
"key": "adder_cfg_3PPPWL4vZBmc1UMT9PjhWa7wq1N7x32TcyC",
"type": "string",
"value": "900|3PJKKT7gsWiPBJj11gkF3Xv7gKt8s2WPdTr"
}
Governance and Voting parameters
{
"key": "proposal_applyend_offset",
"type": "integer",
"value": 20160
},
{
"key": "proposal_applystart_offset",
"type": "integer",
"value": 10080
},
{
"key": "proposal_min_vires_required",
"type": "integer",
"value": 100000000000
},
{
"key": "proposal_passed_ratio",
"type": "integer",
"value": 500
},
{
"key": "proposal_quorum_ratio",
"type": "integer",
"value": 300
},
{
"key": "proposal_votingend_offset",
"type": "integer",
"value": 10080
},
{
"key": "proposal_votingstart_offset",
"type": "integer",
"value": 2880
},
{
"key": "user_propose_delay",
"type": "integer",
"value": 10080
}
Last updated