pub struct ConfigDefaults {}

Implementations§

source§

impl ConfigDefaults

source

pub fn trading_fee_notional_size() -> Decimal256

source

pub fn trading_fee_counter_collateral() -> Decimal256

source

pub const fn crank_execs() -> u32

source

pub fn max_leverage() -> Number

source

pub fn funding_rate_sensitivity() -> Decimal256

source

pub fn funding_rate_max_annualized() -> Decimal256

source

pub fn borrow_fee_rate_min_annualized() -> NumberGtZero

source

pub fn borrow_fee_rate_max_annualized() -> NumberGtZero

source

pub fn carry_leverage() -> Decimal256

source

pub const fn mute_events() -> bool

source

pub const fn liquifunding_delay_seconds() -> u32

source

pub fn protocol_tax() -> Decimal256

source

pub const fn unstake_period_seconds() -> u32

source

pub fn target_utilization() -> NonZero<Decimal256>

source

pub fn borrow_fee_sensitivity() -> NumberGtZero

source

pub fn max_xlp_rewards_multiplier() -> NumberGtZero

source

pub fn min_xlp_rewards_multiplier() -> NumberGtZero

source

pub fn delta_neutrality_fee_sensitivity() -> NumberGtZero

source

pub fn delta_neutrality_fee_cap() -> NumberGtZero

source

pub fn delta_neutrality_fee_tax() -> Decimal256

source

pub fn crank_fee_charged() -> Usd

source

pub fn crank_fee_surcharge() -> Usd

source

pub fn crank_fee_reward() -> Usd

source

pub fn minimum_deposit_usd() -> Usd

source

pub const fn liquifunding_delay_fuzz_seconds() -> u32

source

pub const fn max_liquidity() -> MaxLiquidity

source

pub const fn disable_position_nft_exec() -> bool

source

pub const fn liquidity_cooldown_seconds() -> u32

source

pub fn exposure_margin_ratio() -> Decimal256

source

pub fn referral_reward_ratio() -> Decimal256

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<U> As for 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 more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.