From 007196213cc24517097beef98588a2079fb45b4e Mon Sep 17 00:00:00 2001 From: kenta-elys Date: Thu, 7 Dec 2023 18:17:06 +0000 Subject: [PATCH] chore: remove non-use param from instantiateMsg --- src/msg/instantiate_msg.rs | 1 - src/msg/query_resp/earn/get_pool_resp.rs | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/msg/instantiate_msg.rs b/src/msg/instantiate_msg.rs index f459d81..5ea6586 100644 --- a/src/msg/instantiate_msg.rs +++ b/src/msg/instantiate_msg.rs @@ -2,5 +2,4 @@ use cosmwasm_schema::cw_serde; #[cw_serde] pub struct InstantiateMsg { - pub epoch_cycle_interval: u128, } diff --git a/src/msg/query_resp/earn/get_pool_resp.rs b/src/msg/query_resp/earn/get_pool_resp.rs index bc03581..9f51d58 100644 --- a/src/msg/query_resp/earn/get_pool_resp.rs +++ b/src/msg/query_resp/earn/get_pool_resp.rs @@ -20,9 +20,9 @@ pub struct PoolAsset { #[cw_serde] pub struct PoolResp { pub assets: Vec, // eg : [{{"denom":"uatom", "amount":"1000"}, "weight":"10"}, {{"denom":"uusdc", "amount":"100"}, "weight":"1"}, ...] - pub pool_ratio: Decimal, - pub dex_apr: Decimal, - pub eden_apr: Decimal, + pub pool_ratio: String, + pub rewards_apr: Decimal, + pub borrow_apr: Decimal, pub leverage_lp: Decimal, pub perpetual: Decimal, pub tvl: Decimal,