Struct levana_perpswap_cosmos::contracts::market::config::defaults::ConfigDefaults
source · pub struct ConfigDefaults {}
Implementations§
source§impl ConfigDefaults
impl ConfigDefaults
pub fn trading_fee_notional_size() -> Decimal256
pub fn trading_fee_counter_collateral() -> Decimal256
pub const fn crank_execs() -> u32
pub fn max_leverage() -> Number
pub fn funding_rate_sensitivity() -> Decimal256
pub fn funding_rate_max_annualized() -> Decimal256
pub fn borrow_fee_rate_min_annualized() -> NumberGtZero
pub fn borrow_fee_rate_max_annualized() -> NumberGtZero
pub fn carry_leverage() -> Decimal256
pub const fn mute_events() -> bool
pub const fn liquifunding_delay_seconds() -> u32
pub fn protocol_tax() -> Decimal256
pub const fn unstake_period_seconds() -> u32
pub fn target_utilization() -> NonZero<Decimal256>
pub fn borrow_fee_sensitivity() -> NumberGtZero
pub fn max_xlp_rewards_multiplier() -> NumberGtZero
pub fn min_xlp_rewards_multiplier() -> NumberGtZero
pub fn delta_neutrality_fee_sensitivity() -> NumberGtZero
pub fn delta_neutrality_fee_cap() -> NumberGtZero
pub fn delta_neutrality_fee_tax() -> Decimal256
pub fn crank_fee_charged() -> Usd
pub fn crank_fee_surcharge() -> Usd
pub fn crank_fee_reward() -> Usd
pub fn minimum_deposit_usd() -> Usd
pub const fn liquifunding_delay_fuzz_seconds() -> u32
pub const fn max_liquidity() -> MaxLiquidity
pub const fn disable_position_nft_exec() -> bool
pub const fn liquidity_cooldown_seconds() -> u32
pub fn exposure_margin_ratio() -> Decimal256
pub fn referral_reward_ratio() -> Decimal256
Auto Trait Implementations§
impl RefUnwindSafe for ConfigDefaults
impl Send for ConfigDefaults
impl Sync for ConfigDefaults
impl Unpin for ConfigDefaults
impl UnwindSafe for ConfigDefaults
Blanket Implementations§
§impl<U> As for U
impl<U> As for U
§fn as_<T>(self) -> Twhere
T: CastFrom<U>,
fn as_<T>(self) -> Twhere T: CastFrom<U>,
Casts
self
to type T
. The semantics of numeric casting with the as
operator are followed, so <T as As>::as_::<U>
can be used in the same way as T as U
for numeric conversions. Read moresource§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>where
F: FnOnce(&Self) -> bool,
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>where F: FnOnce(&Self) -> bool,
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more