List of all items
Structs
- Account
- CrankOutcome
- InstructionContext
- InsuranceFund
- RiskEngine
- RiskParams
- i128::I128
- i128::U128
- wide_math::I256
- wide_math::OverI128Magnitude
- wide_math::U256
Enums
Functions
- checked_u128_mul_i128
- compute_trade_pnl
- wide_math::ceil_div_positive_checked
- wide_math::checked_mul_div_ceil_u256
- wide_math::fee_debt_u128_checked
- wide_math::floor_div_signed_conservative
- wide_math::floor_div_signed_conservative_i128
- wide_math::mul_div_ceil_u128
- wide_math::mul_div_ceil_u256
- wide_math::mul_div_floor_u128
- wide_math::mul_div_floor_u256
- wide_math::mul_div_floor_u256_with_rem
- wide_math::saturating_mul_u128_u64
- wide_math::saturating_mul_u256_u64
- wide_math::wide_mul_div_ceil_u128_or_over_i128max
- wide_math::wide_mul_div_floor_u128
- wide_math::wide_signed_mul_div_floor
- wide_math::wide_signed_mul_div_floor_from_k_pair
Type Aliases
Constants
- ACCOUNTS_PER_CRANK
- ADL_ONE
- BITMAP_WORDS
- GC_CLOSE_BUDGET
- LIQ_BUDGET_PER_CRANK
- MAX_ABS_FUNDING_BPS_PER_SLOT
- MAX_ACCOUNTS
- MAX_ACCOUNT_NOTIONAL
- MAX_ACCOUNT_POSITIVE_PNL
- MAX_FUNDING_DT
- MAX_LIQUIDATION_FEE_BPS
- MAX_MAINTENANCE_FEE_PER_SLOT
- MAX_MARGIN_BPS
- MAX_MATERIALIZED_ACCOUNTS
- MAX_OI_SIDE_Q
- MAX_ORACLE_PRICE
- MAX_PNL_POS_TOT
- MAX_POSITION_ABS_Q
- MAX_PROTOCOL_FEE_ABS
- MAX_ROUNDING_SLACK
- MAX_TRADE_SIZE_Q
- MAX_TRADING_FEE_BPS
- MAX_VAULT_TVL
- MIN_A_SIDE
- POS_SCALE