List of all items
Structs
- bridge::BridgeToClientWrapper
- bridge::ClientToBridgeWrapper
- contracts::countertrade::BalanceResp
- contracts::countertrade::Config
- contracts::countertrade::ConfigUpdate
- contracts::countertrade::InstantiateMsg
- contracts::countertrade::MarketBalance
- contracts::countertrade::MarketStatus
- contracts::countertrade::MarketsResp
- contracts::countertrade::MigrateMsg
- contracts::cw20::Cw20Coin
- contracts::cw20::Cw20CoinVerified
- contracts::cw20::Cw20ReceiveMsg
- contracts::cw20::entry::AllAccountsResponse
- contracts::cw20::entry::AllAllowancesResponse
- contracts::cw20::entry::AllSpenderAllowancesResponse
- contracts::cw20::entry::AllowanceInfo
- contracts::cw20::entry::AllowanceResponse
- contracts::cw20::entry::BalanceResponse
- contracts::cw20::entry::DownloadLogoResponse
- contracts::cw20::entry::InstantiateMarketingInfo
- contracts::cw20::entry::InstantiateMinter
- contracts::cw20::entry::InstantiateMsg
- contracts::cw20::entry::MarketingInfoResponse
- contracts::cw20::entry::MigrateMsg
- contracts::cw20::entry::MinterResponse
- contracts::cw20::entry::SpenderAllowanceInfo
- contracts::cw20::entry::TokenInfoResponse
- contracts::cw20::events::AllowanceChangeEvent
- contracts::cw20::events::BurnEvent
- contracts::cw20::events::LogoChangeEvent
- contracts::cw20::events::MarketingChangeEvent
- contracts::cw20::events::MintEvent
- contracts::cw20::events::MinterChangeEvent
- contracts::cw20::events::SendEvent
- contracts::cw20::events::TransferEvent
- contracts::factory::entry::AddrIsContractResp
- contracts::factory::entry::CodeIds
- contracts::factory::entry::FactoryOwnerResp
- contracts::factory::entry::InstantiateMsg
- contracts::factory::entry::ListRefereeCountResp
- contracts::factory::entry::ListRefereeCountStartAfter
- contracts::factory::entry::ListRefereesResp
- contracts::factory::entry::MarketInfoResponse
- contracts::factory::entry::MarketsResp
- contracts::factory::entry::MigrateMsg
- contracts::factory::entry::RefereeCount
- contracts::factory::entry::ShutdownStatus
- contracts::factory::events::InstantiateEvent
- contracts::faucet::entry::ConfigResponse
- contracts::faucet::entry::FundsSentResponse
- contracts::faucet::entry::GasAllowance
- contracts::faucet::entry::InstantiateMsg
- contracts::faucet::entry::IsAdminResponse
- contracts::faucet::entry::MigrateMsg
- contracts::faucet::entry::MultitapRecipient
- contracts::faucet::entry::NextTradingIndexResponse
- contracts::faucet::entry::TappersResp
- contracts::faucet::events::TapEvent
- contracts::liquidity_token::entry::InstantiateMsg
- contracts::liquidity_token::entry::MigrateMsg
- contracts::market::config::Config
- contracts::market::config::ConfigUpdate
- contracts::market::config::defaults::ConfigDefaults
- contracts::market::crank::events::CrankExecBatchEvent
- contracts::market::crank::events::CrankWorkInfoEvent
- contracts::market::deferred_execution::DeferredExecExecutedEvent
- contracts::market::deferred_execution::DeferredExecId
- contracts::market::deferred_execution::DeferredExecQueuedEvent
- contracts::market::deferred_execution::DeferredExecWithStatus
- contracts::market::deferred_execution::FeesReturnedEvent
- contracts::market::deferred_execution::ListDeferredExecsResp
- contracts::market::delta_neutrality_fee::DeltaNeutralityFeeEvent
- contracts::market::entry::ClosedPositionCursor
- contracts::market::entry::ClosedPositionsResp
- contracts::market::entry::DeltaNeutralityFeeResp
- contracts::market::entry::ExecutedLimitOrder
- contracts::market::entry::Fees
- contracts::market::entry::InitialPrice
- contracts::market::entry::InstantiateMsg
- contracts::market::entry::LimitOrderHistoryResp
- contracts::market::entry::LimitOrderResp
- contracts::market::entry::LimitOrdersResp
- contracts::market::entry::LiquidityCooldown
- contracts::market::entry::LpAction
- contracts::market::entry::LpActionHistoryResp
- contracts::market::entry::LpHistorySummary
- contracts::market::entry::LpInfoResp
- contracts::market::entry::MigrateMsg
- contracts::market::entry::NewMarketParams
- contracts::market::entry::OraclePriceFeedPythResp
- contracts::market::entry::OraclePriceFeedSeiResp
- contracts::market::entry::OraclePriceFeedSimpleResp
- contracts::market::entry::OraclePriceFeedStrideResp
- contracts::market::entry::OraclePriceResp
- contracts::market::entry::PositionAction
- contracts::market::entry::PositionActionHistoryResp
- contracts::market::entry::PriceForQuery
- contracts::market::entry::PriceWouldTriggerResp
- contracts::market::entry::ReferralStatsResp
- contracts::market::entry::SlippageAssert
- contracts::market::entry::SpotPriceHistoryResp
- contracts::market::entry::StatusResp
- contracts::market::entry::TradeHistorySummary
- contracts::market::entry::TraderActionHistoryResp
- contracts::market::entry::UnstakingStatus
- contracts::market::fees::events::BorrowFeeChangeEvent
- contracts::market::fees::events::CrankFeeEarnedEvent
- contracts::market::fees::events::CrankFeeEvent
- contracts::market::fees::events::FeeEvent
- contracts::market::fees::events::FundingPaymentEvent
- contracts::market::fees::events::FundingRateChangeEvent
- contracts::market::fees::events::InsufficientMarginEvent
- contracts::market::history::events::LpActionEvent
- contracts::market::history::events::LpDepositEvent
- contracts::market::history::events::LpYieldEvent
- contracts::market::history::events::PnlEvent
- contracts::market::history::events::PositionActionEvent
- contracts::market::history::events::TradeVolumeEvent
- contracts::market::liquidity::LiquidityStats
- contracts::market::liquidity::events::DeltaNeutralityRatioEvent
- contracts::market::liquidity::events::DepositEvent
- contracts::market::liquidity::events::LiquidityPoolSizeEvent
- contracts::market::liquidity::events::LockEvent
- contracts::market::liquidity::events::LockUpdateEvent
- contracts::market::liquidity::events::UnlockEvent
- contracts::market::liquidity::events::WithdrawEvent
- contracts::market::order::LimitOrder
- contracts::market::order::OrderId
- contracts::market::order::events::CancelLimitOrderEvent
- contracts::market::order::events::ExecuteLimitOrderEvent
- contracts::market::order::events::PlaceLimitOrderEvent
- contracts::market::position::ClosePositionInstructions
- contracts::market::position::ClosedPosition
- contracts::market::position::CollateralAndUsd
- contracts::market::position::LiquidationMargin
- contracts::market::position::Position
- contracts::market::position::PositionId
- contracts::market::position::PositionQueryResponse
- contracts::market::position::PositionsResp
- contracts::market::position::SignedCollateralAndUsd
- contracts::market::position::events::PositionAttributes
- contracts::market::position::events::PositionCloseEvent
- contracts::market::position::events::PositionCollaterals
- contracts::market::position::events::PositionOpenEvent
- contracts::market::position::events::PositionSaveEvent
- contracts::market::position::events::PositionTradingFee
- contracts::market::position::events::PositionUpdateEvent
- contracts::market::spot_price::PythConfig
- contracts::market::spot_price::PythConfigInit
- contracts::market::spot_price::SpotPriceFeed
- contracts::market::spot_price::SpotPriceFeedInit
- contracts::market::spot_price::StrideConfig
- contracts::market::spot_price::StrideConfigInit
- contracts::market::spot_price::events::SpotPriceEvent
- contracts::position_token::Approval
- contracts::position_token::Cw721ReceiveMsg
- contracts::position_token::FullTokenInfo
- contracts::position_token::Metadata
- contracts::position_token::Trait
- contracts::position_token::entry::AllNftInfoResponse
- contracts::position_token::entry::ApprovalResponse
- contracts::position_token::entry::ApprovalsResponse
- contracts::position_token::entry::InstantiateMsg
- contracts::position_token::entry::MigrateMsg
- contracts::position_token::entry::NftContractInfo
- contracts::position_token::entry::NftInfoResponse
- contracts::position_token::entry::NumTokensResponse
- contracts::position_token::entry::OperatorsResponse
- contracts::position_token::entry::OwnerOfResponse
- contracts::position_token::entry::TokensResponse
- contracts::position_token::events::ApprovalEvent
- contracts::position_token::events::ApproveAllEvent
- contracts::position_token::events::BurnEvent
- contracts::position_token::events::MintEvent
- contracts::position_token::events::RevokeAllEvent
- contracts::position_token::events::RevokeEvent
- contracts::position_token::events::TransferEvent
- contracts::tracker::entry::InstantiateMsg
- contracts::tracker::entry::MigrateMsg
- contracts::tracker::events::InstantiateEvent
- contracts::tracker::events::MigrateEvent
- contracts::tracker::events::NewCodeIdEvent
- contracts::tracker::events::NewTracker
- prelude::Addr
- prelude::Base
- prelude::Collateral
- prelude::Decimal256
- prelude::Duration
- prelude::Event
- prelude::FarmingToken
- prelude::Item
- prelude::LeverageToBase
- prelude::LockdropShares
- prelude::LpToken
- prelude::LvnToken
- prelude::Map
- prelude::MarketId
- prelude::NonZero
- prelude::Notional
- prelude::PerpError
- prelude::Price
- prelude::PriceBaseInQuote
- prelude::PriceCollateralInUsd
- prelude::PriceKey
- prelude::PricePoint
- prelude::Quote
- prelude::RawAddr
- prelude::ResponseBuilder
- prelude::Signed
- prelude::SignedLeverageToBase
- prelude::SignedLeverageToNotional
- prelude::Timestamp
- prelude::Uint64
- prelude::Usd
- prelude::ratio::InclusiveRatio
Enums
- bridge::BridgeToClientMsg
- bridge::ClientToBridgeMsg
- bridge::ExecError
- contracts::countertrade::ExecuteMsg
- contracts::countertrade::HasWorkResp
- contracts::countertrade::QueryMsg
- contracts::countertrade::Token
- contracts::countertrade::WorkDescription
- contracts::cw20::ReceiverExecuteMsg
- contracts::cw20::entry::EmbeddedLogo
- contracts::cw20::entry::ExecuteMsg
- contracts::cw20::entry::Logo
- contracts::cw20::entry::LogoInfo
- contracts::cw20::entry::QueryMsg
- contracts::cw20::events::AllowanceChangeKind
- contracts::factory::entry::ContractType
- contracts::factory::entry::ExecuteMsg
- contracts::factory::entry::GetReferrerResp
- contracts::factory::entry::QueryMsg
- contracts::factory::events::NewContractKind
- contracts::faucet::entry::ExecuteMsg
- contracts::faucet::entry::FaucetAsset
- contracts::faucet::entry::GasAllowanceResp
- contracts::faucet::entry::GetTokenResponse
- contracts::faucet::entry::IneligibleReason
- contracts::faucet::entry::OwnerMsg
- contracts::faucet::entry::QueryMsg
- contracts::faucet::entry::TapAmountResponse
- contracts::faucet::entry::TapEligibleResponse
- contracts::liquidity_token::LiquidityTokenKind
- contracts::liquidity_token::entry::ExecuteMsg
- contracts::liquidity_token::entry::QueryMsg
- contracts::market::config::MaxLiquidity
- contracts::market::crank::CrankWorkInfo
- contracts::market::deferred_execution::DeferredExecCompleteTarget
- contracts::market::deferred_execution::DeferredExecItem
- contracts::market::deferred_execution::DeferredExecStatus
- contracts::market::deferred_execution::DeferredExecTarget
- contracts::market::deferred_execution::GetDeferredExecResp
- contracts::market::delta_neutrality_fee::DeltaNeutralityFeeReason
- contracts::market::entry::ExecuteMsg
- contracts::market::entry::ExecuteOwnerMsg
- contracts::market::entry::LimitOrderResult
- contracts::market::entry::LpActionKind
- contracts::market::entry::PositionActionKind
- contracts::market::entry::PositionsQueryFeeApproach
- contracts::market::entry::QueryMsg
- contracts::market::entry::StopLoss
- contracts::market::fees::events::FeeSource
- contracts::market::fees::events::FeeType
- contracts::market::fees::events::TradeId
- contracts::market::position::LiquidationReason
- contracts::market::position::MaybeClosedPosition
- contracts::market::position::PositionCloseReason
- contracts::market::position::PositionOrPendingClose
- contracts::market::position::events::PositionSaveReason
- contracts::market::spot_price::PythPriceServiceNetwork
- contracts::market::spot_price::SpotPriceConfig
- contracts::market::spot_price::SpotPriceConfigInit
- contracts::market::spot_price::SpotPriceFeedData
- contracts::market::spot_price::SpotPriceFeedDataInit
- contracts::position_token::entry::ExecuteMsg
- contracts::position_token::entry::QueryMsg
- contracts::tracker::entry::CodeIdResp
- contracts::tracker::entry::ContractResp
- contracts::tracker::entry::ExecuteMsg
- contracts::tracker::entry::QueryMsg
- prelude::AuthCheck
- prelude::Bound
- prelude::CongestionReason
- prelude::DebugLog
- prelude::DirectionToBase
- prelude::DirectionToNotional
- prelude::ErrorDomain
- prelude::ErrorId
- prelude::MarketError
- prelude::MarketType
- prelude::MaxGainsInQuote
- prelude::Order
- prelude::OrderInMessage
- prelude::TakeProfitTrader
- prelude::TriggerPriceMustBe
- prelude::TriggerType
- shutdown::ShutdownEffect
- shutdown::ShutdownImpact
- shutdown::ShutdownWallet
- token::Token
- token::TokenInit
Traits
- prelude::Api
- prelude::Context
- prelude::CosmwasmEventExt
- prelude::Display
- prelude::FromStr
- prelude::QueryResultExt
- prelude::Storage
- prelude::UnsignedDecimal
Macros
- prelude::anyhow
- prelude::attr_map
- prelude::bail
- prelude::debug_log
- prelude::debug_log_any
- prelude::perp_anyhow
- prelude::perp_anyhow_data
- prelude::perp_bail
- prelude::perp_bail_data
- prelude::perp_ensure
- prelude::perp_error
- prelude::perp_error_data
Attribute Macros
Functions
- contracts::factory::entry::make_referee_count_key
- contracts::factory::entry::make_referrer_key
- contracts::market::position::events::calculate_base_and_quote
- contracts::market::position::events::calculate_position_collaterals
- prelude::assert_auth
- prelude::external_map_has
- prelude::extract_instantiated_addr
- prelude::get_contract_version
- prelude::load_external_item
- prelude::load_external_map
- prelude::smart_query_no_parse
Type Aliases
Constants
- constants::event_key::ORDER_ID
- constants::event_key::PLACE_LIMIT_ORDER
- contracts::factory::entry::MARKETS_QUERY_LIMIT_DEFAULT
- prelude::QUERY_MAX_LIMIT
- prelude::namespace::ALLOWANCES
- prelude::namespace::ALLOWANCES_SPENDER
- prelude::namespace::ALL_CONTRACTS
- prelude::namespace::ALL_FEES
- prelude::namespace::BALANCES
- prelude::namespace::BONUS_CONFIG
- prelude::namespace::BONUS_FUND
- prelude::namespace::BORROW_FEE_DATA_SERIES_LEN
- prelude::namespace::CLOSED_POSITIONS
- prelude::namespace::CLOSED_POSITION_HISTORY
- prelude::namespace::CLOSE_ALL_POSITIONS
- prelude::namespace::CONFIG
- prelude::namespace::CRANK_BATCH_WEIGHT_LEFT
- prelude::namespace::CW20_CODE_ID
- prelude::namespace::CW20_TAP_AMOUNT
- prelude::namespace::CW20_TOKEN_INFO
- prelude::namespace::DAO_ADDR
- prelude::namespace::DEFERRED_EXECS
- prelude::namespace::DEFERRED_EXECS_BY_WALLET
- prelude::namespace::DEFERRED_EXEC_LATEST_IDS
- prelude::namespace::DELTA_NEUTRALITY_FUND
- prelude::namespace::EPHEMERAL_BONUS_FUND
- prelude::namespace::EPHEMERAL_DEPOSIT_COLLATERAL_DATA
- prelude::namespace::EXECUTED_LIMIT_ORDERS
- prelude::namespace::FACTORY_ADDR
- prelude::namespace::FAUCET_NEXT_TOKEN
- prelude::namespace::FAUCET_TOKENS
- prelude::namespace::FAUCET_TOKENS_TRADE
- prelude::namespace::FAUCET_TOKEN_INFO
- prelude::namespace::FUNDING_RATE_LONG
- prelude::namespace::FUNDING_RATE_LONG_LEN
- prelude::namespace::FUNDING_RATE_SHORT
- prelude::namespace::FUNDING_RATE_SHORT_LEN
- prelude::namespace::INSTANTIATION_TIMESTAMP
- prelude::namespace::IS_LIMIT_ORDER_CANCELING
- prelude::namespace::IS_POSITION_CLOSING
- prelude::namespace::KILL_SWITCH_ADDR
- prelude::namespace::LABEL_SUFFIX
- prelude::namespace::LAST_CRANK_COMPLETED
- prelude::namespace::LAST_ORDER_ID
- prelude::namespace::LAST_POSITION_ID
- prelude::namespace::LAST_TAP_TIMESTAMP
- prelude::namespace::LIMIT_ORDERS
- prelude::namespace::LIMIT_ORDERS_BY_ADDR
- prelude::namespace::LIMIT_ORDERS_BY_PRICE_LONG
- prelude::namespace::LIMIT_ORDERS_BY_PRICE_SHORT
- prelude::namespace::LIMIT_ORDERS_REVERSE
- prelude::namespace::LIQUIDATION_PRICES_PENDING
- prelude::namespace::LIQUIDATION_PRICES_PENDING_COUNT
- prelude::namespace::LIQUIDATION_PRICES_PENDING_REVERSE
- prelude::namespace::LIQUIDITY_STATS
- prelude::namespace::LIQUIDITY_STATS_BY_ADDR
- prelude::namespace::LIQUIDITY_TOKEN_CODE_ID
- prelude::namespace::LOCKDROP_BALANCES_BY_BUCKET
- prelude::namespace::LOCKDROP_BUCKETS_BALANCES
- prelude::namespace::LOCKDROP_BUCKETS_DURATION
- prelude::namespace::LOCKDROP_BUCKETS_MULTIPLIER
- prelude::namespace::LOCKDROP_BUCKETS_TOTAL_SHARES
- prelude::namespace::LOCKDROP_CONFIG
- prelude::namespace::LOCKDROP_DURATIONS
- prelude::namespace::LOGO
- prelude::namespace::LP_ADDRS
- prelude::namespace::LP_ADDRS_REVERSE
- prelude::namespace::LP_ALLOWANCES
- prelude::namespace::LP_ALLOWANCES_SPENDER
- prelude::namespace::LP_BORROW_FEE_DATA_SERIES
- prelude::namespace::LP_HISTORY_BY_ADDRESS
- prelude::namespace::LP_HISTORY_STATUS_LP_COLLATERAL
- prelude::namespace::LP_HISTORY_STATUS_XLP_LP
- prelude::namespace::LP_HISTORY_SUMMARY
- prelude::namespace::LVN_EMISSIONS
- prelude::namespace::LVN_LOCKDROP_REWARDS
- prelude::namespace::LVN_TOKEN
- prelude::namespace::MANUAL_SPOT_PRICE
- prelude::namespace::MARKETING_INFO
- prelude::namespace::MARKET_ADDRS
- prelude::namespace::MARKET_CODE_ID
- prelude::namespace::MARKET_ID
- prelude::namespace::MIGRATION_ADMIN
- prelude::namespace::MINTER
- prelude::namespace::MINTER_CAP
- prelude::namespace::NATIVE_TAP_AMOUNT
- prelude::namespace::NEXT_FREEZE
- prelude::namespace::NEXT_LIQUIFUNDING
- prelude::namespace::NFT_APPROVALS
- prelude::namespace::NFT_COUNT
- prelude::namespace::NFT_OPERATORS
- prelude::namespace::NFT_OWNERS
- prelude::namespace::NFT_POSITION_IDS
- prelude::namespace::OPEN_NOTIONAL_LONG_INTEREST
- prelude::namespace::OPEN_NOTIONAL_SHORT_INTEREST
- prelude::namespace::OPEN_POSITIONS
- prelude::namespace::OWNER_ADDR
- prelude::namespace::PENDING_DEFERRED_FOR_ORDER
- prelude::namespace::PENDING_DEFERRED_FOR_POSITION
- prelude::namespace::POSITION_TOKEN_ADDRS
- prelude::namespace::POSITION_TOKEN_CODE_ID
- prelude::namespace::PRICES
- prelude::namespace::PRICE_TRIGGER_ASC
- prelude::namespace::PRICE_TRIGGER_DESC
- prelude::namespace::PYTH_CONFIG
- prelude::namespace::PYTH_LAST_BLOCK_TIME_UPDATED
- prelude::namespace::PYTH_PREV_MARKET_PRICE
- prelude::namespace::PYTH_REPLY_CONTEXT
- prelude::namespace::RECLAIMABLE_EMISSIONS
- prelude::namespace::RECLAIMABLE_START
- prelude::namespace::REFEREES_REVERSE_MAP
- prelude::namespace::REFEREE_COUNT_REVERSE_MAP
- prelude::namespace::REFERRAL_STATS_MAP
- prelude::namespace::REPLY_INSTANTIATE_MARKET
- prelude::namespace::RESET_LP_STATUS
- prelude::namespace::REWARDS_PER_TIME_PER_TOKEN
- prelude::namespace::SHUTDOWNS
- prelude::namespace::TAP_LIMIT
- prelude::namespace::TC_MARKET_ADDRESS
- prelude::namespace::TC_TAPPED_ONCE
- prelude::namespace::TIME_UNFROZEN
- prelude::namespace::TOKEN
- prelude::namespace::TOKEN_INFO
- prelude::namespace::TOKEN_KIND
- prelude::namespace::TOTAL_FUNDING_MARGIN
- prelude::namespace::TOTAL_NET_FUNDING_PAID
- prelude::namespace::TRADE_HISTORY_BY_ADDRESS
- prelude::namespace::TRADE_HISTORY_BY_POSITION
- prelude::namespace::TRADE_HISTORY_SUMMARY
- prelude::namespace::WIND_DOWN_ADDR
- prelude::namespace::WITHDRAW_END
- prelude::namespace::WITHDRAW_INFO
- prelude::namespace::WITHDRAW_TOTALS
- prelude::namespace::XLP_ADDRS
- prelude::namespace::XLP_ADDRS_REVERSE
- prelude::namespace::XLP_ALLOWANCES
- prelude::namespace::XLP_ALLOWANCES_SPENDER
- prelude::namespace::XLP_BORROW_FEE_DATA_SERIES
- prelude::namespace::YIELD_PER_TIME_PER_TOKEN