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 b5517c4..9f51d58 100644 --- a/src/msg/query_resp/earn/get_pool_resp.rs +++ b/src/msg/query_resp/earn/get_pool_resp.rs @@ -8,6 +8,7 @@ pub enum FilterType { FilterPerpetual = 1, FilterFixedWeight = 2, FilterDynamicWeight = 3, + FilterLeverage = 4, } #[cw_serde] @@ -19,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,