0g-chain/x/cdp/legacy/v0_16/testdata/v16-cdp.json
Levi Schoen 4d62f47773
(feat) update x/cdp to run every X blocks based off params (#1814)
* add new cdp module param to protonet genesis

* update cdp / cdp related tests for new module param

* update telemetry docs and setup for collecting against local node

* update kvool commit for new cdp param
2024-01-24 17:10:07 -05:00

131 lines
3.4 KiB
JSON

{
"params": {
"collateral_params": [
{
"denom": "bnb",
"type": "bnb-a",
"liquidation_ratio": "1.500000000000000000",
"debt_limit": {
"denom": "usdx",
"amount": "20000000000000"
},
"stability_fee": "1.000000000782997700",
"auction_size": "50000000000",
"liquidation_penalty": "0.050000000000000000",
"spot_market_id": "bnb:usd",
"liquidation_market_id": "bnb:usd:30",
"keeper_reward_percentage": "0.010000000000000000",
"check_collateralization_index_count": "10",
"conversion_factor": "8"
},
{
"denom": "hbtc",
"type": "hbtc-a",
"liquidation_ratio": "1.500000000000000000",
"debt_limit": {
"denom": "usdx",
"amount": "10000000000000"
},
"stability_fee": "1.000000001547125958",
"auction_size": "1000000000000",
"liquidation_penalty": "0.075000000000000000",
"spot_market_id": "btc:usd",
"liquidation_market_id": "btc:usd:30",
"keeper_reward_percentage": "0.010000000000000000",
"check_collateralization_index_count": "10",
"conversion_factor": "8"
}
],
"debt_param": {
"denom": "usdx",
"reference_asset": "usd",
"conversion_factor": "6",
"debt_floor": "10000000"
},
"global_debt_limit": {
"denom": "usdx",
"amount": "43000000000000"
},
"surplus_auction_threshold": "500000000000",
"surplus_auction_lot": "10000000000",
"debt_auction_threshold": "100000000000",
"debt_auction_lot": "10000000000",
"circuit_breaker": false,
"begin_blocker_execution_block_interval": "1"
},
"cdps": [
{
"id": "19",
"owner": "kava1u4p6a2yse66ewfndw4j7ppsa777vdcex3m4n9s",
"type": "bnb-a",
"collateral": {
"denom": "bnb",
"amount": "40911876"
},
"principal": {
"denom": "usdx",
"amount": "10016831"
},
"accumulated_fees": {
"denom": "usdx",
"amount": "36088"
},
"fees_updated": "2021-11-05T21:13:12.856088470Z",
"interest_factor": "1.002881426571765716"
},
{
"id": "22",
"owner": "kava1e8xjfylam4nvugcmkxwvuxh22uvvad5vknu4yh",
"type": "bnb-a",
"collateral": {
"denom": "bnb",
"amount": "88268546"
},
"principal": {
"denom": "usdx",
"amount": "10000000"
},
"accumulated_fees": {
"denom": "usdx",
"amount": "156662"
},
"fees_updated": "2021-11-05T21:13:12.856088470Z",
"interest_factor": "1.002881426571765716"
}
],
"deposits": [
{
"cdp_id": "19",
"depositor": "kava1u4p6a2yse66ewfndw4j7ppsa777vdcex3m4n9s",
"amount": {
"denom": "bnb",
"amount": "40911876"
}
},
{
"cdp_id": "22",
"depositor": "kava1e8xjfylam4nvugcmkxwvuxh22uvvad5vknu4yh",
"amount": {
"denom": "bnb",
"amount": "88268546"
}
}
],
"starting_cdp_id": "1",
"debt_denom": "debt",
"gov_denom": "ukava",
"previous_accumulation_times": [
{
"collateral_type": "bnb-a",
"previous_accumulation_time": "2021-11-05T21:13:12.856088470Z",
"interest_factor": "1.002881426571765716"
}
],
"total_principals": [
{
"collateral_type": "bnb-a",
"total_principal": "9285009581820"
}
]
}