List of all items
Structs
- accounts::AddCollateral
- accounts::AddLiquidity
- accounts::AddPool
- accounts::AddToken
- accounts::ClosePosition
- accounts::GetEntryPriceAndFee
- accounts::GetExitPriceAndFee
- accounts::GetLiquidationPrice
- accounts::GetPnl
- accounts::GetSwapAmountAndFees
- accounts::Init
- accounts::Liquidate
- accounts::OpenPosition
- accounts::RemoveCollateral
- accounts::RemoveLiquidity
- accounts::RemovePool
- accounts::RemoveToken
- accounts::SetAdminSigners
- accounts::SetBorrowRate
- accounts::SetPermissions
- accounts::SetTestOraclePrice
- accounts::SetTestTime
- accounts::SetTokenConfig
- accounts::Swap
- accounts::TestInit
- accounts::WithdrawFees
- instruction::AddCollateral
- instruction::AddLiquidity
- instruction::AddPool
- instruction::AddToken
- instruction::ClosePosition
- instruction::GetEntryPriceAndFee
- instruction::GetExitPriceAndFee
- instruction::GetLiquidationPrice
- instruction::GetPnl
- instruction::GetSwapAmountAndFees
- instruction::Init
- instruction::Liquidate
- instruction::OpenPosition
- instruction::RemoveCollateral
- instruction::RemoveLiquidity
- instruction::RemovePool
- instruction::RemoveToken
- instruction::SetAdminSigners
- instruction::SetBorrowRate
- instruction::SetPermissions
- instruction::SetTestOraclePrice
- instruction::SetTestTime
- instruction::SetTokenConfig
- instruction::Swap
- instruction::TestInit
- instruction::WithdrawFees
- program::Perpetuals
Functions
- check_id
- entry
- entrypoint
- id
- perpetuals::add_collateral
- perpetuals::add_liquidity
- perpetuals::add_pool
- perpetuals::add_token
- perpetuals::close_position
- perpetuals::get_entry_price_and_fee
- perpetuals::get_exit_price_and_fee
- perpetuals::get_liquidation_price
- perpetuals::get_pnl
- perpetuals::get_swap_amount_and_fees
- perpetuals::init
- perpetuals::liquidate
- perpetuals::open_position
- perpetuals::remove_collateral
- perpetuals::remove_liquidity
- perpetuals::remove_pool
- perpetuals::remove_token
- perpetuals::set_admin_signers
- perpetuals::set_borrow_rate
- perpetuals::set_permissions
- perpetuals::set_test_oracle_price
- perpetuals::set_test_time
- perpetuals::set_token_config
- perpetuals::swap
- perpetuals::test_init
- perpetuals::withdraw_fees