mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-27 08:45:19 +00:00
779f8081e7
* add uatom ibc denom to money markets in hard migration * add new money market to stability committee * clean up * update v0_16 migration test data * add swp, uatom ibc denoms to hard gov committee * update committee migration testdata * update general migration test data * specify committee ID with vars * fix merge var rename bug Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com>
659 lines
22 KiB
JSON
659 lines
22 KiB
JSON
{
|
|
"committees": [
|
|
{
|
|
"type": "kava/MemberCommittee",
|
|
"value": {
|
|
"base_committee": {
|
|
"type": "kava/MemberCommittee",
|
|
"id": "1",
|
|
"description": "Kava Stability Committee",
|
|
"members": ["kava1n96qpdfcz2m7y364ewk8srv9zuq6ucwduyjaag"],
|
|
"permissions": [
|
|
{
|
|
"type": "kava/SubParamChangePermission",
|
|
"value": {
|
|
"allowed_params": [
|
|
{
|
|
"subspace": "auction",
|
|
"key": "BidDuration"
|
|
},
|
|
{
|
|
"subspace": "auction",
|
|
"key": "IncrementSurplus"
|
|
},
|
|
{
|
|
"subspace": "auction",
|
|
"key": "IncrementDebt"
|
|
},
|
|
{
|
|
"subspace": "auction",
|
|
"key": "IncrementCollateral"
|
|
},
|
|
{
|
|
"subspace": "bep3",
|
|
"key": "AssetParams"
|
|
},
|
|
{
|
|
"subspace": "cdp",
|
|
"key": "GlobalDebtLimit"
|
|
},
|
|
{
|
|
"subspace": "cdp",
|
|
"key": "SurplusThreshold"
|
|
},
|
|
{
|
|
"subspace": "cdp",
|
|
"key": "SurplusLot"
|
|
},
|
|
{
|
|
"subspace": "cdp",
|
|
"key": "DebtThreshold"
|
|
},
|
|
{
|
|
"subspace": "cdp",
|
|
"key": "DebtLot"
|
|
},
|
|
{
|
|
"subspace": "cdp",
|
|
"key": "DistributionFrequency"
|
|
},
|
|
{
|
|
"subspace": "cdp",
|
|
"key": "CollateralParams"
|
|
},
|
|
{
|
|
"subspace": "cdp",
|
|
"key": "DebtParam"
|
|
},
|
|
{
|
|
"subspace": "incentive",
|
|
"key": "Active"
|
|
},
|
|
{
|
|
"subspace": "kavadist",
|
|
"key": "Active"
|
|
},
|
|
{
|
|
"subspace": "pricefeed",
|
|
"key": "Markets"
|
|
},
|
|
{
|
|
"subspace": "hard",
|
|
"key": "MoneyMarkets"
|
|
},
|
|
{
|
|
"subspace": "hard",
|
|
"key": "MinimumBorrowUSDValue"
|
|
}
|
|
],
|
|
"allowed_collateral_params": [
|
|
{
|
|
"type": "bnb-a",
|
|
"denom": false,
|
|
"liquidation_ratio": false,
|
|
"debt_limit": true,
|
|
"stability_fee": true,
|
|
"auction_size": true,
|
|
"liquidation_penalty": false,
|
|
"prefix": false,
|
|
"spot_market_id": false,
|
|
"liquidation_market_id": false,
|
|
"conversion_factor": false,
|
|
"keeper_reward_percentage": true,
|
|
"check_collateralization_index_count": true
|
|
},
|
|
{
|
|
"type": "busd-a",
|
|
"denom": false,
|
|
"liquidation_ratio": false,
|
|
"debt_limit": true,
|
|
"stability_fee": true,
|
|
"auction_size": true,
|
|
"liquidation_penalty": false,
|
|
"prefix": false,
|
|
"spot_market_id": false,
|
|
"liquidation_market_id": false,
|
|
"conversion_factor": false,
|
|
"keeper_reward_percentage": true,
|
|
"check_collateralization_index_count": true
|
|
},
|
|
{
|
|
"type": "busd-b",
|
|
"denom": false,
|
|
"liquidation_ratio": false,
|
|
"debt_limit": true,
|
|
"stability_fee": true,
|
|
"auction_size": true,
|
|
"liquidation_penalty": false,
|
|
"prefix": false,
|
|
"spot_market_id": false,
|
|
"liquidation_market_id": false,
|
|
"conversion_factor": false,
|
|
"keeper_reward_percentage": true,
|
|
"check_collateralization_index_count": true
|
|
},
|
|
{
|
|
"type": "btcb-a",
|
|
"denom": false,
|
|
"liquidation_ratio": false,
|
|
"debt_limit": true,
|
|
"stability_fee": true,
|
|
"auction_size": true,
|
|
"liquidation_penalty": false,
|
|
"prefix": false,
|
|
"spot_market_id": false,
|
|
"liquidation_market_id": false,
|
|
"conversion_factor": false,
|
|
"keeper_reward_percentage": true,
|
|
"check_collateralization_index_count": true
|
|
},
|
|
{
|
|
"type": "xrpb-a",
|
|
"denom": false,
|
|
"liquidation_ratio": false,
|
|
"debt_limit": true,
|
|
"stability_fee": true,
|
|
"auction_size": true,
|
|
"liquidation_penalty": false,
|
|
"prefix": false,
|
|
"spot_market_id": false,
|
|
"liquidation_market_id": false,
|
|
"conversion_factor": false,
|
|
"keeper_reward_percentage": true,
|
|
"check_collateralization_index_count": true
|
|
},
|
|
{
|
|
"type": "ukava-a",
|
|
"denom": false,
|
|
"liquidation_ratio": false,
|
|
"debt_limit": true,
|
|
"stability_fee": true,
|
|
"auction_size": true,
|
|
"liquidation_penalty": false,
|
|
"prefix": false,
|
|
"spot_market_id": false,
|
|
"liquidation_market_id": false,
|
|
"conversion_factor": false,
|
|
"keeper_reward_percentage": true,
|
|
"check_collateralization_index_count": true
|
|
},
|
|
{
|
|
"type": "hard-a",
|
|
"denom": false,
|
|
"liquidation_ratio": false,
|
|
"debt_limit": true,
|
|
"stability_fee": true,
|
|
"auction_size": true,
|
|
"liquidation_penalty": false,
|
|
"prefix": false,
|
|
"spot_market_id": false,
|
|
"liquidation_market_id": false,
|
|
"conversion_factor": false,
|
|
"keeper_reward_percentage": true,
|
|
"check_collateralization_index_count": true
|
|
},
|
|
{
|
|
"type": "hbtc-a",
|
|
"denom": false,
|
|
"liquidation_ratio": false,
|
|
"debt_limit": true,
|
|
"stability_fee": true,
|
|
"auction_size": true,
|
|
"liquidation_penalty": false,
|
|
"prefix": false,
|
|
"spot_market_id": false,
|
|
"liquidation_market_id": false,
|
|
"conversion_factor": false,
|
|
"keeper_reward_percentage": true,
|
|
"check_collateralization_index_count": true
|
|
}
|
|
],
|
|
"allowed_debt_param": {
|
|
"denom": false,
|
|
"reference_asset": false,
|
|
"conversion_factor": false,
|
|
"debt_floor": true
|
|
},
|
|
"allowed_asset_params": [
|
|
{
|
|
"denom": "bnb",
|
|
"coin_id": false,
|
|
"limit": true,
|
|
"active": true,
|
|
"max_swap_amount": true,
|
|
"min_block_lock": true
|
|
},
|
|
{
|
|
"denom": "busd",
|
|
"coin_id": true,
|
|
"limit": true,
|
|
"active": true,
|
|
"max_swap_amount": true,
|
|
"min_block_lock": true
|
|
},
|
|
{
|
|
"denom": "btcb",
|
|
"coin_id": false,
|
|
"limit": true,
|
|
"active": true,
|
|
"max_swap_amount": true,
|
|
"min_block_lock": true
|
|
},
|
|
{
|
|
"denom": "xrpb",
|
|
"coin_id": false,
|
|
"limit": true,
|
|
"active": true,
|
|
"max_swap_amount": true,
|
|
"min_block_lock": true
|
|
}
|
|
],
|
|
"allowed_markets": [
|
|
{
|
|
"market_id": "bnb:usd",
|
|
"base_asset": false,
|
|
"quote_asset": false,
|
|
"oracles": false,
|
|
"active": true
|
|
},
|
|
{
|
|
"market_id": "bnb:usd:30",
|
|
"base_asset": false,
|
|
"quote_asset": false,
|
|
"oracles": false,
|
|
"active": true
|
|
},
|
|
{
|
|
"market_id": "btc:usd",
|
|
"base_asset": false,
|
|
"quote_asset": false,
|
|
"oracles": false,
|
|
"active": true
|
|
},
|
|
{
|
|
"market_id": "btc:usd:30",
|
|
"base_asset": false,
|
|
"quote_asset": false,
|
|
"oracles": false,
|
|
"active": true
|
|
},
|
|
{
|
|
"market_id": "xrp:usd",
|
|
"base_asset": false,
|
|
"quote_asset": false,
|
|
"oracles": false,
|
|
"active": true
|
|
},
|
|
{
|
|
"market_id": "xrp:usd:30",
|
|
"base_asset": false,
|
|
"quote_asset": false,
|
|
"oracles": false,
|
|
"active": true
|
|
},
|
|
{
|
|
"market_id": "busd:usd",
|
|
"base_asset": false,
|
|
"quote_asset": false,
|
|
"oracles": false,
|
|
"active": true
|
|
},
|
|
{
|
|
"market_id": "busd:usd:30",
|
|
"base_asset": false,
|
|
"quote_asset": false,
|
|
"oracles": false,
|
|
"active": true
|
|
}
|
|
],
|
|
"allowed_money_markets": [
|
|
{
|
|
"denom": "bnb",
|
|
"borrow_limit": true,
|
|
"spot_market_id": false,
|
|
"conversion_factor": false,
|
|
"interest_rate_model": true,
|
|
"reserve_factor": true,
|
|
"keeper_reward_percentage": true
|
|
},
|
|
{
|
|
"denom": "busd",
|
|
"borrow_limit": true,
|
|
"spot_market_id": false,
|
|
"conversion_factor": false,
|
|
"interest_rate_model": true,
|
|
"reserve_factor": true,
|
|
"keeper_reward_percentage": true
|
|
},
|
|
{
|
|
"denom": "btcb",
|
|
"borrow_limit": true,
|
|
"spot_market_id": false,
|
|
"conversion_factor": false,
|
|
"interest_rate_model": true,
|
|
"reserve_factor": true,
|
|
"keeper_reward_percentage": true
|
|
},
|
|
{
|
|
"denom": "xrpb",
|
|
"borrow_limit": true,
|
|
"spot_market_id": false,
|
|
"conversion_factor": false,
|
|
"interest_rate_model": true,
|
|
"reserve_factor": true,
|
|
"keeper_reward_percentage": true
|
|
},
|
|
{
|
|
"denom": "usdx",
|
|
"borrow_limit": true,
|
|
"spot_market_id": false,
|
|
"conversion_factor": false,
|
|
"interest_rate_model": true,
|
|
"reserve_factor": true,
|
|
"keeper_reward_percentage": true
|
|
},
|
|
{
|
|
"denom": "ukava",
|
|
"borrow_limit": true,
|
|
"spot_market_id": false,
|
|
"conversion_factor": false,
|
|
"interest_rate_model": true,
|
|
"reserve_factor": true,
|
|
"keeper_reward_percentage": true
|
|
},
|
|
{
|
|
"denom": "hard",
|
|
"borrow_limit": true,
|
|
"spot_market_id": false,
|
|
"conversion_factor": false,
|
|
"interest_rate_model": true,
|
|
"reserve_factor": true,
|
|
"keeper_reward_percentage": true
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "kava/TextPermission",
|
|
"value": {}
|
|
}
|
|
],
|
|
"vote_threshold": "0.500000000000000000",
|
|
"proposal_duration": "600000000000",
|
|
"tally_option": "FirstPastThePost"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "kava/MemberCommittee",
|
|
"value": {
|
|
"base_committee": {
|
|
"id": "2",
|
|
"description": "Kava Safety Committee",
|
|
"members": ["kava1n96qpdfcz2m7y364ewk8srv9zuq6ucwduyjaag"],
|
|
"permissions": [
|
|
{
|
|
"type": "kava/SoftwareUpgradePermission",
|
|
"value": {}
|
|
}
|
|
],
|
|
"vote_threshold": "0.500000000000000000",
|
|
"proposal_duration": "604800000000000",
|
|
"tally_option": "FirstPastThePost"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "kava/TokenCommittee",
|
|
"value": {
|
|
"base_committee": {
|
|
"id": "3",
|
|
"description": "Hard Governance Committee",
|
|
"members": ["kava1n96qpdfcz2m7y364ewk8srv9zuq6ucwduyjaag"],
|
|
"permissions": [
|
|
{
|
|
"type": "kava/SubParamChangePermission",
|
|
"value": {
|
|
"allowed_params": [
|
|
{
|
|
"subspace": "hard",
|
|
"key": "MoneyMarkets"
|
|
},
|
|
{
|
|
"subspace": "hard",
|
|
"key": "MinimumBorrowUSDValue"
|
|
},
|
|
{
|
|
"subspace": "incentive",
|
|
"key": "HardSupplyRewardPeriods"
|
|
},
|
|
{
|
|
"subspace": "incentive",
|
|
"key": "HardBorrowRewardPeriods"
|
|
},
|
|
{
|
|
"subspace": "incentive",
|
|
"key": "HardDelegatorRewardPeriods"
|
|
}
|
|
],
|
|
"allowed_collateral_params": null,
|
|
"allowed_debt_param": {
|
|
"denom": false,
|
|
"reference_asset": false,
|
|
"conversion_factor": false,
|
|
"debt_floor": false
|
|
},
|
|
"allowed_asset_params": null,
|
|
"allowed_markets": null,
|
|
"allowed_money_markets": [
|
|
{
|
|
"denom": "bnb",
|
|
"borrow_limit": true,
|
|
"spot_market_id": true,
|
|
"conversion_factor": false,
|
|
"interest_rate_model": true,
|
|
"reserve_factor": true,
|
|
"keeper_reward_percentage": true
|
|
},
|
|
{
|
|
"denom": "busd",
|
|
"borrow_limit": true,
|
|
"spot_market_id": true,
|
|
"conversion_factor": false,
|
|
"interest_rate_model": true,
|
|
"reserve_factor": true,
|
|
"keeper_reward_percentage": true
|
|
},
|
|
{
|
|
"denom": "btcb",
|
|
"borrow_limit": true,
|
|
"spot_market_id": true,
|
|
"conversion_factor": false,
|
|
"interest_rate_model": true,
|
|
"reserve_factor": true,
|
|
"keeper_reward_percentage": true
|
|
},
|
|
{
|
|
"denom": "xrpb",
|
|
"borrow_limit": true,
|
|
"spot_market_id": true,
|
|
"conversion_factor": false,
|
|
"interest_rate_model": true,
|
|
"reserve_factor": true,
|
|
"keeper_reward_percentage": true
|
|
},
|
|
{
|
|
"denom": "usdx",
|
|
"borrow_limit": true,
|
|
"spot_market_id": true,
|
|
"conversion_factor": false,
|
|
"interest_rate_model": true,
|
|
"reserve_factor": true,
|
|
"keeper_reward_percentage": true
|
|
},
|
|
{
|
|
"denom": "ukava",
|
|
"borrow_limit": true,
|
|
"spot_market_id": true,
|
|
"conversion_factor": false,
|
|
"interest_rate_model": true,
|
|
"reserve_factor": true,
|
|
"keeper_reward_percentage": true
|
|
},
|
|
{
|
|
"denom": "hard",
|
|
"borrow_limit": true,
|
|
"spot_market_id": true,
|
|
"conversion_factor": false,
|
|
"interest_rate_model": true,
|
|
"reserve_factor": true,
|
|
"keeper_reward_percentage": true
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"vote_threshold": "0.500000000000000000",
|
|
"proposal_duration": "600000000000",
|
|
"tally_option": "Deadline"
|
|
},
|
|
"quorum": "0.330000000000000000",
|
|
"tally_denom": "hard"
|
|
}
|
|
},
|
|
{
|
|
"type": "kava/TokenCommittee",
|
|
"value": {
|
|
"base_committee": {
|
|
"id": "4",
|
|
"description": "Swp Governance Committee",
|
|
"members": ["kava1n96qpdfcz2m7y364ewk8srv9zuq6ucwduyjaag"],
|
|
"permissions": [
|
|
{
|
|
"type": "kava/SubParamChangePermission",
|
|
"value": {
|
|
"allowed_params": [
|
|
{
|
|
"subspace": "swap",
|
|
"key": "AllowedPools"
|
|
},
|
|
{
|
|
"subspace": "swap",
|
|
"key": "SwapFee"
|
|
},
|
|
{
|
|
"subspace": "incentive",
|
|
"key": "HardDelegatorRewardPeriods"
|
|
},
|
|
{
|
|
"subspace": "incentive",
|
|
"key": "SwapRewardPeriods"
|
|
}
|
|
],
|
|
"allowed_collateral_params": null,
|
|
"allowed_debt_param": {
|
|
"denom": false,
|
|
"reference_asset": false,
|
|
"conversion_factor": false,
|
|
"debt_floor": false
|
|
},
|
|
"allowed_asset_params": null,
|
|
"allowed_markets": null,
|
|
"allowed_money_markets": null
|
|
}
|
|
}
|
|
],
|
|
"vote_threshold": "0.500000000000000000",
|
|
"proposal_duration": "600000000000",
|
|
"tally_option": "Deadline"
|
|
},
|
|
"quorum": "0.330000000000000000",
|
|
"tally_denom": "swp"
|
|
}
|
|
},
|
|
{
|
|
"type": "kava/MemberCommittee",
|
|
"value": {
|
|
"base_committee": {
|
|
"id": "5",
|
|
"description": "Kava God Committee (testing only)",
|
|
"members": ["kava1n96qpdfcz2m7y364ewk8srv9zuq6ucwduyjaag"],
|
|
"permissions": [
|
|
{
|
|
"type": "kava/GodPermission",
|
|
"value": {}
|
|
}
|
|
],
|
|
"vote_threshold": "0.500000000000000000",
|
|
"proposal_duration": "604800000000000",
|
|
"tally_option": "FirstPastThePost"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"next_proposal_id": "1",
|
|
"proposals": [
|
|
{
|
|
"pub_proposal": {
|
|
"type": "kava/CommunityPoolMultiSpendProposal",
|
|
"value": {
|
|
"title": "Test",
|
|
"description": "Test",
|
|
"recipient_list": [
|
|
{
|
|
"address": "kava1ze7y9qwdddejmy7jlw4cymqqlt2wh05yhwmrv2",
|
|
"amount": [{ "denom": "ukava", "amount": "10" }]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"id": "1",
|
|
"committee_id": "2",
|
|
"deadline": "2021-11-24T18:48:08.693415Z"
|
|
},
|
|
{
|
|
"pub_proposal": {
|
|
"type": "cosmos-sdk/CommunityPoolSpendProposal",
|
|
"value": {
|
|
"title": "Community Pool Spend",
|
|
"description": "Fund the community pool.",
|
|
"recipient": "kava1ze7y9qwdddejmy7jlw4cymqqlt2wh05yhwmrv2",
|
|
"amount": [{ "denom": "ukava", "amount": "10" }]
|
|
}
|
|
},
|
|
"id": "1",
|
|
"committee_id": "2",
|
|
"deadline": "2021-11-24T18:49:44.219341Z"
|
|
},
|
|
{
|
|
"pub_proposal": {
|
|
"type": "cosmos-sdk/SoftwareUpgradeProposal",
|
|
"value": {
|
|
"title": "Test",
|
|
"description": "Test",
|
|
"plan": {
|
|
"name": "Test",
|
|
"time": "2021-11-24T16:49:44.219327Z",
|
|
"height": "100"
|
|
}
|
|
}
|
|
},
|
|
"id": "1",
|
|
"committee_id": "2",
|
|
"deadline": "2021-11-24T18:49:44.219693Z"
|
|
}
|
|
],
|
|
"votes": [
|
|
{
|
|
"proposal_id": "1",
|
|
"voter": "kava1ze7y9qwdddejmy7jlw4cymqqlt2wh05yhwmrv2",
|
|
"vote_type": "Yes"
|
|
},
|
|
{
|
|
"proposal_id": "1",
|
|
"voter": "kava1ze7y9qwdddejmy7jlw4cymqqlt2wh05yhwmrv2",
|
|
"vote_type": "Abstain"
|
|
}
|
|
]
|
|
}
|