List of all items
Structs
- accounts::AddAmmWithdrawReqeust
- accounts::AddOptiFiMarketForAMM
- accounts::CalculateAmmDelta
- accounts::CalculateAmmProposal
- accounts::CalculateMarginStressContext
- accounts::CancelOrderContext
- accounts::CleanInstrument
- accounts::CleanInstrumentForUser
- accounts::ConsumeAmmWithdrawReqeust
- accounts::ConsumeEventQueue
- accounts::CreateInstrument
- accounts::CreateOptifiMarket
- accounts::Deposit
- accounts::DepositToAMM
- accounts::ExecuteMarketMakerWithdrawal
- accounts::GenerateNextInstrument
- accounts::InitAMMOnOptifiMarket
- accounts::InitMarginStressContext
- accounts::InitUserOnOptifiMarket
- accounts::InitializeAMM
- accounts::InitializeFeeAccount
- accounts::InitializeLiquidation
- accounts::InitializeOptiFiExchange
- accounts::InitializeSerumMarket
- accounts::InitializeUserAccount
- accounts::LiquidationPlaceOrder
- accounts::LiquidationSettleOrder
- accounts::LiquidationToAmm
- accounts::MMCancelOrderContext
- accounts::MarginContext
- accounts::MmCalculationContext
- accounts::MmPostOnlyOrderContext
- accounts::MmSettlePenaltyRewardContext
- accounts::OrderSettlement
- accounts::PlaceOrderContext
- accounts::RecordPnLForAmm
- accounts::RecordPnLForOneUser
- accounts::RegisterLiquidationMarket
- accounts::RegisterMarketMaker
- accounts::RemoveOptiFiMarketForAMM
- accounts::ScheduleMarketMakerWithdrawal
- accounts::SetDelegation
- accounts::SettleMarketFundForAmm
- accounts::SettleMarketFundForOneUser
- accounts::StopOptifiMarket
- accounts::SyncFuturePositions
- accounts::SyncPositions
- accounts::UpdateAmmOrdersV3
- accounts::UpdateDepositLimit
- accounts::UpdateExchangeAuthority
- accounts::UpdateFutureOrder
- accounts::UpdateIv
- accounts::UpdateIvAuthority
- accounts::UpdateOgNftMint
- accounts::UpdateOperationAuthority
- accounts::UpdateOptifiMarket
- accounts::UpdateOracle
- accounts::Withdraw
- accounts::WithdrawUsdcFeePool
- financial::instruments::OptionData
- instruction::AddWithdrawRequest
- instruction::AmmAddInstrument
- instruction::AmmCalculateDelta
- instruction::AmmCalculateProposal
- instruction::AmmDeposit
- instruction::AmmRemoveInstrument
- instruction::AmmSyncFuturePositions
- instruction::AmmSyncPositions
- instruction::AmmUpdateFutureOrders
- instruction::AmmUpdateOrders
- instruction::CancelOrderByClientOrderId
- instruction::CleanExpiredInstruments
- instruction::CleanExpiredInstrumentsForUser
- instruction::ConsumeEventQueue
- instruction::ConsumeWithdrawQueue
- instruction::CreateNewInstrument
- instruction::CreateOptifiMarket
- instruction::Deposit
- instruction::ExecuteMarketMakerWithdrawal
- instruction::GenerateNextInstrument
- instruction::InitAmmOnOptifiMarket
- instruction::InitLiquidation
- instruction::InitUserAccount
- instruction::InitUserOnOptifiMarket
- instruction::Initialize
- instruction::InitializeAmm
- instruction::InitializeFeeAccount
- instruction::InitializeSerumOrderbook
- instruction::LiquidationPlaceOrder
- instruction::LiquidationRegister
- instruction::LiquidationSettleOrder
- instruction::LiquidationToAmm
- instruction::MarginStressCalculate
- instruction::MarginStressInit
- instruction::MmCalculation
- instruction::MmCancelOrder
- instruction::MmPostOnlyOrder
- instruction::MmSettlePenaltyReward
- instruction::PlaceOrder
- instruction::RecordPnlForAmm
- instruction::RecordPnlForOneUser
- instruction::RegisterMarketMaker
- instruction::ScheduleMarketMakerWithdrawal
- instruction::SetDelegation
- instruction::SettleFundForAmm
- instruction::SettleFundForOneUser
- instruction::SettleOrderFunds
- instruction::StopOptifiMarket
- instruction::UpdateExchangeAuthority
- instruction::UpdateIv
- instruction::UpdateIvAuthority
- instruction::UpdateOgNftMint
- instruction::UpdateOperationAuthority
- instruction::UpdateOptifiMarket
- instruction::UpdateOracle
- instruction::UpdateUserDepositLimit
- instruction::UserMarginCalculate
- instruction::Withdraw
- instruction::WithdrawUsdcFeePool
- instructions::amm::add_withdraw_request::AddAmmWithdrawReqeust
- instructions::amm::amm_deposit::DepositToAMM
- instructions::amm::amm_withdraw::WithdrawFromAMM
- instructions::amm::calculate_delta::CalculateAmmDelta
- instructions::amm::calculate_proposal::CalculateAmmProposal
- instructions::amm::cancel_amm_orders::CancelAmmOrders
- instructions::amm::consume_withdraw_queue::ConsumeAmmWithdrawReqeust
- instructions::amm::future::sync_future_positions::SyncFuturePositions
- instructions::amm::future::update_future_order::UpdateFutureOrder
- instructions::amm::initialize_amm::InitializeAMM
- instructions::amm::initialize_amm::InitializeAMMData
- instructions::amm::sync_positions::SyncPositions
- instructions::amm::update_optifi_markets_for_amm::AddOptiFiMarketForAMM
- instructions::amm::update_optifi_markets_for_amm::RemoveOptiFiMarketForAMM
- instructions::amm::update_orders_v3::UpdateAmmOrdersV3
- instructions::authority::update_deposit_limit::UpdateDepositLimit
- instructions::authority::update_exchange_authority::UpdateExchangeAuthority
- instructions::authority::update_iv_authority::UpdateIvAuthority
- instructions::authority::update_og_nft_mint::UpdateOgNftMint
- instructions::authority::update_operation_authority::UpdateOperationAuthority
- instructions::authority::update_oracle::UpdateOracle
- instructions::authority::withdraw_usdc_fee_pool::WithdrawUsdcFeePool
- instructions::init_optifi_exchange::InitializeExchangeData
- instructions::init_optifi_exchange::InitializeOptiFiExchange
- instructions::instrument_chain::clean_expired_instrument_for_exchange::CleanInstrument
- instructions::instrument_chain::create_instrument_without_auth::ChainData
- instructions::instrument_chain::create_instrument_without_auth::CreateInstrument
- instructions::instrument_chain::generate_next_instrument::GenerateNextInstrument
- instructions::liquidations::init_liquidation::InitializeLiquidation
- instructions::liquidations::liquidation_place_order::LiquidationPlaceOrder
- instructions::liquidations::liquidation_register::RegisterLiquidationMarket
- instructions::liquidations::liquidation_settle_order::LiquidationSettleOrder
- instructions::liquidations::liquidation_to_amm::LiquidationToAmm
- instructions::margin::calculate::CalculateMarginStressContext
- instructions::margin::initialize::InitMarginStressContext
- instructions::margin::update_iv::UpdateIv
- instructions::market_maker::market_maker_withdrawal::ExecuteMarketMakerWithdrawal
- instructions::market_maker::market_maker_withdrawal::ScheduleMarketMakerWithdrawal
- instructions::market_maker::mm_calculation::MmCalculationContext
- instructions::market_maker::mm_cancel_order::MMCancelOrderContext
- instructions::market_maker::mm_post_only_order::MmPostOnlyOrderContext
- instructions::market_maker::mm_settle_penalty_reward::MmSettlePenaltyRewardContext
- instructions::market_maker::register_market_maker::RegisterMarketMaker
- instructions::optifi_market::create_serum_market::InitializeSerumMarket
- instructions::optifi_market::init_amm_on_optifi_market::InitAMMOnOptifiMarket
- instructions::optifi_market::init_user_on_optifi_market::InitUserOnOptifiMarket
- instructions::optifi_market::market_settlement_for_amm::RecordPnLForAmm
- instructions::optifi_market::market_settlement_for_amm::SettleMarketFundForAmm
- instructions::optifi_market::market_settlement_for_user::RecordPnLForOneUser
- instructions::optifi_market::market_settlement_for_user::SettleMarketFundForOneUser
- instructions::optifi_market::optifi_market::CreateOptifiMarket
- instructions::optifi_market::optifi_market::StopOptifiMarket
- instructions::optifi_market::optifi_market::UpdateOptifiMarket
- instructions::order::cancel_order::CancelOrderContext
- instructions::order::consume_event_queue::ConsumeEventQueue
- instructions::order::order_settlement::OrderSettlement
- instructions::order::place_order::PlaceOrderContext
- instructions::user::clean_expired_instruments_for_user::CleanInstrumentForUser
- instructions::user::deposit::Deposit
- instructions::user::initialize_fee_account::InitializeFeeAccount
- instructions::user::initialize_user_account::InitUserAccountBumpSeeds
- instructions::user::initialize_user_account::InitializeUserAccount
- instructions::user::set_delegation::SetDelegation
- instructions::user::user_margin::MarginContext
- instructions::user::withdraw::Withdraw
- prelude::Account
- prelude::AccountInfo
- prelude::AccountLoader
- prelude::AccountMeta
- prelude::AnchorError
- prelude::Burn
- prelude::Clock
- prelude::Context
- prelude::CpiContext
- prelude::EpochSchedule
- prelude::Instructions
- prelude::Mint
- prelude::MintTo
- prelude::OpenOrders
- prelude::Program
- prelude::ProgramData
- prelude::ProgramErrorWithOrigin
- prelude::Pubkey
- prelude::Rent
- prelude::Rewards
- prelude::Signer
- prelude::SlotHashes
- prelude::SlotHistory
- prelude::Source
- prelude::StakeHistory
- prelude::System
- prelude::SystemAccount
- prelude::Sysvar
- prelude::Token
- prelude::TokenAccount
- prelude::Transfer
- prelude::UncheckedAccount
- prelude::borsh::maybestd::boxed::Box
- prelude::borsh::maybestd::boxed::ThinBox
- prelude::borsh::maybestd::collections::BTreeMap
- prelude::borsh::maybestd::collections::BTreeSet
- prelude::borsh::maybestd::collections::BinaryHeap
- prelude::borsh::maybestd::collections::HashMap
- prelude::borsh::maybestd::collections::HashSet
- prelude::borsh::maybestd::collections::LinkedList
- prelude::borsh::maybestd::collections::TryReserveError
- prelude::borsh::maybestd::collections::VecDeque
- prelude::borsh::maybestd::collections::binary_heap::BinaryHeap
- prelude::borsh::maybestd::collections::binary_heap::Drain
- prelude::borsh::maybestd::collections::binary_heap::DrainSorted
- prelude::borsh::maybestd::collections::binary_heap::IntoIter
- prelude::borsh::maybestd::collections::binary_heap::IntoIterSorted
- prelude::borsh::maybestd::collections::binary_heap::Iter
- prelude::borsh::maybestd::collections::binary_heap::PeekMut
- prelude::borsh::maybestd::collections::btree_map::BTreeMap
- prelude::borsh::maybestd::collections::btree_map::DrainFilter
- prelude::borsh::maybestd::collections::btree_map::IntoIter
- prelude::borsh::maybestd::collections::btree_map::IntoKeys
- prelude::borsh::maybestd::collections::btree_map::IntoValues
- prelude::borsh::maybestd::collections::btree_map::Iter
- prelude::borsh::maybestd::collections::btree_map::IterMut
- prelude::borsh::maybestd::collections::btree_map::Keys
- prelude::borsh::maybestd::collections::btree_map::OccupiedEntry
- prelude::borsh::maybestd::collections::btree_map::OccupiedError
- prelude::borsh::maybestd::collections::btree_map::Range
- prelude::borsh::maybestd::collections::btree_map::RangeMut
- prelude::borsh::maybestd::collections::btree_map::VacantEntry
- prelude::borsh::maybestd::collections::btree_map::Values
- prelude::borsh::maybestd::collections::btree_map::ValuesMut
- prelude::borsh::maybestd::collections::btree_set::BTreeSet
- prelude::borsh::maybestd::collections::btree_set::Difference
- prelude::borsh::maybestd::collections::btree_set::DrainFilter
- prelude::borsh::maybestd::collections::btree_set::Intersection
- prelude::borsh::maybestd::collections::btree_set::IntoIter
- prelude::borsh::maybestd::collections::btree_set::Iter
- prelude::borsh::maybestd::collections::btree_set::Range
- prelude::borsh::maybestd::collections::btree_set::SymmetricDifference
- prelude::borsh::maybestd::collections::btree_set::Union
- prelude::borsh::maybestd::collections::hash_map::DefaultHasher
- prelude::borsh::maybestd::collections::hash_map::Drain
- prelude::borsh::maybestd::collections::hash_map::DrainFilter
- prelude::borsh::maybestd::collections::hash_map::HashMap
- prelude::borsh::maybestd::collections::hash_map::IntoIter
- prelude::borsh::maybestd::collections::hash_map::IntoKeys
- prelude::borsh::maybestd::collections::hash_map::IntoValues
- prelude::borsh::maybestd::collections::hash_map::Iter
- prelude::borsh::maybestd::collections::hash_map::IterMut
- prelude::borsh::maybestd::collections::hash_map::Keys
- prelude::borsh::maybestd::collections::hash_map::OccupiedEntry
- prelude::borsh::maybestd::collections::hash_map::OccupiedError
- prelude::borsh::maybestd::collections::hash_map::RandomState
- prelude::borsh::maybestd::collections::hash_map::RawEntryBuilder
- prelude::borsh::maybestd::collections::hash_map::RawEntryBuilderMut
- prelude::borsh::maybestd::collections::hash_map::RawOccupiedEntryMut
- prelude::borsh::maybestd::collections::hash_map::RawVacantEntryMut
- prelude::borsh::maybestd::collections::hash_map::VacantEntry
- prelude::borsh::maybestd::collections::hash_map::Values
- prelude::borsh::maybestd::collections::hash_map::ValuesMut
- prelude::borsh::maybestd::collections::hash_set::Difference
- prelude::borsh::maybestd::collections::hash_set::Drain
- prelude::borsh::maybestd::collections::hash_set::DrainFilter
- prelude::borsh::maybestd::collections::hash_set::HashSet
- prelude::borsh::maybestd::collections::hash_set::Intersection
- prelude::borsh::maybestd::collections::hash_set::IntoIter
- prelude::borsh::maybestd::collections::hash_set::Iter
- prelude::borsh::maybestd::collections::hash_set::SymmetricDifference
- prelude::borsh::maybestd::collections::hash_set::Union
- prelude::borsh::maybestd::collections::linked_list::Cursor
- prelude::borsh::maybestd::collections::linked_list::CursorMut
- prelude::borsh::maybestd::collections::linked_list::DrainFilter
- prelude::borsh::maybestd::collections::linked_list::IntoIter
- prelude::borsh::maybestd::collections::linked_list::Iter
- prelude::borsh::maybestd::collections::linked_list::IterMut
- prelude::borsh::maybestd::collections::linked_list::LinkedList
- prelude::borsh::maybestd::collections::vec_deque::Drain
- prelude::borsh::maybestd::collections::vec_deque::IntoIter
- prelude::borsh::maybestd::collections::vec_deque::Iter
- prelude::borsh::maybestd::collections::vec_deque::IterMut
- prelude::borsh::maybestd::collections::vec_deque::VecDeque
- prelude::borsh::maybestd::io::BorrowedBuf
- prelude::borsh::maybestd::io::BorrowedCursor
- prelude::borsh::maybestd::io::BufReader
- prelude::borsh::maybestd::io::BufWriter
- prelude::borsh::maybestd::io::Bytes
- prelude::borsh::maybestd::io::Chain
- prelude::borsh::maybestd::io::Cursor
- prelude::borsh::maybestd::io::Empty
- prelude::borsh::maybestd::io::Error
- prelude::borsh::maybestd::io::IntoInnerError
- prelude::borsh::maybestd::io::IoSlice
- prelude::borsh::maybestd::io::IoSliceMut
- prelude::borsh::maybestd::io::LineWriter
- prelude::borsh::maybestd::io::Lines
- prelude::borsh::maybestd::io::Repeat
- prelude::borsh::maybestd::io::Sink
- prelude::borsh::maybestd::io::Split
- prelude::borsh::maybestd::io::Stderr
- prelude::borsh::maybestd::io::StderrLock
- prelude::borsh::maybestd::io::Stdin
- prelude::borsh::maybestd::io::StdinLock
- prelude::borsh::maybestd::io::Stdout
- prelude::borsh::maybestd::io::StdoutLock
- prelude::borsh::maybestd::io::Take
- prelude::borsh::maybestd::io::WriterPanicked
- prelude::borsh::maybestd::rc::Rc
- prelude::borsh::maybestd::rc::Weak
- prelude::borsh::maybestd::string::Drain
- prelude::borsh::maybestd::string::FromUtf16Error
- prelude::borsh::maybestd::string::FromUtf8Error
- prelude::borsh::maybestd::string::String
- prelude::borsh::maybestd::sync::Arc
- prelude::borsh::maybestd::sync::Barrier
- prelude::borsh::maybestd::sync::BarrierWaitResult
- prelude::borsh::maybestd::sync::Condvar
- prelude::borsh::maybestd::sync::Exclusive
- prelude::borsh::maybestd::sync::LazyLock
- prelude::borsh::maybestd::sync::Mutex
- prelude::borsh::maybestd::sync::MutexGuard
- prelude::borsh::maybestd::sync::Once
- prelude::borsh::maybestd::sync::OnceLock
- prelude::borsh::maybestd::sync::OnceState
- prelude::borsh::maybestd::sync::PoisonError
- prelude::borsh::maybestd::sync::RwLock
- prelude::borsh::maybestd::sync::RwLockReadGuard
- prelude::borsh::maybestd::sync::RwLockWriteGuard
- prelude::borsh::maybestd::sync::WaitTimeoutResult
- prelude::borsh::maybestd::sync::Weak
- prelude::borsh::maybestd::sync::atomic::AtomicBool
- prelude::borsh::maybestd::sync::atomic::AtomicI16
- prelude::borsh::maybestd::sync::atomic::AtomicI32
- prelude::borsh::maybestd::sync::atomic::AtomicI64
- prelude::borsh::maybestd::sync::atomic::AtomicI8
- prelude::borsh::maybestd::sync::atomic::AtomicIsize
- prelude::borsh::maybestd::sync::atomic::AtomicPtr
- prelude::borsh::maybestd::sync::atomic::AtomicU16
- prelude::borsh::maybestd::sync::atomic::AtomicU32
- prelude::borsh::maybestd::sync::atomic::AtomicU64
- prelude::borsh::maybestd::sync::atomic::AtomicU8
- prelude::borsh::maybestd::sync::atomic::AtomicUsize
- prelude::borsh::maybestd::sync::mpsc::IntoIter
- prelude::borsh::maybestd::sync::mpsc::Iter
- prelude::borsh::maybestd::sync::mpsc::Receiver
- prelude::borsh::maybestd::sync::mpsc::RecvError
- prelude::borsh::maybestd::sync::mpsc::SendError
- prelude::borsh::maybestd::sync::mpsc::Sender
- prelude::borsh::maybestd::sync::mpsc::SyncSender
- prelude::borsh::maybestd::sync::mpsc::TryIter
- prelude::borsh::maybestd::vec::Drain
- prelude::borsh::maybestd::vec::DrainFilter
- prelude::borsh::maybestd::vec::IntoIter
- prelude::borsh::maybestd::vec::Splice
- prelude::borsh::maybestd::vec::Vec
- prelude::borsh::schema::BorshSchemaContainer
- prelude::error::AnchorError
- prelude::error::ProgramErrorWithOrigin
- prelude::error::Source
- prelude::token::Approve
- prelude::token::Burn
- prelude::token::CloseAccount
- prelude::token::FreezeAccount
- prelude::token::InitializeAccount
- prelude::token::InitializeMint
- prelude::token::Mint
- prelude::token::MintTo
- prelude::token::Revoke
- prelude::token::SetAuthority
- prelude::token::ThawAccount
- prelude::token::Token
- prelude::token::TokenAccount
- prelude::token::Transfer
- prelude::token::spl_token::processor::Processor
- prelude::token::spl_token::solana_program::account_info::AccountInfo
- prelude::token::spl_token::solana_program::blake3::Hash
- prelude::token::spl_token::solana_program::blake3::Hasher
- prelude::token::spl_token::solana_program::clock::Clock
- prelude::token::spl_token::solana_program::entrypoint::BumpAllocator
- prelude::token::spl_token::solana_program::epoch_schedule::EpochSchedule
- prelude::token::spl_token::solana_program::feature::Feature
- prelude::token::spl_token::solana_program::fee_calculator::FeeCalculator
- prelude::token::spl_token::solana_program::fee_calculator::FeeRateGovernor
- prelude::token::spl_token::solana_program::hash::Hash
- prelude::token::spl_token::solana_program::hash::Hasher
- prelude::token::spl_token::solana_program::instruction::AccountMeta
- prelude::token::spl_token::solana_program::instruction::CompiledInstruction
- prelude::token::spl_token::solana_program::instruction::Instruction
- prelude::token::spl_token::solana_program::instruction::ProcessedSiblingInstruction
- prelude::token::spl_token::solana_program::keccak::Hash
- prelude::token::spl_token::solana_program::keccak::Hasher
- prelude::token::spl_token::solana_program::message::Message
- prelude::token::spl_token::solana_program::message::MessageHeader
- prelude::token::spl_token::solana_program::message::legacy::BUILTIN_PROGRAMS_KEYS
- prelude::token::spl_token::solana_program::message::legacy::Message
- prelude::token::spl_token::solana_program::message::v0::LoadedAddresses
- prelude::token::spl_token::solana_program::message::v0::LoadedMessage
- prelude::token::spl_token::solana_program::message::v0::Message
- prelude::token::spl_token::solana_program::message::v0::MessageAddressTableLookup
- prelude::token::spl_token::solana_program::native_token::Sol
- prelude::token::spl_token::solana_program::nonce::state::Data
- prelude::token::spl_token::solana_program::nonce::state::DurableNonce
- prelude::token::spl_token::solana_program::pubkey::Pubkey
- prelude::token::spl_token::solana_program::rent::Rent
- prelude::token::spl_token::solana_program::secp256k1_recover::Secp256k1Pubkey
- prelude::token::spl_token::solana_program::short_vec::ShortU16
- prelude::token::spl_token::solana_program::short_vec::ShortVec
- prelude::token::spl_token::solana_program::slot_hashes::SlotHashes
- prelude::token::spl_token::solana_program::slot_history::SlotHistory
- prelude::token::spl_token::solana_program::stake::config::Config
- prelude::token::spl_token::solana_program::stake::instruction::AuthorizeCheckedWithSeedArgs
- prelude::token::spl_token::solana_program::stake::instruction::AuthorizeWithSeedArgs
- prelude::token::spl_token::solana_program::stake::instruction::LockupArgs
- prelude::token::spl_token::solana_program::stake::instruction::LockupCheckedArgs
- prelude::token::spl_token::solana_program::stake::state::Authorized
- prelude::token::spl_token::solana_program::stake::state::Delegation
- prelude::token::spl_token::solana_program::stake::state::Lockup
- prelude::token::spl_token::solana_program::stake::state::Meta
- prelude::token::spl_token::solana_program::stake::state::Stake
- prelude::token::spl_token::solana_program::stake_history::StakeHistory
- prelude::token::spl_token::solana_program::stake_history::StakeHistoryEntry
- prelude::token::spl_token::solana_program::sysvar::ALL_IDS
- prelude::token::spl_token::solana_program::sysvar::clock::Clock
- prelude::token::spl_token::solana_program::sysvar::epoch_schedule::EpochSchedule
- prelude::token::spl_token::solana_program::sysvar::fees::Fees
- prelude::token::spl_token::solana_program::sysvar::instructions::BorrowedAccountMeta
- prelude::token::spl_token::solana_program::sysvar::instructions::BorrowedInstruction
- prelude::token::spl_token::solana_program::sysvar::instructions::Instructions
- prelude::token::spl_token::solana_program::sysvar::recent_blockhashes::Entry
- prelude::token::spl_token::solana_program::sysvar::recent_blockhashes::IntoIterSorted
- prelude::token::spl_token::solana_program::sysvar::recent_blockhashes::IterItem
- prelude::token::spl_token::solana_program::sysvar::recent_blockhashes::RecentBlockhashes
- prelude::token::spl_token::solana_program::sysvar::rent::Rent
- prelude::token::spl_token::solana_program::sysvar::rewards::Rewards
- prelude::token::spl_token::solana_program::sysvar::slot_hashes::SlotHashes
- prelude::token::spl_token::solana_program::sysvar::slot_history::AccountInfo
- prelude::token::spl_token::solana_program::sysvar::slot_history::SlotHistory
- prelude::token::spl_token::solana_program::sysvar::stake_history::StakeHistory
- prelude::token::spl_token::state::Account
- prelude::token::spl_token::state::Mint
- prelude::token::spl_token::state::Multisig
- program::OptifiCpi
- state::amm_account_state::AmmAccount
- state::amm_account_state::Position
- state::amm_account_state::Proposal
- state::amm_withdraw_queue::AmmWithdrawRequestQueue
- state::amm_withdraw_queue::WithdrawRequest
- state::chain::Chain
- state::exchange::Exchange
- state::exchange::InstrumentCommon
- state::exchange::InstrumentUnique
- state::exchange::OptifiMarketKeyData
- state::exchange::OracleData
- state::fee_account::FeeAccount
- state::fee_account::FeeLog
- state::fee_account::WeeklyLog
- state::liquidation_state::LiquidationState
- state::margin_stress_state::MarginStressAccount
- state::market_maker_account::MarketMakerAccount
- state::market_maker_account::OpenOrdersData
- state::market_maker_account::Order
- state::optifi_market_state::OptifiMarket
- state::user_account::TempPnL
- state::user_account::UserAccount
- state::user_account::UserAmmEquity
- state::user_account::UserPosition
Enums
- errors::OptifiErrorCode
- financial::asset::Asset
- financial::instruments::ExpiryType
- financial::instruments::InstrumentData
- financial::instruments::InstrumentExpiryType
- financial::instruments::InstrumentType
- financial::orders::OrderSide
- prelude::ComparedValues
- prelude::Error
- prelude::ErrorCode
- prelude::ErrorOrigin
- prelude::ProgramError
- prelude::UpgradeableLoaderState
- prelude::borsh::maybestd::borrow::Cow
- prelude::borsh::maybestd::collections::Bound
- prelude::borsh::maybestd::collections::TryReserveErrorKind
- prelude::borsh::maybestd::collections::btree_map::Entry
- prelude::borsh::maybestd::collections::hash_map::Entry
- prelude::borsh::maybestd::collections::hash_map::RawEntryMut
- prelude::borsh::maybestd::io::ErrorKind
- prelude::borsh::maybestd::io::SeekFrom
- prelude::borsh::maybestd::sync::TryLockError
- prelude::borsh::maybestd::sync::atomic::Ordering
- prelude::borsh::maybestd::sync::mpsc::RecvTimeoutError
- prelude::borsh::maybestd::sync::mpsc::TryRecvError
- prelude::borsh::maybestd::sync::mpsc::TrySendError
- prelude::borsh::schema::Definition
- prelude::borsh::schema::Fields
- prelude::error::ComparedValues
- prelude::error::Error
- prelude::error::ErrorCode
- prelude::error::ErrorOrigin
- prelude::token::spl_token::error::TokenError
- prelude::token::spl_token::instruction::AuthorityType
- prelude::token::spl_token::instruction::TokenInstruction
- prelude::token::spl_token::solana_program::blake3::ParseHashError
- prelude::token::spl_token::solana_program::bpf_loader_upgradeable::UpgradeableLoaderState
- prelude::token::spl_token::solana_program::hash::ParseHashError
- prelude::token::spl_token::solana_program::instruction::InstructionError
- prelude::token::spl_token::solana_program::keccak::ParseHashError
- prelude::token::spl_token::solana_program::lamports::LamportsError
- prelude::token::spl_token::solana_program::loader_instruction::LoaderInstruction
- prelude::token::spl_token::solana_program::loader_upgradeable_instruction::UpgradeableLoaderInstruction
- prelude::token::spl_token::solana_program::message::SanitizeMessageError
- prelude::token::spl_token::solana_program::message::SanitizedMessage
- prelude::token::spl_token::solana_program::message::VersionedMessage
- prelude::token::spl_token::solana_program::nonce::State
- prelude::token::spl_token::solana_program::nonce::state::State
- prelude::token::spl_token::solana_program::nonce::state::Versions
- prelude::token::spl_token::solana_program::program_error::ProgramError
- prelude::token::spl_token::solana_program::program_option::COption
- prelude::token::spl_token::solana_program::pubkey::ParsePubkeyError
- prelude::token::spl_token::solana_program::pubkey::PubkeyError
- prelude::token::spl_token::solana_program::rent::RentDue
- prelude::token::spl_token::solana_program::sanitize::SanitizeError
- prelude::token::spl_token::solana_program::secp256k1_recover::Secp256k1RecoverError
- prelude::token::spl_token::solana_program::slot_history::Check
- prelude::token::spl_token::solana_program::stake::instruction::StakeError
- prelude::token::spl_token::solana_program::stake::instruction::StakeInstruction
- prelude::token::spl_token::solana_program::stake::state::StakeAuthorize
- prelude::token::spl_token::solana_program::stake::state::StakeState
- prelude::token::spl_token::solana_program::system_instruction::NonceError
- prelude::token::spl_token::solana_program::system_instruction::SystemError
- prelude::token::spl_token::solana_program::system_instruction::SystemInstruction
- prelude::token::spl_token::solana_program::sysvar::slot_history::ProgramError
- prelude::token::spl_token::state::AccountState
- state::amm_account_state::AmmState
- state::chain::Duration
- state::fee_account::FeeTier
- state::liquidation_state::LiquidationStatus
- state::margin_stress_state::MarginStressState
- state::market_maker_account::MmState
- state::user_account::AccountState
Traits
- prelude::AccountDeserialize
- prelude::AccountSerialize
- prelude::Accounts
- prelude::AccountsExit
- prelude::AnchorDeserialize
- prelude::AnchorSerialize
- prelude::Id
- prelude::IsInitialized
- prelude::Key
- prelude::Owner
- prelude::SolanaSysvar
- prelude::ToAccountInfo
- prelude::ToAccountInfos
- prelude::ToAccountMetas
- prelude::TryFrom
- prelude::borsh::BorshDeserialize
- prelude::borsh::BorshSchema
- prelude::borsh::BorshSerialize
- prelude::borsh::de::BorshDeserialize
- prelude::borsh::maybestd::borrow::Borrow
- prelude::borsh::maybestd::borrow::BorrowMut
- prelude::borsh::maybestd::borrow::ToOwned
- prelude::borsh::maybestd::io::BufRead
- prelude::borsh::maybestd::io::IsTerminal
- prelude::borsh::maybestd::io::Read
- prelude::borsh::maybestd::io::Seek
- prelude::borsh::maybestd::io::Write
- prelude::borsh::maybestd::io::prelude::BufRead
- prelude::borsh::maybestd::io::prelude::Read
- prelude::borsh::maybestd::io::prelude::Seek
- prelude::borsh::maybestd::io::prelude::Write
- prelude::borsh::maybestd::string::ToString
- prelude::borsh::schema::BorshSchema
- prelude::borsh::ser::BorshSerialize
- prelude::token::spl_token::solana_program::account_info::Account
- prelude::token::spl_token::solana_program::account_info::IntoAccountInfo
- prelude::token::spl_token::solana_program::decode_error::DecodeError
- prelude::token::spl_token::solana_program::program_error::PrintProgramError
- prelude::token::spl_token::solana_program::program_pack::IsInitialized
- prelude::token::spl_token::solana_program::program_pack::Pack
- prelude::token::spl_token::solana_program::program_pack::Sealed
- prelude::token::spl_token::solana_program::program_stubs::SyscallStubs
- prelude::token::spl_token::solana_program::sanitize::Sanitize
- prelude::token::spl_token::solana_program::sysvar::Sysvar
- prelude::token::spl_token::solana_program::sysvar::SysvarId
Macros
- prelude::borsh::maybestd::format
- prelude::borsh::maybestd::vec
- prelude::declare_id
- prelude::emit
- prelude::err
- prelude::error
- prelude::msg
- prelude::require
- prelude::require_eq
- prelude::require_gt
- prelude::require_gte
- prelude::require_keys_eq
- prelude::require_keys_neq
- prelude::require_neq
- prelude::source
- prelude::token::spl_token::solana_program::copy_field
- prelude::token::spl_token::solana_program::custom_heap_default
- prelude::token::spl_token::solana_program::custom_panic_default
- prelude::token::spl_token::solana_program::declare_deprecated_id
- prelude::token::spl_token::solana_program::declare_deprecated_sysvar_id
- prelude::token::spl_token::solana_program::declare_id
- prelude::token::spl_token::solana_program::declare_sysvar_id
- prelude::token::spl_token::solana_program::entrypoint
- prelude::token::spl_token::solana_program::entrypoint::custom_heap_default
- prelude::token::spl_token::solana_program::entrypoint::custom_panic_default
- prelude::token::spl_token::solana_program::entrypoint::entrypoint
- prelude::token::spl_token::solana_program::entrypoint_deprecated
- prelude::token::spl_token::solana_program::entrypoint_deprecated::entrypoint_deprecated
- prelude::token::spl_token::solana_program::impl_sysvar_get
- prelude::token::spl_token::solana_program::info
- prelude::token::spl_token::solana_program::log::info
- prelude::token::spl_token::solana_program::log::msg
- prelude::token::spl_token::solana_program::msg
- prelude::token::spl_token::solana_program::pubkey
- prelude::token::spl_token::solana_program::sysvar::declare_deprecated_sysvar_id
- prelude::token::spl_token::solana_program::sysvar::declare_sysvar_id
- prelude::token::spl_token::solana_program::sysvar::impl_sysvar_get
- prelude::token::spl_token::solana_program::unchecked_div_by_const
Attribute Macros
- prelude::access_control
- prelude::account
- prelude::constant
- prelude::error_code
- prelude::event
- prelude::interface
- prelude::program
- prelude::state
- prelude::token::spl_token::solana_program::wasm_bindgen
- prelude::zero_copy
Derive Macros
- prelude::Accounts
- prelude::AnchorDeserialize
- prelude::AnchorSerialize
- prelude::borsh::BorshDeserialize
- prelude::borsh::BorshSchema
- prelude::borsh::BorshSerialize
- prelude::thiserror::Error
Functions
- check_id
- entry
- id
- instructions::instrument_chain::create_instrument_without_auth::chain_data_to_seed_string
- optifi_cpi::add_withdraw_request
- optifi_cpi::amm_add_instrument
- optifi_cpi::amm_calculate_delta
- optifi_cpi::amm_calculate_proposal
- optifi_cpi::amm_deposit
- optifi_cpi::amm_remove_instrument
- optifi_cpi::amm_sync_future_positions
- optifi_cpi::amm_sync_positions
- optifi_cpi::amm_update_future_orders
- optifi_cpi::amm_update_orders
- optifi_cpi::cancel_order_by_client_order_id
- optifi_cpi::clean_expired_instruments
- optifi_cpi::clean_expired_instruments_for_user
- optifi_cpi::consume_event_queue
- optifi_cpi::consume_withdraw_queue
- optifi_cpi::create_new_instrument
- optifi_cpi::create_optifi_market
- optifi_cpi::deposit
- optifi_cpi::execute_market_maker_withdrawal
- optifi_cpi::generate_next_instrument
- optifi_cpi::init_amm_on_optifi_market
- optifi_cpi::init_liquidation
- optifi_cpi::init_user_account
- optifi_cpi::init_user_on_optifi_market
- optifi_cpi::initialize
- optifi_cpi::initialize_amm
- optifi_cpi::initialize_fee_account
- optifi_cpi::initialize_serum_orderbook
- optifi_cpi::liquidation_place_order
- optifi_cpi::liquidation_register
- optifi_cpi::liquidation_settle_order
- optifi_cpi::liquidation_to_amm
- optifi_cpi::margin_stress_calculate
- optifi_cpi::margin_stress_init
- optifi_cpi::mm_calculation
- optifi_cpi::mm_cancel_order
- optifi_cpi::mm_post_only_order
- optifi_cpi::mm_settle_penalty_reward
- optifi_cpi::place_order
- optifi_cpi::record_pnl_for_amm
- optifi_cpi::record_pnl_for_one_user
- optifi_cpi::register_market_maker
- optifi_cpi::schedule_market_maker_withdrawal
- optifi_cpi::set_delegation
- optifi_cpi::settle_fund_for_amm
- optifi_cpi::settle_fund_for_one_user
- optifi_cpi::settle_order_funds
- optifi_cpi::stop_optifi_market
- optifi_cpi::update_exchange_authority
- optifi_cpi::update_iv
- optifi_cpi::update_iv_authority
- optifi_cpi::update_og_nft_mint
- optifi_cpi::update_operation_authority
- optifi_cpi::update_optifi_market
- optifi_cpi::update_oracle
- optifi_cpi::update_user_deposit_limit
- optifi_cpi::user_margin_calculate
- optifi_cpi::withdraw
- optifi_cpi::withdraw_usdc_fee_pool
- prelude::accessor::amount
- prelude::accessor::authority
- prelude::accessor::mint
- prelude::borsh::maybestd::io::copy
- prelude::borsh::maybestd::io::empty
- prelude::borsh::maybestd::io::read_to_string
- prelude::borsh::maybestd::io::repeat
- prelude::borsh::maybestd::io::sink
- prelude::borsh::maybestd::io::stderr
- prelude::borsh::maybestd::io::stdin
- prelude::borsh::maybestd::io::stdout
- prelude::borsh::maybestd::sync::atomic::compiler_fence
- prelude::borsh::maybestd::sync::atomic::fence
- prelude::borsh::maybestd::sync::atomic::spin_loop_hint
- prelude::borsh::maybestd::sync::mpsc::channel
- prelude::borsh::maybestd::sync::mpsc::sync_channel
- prelude::borsh::schema_helpers::try_from_slice_with_schema
- prelude::borsh::schema_helpers::try_to_vec_with_schema
- prelude::borsh::to_vec
- prelude::borsh::to_writer
- prelude::borsh::try_from_slice_with_schema
- prelude::borsh::try_to_vec_with_schema
- prelude::invoke
- prelude::invoke_signed
- prelude::next_account_info
- prelude::sol_log_compute_units
- prelude::token::accessor::amount
- prelude::token::accessor::authority
- prelude::token::accessor::mint
- prelude::token::approve
- prelude::token::burn
- prelude::token::close_account
- prelude::token::freeze_account
- prelude::token::initialize_account
- prelude::token::initialize_mint
- prelude::token::mint_to
- prelude::token::revoke
- prelude::token::set_authority
- prelude::token::spl_token::amount_to_ui_amount
- prelude::token::spl_token::check_id
- prelude::token::spl_token::check_program_account
- prelude::token::spl_token::id
- prelude::token::spl_token::instruction::approve
- prelude::token::spl_token::instruction::approve_checked
- prelude::token::spl_token::instruction::burn
- prelude::token::spl_token::instruction::burn_checked
- prelude::token::spl_token::instruction::close_account
- prelude::token::spl_token::instruction::freeze_account
- prelude::token::spl_token::instruction::initialize_account
- prelude::token::spl_token::instruction::initialize_account2
- prelude::token::spl_token::instruction::initialize_account3
- prelude::token::spl_token::instruction::initialize_mint
- prelude::token::spl_token::instruction::initialize_mint2
- prelude::token::spl_token::instruction::initialize_multisig
- prelude::token::spl_token::instruction::initialize_multisig2
- prelude::token::spl_token::instruction::is_valid_signer_index
- prelude::token::spl_token::instruction::mint_to
- prelude::token::spl_token::instruction::mint_to_checked
- prelude::token::spl_token::instruction::revoke
- prelude::token::spl_token::instruction::set_authority
- prelude::token::spl_token::instruction::sync_native
- prelude::token::spl_token::instruction::thaw_account
- prelude::token::spl_token::instruction::transfer
- prelude::token::spl_token::instruction::transfer_checked
- prelude::token::spl_token::native_mint::check_id
- prelude::token::spl_token::native_mint::id
- prelude::token::spl_token::solana_program::account_info::next_account_info
- prelude::token::spl_token::solana_program::account_info::next_account_infos
- prelude::token::spl_token::solana_program::blake3::extend_and_hash
- prelude::token::spl_token::solana_program::blake3::hash
- prelude::token::spl_token::solana_program::blake3::hashv
- prelude::token::spl_token::solana_program::borsh::get_instance_packed_len
- prelude::token::spl_token::solana_program::borsh::get_packed_len
- prelude::token::spl_token::solana_program::borsh::try_from_slice_unchecked
- prelude::token::spl_token::solana_program::bpf_loader::check_id
- prelude::token::spl_token::solana_program::bpf_loader::id
- prelude::token::spl_token::solana_program::bpf_loader_deprecated::check_id
- prelude::token::spl_token::solana_program::bpf_loader_deprecated::id
- prelude::token::spl_token::solana_program::bpf_loader_upgradeable::check_id
- prelude::token::spl_token::solana_program::bpf_loader_upgradeable::close
- prelude::token::spl_token::solana_program::bpf_loader_upgradeable::close_any
- prelude::token::spl_token::solana_program::bpf_loader_upgradeable::create_buffer
- prelude::token::spl_token::solana_program::bpf_loader_upgradeable::deploy_with_max_program_len
- prelude::token::spl_token::solana_program::bpf_loader_upgradeable::id
- prelude::token::spl_token::solana_program::bpf_loader_upgradeable::is_close_instruction
- prelude::token::spl_token::solana_program::bpf_loader_upgradeable::is_set_authority_instruction
- prelude::token::spl_token::solana_program::bpf_loader_upgradeable::is_upgrade_instruction
- prelude::token::spl_token::solana_program::bpf_loader_upgradeable::set_buffer_authority
- prelude::token::spl_token::solana_program::bpf_loader_upgradeable::set_upgrade_authority
- prelude::token::spl_token::solana_program::bpf_loader_upgradeable::upgrade
- prelude::token::spl_token::solana_program::bpf_loader_upgradeable::write
- prelude::token::spl_token::solana_program::clone_zeroed
- prelude::token::spl_token::solana_program::config::program::check_id
- prelude::token::spl_token::solana_program::config::program::id
- prelude::token::spl_token::solana_program::debug_account_data::debug_account_data
- prelude::token::spl_token::solana_program::ed25519_program::check_id
- prelude::token::spl_token::solana_program::ed25519_program::id
- prelude::token::spl_token::solana_program::entrypoint::deserialize
- prelude::token::spl_token::solana_program::entrypoint_deprecated::deserialize
- prelude::token::spl_token::solana_program::feature::activate
- prelude::token::spl_token::solana_program::feature::activate_with_lamports
- prelude::token::spl_token::solana_program::feature::check_id
- prelude::token::spl_token::solana_program::feature::id
- prelude::token::spl_token::solana_program::hash::extend_and_hash
- prelude::token::spl_token::solana_program::hash::hash
- prelude::token::spl_token::solana_program::hash::hashv
- prelude::token::spl_token::solana_program::incinerator::check_id
- prelude::token::spl_token::solana_program::incinerator::id
- prelude::token::spl_token::solana_program::instruction::get_processed_sibling_instruction
- prelude::token::spl_token::solana_program::instruction::get_stack_height
- prelude::token::spl_token::solana_program::keccak::extend_and_hash
- prelude::token::spl_token::solana_program::keccak::hash
- prelude::token::spl_token::solana_program::keccak::hashv
- prelude::token::spl_token::solana_program::loader_instruction::finalize
- prelude::token::spl_token::solana_program::loader_instruction::write
- prelude::token::spl_token::solana_program::log::sol_log
- prelude::token::spl_token::solana_program::log::sol_log_64
- prelude::token::spl_token::solana_program::log::sol_log_compute_units
- prelude::token::spl_token::solana_program::log::sol_log_data
- prelude::token::spl_token::solana_program::log::sol_log_params
- prelude::token::spl_token::solana_program::log::sol_log_slice
- prelude::token::spl_token::solana_program::native_token::lamports_to_sol
- prelude::token::spl_token::solana_program::native_token::sol_to_lamports
- prelude::token::spl_token::solana_program::program::get_return_data
- prelude::token::spl_token::solana_program::program::invoke
- prelude::token::spl_token::solana_program::program::invoke_signed
- prelude::token::spl_token::solana_program::program::invoke_signed_unchecked
- prelude::token::spl_token::solana_program::program::invoke_unchecked
- prelude::token::spl_token::solana_program::program::set_return_data
- prelude::token::spl_token::solana_program::program_memory::sol_memcmp
- prelude::token::spl_token::solana_program::program_memory::sol_memcpy
- prelude::token::spl_token::solana_program::program_memory::sol_memmove
- prelude::token::spl_token::solana_program::program_memory::sol_memset
- prelude::token::spl_token::solana_program::program_stubs::set_syscall_stubs
- prelude::token::spl_token::solana_program::program_utils::limited_deserialize
- prelude::token::spl_token::solana_program::pubkey::bytes_are_curve_point
- prelude::token::spl_token::solana_program::secp256k1_program::check_id
- prelude::token::spl_token::solana_program::secp256k1_program::id
- prelude::token::spl_token::solana_program::secp256k1_recover::secp256k1_recover
- prelude::token::spl_token::solana_program::serialize_utils::append_slice
- prelude::token::spl_token::solana_program::serialize_utils::append_u16
- prelude::token::spl_token::solana_program::serialize_utils::append_u8
- prelude::token::spl_token::solana_program::serialize_utils::read_pubkey
- prelude::token::spl_token::solana_program::serialize_utils::read_slice
- prelude::token::spl_token::solana_program::serialize_utils::read_u16
- prelude::token::spl_token::solana_program::serialize_utils::read_u8
- prelude::token::spl_token::solana_program::short_vec::decode_shortu16_len
- prelude::token::spl_token::solana_program::short_vec::deserialize
- prelude::token::spl_token::solana_program::short_vec::serialize
- prelude::token::spl_token::solana_program::stake::config::check_id
- prelude::token::spl_token::solana_program::stake::config::id
- prelude::token::spl_token::solana_program::stake::instruction::authorize
- prelude::token::spl_token::solana_program::stake::instruction::authorize_checked
- prelude::token::spl_token::solana_program::stake::instruction::authorize_checked_with_seed
- prelude::token::spl_token::solana_program::stake::instruction::authorize_with_seed
- prelude::token::spl_token::solana_program::stake::instruction::create_account
- prelude::token::spl_token::solana_program::stake::instruction::create_account_and_delegate_stake
- prelude::token::spl_token::solana_program::stake::instruction::create_account_checked
- prelude::token::spl_token::solana_program::stake::instruction::create_account_with_seed
- prelude::token::spl_token::solana_program::stake::instruction::create_account_with_seed_and_delegate_stake
- prelude::token::spl_token::solana_program::stake::instruction::create_account_with_seed_checked
- prelude::token::spl_token::solana_program::stake::instruction::deactivate_stake
- prelude::token::spl_token::solana_program::stake::instruction::delegate_stake
- prelude::token::spl_token::solana_program::stake::instruction::initialize
- prelude::token::spl_token::solana_program::stake::instruction::initialize_checked
- prelude::token::spl_token::solana_program::stake::instruction::merge
- prelude::token::spl_token::solana_program::stake::instruction::set_lockup
- prelude::token::spl_token::solana_program::stake::instruction::set_lockup_checked
- prelude::token::spl_token::solana_program::stake::instruction::split
- prelude::token::spl_token::solana_program::stake::instruction::split_with_seed
- prelude::token::spl_token::solana_program::stake::instruction::withdraw
- prelude::token::spl_token::solana_program::stake::program::check_id
- prelude::token::spl_token::solana_program::stake::program::id
- prelude::token::spl_token::solana_program::system_instruction::advance_nonce_account
- prelude::token::spl_token::solana_program::system_instruction::allocate
- prelude::token::spl_token::solana_program::system_instruction::allocate_with_seed
- prelude::token::spl_token::solana_program::system_instruction::assign
- prelude::token::spl_token::solana_program::system_instruction::assign_with_seed
- prelude::token::spl_token::solana_program::system_instruction::authorize_nonce_account
- prelude::token::spl_token::solana_program::system_instruction::create_account
- prelude::token::spl_token::solana_program::system_instruction::create_account_with_seed
- prelude::token::spl_token::solana_program::system_instruction::create_nonce_account
- prelude::token::spl_token::solana_program::system_instruction::create_nonce_account_with_seed
- prelude::token::spl_token::solana_program::system_instruction::instruction_to_nonce_error
- prelude::token::spl_token::solana_program::system_instruction::nonce_to_instruction_error
- prelude::token::spl_token::solana_program::system_instruction::transfer
- prelude::token::spl_token::solana_program::system_instruction::transfer_many
- prelude::token::spl_token::solana_program::system_instruction::transfer_with_seed
- prelude::token::spl_token::solana_program::system_instruction::upgrade_nonce_account
- prelude::token::spl_token::solana_program::system_instruction::withdraw_nonce_account
- prelude::token::spl_token::solana_program::system_program::check_id
- prelude::token::spl_token::solana_program::system_program::id
- prelude::token::spl_token::solana_program::sysvar::check_id
- prelude::token::spl_token::solana_program::sysvar::clock::check_id
- prelude::token::spl_token::solana_program::sysvar::clock::id
- prelude::token::spl_token::solana_program::sysvar::epoch_schedule::check_id
- prelude::token::spl_token::solana_program::sysvar::epoch_schedule::id
- prelude::token::spl_token::solana_program::sysvar::fees::check_id
- prelude::token::spl_token::solana_program::sysvar::fees::id
- prelude::token::spl_token::solana_program::sysvar::id
- prelude::token::spl_token::solana_program::sysvar::instructions::check_id
- prelude::token::spl_token::solana_program::sysvar::instructions::construct_instructions_data
- prelude::token::spl_token::solana_program::sysvar::instructions::get_instruction_relative
- prelude::token::spl_token::solana_program::sysvar::instructions::id
- prelude::token::spl_token::solana_program::sysvar::instructions::load_current_index
- prelude::token::spl_token::solana_program::sysvar::instructions::load_current_index_checked
- prelude::token::spl_token::solana_program::sysvar::instructions::load_instruction_at
- prelude::token::spl_token::solana_program::sysvar::instructions::load_instruction_at_checked
- prelude::token::spl_token::solana_program::sysvar::instructions::store_current_index
- prelude::token::spl_token::solana_program::sysvar::is_sysvar_id
- prelude::token::spl_token::solana_program::sysvar::recent_blockhashes::check_id
- prelude::token::spl_token::solana_program::sysvar::recent_blockhashes::create_test_recent_blockhashes
- prelude::token::spl_token::solana_program::sysvar::recent_blockhashes::id
- prelude::token::spl_token::solana_program::sysvar::rent::check_id
- prelude::token::spl_token::solana_program::sysvar::rent::id
- prelude::token::spl_token::solana_program::sysvar::rewards::check_id
- prelude::token::spl_token::solana_program::sysvar::rewards::id
- prelude::token::spl_token::solana_program::sysvar::slot_hashes::check_id
- prelude::token::spl_token::solana_program::sysvar::slot_hashes::id
- prelude::token::spl_token::solana_program::sysvar::slot_history::check_id
- prelude::token::spl_token::solana_program::sysvar::slot_history::id
- prelude::token::spl_token::solana_program::sysvar::stake_history::check_id
- prelude::token::spl_token::solana_program::sysvar::stake_history::id
- prelude::token::spl_token::solana_program::vote::program::check_id
- prelude::token::spl_token::solana_program::vote::program::id
- prelude::token::spl_token::ui_amount_to_amount
- prelude::token::thaw_account
- prelude::token::transfer
- utils::pda::get_amm_liquidity_auth_pda
- utils::pda::get_amm_pda
- utils::pda::get_central_usdc_pool_auth_pda
- utils::pda::get_margin_stress_account
- utils::pda::get_market_maker_pool_auth_pda
- utils::pda::get_optifi_market_mint_auth_pda
- utils::pda::get_serum_market_auth_pda
- utils::pda::get_serum_open_orders_account
- utils::pda::get_user_account_pda
- utils::pda::get_user_fee_account_pda
- utils::pda::get_user_liquidation_account_pda
- utils::spl::create_associated_token_account
Type Definitions
- prelude::Result
- prelude::borsh::maybestd::io::Result
- prelude::borsh::maybestd::string::ParseError
- prelude::borsh::maybestd::sync::LockResult
- prelude::borsh::maybestd::sync::TryLockResult
- prelude::borsh::schema::Declaration
- prelude::borsh::schema::FieldName
- prelude::borsh::schema::VariantName
- prelude::token::spl_token::solana_program::clock::BankId
- prelude::token::spl_token::solana_program::clock::Epoch
- prelude::token::spl_token::solana_program::clock::Slot
- prelude::token::spl_token::solana_program::clock::SlotCount
- prelude::token::spl_token::solana_program::clock::SlotIndex
- prelude::token::spl_token::solana_program::clock::UnixTimestamp
- prelude::token::spl_token::solana_program::entrypoint::ProcessInstruction
- prelude::token::spl_token::solana_program::entrypoint::ProgramResult
- prelude::token::spl_token::solana_program::entrypoint_deprecated::ProcessInstruction
- prelude::token::spl_token::solana_program::entrypoint_deprecated::ProgramResult
- prelude::token::spl_token::solana_program::epoch_schedule::Epoch
- prelude::token::spl_token::solana_program::epoch_schedule::Slot
- prelude::token::spl_token::solana_program::slot_hashes::Slot
- prelude::token::spl_token::solana_program::slot_hashes::SlotHash
- prelude::token::spl_token::solana_program::slot_history::Slot
- prelude::token::spl_token::solana_program::stake::state::StakeActivationStatus
- prelude::token::spl_token::solana_program::stake_history::Epoch
Statics
- ID
- prelude::token::ID
- prelude::token::spl_token::ID
- prelude::token::spl_token::native_mint::ID
- prelude::token::spl_token::solana_program::bpf_loader::ID
- prelude::token::spl_token::solana_program::bpf_loader_deprecated::ID
- prelude::token::spl_token::solana_program::bpf_loader_upgradeable::ID
- prelude::token::spl_token::solana_program::config::program::ID
- prelude::token::spl_token::solana_program::ed25519_program::ID
- prelude::token::spl_token::solana_program::feature::ID
- prelude::token::spl_token::solana_program::incinerator::ID
- prelude::token::spl_token::solana_program::secp256k1_program::ID
- prelude::token::spl_token::solana_program::stake::config::ID
- prelude::token::spl_token::solana_program::stake::program::ID
- prelude::token::spl_token::solana_program::system_program::ID
- prelude::token::spl_token::solana_program::sysvar::ID
- prelude::token::spl_token::solana_program::sysvar::clock::ID
- prelude::token::spl_token::solana_program::sysvar::epoch_schedule::ID
- prelude::token::spl_token::solana_program::sysvar::fees::ID
- prelude::token::spl_token::solana_program::sysvar::instructions::ID
- prelude::token::spl_token::solana_program::sysvar::recent_blockhashes::ID
- prelude::token::spl_token::solana_program::sysvar::rent::ID
- prelude::token::spl_token::solana_program::sysvar::rewards::ID
- prelude::token::spl_token::solana_program::sysvar::slot_hashes::ID
- prelude::token::spl_token::solana_program::sysvar::slot_history::ID
- prelude::token::spl_token::solana_program::sysvar::stake_history::ID
- prelude::token::spl_token::solana_program::vote::program::ID
Constants
- constants::AMM_WITHDRAW_WAITING_TIME
- constants::BACKUP_STRIKES
- constants::BTC_STRIKES_INCR_USD
- constants::COST_FUT
- constants::CRANKER_FEE
- constants::DAYS_IN_STANDARD_YEAR
- constants::DAYS_IN_WEEK
- constants::DELTA_LIMIT
- constants::ETH_STRIKES_INCR_USD
- constants::FEE_SHARE
- constants::HEALTHY_RATIO
- constants::HOURS_IN_DAY
- constants::LADDER_SIZE
- constants::LIQUIDATION
- constants::LIQUIDATION_TO_AMM
- constants::MANGO_PROGRAM_ID
- constants::MARKET_VERSION
- constants::MAX_FEE_RATIO
- constants::MAX_ORDERBOOK_SIZE
- constants::MINUTES_IN_HOUR
- constants::MIN_PRICE_RATIO
- constants::MM_BALANCE_THRESHOLD
- constants::MM_REQ
- constants::MS_TIMEOUT_TOLERANCE
- constants::NQUOTES
- constants::NSTEP
- constants::OPTIFI_EXCHANGE
- constants::OPTIFI_MAKER_FEE
- constants::OPTIFI_TAKER_FEE
- constants::ORDER_LEVELS
- constants::PRICE_MOVE
- constants::SECONDS_IN_MINUTE
- constants::SECS_IN_DAY
- constants::SECS_IN_HOUR
- constants::SECS_IN_STANDARD_YEAR
- constants::SERUM_DEX_PROGRAM_ID
- constants::SERUM_MAKER_FEE
- constants::SERUM_TAKER_FEE
- constants::SPREAD_LIMIT
- constants::STEP
- constants::STRESS
- constants::STRIKES
- constants::TRADE_CAPACITY
- constants::UPDATE_SECS
- constants::USDC_DECIMALS
- constants::USDC_TOKEN_MINT
- constants::WEEKLY_LOG_LEN
- prelude::ERROR_CODE_OFFSET
- prelude::borsh::maybestd::sync::ONCE_INIT
- prelude::borsh::maybestd::sync::atomic::ATOMIC_BOOL_INIT
- prelude::borsh::maybestd::sync::atomic::ATOMIC_I16_INIT
- prelude::borsh::maybestd::sync::atomic::ATOMIC_I32_INIT
- prelude::borsh::maybestd::sync::atomic::ATOMIC_I64_INIT
- prelude::borsh::maybestd::sync::atomic::ATOMIC_I8_INIT
- prelude::borsh::maybestd::sync::atomic::ATOMIC_ISIZE_INIT
- prelude::borsh::maybestd::sync::atomic::ATOMIC_U16_INIT
- prelude::borsh::maybestd::sync::atomic::ATOMIC_U32_INIT
- prelude::borsh::maybestd::sync::atomic::ATOMIC_U64_INIT
- prelude::borsh::maybestd::sync::atomic::ATOMIC_U8_INIT
- prelude::borsh::maybestd::sync::atomic::ATOMIC_USIZE_INIT
- prelude::error::ERROR_CODE_OFFSET
- prelude::token::spl_token::instruction::MAX_SIGNERS
- prelude::token::spl_token::instruction::MIN_SIGNERS
- prelude::token::spl_token::native_mint::DECIMALS
- prelude::token::spl_token::solana_program::blake3::HASH_BYTES
- prelude::token::spl_token::solana_program::clock::DEFAULT_DEV_SLOTS_PER_EPOCH
- prelude::token::spl_token::solana_program::clock::DEFAULT_HASHES_PER_SECOND
- prelude::token::spl_token::solana_program::clock::DEFAULT_HASHES_PER_TICK
- prelude::token::spl_token::solana_program::clock::DEFAULT_MS_PER_SLOT
- prelude::token::spl_token::solana_program::clock::DEFAULT_SLOTS_PER_EPOCH
- prelude::token::spl_token::solana_program::clock::DEFAULT_S_PER_SLOT
- prelude::token::spl_token::solana_program::clock::DEFAULT_TICKS_PER_SECOND
- prelude::token::spl_token::solana_program::clock::DEFAULT_TICKS_PER_SLOT
- prelude::token::spl_token::solana_program::clock::GENESIS_EPOCH
- prelude::token::spl_token::solana_program::clock::INITIAL_RENT_EPOCH
- prelude::token::spl_token::solana_program::clock::MAX_HASH_AGE_IN_SECONDS
- prelude::token::spl_token::solana_program::clock::MAX_PROCESSING_AGE
- prelude::token::spl_token::solana_program::clock::MAX_RECENT_BLOCKHASHES
- prelude::token::spl_token::solana_program::clock::MAX_TRANSACTION_FORWARDING_DELAY
- prelude::token::spl_token::solana_program::clock::MAX_TRANSACTION_FORWARDING_DELAY_GPU
- prelude::token::spl_token::solana_program::clock::MS_PER_TICK
- prelude::token::spl_token::solana_program::clock::NUM_CONSECUTIVE_LEADER_SLOTS
- prelude::token::spl_token::solana_program::clock::SECONDS_PER_DAY
- prelude::token::spl_token::solana_program::clock::SLOT_MS
- prelude::token::spl_token::solana_program::clock::TICKS_PER_DAY
- prelude::token::spl_token::solana_program::entrypoint::BPF_ALIGN_OF_U128
- prelude::token::spl_token::solana_program::entrypoint::HEAP_LENGTH
- prelude::token::spl_token::solana_program::entrypoint::HEAP_START_ADDRESS
- prelude::token::spl_token::solana_program::entrypoint::MAX_PERMITTED_DATA_INCREASE
- prelude::token::spl_token::solana_program::entrypoint::SUCCESS
- prelude::token::spl_token::solana_program::entrypoint_deprecated::SUCCESS
- prelude::token::spl_token::solana_program::epoch_schedule::DEFAULT_LEADER_SCHEDULE_SLOT_OFFSET
- prelude::token::spl_token::solana_program::epoch_schedule::DEFAULT_SLOTS_PER_EPOCH
- prelude::token::spl_token::solana_program::epoch_schedule::MAX_LEADER_SCHEDULE_EPOCH_OFFSET
- prelude::token::spl_token::solana_program::epoch_schedule::MINIMUM_SLOTS_PER_EPOCH
- prelude::token::spl_token::solana_program::fee_calculator::DEFAULT_BURN_PERCENT
- prelude::token::spl_token::solana_program::fee_calculator::DEFAULT_TARGET_LAMPORTS_PER_SIGNATURE
- prelude::token::spl_token::solana_program::fee_calculator::DEFAULT_TARGET_SIGNATURES_PER_SLOT
- prelude::token::spl_token::solana_program::hash::HASH_BYTES
- prelude::token::spl_token::solana_program::instruction::TRANSACTION_LEVEL_STACK_HEIGHT
- prelude::token::spl_token::solana_program::keccak::HASH_BYTES
- prelude::token::spl_token::solana_program::message::MESSAGE_HEADER_LENGTH
- prelude::token::spl_token::solana_program::message::MESSAGE_VERSION_PREFIX
- prelude::token::spl_token::solana_program::native_token::LAMPORTS_PER_SOL
- prelude::token::spl_token::solana_program::nonce::NONCED_TX_MARKER_IX_INDEX
- prelude::token::spl_token::solana_program::program::MAX_RETURN_DATA
- prelude::token::spl_token::solana_program::program_error::ACCOUNT_ALREADY_INITIALIZED
- prelude::token::spl_token::solana_program::program_error::ACCOUNT_BORROW_FAILED
- prelude::token::spl_token::solana_program::program_error::ACCOUNT_DATA_TOO_SMALL
- prelude::token::spl_token::solana_program::program_error::ACCOUNT_NOT_RENT_EXEMPT
- prelude::token::spl_token::solana_program::program_error::ACTIVE_VOTE_ACCOUNT_CLOSE
- prelude::token::spl_token::solana_program::program_error::BORSH_IO_ERROR
- prelude::token::spl_token::solana_program::program_error::CUSTOM_ZERO
- prelude::token::spl_token::solana_program::program_error::ILLEGAL_OWNER
- prelude::token::spl_token::solana_program::program_error::INCORRECT_PROGRAM_ID
- prelude::token::spl_token::solana_program::program_error::INSUFFICIENT_FUNDS
- prelude::token::spl_token::solana_program::program_error::INVALID_ACCOUNT_DATA
- prelude::token::spl_token::solana_program::program_error::INVALID_ARGUMENT
- prelude::token::spl_token::solana_program::program_error::INVALID_INSTRUCTION_DATA
- prelude::token::spl_token::solana_program::program_error::INVALID_SEEDS
- prelude::token::spl_token::solana_program::program_error::MAX_ACCOUNTS_DATA_SIZE_EXCEEDED
- prelude::token::spl_token::solana_program::program_error::MAX_SEED_LENGTH_EXCEEDED
- prelude::token::spl_token::solana_program::program_error::MISSING_REQUIRED_SIGNATURES
- prelude::token::spl_token::solana_program::program_error::NOT_ENOUGH_ACCOUNT_KEYS
- prelude::token::spl_token::solana_program::program_error::UNINITIALIZED_ACCOUNT
- prelude::token::spl_token::solana_program::program_error::UNSUPPORTED_SYSVAR
- prelude::token::spl_token::solana_program::pubkey::MAX_SEEDS
- prelude::token::spl_token::solana_program::pubkey::MAX_SEED_LEN
- prelude::token::spl_token::solana_program::pubkey::PUBKEY_BYTES
- prelude::token::spl_token::solana_program::rent::ACCOUNT_STORAGE_OVERHEAD
- prelude::token::spl_token::solana_program::rent::DEFAULT_BURN_PERCENT
- prelude::token::spl_token::solana_program::rent::DEFAULT_EXEMPTION_THRESHOLD
- prelude::token::spl_token::solana_program::rent::DEFAULT_LAMPORTS_PER_BYTE_YEAR
- prelude::token::spl_token::solana_program::secp256k1_recover::SECP256K1_PUBLIC_KEY_LENGTH
- prelude::token::spl_token::solana_program::secp256k1_recover::SECP256K1_SIGNATURE_LENGTH
- prelude::token::spl_token::solana_program::slot_hashes::MAX_ENTRIES
- prelude::token::spl_token::solana_program::slot_history::MAX_ENTRIES
- prelude::token::spl_token::solana_program::stake::config::DEFAULT_SLASH_PENALTY
- prelude::token::spl_token::solana_program::stake::config::DEFAULT_WARMUP_COOLDOWN_RATE
- prelude::token::spl_token::solana_program::stake_history::MAX_ENTRIES
- prelude::token::spl_token::solana_program::system_instruction::MAX_PERMITTED_DATA_LENGTH
- prelude::token::spl_token::solana_program::sysvar::recent_blockhashes::MAX_ENTRIES
- utils::pda::FEE_ACCOUNT
- utils::pda::PREFIX_AMM
- utils::pda::PREFIX_AMM_LIQUIDITY_AUTH
- utils::pda::PREFIX_CENTRAL_USDC_POOL
- utils::pda::PREFIX_CENTRAL_USDC_POOL_AUTH
- utils::pda::PREFIX_INSTRUMENT
- utils::pda::PREFIX_LIQUIDATION_STATE
- utils::pda::PREFIX_MARGIN_STRESS
- utils::pda::PREFIX_MARKET_MAKER
- utils::pda::PREFIX_MM_LIQUIDITY_AUTH
- utils::pda::PREFIX_OPTIFI_EXCHANGE
- utils::pda::PREFIX_OPTIFI_MARKET
- utils::pda::PREFIX_OPTIFI_MARKET_MINT_AUTH
- utils::pda::PREFIX_SERUM_MARKET_AUTH
- utils::pda::PREFIX_SERUM_OPEN_ORDERS
- utils::pda::PREFIX_USER_ACCOUNT