Skip to content
This repository was archived by the owner on Nov 15, 2024. It is now read-only.

Commit cca246a

Browse files
fix (#454)
1 parent 82f104d commit cca246a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

bindings/src/query_resp.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ pub struct PerpetualParamsRaw {
680680
pub leverage_max: Option<Decimal>,
681681
pub borrow_interest_rate_max: Option<Decimal>,
682682
pub borrow_interest_rate_min: Option<Decimal>,
683-
pub min_borrow_interest_amount: Option<Uint128>,
683+
pub min_borrow_interest_amount: Option<Int128>,
684684
pub borrow_interest_rate_increase: Option<Decimal>,
685685
pub borrow_interest_rate_decrease: Option<Decimal>,
686686
pub health_gain_factor: Option<Decimal>,
@@ -698,7 +698,7 @@ pub struct PerpetualParamsRaw {
698698
pub take_profit_borrow_interest_rate_min: Option<Decimal>,
699699
pub funding_fee_base_rate: Option<Decimal>,
700700
pub funding_fee_max_rate: Option<Decimal>,
701-
pub funding_fee_min_rate: Option<Decimal>,
701+
pub funding_fee_min_rate: Option<String>,
702702
pub funding_fee_collection_address: Option<String>,
703703
pub swap_fee: Option<Decimal>,
704704
pub max_limit_order: Option<i64>,
@@ -709,7 +709,7 @@ pub struct PerpetualParams {
709709
pub leverage_max: Decimal,
710710
pub borrow_interest_rate_max: Decimal,
711711
pub borrow_interest_rate_min: Decimal,
712-
pub min_borrow_interest_amount: Uint128,
712+
pub min_borrow_interest_amount: Int128,
713713
pub borrow_interest_rate_increase: Decimal,
714714
pub borrow_interest_rate_decrease: Decimal,
715715
pub health_gain_factor: Decimal,
@@ -727,7 +727,7 @@ pub struct PerpetualParams {
727727
pub take_profit_borrow_interest_rate_min: Decimal,
728728
pub funding_fee_base_rate: Decimal,
729729
pub funding_fee_max_rate: Decimal,
730-
pub funding_fee_min_rate: Decimal,
730+
pub funding_fee_min_rate: String,
731731
pub funding_fee_collection_address: String,
732732
pub swap_fee: Decimal,
733733
pub max_limit_order: i64,

0 commit comments

Comments
 (0)