mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-14 03:55:19 +00:00
72e8f2f40f
* define and generate proto types * implement savings claim msg + test * implement savings claim + test * register msg and add store keys * implement savings claim keeper methods * update function comment * define and generate proto types, update types dir * update gen state with savings + test * update legacy test data for ci test * update proto types numbering * update params proto types numbering
338 lines
8.4 KiB
JSON
338 lines
8.4 KiB
JSON
{
|
|
"params": {
|
|
"usdx_minting_reward_periods": [
|
|
{
|
|
"active": true,
|
|
"collateral_type": "bnb-a",
|
|
"start": "2021-07-20T14:00:00Z",
|
|
"end": "2024-10-16T14:00:00Z",
|
|
"rewards_per_second": { "denom": "ukava", "amount": "122354" }
|
|
},
|
|
{
|
|
"active": true,
|
|
"collateral_type": "hard-a",
|
|
"start": "2021-07-20T14:00:00Z",
|
|
"end": "2024-10-16T14:00:00Z",
|
|
"rewards_per_second": { "denom": "ukava", "amount": "23809" }
|
|
}
|
|
],
|
|
"hard_supply_reward_periods": [
|
|
{
|
|
"active": true,
|
|
"collateral_type": "bnb",
|
|
"start": "2021-07-20T00:00:00Z",
|
|
"end": "2024-01-01T00:00:00Z",
|
|
"rewards_per_second": [{ "denom": "hard", "amount": "123455" }]
|
|
},
|
|
{
|
|
"active": true,
|
|
"collateral_type": "hard",
|
|
"start": "2021-07-20T00:00:00Z",
|
|
"end": "2024-01-01T00:00:00Z",
|
|
"rewards_per_second": [{ "denom": "hard", "amount": "123455" }]
|
|
}
|
|
],
|
|
"hard_borrow_reward_periods": [
|
|
{
|
|
"active": true,
|
|
"collateral_type": "bnb",
|
|
"start": "2020-01-01T00:00:00Z",
|
|
"end": "2024-01-01T00:00:00Z",
|
|
"rewards_per_second": [{ "denom": "hard", "amount": "12345" }]
|
|
},
|
|
{
|
|
"active": true,
|
|
"collateral_type": "btcb",
|
|
"start": "2020-01-01T00:00:00Z",
|
|
"end": "2024-01-01T00:00:00Z",
|
|
"rewards_per_second": [{ "denom": "hard", "amount": "12345" }]
|
|
}
|
|
],
|
|
"delegator_reward_periods": [
|
|
{
|
|
"active": true,
|
|
"collateral_type": "ukava",
|
|
"start": "2020-01-01T00:00:00Z",
|
|
"end": "2024-01-01T00:00:00Z",
|
|
"rewards_per_second": [
|
|
{ "denom": "hard", "amount": "316880" },
|
|
{ "denom": "swp", "amount": "316880" }
|
|
]
|
|
}
|
|
],
|
|
"swap_reward_periods": [
|
|
{
|
|
"active": true,
|
|
"collateral_type": "ukava:usdx",
|
|
"start": "2021-07-14T00:00:00Z",
|
|
"end": "2024-01-01T00:00:00Z",
|
|
"rewards_per_second": [
|
|
{ "denom": "swp", "amount": "316880" },
|
|
{ "denom": "ukava", "amount": "31688" }
|
|
]
|
|
},
|
|
{
|
|
"active": true,
|
|
"collateral_type": "swp:usdx",
|
|
"start": "2021-07-14T00:00:00Z",
|
|
"end": "2024-01-01T00:00:00Z",
|
|
"rewards_per_second": [
|
|
{ "denom": "swp", "amount": "616880" },
|
|
{ "denom": "ukava", "amount": "31688" }
|
|
]
|
|
}
|
|
],
|
|
"savings_reward_periods": [],
|
|
"claim_multipliers": [
|
|
{
|
|
"denom": "hard",
|
|
"multipliers": [
|
|
{
|
|
"name": "small",
|
|
"months_lockup": "1",
|
|
"factor": "0.200000000000000000"
|
|
},
|
|
{
|
|
"name": "large",
|
|
"months_lockup": "12",
|
|
"factor": "1.000000000000000000"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"denom": "swp",
|
|
"multipliers": [
|
|
{
|
|
"name": "small",
|
|
"months_lockup": "1",
|
|
"factor": "0.100000000000000000"
|
|
},
|
|
{
|
|
"name": "large",
|
|
"months_lockup": "12",
|
|
"factor": "1.000000000000000000"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"claim_end": "2025-01-01T00:00:00Z"
|
|
},
|
|
"usdx_reward_state": {
|
|
"accumulation_times": [
|
|
{
|
|
"collateral_type": "bnb-a",
|
|
"previous_accumulation_time": "2021-06-10T16:43:11.679705Z"
|
|
}
|
|
],
|
|
"multi_reward_indexes": [
|
|
{
|
|
"collateral_type": "bnb-a",
|
|
"reward_indexes": [
|
|
{
|
|
"collateral_type": "ukava",
|
|
"reward_factor": "0.043949244534927716"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"hard_supply_reward_state": {
|
|
"accumulation_times": [
|
|
{
|
|
"collateral_type": "bnb",
|
|
"previous_accumulation_time": "2021-11-05T21:13:12.856088470Z"
|
|
},
|
|
{
|
|
"collateral_type": "hard",
|
|
"previous_accumulation_time": "2021-11-05T21:13:12.856088470Z"
|
|
}
|
|
],
|
|
"multi_reward_indexes": [
|
|
{
|
|
"collateral_type": "bnb",
|
|
"reward_indexes": [
|
|
{
|
|
"collateral_type": "hard",
|
|
"reward_factor": "32.458112657412585027"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"collateral_type": "hard",
|
|
"reward_indexes": [
|
|
{
|
|
"collateral_type": "hard",
|
|
"reward_factor": "35.000000000000000000"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"hard_borrow_reward_state": {
|
|
"accumulation_times": [
|
|
{
|
|
"collateral_type": "btcb",
|
|
"previous_accumulation_time": "2021-11-05T21:13:12.856088470Z"
|
|
}
|
|
],
|
|
"multi_reward_indexes": [
|
|
{
|
|
"collateral_type": "btcb",
|
|
"reward_indexes": [
|
|
{
|
|
"collateral_type": "hard",
|
|
"reward_factor": "88.582200355378048199"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"delegator_reward_state": {
|
|
"accumulation_times": [
|
|
{
|
|
"collateral_type": "ukava",
|
|
"previous_accumulation_time": "2021-11-05T21:13:12.856088470Z"
|
|
}
|
|
],
|
|
"multi_reward_indexes": [
|
|
{
|
|
"collateral_type": "ukava",
|
|
"reward_indexes": [
|
|
{
|
|
"collateral_type": "hard",
|
|
"reward_factor": "0.078380843036861815"
|
|
},
|
|
{ "collateral_type": "swp", "reward_factor": "0.013629025935176301" }
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"swap_reward_state": {
|
|
"accumulation_times": [
|
|
{
|
|
"collateral_type": "btcb-a",
|
|
"previous_accumulation_time": "2021-06-10T16:43:11.679705Z"
|
|
}
|
|
],
|
|
"multi_reward_indexes": [
|
|
{
|
|
"collateral_type": "btcb:usdx",
|
|
"reward_indexes": [
|
|
{ "collateral_type": "swp", "reward_factor": "6.145396761233172901" }
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"savings_reward_state": {
|
|
"accumulation_times": [],
|
|
"multi_reward_indexes": []
|
|
},
|
|
"usdx_minting_claims": [
|
|
{
|
|
"base_claim": {
|
|
"owner": "kava1qptt5vu26cmxpmv0hf2tnnmf293x266pjcsjar",
|
|
"reward": { "denom": "ukava", "amount": "550" }
|
|
},
|
|
"reward_indexes": [
|
|
{ "collateral_type": "bnb-a", "reward_factor": "0.043949244534927716" },
|
|
{ "collateral_type": "btcb-a", "reward_factor": "0.046551281526135881" }
|
|
]
|
|
}
|
|
],
|
|
"hard_liquidity_provider_claims": [
|
|
{
|
|
"base_claim": {
|
|
"owner": "kava1qqqvdyv8w0xdu7gjdtt598q78gtgqyukct4yz2",
|
|
"reward": [{ "denom": "hard", "amount": "1747514" }]
|
|
},
|
|
"supply_reward_indexes": [
|
|
{
|
|
"collateral_type": "bnb",
|
|
"reward_indexes": [
|
|
{
|
|
"collateral_type": "hard",
|
|
"reward_factor": "22.000000000000000000"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"collateral_type": "hard",
|
|
"reward_indexes": [
|
|
{
|
|
"collateral_type": "hard",
|
|
"reward_factor": "30.000000000000000000"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"borrow_reward_indexes": [
|
|
{
|
|
"collateral_type": "btc",
|
|
"reward_indexes": [
|
|
{
|
|
"collateral_type": "hard",
|
|
"reward_factor": "88.582200355378048199"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"base_claim": {
|
|
"owner": "kava1w2uj6rpejrma47vjx4rcghh3fndhmrvs6pmxph",
|
|
"reward": [
|
|
{
|
|
"amount": "1747514",
|
|
"denom": "hard"
|
|
}
|
|
]
|
|
},
|
|
"borrow_reward_indexes": [],
|
|
"supply_reward_indexes": []
|
|
}
|
|
],
|
|
"delegator_claims": [
|
|
{
|
|
"base_claim": {
|
|
"owner": "kava1qqqvdyv8w0xdu7gjdtt598q78gtgqyukct4yz2",
|
|
"reward": []
|
|
},
|
|
"reward_indexes": [
|
|
{
|
|
"collateral_type": "ukava",
|
|
"reward_indexes": [
|
|
{
|
|
"collateral_type": "hard",
|
|
"reward_factor": "0.000000000000000000"
|
|
},
|
|
{
|
|
"collateral_type": "swp",
|
|
"reward_factor": "0.000000100000000000"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"swap_claims": [
|
|
{
|
|
"base_claim": {
|
|
"owner": "kava1qzease8mre5adak7wcc2twh6ryh9evnxpr6caj",
|
|
"reward": [{ "denom": "swp", "amount": "1960368" }]
|
|
},
|
|
"reward_indexes": [
|
|
{
|
|
"collateral_type": "busd:usdx",
|
|
"reward_indexes": [
|
|
{
|
|
"collateral_type": "swp",
|
|
"reward_factor": "0.018083281889996318"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"savings_claims": []
|
|
}
|