add committee to genesis example (#513)

This commit is contained in:
Kevin Davis 2020-05-15 18:54:02 -04:00 committed by GitHub
parent 00508b61fe
commit 467e6f7d8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,9 +73,9 @@
"auction_size": "50000000000", "auction_size": "50000000000",
"conversion_factor": "8", "conversion_factor": "8",
"debt_limit": { "debt_limit": {
"amount": "2000000000000", "amount": "2000000000000",
"denom": "usdx" "denom": "usdx"
}, },
"denom": "bnb", "denom": "bnb",
"liquidation_penalty": "0.05", "liquidation_penalty": "0.05",
"liquidation_ratio": "1.5", "liquidation_ratio": "1.5",
@ -86,22 +86,22 @@
], ],
"debt_auction_threshold": "10000000000", "debt_auction_threshold": "10000000000",
"debt_param": { "debt_param": {
"conversion_factor": "6", "conversion_factor": "6",
"debt_floor": "10000000", "debt_floor": "10000000",
"debt_limit": [ "debt_limit": [
{ {
"amount": "2000000000000", "amount": "2000000000000",
"denom": "usdx" "denom": "usdx"
} }
], ],
"denom": "usdx", "denom": "usdx",
"reference_asset": "usd", "reference_asset": "usd",
"savings_rate": "0.95" "savings_rate": "0.95"
}, },
"global_debt_limit": { "global_debt_limit": {
"amount": "2000000000000", "amount": "2000000000000",
"denom": "usdx" "denom": "usdx"
}, },
"savings_distribution_frequency": "120000000000", "savings_distribution_frequency": "120000000000",
"surplus_auction_threshold": "1000000000" "surplus_auction_threshold": "1000000000"
}, },
@ -111,7 +111,123 @@
}, },
"committee": { "committee": {
"next_proposal_id": "1", "next_proposal_id": "1",
"committees": [], "committees": [
{
"id": "0",
"description": "This committee is for adjusting parameters of the cdp system.",
"members": [
"kava109fpwjvq6un86tw8f8emav2l0e0dha924scrj9"
],
"permissions": [
{
"type": "kava/SubParamChangePermission",
"value": {
"allowed_params": [
{
"subspace": "cdp",
"key": "GlobalDebtLimit"
},
{
"subspace": "cdp",
"key": "SurplusThreshold"
},
{
"subspace": "cdp",
"key": "DebtThreshold"
},
{
"subspace": "cdp",
"key": "DistributionFrequency"
},
{
"subspace": "cdp",
"key": "CircuitBreaker"
},
{
"subspace": "cdp",
"key": "CollateralParams"
},
{
"subspace": "cdp",
"key": "DebtParam"
},
{
"subspace": "auction",
"key": "BidDuration"
},
{
"subspace": "auction",
"key": "IncrementSurplus"
},
{
"subspace": "auction",
"key": "IncrementDebt"
},
{
"subspace": "auction",
"key": "IncrementCollateral"
},
{
"subspace": "bep3",
"key": "SupportedAssets"
},
{
"subspace": "pricefeed",
"key": "Markets"
},
{
"subspace": "incentive",
"key": "Active"
},
{
"subspace": "kavadist",
"key": "Active"
}
],
"allowed_collateral_params": [
{
"denom": "bnb",
"liquidation_ratio": false,
"debt_limit": true,
"stability_fee": true,
"auction_size": true,
"liquidation_penalty": false,
"prefix": false,
"market_id": false,
"conversion_factor": false
}
],
"allowed_debt_param": {
"denom": false,
"reference_asset": false,
"conversion_factor": false,
"debt_floor": false,
"savings_rate": true
},
"allowed_asset_params": [
{
"denom": "bnb",
"coin_id": false,
"limit": true,
"active": true
}
],
"allowed_markets": [
{
"market_id": "bnb:usd",
"base_asset": false,
"quote_asset": false,
"oracles": false,
"active": true
}
]
}
}
],
"vote_threshold": "0.750000000000000000",
"proposal_duration": "604800000000000"
}
],
"proposals": [], "proposals": [],
"votes": [] "votes": []
}, },
@ -179,8 +295,7 @@
{ {
"active": true, "active": true,
"denom": "bnb", "denom": "bnb",
"available_rewards": "available_rewards": {
{
"amount": "50000000000", "amount": "50000000000",
"denom": "ukava" "denom": "ukava"
}, },
@ -190,7 +305,7 @@
} }
] ]
}, },
"previous_block_time": "1970-01-01T00:00:00Z" "previous_block_time": "1970-01-01T00:00:00Z"
}, },
"kavadist": { "kavadist": {
"params": { "params": {
@ -228,7 +343,7 @@
"base_asset": "bnb", "base_asset": "bnb",
"market_id": "bnb:usd", "market_id": "bnb:usd",
"oracles": [ "oracles": [
"kava15qdefkmwswysgg4qxgqpqr35k3m49pkx2jdfnw" "kava1mgwgstcyva04qa96t5plgpt8jv548cdzj009j0"
], ],
"quote_asset": "usd" "quote_asset": "usd"
} }
@ -236,10 +351,10 @@
}, },
"posted_prices": [ "posted_prices": [
{ {
"expiry": "2021-04-20T00:00:00Z", "expiry": "2021-06-20T00:00:00Z",
"market_id": "bnb:usd", "market_id": "bnb:usd",
"oracle_address": "kava15qdefkmwswysgg4qxgqpqr35k3m49pkx2jdfnw", "oracle_address": "kava1mgwgstcyva04qa96t5plgpt8jv548cdzj009j0",
"price": "12.2639061184" "price": "15.929061184"
} }
] ]
}, },