From f54bb6f0b00f4674f7177b3b1484ae5d615b0805 Mon Sep 17 00:00:00 2001 From: Serge Farny Date: Wed, 20 Mar 2024 15:25:52 +0100 Subject: [PATCH 01/28] Serge/liquidator split tcs and liquidation (#914) liquidator: split TCS triggering and liquidation job Concurrent execution of candidate lookup and tx building/sending - Also added an health assertion IX to protect liqor in multi liquidation scenario - And a timeout for jupiter v6 queries (avoid blocking liquidation because of slow TCS) --- Cargo.lock | 1 + bin/liquidator/Cargo.toml | 3 +- bin/liquidator/src/cli_args.rs | 20 + bin/liquidator/src/liquidate.rs | 47 +- bin/liquidator/src/liquidation_state.rs | 238 ++++++++ bin/liquidator/src/main.rs | 545 ++++++------------ bin/liquidator/src/tcs_state.rs | 218 +++++++ bin/liquidator/src/trigger_tcs.rs | 46 +- bin/liquidator/src/tx_sender.rs | 241 ++++++++ lib/client/src/client.rs | 57 +- lib/client/src/jupiter/v6.rs | 4 + lib/client/src/util.rs | 16 +- .../mango-v4/tests/cases/test_health_check.rs | 2 - ts/client/scripts/liqtest/README.md | 1 + 14 files changed, 1046 insertions(+), 393 deletions(-) create mode 100644 bin/liquidator/src/liquidation_state.rs create mode 100644 bin/liquidator/src/tcs_state.rs create mode 100644 bin/liquidator/src/tx_sender.rs diff --git a/Cargo.lock b/Cargo.lock index a54abdb97f..b6131418bc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3540,6 +3540,7 @@ dependencies = [ "futures-core", "futures-util", "hdrhistogram", + "indexmap 2.0.0", "itertools", "jemallocator", "jsonrpc-core 18.0.0 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/bin/liquidator/Cargo.toml b/bin/liquidator/Cargo.toml index d591bd37b2..ea254b1808 100644 --- a/bin/liquidator/Cargo.toml +++ b/bin/liquidator/Cargo.toml @@ -49,4 +49,5 @@ tokio-stream = { version = "0.1.9"} tokio-tungstenite = "0.16.1" tracing = "0.1" regex = "1.9.5" -hdrhistogram = "7.5.4" \ No newline at end of file +hdrhistogram = "7.5.4" +indexmap = "2.0.0" \ No newline at end of file diff --git a/bin/liquidator/src/cli_args.rs b/bin/liquidator/src/cli_args.rs index 53ea01fad8..234fe5abd6 100644 --- a/bin/liquidator/src/cli_args.rs +++ b/bin/liquidator/src/cli_args.rs @@ -136,6 +136,12 @@ pub struct Cli { #[clap(long, env, value_enum, default_value = "true")] pub(crate) take_tcs: BoolArg, + #[clap(long, env, default_value = "30")] + pub(crate) tcs_refresh_timeout_secs: u64, + + #[clap(long, env, default_value = "1000")] + pub(crate) tcs_check_interval_ms: u64, + /// profit margin at which to take tcs orders #[clap(long, env, default_value = "0.0005")] pub(crate) tcs_profit_fraction: f64, @@ -178,6 +184,10 @@ pub struct Cli { #[clap(long, env, default_value = "https://quote-api.jup.ag/v6")] pub(crate) jupiter_v6_url: String, + /// override the jupiter http request timeout + #[clap(long, env, default_value = "30")] + pub(crate) jupiter_timeout_secs: u64, + /// provide a jupiter token, currently only for jup v6 #[clap(long, env, default_value = "")] pub(crate) jupiter_token: String, @@ -191,6 +201,12 @@ pub struct Cli { #[clap(long, env, value_enum, default_value = "true")] pub(crate) telemetry: BoolArg, + /// if liquidation is enabled + /// + /// might be used to run an instance of liquidator dedicated to TCS and another one for liquidation + #[clap(long, env, value_enum, default_value = "true")] + pub(crate) liquidation_enabled: BoolArg, + /// liquidation refresh timeout in secs #[clap(long, env, default_value = "30")] pub(crate) liquidation_refresh_timeout_secs: u8, @@ -216,4 +232,8 @@ pub struct Cli { /// how long should it wait before logging an oracle error again (for the same token) #[clap(long, env, default_value = "30")] pub(crate) skip_oracle_error_in_logs_duration_secs: u64, + + /// max number of liquidation/tcs to do concurrently + #[clap(long, env, default_value = "5")] + pub(crate) max_parallel_operations: u64, } diff --git a/bin/liquidator/src/liquidate.rs b/bin/liquidator/src/liquidate.rs index c355aaa19f..06c3d1f018 100644 --- a/bin/liquidator/src/liquidate.rs +++ b/bin/liquidator/src/liquidate.rs @@ -9,6 +9,7 @@ use mango_v4_client::{chain_data, MangoClient, PreparedInstructions}; use solana_sdk::signature::Signature; use futures::{stream, StreamExt, TryStreamExt}; +use mango_v4::accounts_ix::HealthCheckKind::MaintRatio; use rand::seq::SliceRandom; use tracing::*; use {anyhow::Context, fixed::types::I80F48, solana_sdk::pubkey::Pubkey}; @@ -260,7 +261,22 @@ impl<'a> LiquidateHelper<'a> { ) .await .context("creating perp_liq_base_or_positive_pnl_instruction")?; + liq_ixs.cu = liq_ixs.cu.max(self.config.compute_limit_for_liq_ix); + + let liqor = &self.client.mango_account().await?; + liq_ixs.append( + self.client + .health_check_instruction( + liqor, + self.config.min_health_ratio, + vec![], + vec![*perp_market_index], + MaintRatio, + ) + .await?, + ); + let txsig = self .client .send_and_confirm_owner_tx(liq_ixs.to_instructions()) @@ -501,6 +517,20 @@ impl<'a> LiquidateHelper<'a> { .await .context("creating liq_token_with_token ix")?; liq_ixs.cu = liq_ixs.cu.max(self.config.compute_limit_for_liq_ix); + + let liqor = self.client.mango_account().await?; + liq_ixs.append( + self.client + .health_check_instruction( + &liqor, + self.config.min_health_ratio, + vec![asset_token_index, liab_token_index], + vec![], + MaintRatio, + ) + .await?, + ); + let txsig = self .client .send_and_confirm_owner_tx(liq_ixs.to_instructions()) @@ -651,14 +681,11 @@ impl<'a> LiquidateHelper<'a> { } #[allow(clippy::too_many_arguments)] -pub async fn maybe_liquidate_account( +pub async fn can_liquidate_account( mango_client: &MangoClient, account_fetcher: &chain_data::AccountFetcher, pubkey: &Pubkey, - config: &Config, ) -> anyhow::Result { - let liqor_min_health_ratio = I80F48::from_num(config.min_health_ratio); - let account = account_fetcher.fetch_mango_account(pubkey)?; let health_cache = mango_client .health_cache(&account) @@ -675,6 +702,18 @@ pub async fn maybe_liquidate_account( "possible candidate", ); + Ok(true) +} + +#[allow(clippy::too_many_arguments)] +pub async fn maybe_liquidate_account( + mango_client: &MangoClient, + account_fetcher: &chain_data::AccountFetcher, + pubkey: &Pubkey, + config: &Config, +) -> anyhow::Result { + let liqor_min_health_ratio = I80F48::from_num(config.min_health_ratio); + // Fetch a fresh account and re-compute // This is -- unfortunately -- needed because the websocket streams seem to not // be great at providing timely updates to the account data. diff --git a/bin/liquidator/src/liquidation_state.rs b/bin/liquidator/src/liquidation_state.rs new file mode 100644 index 0000000000..aedae78908 --- /dev/null +++ b/bin/liquidator/src/liquidation_state.rs @@ -0,0 +1,238 @@ +use crate::cli_args::Cli; +use crate::metrics::Metrics; +use crate::unwrappable_oracle_error::UnwrappableOracleError; +use crate::{liquidate, LiqErrorType, SharedState}; +use anchor_lang::prelude::Pubkey; +use itertools::Itertools; +use mango_v4::state::TokenIndex; +use mango_v4_client::error_tracking::ErrorTracking; +use mango_v4_client::{chain_data, MangoClient, MangoClientError}; +use std::sync::{Arc, RwLock}; +use std::time::{Duration, Instant}; +use tokio::task::JoinHandle; +use tracing::{error, trace, warn}; + +#[derive(Clone)] +pub struct LiquidationState { + pub mango_client: Arc, + pub account_fetcher: Arc, + pub liquidation_config: liquidate::Config, + + pub errors: Arc>>, + pub oracle_errors: Arc>>, +} + +impl LiquidationState { + async fn find_candidates( + &mut self, + accounts_iter: impl Iterator, + action: impl Fn(Pubkey) -> anyhow::Result<()>, + ) -> anyhow::Result { + let mut found_counter = 0u64; + use rand::seq::SliceRandom; + + let mut accounts = accounts_iter.collect::>(); + { + let mut rng = rand::thread_rng(); + accounts.shuffle(&mut rng); + } + + for pubkey in accounts { + if self.should_skip_execution(pubkey) { + continue; + } + + let result = + liquidate::can_liquidate_account(&self.mango_client, &self.account_fetcher, pubkey) + .await; + + self.log_or_ignore_error(&result, pubkey); + + if result.unwrap_or(false) { + action(*pubkey)?; + found_counter = found_counter + 1; + } + } + + Ok(found_counter) + } + + fn should_skip_execution(&mut self, pubkey: &Pubkey) -> bool { + let now = Instant::now(); + let error_tracking = &mut self.errors; + + // Skip a pubkey if there've been too many errors recently + if let Some(error_entry) = + error_tracking + .read() + .unwrap() + .had_too_many_errors(LiqErrorType::Liq, pubkey, now) + { + trace!( + %pubkey, + error_entry.count, + "skip checking account for liquidation, had errors recently", + ); + return true; + } + + false + } + + fn log_or_ignore_error(&mut self, result: &anyhow::Result, pubkey: &Pubkey) { + let error_tracking = &mut self.errors; + + if let Err(err) = result.as_ref() { + if let Some((ti, ti_name)) = err.try_unwrap_oracle_error() { + if self + .oracle_errors + .read() + .unwrap() + .had_too_many_errors(LiqErrorType::Liq, &ti, Instant::now()) + .is_none() + { + warn!( + "{:?} recording oracle error for token {} {}", + chrono::offset::Utc::now(), + ti_name, + ti + ); + } + + self.oracle_errors + .write() + .unwrap() + .record(LiqErrorType::Liq, &ti, err.to_string()); + return; + } + + // Keep track of pubkeys that had errors + error_tracking + .write() + .unwrap() + .record(LiqErrorType::Liq, pubkey, err.to_string()); + + // Not all errors need to be raised to the user's attention. + let mut is_error = true; + + // Simulation errors due to liqee precondition failures on the liquidation instructions + // will commonly happen if our liquidator is late or if there are chain forks. + match err.downcast_ref::() { + Some(MangoClientError::SendTransactionPreflightFailure { logs, .. }) => { + if logs.iter().any(|line| { + line.contains("HealthMustBeNegative") || line.contains("IsNotBankrupt") + }) { + is_error = false; + } + } + _ => {} + }; + if is_error { + error!("liquidating account {}: {:?}", pubkey, err); + } else { + trace!("liquidating account {}: {:?}", pubkey, err); + } + } else { + error_tracking + .write() + .unwrap() + .clear(LiqErrorType::Liq, pubkey); + } + } + + pub async fn maybe_liquidate_and_log_error(&mut self, pubkey: &Pubkey) -> anyhow::Result { + if self.should_skip_execution(pubkey) { + return Ok(false); + } + + let result = liquidate::maybe_liquidate_account( + &self.mango_client, + &self.account_fetcher, + pubkey, + &self.liquidation_config, + ) + .await; + + self.log_or_ignore_error(&result, pubkey); + return result; + } +} + +pub fn spawn_liquidation_job( + cli: &Cli, + shared_state: &Arc>, + tx_trigger_sender: async_channel::Sender<()>, + mut liquidation: Box, + metrics: &Metrics, +) -> JoinHandle<()> { + tokio::spawn({ + let mut interval = + mango_v4_client::delay_interval(Duration::from_millis(cli.check_interval_ms)); + let mut metric_liquidation_check = metrics.register_latency("liquidation_check".into()); + let mut metric_liquidation_start_end = + metrics.register_latency("liquidation_start_end".into()); + + let mut liquidation_start_time = None; + + let shared_state = shared_state.clone(); + async move { + loop { + interval.tick().await; + + let account_addresses = { + let mut state = shared_state.write().unwrap(); + if !state.one_snapshot_done { + // discard first latency info as it will skew data too much + state.oldest_chain_event_reception_time = None; + continue; + } + if state.oldest_chain_event_reception_time.is_none() + && liquidation_start_time.is_none() + { + // no new update, skip computing + continue; + } + + state.mango_accounts.iter().cloned().collect_vec() + }; + + liquidation.errors.write().unwrap().update(); + liquidation.oracle_errors.write().unwrap().update(); + + if liquidation_start_time.is_none() { + liquidation_start_time = Some(Instant::now()); + } + + let found_candidates = liquidation + .find_candidates(account_addresses.iter(), |p| { + if shared_state + .write() + .unwrap() + .liquidation_candidates_accounts + .insert(p) + { + tx_trigger_sender.try_send(())?; + } + + Ok(()) + }) + .await + .unwrap(); + + if found_candidates > 0 { + tracing::debug!("found {} candidates for liquidation", found_candidates); + } + + let mut state = shared_state.write().unwrap(); + let reception_time = state.oldest_chain_event_reception_time.unwrap(); + let current_time = Instant::now(); + + state.oldest_chain_event_reception_time = None; + + metric_liquidation_check.push(current_time - reception_time); + metric_liquidation_start_end.push(current_time - liquidation_start_time.unwrap()); + liquidation_start_time = None; + } + } + }) +} diff --git a/bin/liquidator/src/main.rs b/bin/liquidator/src/main.rs index 758736936b..1c62c9ad40 100644 --- a/bin/liquidator/src/main.rs +++ b/bin/liquidator/src/main.rs @@ -4,33 +4,40 @@ use std::sync::{Arc, RwLock}; use std::time::{Duration, Instant}; use anchor_client::Cluster; -use anyhow::Context; use clap::Parser; +use futures_util::StreamExt; use mango_v4::state::{PerpMarketIndex, TokenIndex}; -use mango_v4_client::AsyncChannelSendUnlessFull; use mango_v4_client::{ account_update_stream, chain_data, error_tracking::ErrorTracking, keypair_from_cli, - snapshot_source, websocket_source, Client, MangoClient, MangoClientError, MangoGroupContext, + snapshot_source, websocket_source, Client, MangoClient, MangoGroupContext, TransactionBuilderConfig, }; +use crate::cli_args::{BoolArg, Cli, CliDotenv}; +use crate::liquidation_state::LiquidationState; +use crate::rebalance::Rebalancer; +use crate::tcs_state::TcsState; +use crate::token_swap_info::TokenSwapInfoUpdater; use itertools::Itertools; use solana_sdk::commitment_config::CommitmentConfig; use solana_sdk::pubkey::Pubkey; use solana_sdk::signer::Signer; +use tokio::task::JoinHandle; use tracing::*; pub mod cli_args; pub mod liquidate; +mod liquidation_state; pub mod metrics; pub mod rebalance; +mod tcs_state; pub mod telemetry; pub mod token_swap_info; pub mod trigger_tcs; +mod tx_sender; mod unwrappable_oracle_error; pub mod util; -use crate::unwrappable_oracle_error::UnwrappableOracleError; use crate::util::{is_mango_account, is_mint_info, is_perp_market}; // jemalloc seems to be better at keeping the memory footprint reasonable over @@ -69,7 +76,7 @@ async fn main() -> anyhow::Result<()> { // Client setup // let liqor_owner = Arc::new(keypair_from_cli(&cli.liqor_owner)); - let rpc_url = cli.rpc_url; + let rpc_url = cli.rpc_url.clone(); let ws_url = rpc_url.replace("https", "wss"); let rpc_timeout = Duration::from_secs(10); let cluster = Cluster::Custom(rpc_url.clone(), ws_url.clone()); @@ -79,8 +86,9 @@ async fn main() -> anyhow::Result<()> { .commitment(commitment) .fee_payer(Some(liqor_owner.clone())) .timeout(rpc_timeout) - .jupiter_v6_url(cli.jupiter_v6_url) - .jupiter_token(cli.jupiter_token) + .jupiter_timeout(Duration::from_secs(cli.jupiter_timeout_secs)) + .jupiter_v6_url(cli.jupiter_v6_url.clone()) + .jupiter_token(cli.jupiter_token.clone()) .transaction_builder_config( TransactionBuilderConfig::builder() .priority_fee_provider(prio_provider) @@ -89,7 +97,7 @@ async fn main() -> anyhow::Result<()> { .build() .unwrap(), ) - .override_send_transaction_urls(cli.override_send_transaction_url) + .override_send_transaction_urls(cli.override_send_transaction_url.clone()) .build() .unwrap(); @@ -207,17 +215,18 @@ async fn main() -> anyhow::Result<()> { compute_limit_for_liq_ix: cli.compute_limit_for_liquidation, max_cu_per_transaction: 1_000_000, refresh_timeout: Duration::from_secs(cli.liquidation_refresh_timeout_secs as u64), - only_allowed_tokens: cli_args::cli_to_hashset::(cli.only_allow_tokens), - forbidden_tokens: cli_args::cli_to_hashset::(cli.forbidden_tokens), + only_allowed_tokens: cli_args::cli_to_hashset::(cli.only_allow_tokens.clone()), + forbidden_tokens: cli_args::cli_to_hashset::(cli.forbidden_tokens.clone()), only_allowed_perp_markets: cli_args::cli_to_hashset::( - cli.liquidation_only_allow_perp_markets, + cli.liquidation_only_allow_perp_markets.clone(), ), forbidden_perp_markets: cli_args::cli_to_hashset::( - cli.liquidation_forbidden_perp_markets, + cli.liquidation_forbidden_perp_markets.clone(), ), }; let tcs_config = trigger_tcs::Config { + refresh_timeout: Duration::from_secs(cli.tcs_refresh_timeout_secs), min_health_ratio: cli.min_health_ratio, max_trigger_quote_amount: (cli.tcs_max_trigger_amount * 1e6) as u64, compute_limit_for_trigger: cli.compute_limit_for_tcs, @@ -234,17 +243,19 @@ async fn main() -> anyhow::Result<()> { forbidden_tokens: liq_config.forbidden_tokens.clone(), }; - let mut rebalance_interval = tokio::time::interval(Duration::from_secs(30)); let (rebalance_trigger_sender, rebalance_trigger_receiver) = async_channel::bounded::<()>(1); + let (tx_tcs_trigger_sender, tx_tcs_trigger_receiver) = async_channel::unbounded::<()>(); + let (tx_liq_trigger_sender, tx_liq_trigger_receiver) = async_channel::unbounded::<()>(); let rebalance_config = rebalance::Config { enabled: cli.rebalance == BoolArg::True, slippage_bps: cli.rebalance_slippage_bps, borrow_settle_excess: (1f64 + cli.rebalance_borrow_settle_excess).max(1f64), refresh_timeout: Duration::from_secs(cli.rebalance_refresh_timeout_secs), jupiter_version: cli.jupiter_version.into(), - skip_tokens: cli.rebalance_skip_tokens.unwrap_or_default(), + skip_tokens: cli.rebalance_skip_tokens.clone().unwrap_or(Vec::new()), alternate_jupiter_route_tokens: cli .rebalance_alternate_jupiter_route_tokens + .clone() .unwrap_or_default(), allow_withdraws: signer_is_owner, }; @@ -257,23 +268,39 @@ async fn main() -> anyhow::Result<()> { config: rebalance_config, }); - let mut liquidation = Box::new(LiquidationState { + let liquidation = Box::new(LiquidationState { mango_client: mango_client.clone(), - account_fetcher, + account_fetcher: account_fetcher.clone(), liquidation_config: liq_config, + errors: Arc::new(RwLock::new( + ErrorTracking::builder() + .skip_threshold(2) + .skip_threshold_for_type(LiqErrorType::Liq, 5) + .skip_duration(Duration::from_secs(120)) + .build()?, + )), + oracle_errors: Arc::new(RwLock::new( + ErrorTracking::builder() + .skip_threshold(1) + .skip_duration(Duration::from_secs( + cli.skip_oracle_error_in_logs_duration_secs, + )) + .build()?, + )), + }); + + let tcs = Box::new(TcsState { + mango_client: mango_client.clone(), + account_fetcher, trigger_tcs_config: tcs_config, token_swap_info: token_swap_info_updater.clone(), - errors: ErrorTracking::builder() - .skip_threshold(2) - .skip_threshold_for_type(LiqErrorType::Liq, 5) - .skip_duration(Duration::from_secs(120)) - .build()?, - oracle_errors: ErrorTracking::builder() - .skip_threshold(1) - .skip_duration(Duration::from_secs( - cli.skip_oracle_error_in_logs_duration_secs, - )) - .build()?, + errors: Arc::new(RwLock::new( + ErrorTracking::builder() + .skip_threshold(2) + .skip_threshold_for_type(LiqErrorType::Liq, 5) + .skip_duration(Duration::from_secs(120)) + .build()?, + )), }); info!("main loop"); @@ -374,126 +401,83 @@ async fn main() -> anyhow::Result<()> { } }); + let mut optional_jobs = vec![]; + // Could be refactored to only start the below jobs when the first snapshot is done. // But need to take care to abort if the above job aborts beforehand. + if cli.rebalance == BoolArg::True { + let rebalance_job = + spawn_rebalance_job(&shared_state, rebalance_trigger_receiver, rebalancer); + optional_jobs.push(rebalance_job); + } - let rebalance_job = tokio::spawn({ - let shared_state = shared_state.clone(); - async move { - loop { - tokio::select! { - _ = rebalance_interval.tick() => {} - _ = rebalance_trigger_receiver.recv() => {} - } - if !shared_state.read().unwrap().one_snapshot_done { - continue; - } - if let Err(err) = rebalancer.zero_all_non_quote().await { - error!("failed to rebalance liqor: {:?}", err); - - // Workaround: We really need a sequence enforcer in the liquidator since we don't want to - // accidentally send a similar tx again when we incorrectly believe an earlier one got forked - // off. For now, hard sleep on error to avoid the most frequent error cases. - tokio::time::sleep(Duration::from_secs(10)).await; - } - } - } - }); - - let liquidation_job = tokio::spawn({ - let mut interval = - mango_v4_client::delay_interval(Duration::from_millis(cli.check_interval_ms)); - let mut metric_liquidation_check = metrics.register_latency("liquidation_check".into()); - let mut metric_liquidation_start_end = - metrics.register_latency("liquidation_start_end".into()); - - let mut liquidation_start_time = None; - let mut tcs_start_time = None; - - let shared_state = shared_state.clone(); - async move { - loop { - interval.tick().await; - - let account_addresses = { - let mut state = shared_state.write().unwrap(); - if !state.one_snapshot_done { - // discard first latency info as it will skew data too much - state.oldest_chain_event_reception_time = None; - continue; - } - if state.oldest_chain_event_reception_time.is_none() - && liquidation_start_time.is_none() - { - // no new update, skip computing - continue; - } - - state.mango_accounts.iter().cloned().collect_vec() - }; - - liquidation.errors.update(); - liquidation.oracle_errors.update(); - - if liquidation_start_time.is_none() { - liquidation_start_time = Some(Instant::now()); - } - - let liquidated = liquidation - .maybe_liquidate_one(account_addresses.iter()) - .await; + if cli.liquidation_enabled == BoolArg::True { + let liquidation_job = liquidation_state::spawn_liquidation_job( + &cli, + &shared_state, + tx_liq_trigger_sender.clone(), + liquidation.clone(), + &metrics, + ); + optional_jobs.push(liquidation_job); + } - if !liquidated { - // This will be incorrect if we liquidate the last checked account - // (We will wait for next full run, skewing latency metrics) - // Probability is very low, might not need to be fixed + if cli.take_tcs == BoolArg::True { + let tcs_job = tcs_state::spawn_tcs_job( + &cli, + &shared_state, + tx_tcs_trigger_sender.clone(), + tcs.clone(), + &metrics, + ); + optional_jobs.push(tcs_job); + } - let mut state = shared_state.write().unwrap(); - let reception_time = state.oldest_chain_event_reception_time.unwrap(); - let current_time = Instant::now(); + if cli.liquidation_enabled == BoolArg::True || cli.take_tcs == BoolArg::True { + let mut tx_sender_jobs = tx_sender::spawn_tx_senders_job( + cli.max_parallel_operations, + cli.liquidation_enabled == BoolArg::True, + tx_liq_trigger_receiver, + tx_tcs_trigger_receiver, + tx_tcs_trigger_sender, + rebalance_trigger_sender, + shared_state.clone(), + liquidation, + tcs, + ); + optional_jobs.append(&mut tx_sender_jobs); + } - state.oldest_chain_event_reception_time = None; + if cli.telemetry == BoolArg::True { + optional_jobs.push(spawn_telemetry_job(&cli, mango_client.clone())); + } - metric_liquidation_check.push(current_time - reception_time); - metric_liquidation_start_end - .push(current_time - liquidation_start_time.unwrap()); - liquidation_start_time = None; - } + let token_swap_info_job = + spawn_token_swap_refresh_job(&cli, shared_state, token_swap_info_updater); + let check_changes_for_abort_job = spawn_context_change_watchdog_job(mango_client.clone()); - let mut took_tcs = false; - if !liquidated && cli.take_tcs == BoolArg::True { - tcs_start_time = Some(tcs_start_time.unwrap_or(Instant::now())); - - took_tcs = liquidation - .maybe_take_token_conditional_swap(account_addresses.iter()) - .await - .unwrap_or_else(|err| { - error!("error during maybe_take_token_conditional_swap: {err}"); - false - }); - - if !took_tcs { - let current_time = Instant::now(); - let mut metric_tcs_start_end = - metrics.register_latency("tcs_start_end".into()); - metric_tcs_start_end.push(current_time - tcs_start_time.unwrap()); - tcs_start_time = None; - } - } + let mut jobs: futures::stream::FuturesUnordered<_> = + vec![data_job, token_swap_info_job, check_changes_for_abort_job] + .into_iter() + .chain(optional_jobs) + .chain(prio_jobs.into_iter()) + .collect(); + jobs.next().await; - if liquidated || took_tcs { - rebalance_trigger_sender.send_unless_full(()).unwrap(); - } - } - } - }); + error!("a critical job aborted, exiting"); + Ok(()) +} - let token_swap_info_job = tokio::spawn({ +fn spawn_token_swap_refresh_job( + cli: &Cli, + shared_state: Arc>, + token_swap_info_updater: Arc, +) -> JoinHandle<()> { + tokio::spawn({ let mut interval = mango_v4_client::delay_interval(Duration::from_secs( cli.token_swap_refresh_interval_secs, )); let mut startup_wait = mango_v4_client::delay_interval(Duration::from_secs(1)); - let shared_state = shared_state.clone(); async move { loop { if !shared_state.read().unwrap().one_snapshot_done { @@ -517,41 +501,56 @@ async fn main() -> anyhow::Result<()> { token_swap_info_updater.log_all(); } } - }); + }) +} - let check_changes_for_abort_job = - tokio::spawn(MangoClient::loop_check_for_context_changes_and_abort( - mango_client.clone(), - Duration::from_secs(300), - )); +fn spawn_context_change_watchdog_job(mango_client: Arc) -> JoinHandle<()> { + tokio::spawn(MangoClient::loop_check_for_context_changes_and_abort( + mango_client, + Duration::from_secs(300), + )) +} - if cli.telemetry == BoolArg::True { - tokio::spawn(telemetry::report_regularly( - mango_client, - cli.min_health_ratio, - )); - } +fn spawn_telemetry_job(cli: &Cli, mango_client: Arc) -> JoinHandle<()> { + tokio::spawn(telemetry::report_regularly( + mango_client, + cli.min_health_ratio, + )) +} - use cli_args::{BoolArg, Cli, CliDotenv}; - use futures::StreamExt; - let mut jobs: futures::stream::FuturesUnordered<_> = vec![ - data_job, - rebalance_job, - liquidation_job, - token_swap_info_job, - check_changes_for_abort_job, - ] - .into_iter() - .chain(prio_jobs.into_iter()) - .collect(); - jobs.next().await; +fn spawn_rebalance_job( + shared_state: &Arc>, + rebalance_trigger_receiver: async_channel::Receiver<()>, + rebalancer: Arc, +) -> JoinHandle<()> { + let mut rebalance_interval = tokio::time::interval(Duration::from_secs(30)); - error!("a critical job aborted, exiting"); - Ok(()) + tokio::spawn({ + let shared_state = shared_state.clone(); + async move { + loop { + tokio::select! { + _ = rebalance_interval.tick() => {} + _ = rebalance_trigger_receiver.recv() => {} + } + if !shared_state.read().unwrap().one_snapshot_done { + continue; + } + if let Err(err) = rebalancer.zero_all_non_quote().await { + error!("failed to rebalance liqor: {:?}", err); + + // Workaround: We really need a sequence enforcer in the liquidator since we don't want to + // accidentally send a similar tx again when we incorrectly believe an earlier one got forked + // off. For now, hard sleep on error to avoid the most frequent error cases. + tokio::time::sleep(Duration::from_secs(10)).await; + } + } + } + }) } #[derive(Default)] -struct SharedState { +pub struct SharedState { /// Addresses of the MangoAccounts belonging to the mango program. /// Needed to check health of them all when the cache updates. mango_accounts: HashSet, @@ -561,6 +560,18 @@ struct SharedState { /// Oldest chain event not processed yet oldest_chain_event_reception_time: Option, + + /// Liquidation candidates (locally identified as liquidatable) + liquidation_candidates_accounts: indexmap::set::IndexSet, + + /// Interesting TCS that should be triggered + interesting_tcs: indexmap::set::IndexSet<(Pubkey, u64, u64)>, + + /// Liquidation currently being processed by a worker + processing_liquidation: HashSet, + + // TCS currently being processed by a worker + processing_tcs: HashSet<(Pubkey, u64, u64)>, } #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] @@ -584,218 +595,6 @@ impl std::fmt::Display for LiqErrorType { } } -struct LiquidationState { - mango_client: Arc, - account_fetcher: Arc, - token_swap_info: Arc, - liquidation_config: liquidate::Config, - trigger_tcs_config: trigger_tcs::Config, - - errors: ErrorTracking, - oracle_errors: ErrorTracking, -} - -impl LiquidationState { - async fn maybe_liquidate_one<'b>( - &mut self, - accounts_iter: impl Iterator, - ) -> bool { - use rand::seq::SliceRandom; - - let mut accounts = accounts_iter.collect::>(); - { - let mut rng = rand::thread_rng(); - accounts.shuffle(&mut rng); - } - - for pubkey in accounts { - if self - .maybe_liquidate_and_log_error(pubkey) - .await - .unwrap_or(false) - { - return true; - } - } - - false - } - - async fn maybe_liquidate_and_log_error(&mut self, pubkey: &Pubkey) -> anyhow::Result { - let now = Instant::now(); - let error_tracking = &mut self.errors; - - // Skip a pubkey if there've been too many errors recently - if let Some(error_entry) = - error_tracking.had_too_many_errors(LiqErrorType::Liq, pubkey, now) - { - trace!( - %pubkey, - error_entry.count, - "skip checking account for liquidation, had errors recently", - ); - return Ok(false); - } - - let result = liquidate::maybe_liquidate_account( - &self.mango_client, - &self.account_fetcher, - pubkey, - &self.liquidation_config, - ) - .await; - - if let Err(err) = result.as_ref() { - if let Some((ti, ti_name)) = err.try_unwrap_oracle_error() { - if self - .oracle_errors - .had_too_many_errors(LiqErrorType::Liq, &ti, Instant::now()) - .is_none() - { - warn!( - "{:?} recording oracle error for token {} {}", - chrono::offset::Utc::now(), - ti_name, - ti - ); - } - - self.oracle_errors - .record(LiqErrorType::Liq, &ti, err.to_string()); - return result; - } - - // Keep track of pubkeys that had errors - error_tracking.record(LiqErrorType::Liq, pubkey, err.to_string()); - - // Not all errors need to be raised to the user's attention. - let mut is_error = true; - - // Simulation errors due to liqee precondition failures on the liquidation instructions - // will commonly happen if our liquidator is late or if there are chain forks. - match err.downcast_ref::() { - Some(MangoClientError::SendTransactionPreflightFailure { logs, .. }) => { - if logs.iter().any(|line| { - line.contains("HealthMustBeNegative") || line.contains("IsNotBankrupt") - }) { - is_error = false; - } - } - _ => {} - }; - if is_error { - error!("liquidating account {}: {:?}", pubkey, err); - } else { - trace!("liquidating account {}: {:?}", pubkey, err); - } - } else { - error_tracking.clear(LiqErrorType::Liq, pubkey); - } - - result - } - - async fn maybe_take_token_conditional_swap( - &mut self, - accounts_iter: impl Iterator, - ) -> anyhow::Result { - let accounts = accounts_iter.collect::>(); - - let now = Instant::now(); - let now_ts: u64 = std::time::SystemTime::now() - .duration_since(std::time::UNIX_EPOCH)? - .as_secs(); - - let tcs_context = trigger_tcs::Context { - mango_client: self.mango_client.clone(), - account_fetcher: self.account_fetcher.clone(), - token_swap_info: self.token_swap_info.clone(), - config: self.trigger_tcs_config.clone(), - jupiter_quote_cache: Arc::new(trigger_tcs::JupiterQuoteCache::default()), - now_ts, - }; - - // Find interesting (pubkey, tcsid, volume) - let mut interesting_tcs = Vec::with_capacity(accounts.len()); - for pubkey in accounts.iter() { - if let Some(error_entry) = - self.errors - .had_too_many_errors(LiqErrorType::TcsCollectionHard, pubkey, now) - { - trace!( - %pubkey, - error_entry.count, - "skip checking account for tcs, had errors recently", - ); - continue; - } - - match tcs_context.find_interesting_tcs_for_account(pubkey) { - Ok(v) => { - self.errors.clear(LiqErrorType::TcsCollectionHard, pubkey); - if v.is_empty() { - self.errors - .clear(LiqErrorType::TcsCollectionPartial, pubkey); - self.errors.clear(LiqErrorType::TcsExecution, pubkey); - } else if v.iter().all(|it| it.is_ok()) { - self.errors - .clear(LiqErrorType::TcsCollectionPartial, pubkey); - } else { - for it in v.iter() { - if let Err(e) = it { - self.errors.record( - LiqErrorType::TcsCollectionPartial, - pubkey, - e.to_string(), - ); - } - } - } - interesting_tcs.extend(v.iter().filter_map(|it| it.as_ref().ok())); - } - Err(e) => { - self.errors - .record(LiqErrorType::TcsCollectionHard, pubkey, e.to_string()); - } - } - } - if interesting_tcs.is_empty() { - return Ok(false); - } - - let (txsigs, mut changed_pubkeys) = tcs_context - .execute_tcs(&mut interesting_tcs, &mut self.errors) - .await?; - for pubkey in changed_pubkeys.iter() { - self.errors.clear(LiqErrorType::TcsExecution, pubkey); - } - if txsigs.is_empty() { - return Ok(false); - } - changed_pubkeys.push(self.mango_client.mango_account_address); - - // Force a refresh of affected accounts - let slot = self - .account_fetcher - .transaction_max_slot(&txsigs) - .await - .context("transaction_max_slot")?; - if let Err(e) = self - .account_fetcher - .refresh_accounts_via_rpc_until_slot( - &changed_pubkeys, - slot, - self.liquidation_config.refresh_timeout, - ) - .await - { - info!(slot, "could not refresh after tcs execution: {}", e); - } - - Ok(true) - } -} - fn start_chain_data_metrics(chain: Arc>, metrics: &metrics::Metrics) { let mut interval = mango_v4_client::delay_interval(Duration::from_secs(600)); diff --git a/bin/liquidator/src/tcs_state.rs b/bin/liquidator/src/tcs_state.rs new file mode 100644 index 0000000000..6434a212e4 --- /dev/null +++ b/bin/liquidator/src/tcs_state.rs @@ -0,0 +1,218 @@ +use crate::cli_args::Cli; +use crate::metrics::Metrics; +use crate::token_swap_info::TokenSwapInfoUpdater; +use crate::{trigger_tcs, LiqErrorType, SharedState}; +use anchor_lang::prelude::Pubkey; +use anyhow::Context; +use itertools::Itertools; +use mango_v4_client::error_tracking::ErrorTracking; +use mango_v4_client::{chain_data, MangoClient}; +use std::sync::{Arc, RwLock}; +use std::time::{Duration, Instant}; +use tokio::task::JoinHandle; +use tracing::{error, info, trace}; + +pub fn spawn_tcs_job( + cli: &Cli, + shared_state: &Arc>, + tx_trigger_sender: async_channel::Sender<()>, + mut tcs: Box, + metrics: &Metrics, +) -> JoinHandle<()> { + tokio::spawn({ + let mut interval = + mango_v4_client::delay_interval(Duration::from_millis(cli.tcs_check_interval_ms)); + let mut tcs_start_time = None; + let mut metric_tcs_start_end = metrics.register_latency("tcs_start_end".into()); + let shared_state = shared_state.clone(); + + async move { + loop { + interval.tick().await; + + let account_addresses = { + let state = shared_state.write().unwrap(); + if !state.one_snapshot_done { + continue; + } + state.mango_accounts.iter().cloned().collect_vec() + }; + + tcs.errors.write().unwrap().update(); + + tcs_start_time = Some(tcs_start_time.unwrap_or(Instant::now())); + + let found_candidates = tcs + .find_candidates(account_addresses.iter(), |candidate| { + if shared_state + .write() + .unwrap() + .interesting_tcs + .insert(candidate) + { + tx_trigger_sender.try_send(())?; + } + + Ok(()) + }) + .await + .unwrap_or_else(|err| { + error!("error during find_candidate: {err}"); + 0 + }); + + if found_candidates > 0 { + tracing::debug!("found {} candidates for triggering", found_candidates); + } + + let current_time = Instant::now(); + metric_tcs_start_end.push(current_time - tcs_start_time.unwrap()); + tcs_start_time = None; + } + } + }) +} + +#[derive(Clone)] +pub struct TcsState { + pub mango_client: Arc, + pub account_fetcher: Arc, + pub token_swap_info: Arc, + pub trigger_tcs_config: trigger_tcs::Config, + + pub errors: Arc>>, +} + +impl TcsState { + async fn find_candidates( + &mut self, + accounts_iter: impl Iterator, + action: impl Fn((Pubkey, u64, u64)) -> anyhow::Result<()>, + ) -> anyhow::Result { + let accounts = accounts_iter.collect::>(); + + let now = Instant::now(); + let now_ts: u64 = std::time::SystemTime::now() + .duration_since(std::time::UNIX_EPOCH)? + .as_secs(); + + let tcs_context = trigger_tcs::Context { + mango_client: self.mango_client.clone(), + account_fetcher: self.account_fetcher.clone(), + token_swap_info: self.token_swap_info.clone(), + config: self.trigger_tcs_config.clone(), + jupiter_quote_cache: Arc::new(trigger_tcs::JupiterQuoteCache::default()), + now_ts, + }; + + let mut found_counter = 0; + + // Find interesting (pubkey, tcsid, volume) + for pubkey in accounts.iter() { + if let Some(error_entry) = self.errors.read().unwrap().had_too_many_errors( + LiqErrorType::TcsCollectionHard, + pubkey, + now, + ) { + trace!( + %pubkey, + error_entry.count, + "skip checking account for tcs, had errors recently", + ); + continue; + } + + let candidates = tcs_context.find_interesting_tcs_for_account(pubkey); + let mut error_guard = self.errors.write().unwrap(); + + match candidates { + Ok(v) => { + error_guard.clear(LiqErrorType::TcsCollectionHard, pubkey); + if v.is_empty() { + error_guard.clear(LiqErrorType::TcsCollectionPartial, pubkey); + error_guard.clear(LiqErrorType::TcsExecution, pubkey); + } else if v.iter().all(|it| it.is_ok()) { + error_guard.clear(LiqErrorType::TcsCollectionPartial, pubkey); + } else { + for it in v.iter() { + if let Err(e) = it { + error_guard.record( + LiqErrorType::TcsCollectionPartial, + pubkey, + e.to_string(), + ); + } + } + } + for interesting_candidate_res in v.iter() { + if let Ok(interesting_candidate) = interesting_candidate_res { + action(*interesting_candidate).expect("failed to send TCS candidate"); + found_counter += 1; + } + } + } + Err(e) => { + error_guard.record(LiqErrorType::TcsCollectionHard, pubkey, e.to_string()); + } + } + } + + return Ok(found_counter); + } + + pub async fn maybe_take_token_conditional_swap( + &mut self, + mut interesting_tcs: Vec<(Pubkey, u64, u64)>, + ) -> anyhow::Result { + let now_ts: u64 = std::time::SystemTime::now() + .duration_since(std::time::UNIX_EPOCH)? + .as_secs(); + + let tcs_context = trigger_tcs::Context { + mango_client: self.mango_client.clone(), + account_fetcher: self.account_fetcher.clone(), + token_swap_info: self.token_swap_info.clone(), + config: self.trigger_tcs_config.clone(), + jupiter_quote_cache: Arc::new(trigger_tcs::JupiterQuoteCache::default()), + now_ts, + }; + + if interesting_tcs.is_empty() { + return Ok(false); + } + + let (txsigs, mut changed_pubkeys) = tcs_context + .execute_tcs(&mut interesting_tcs, self.errors.clone()) + .await?; + for pubkey in changed_pubkeys.iter() { + self.errors + .write() + .unwrap() + .clear(LiqErrorType::TcsExecution, pubkey); + } + if txsigs.is_empty() { + return Ok(false); + } + changed_pubkeys.push(self.mango_client.mango_account_address); + + // Force a refresh of affected accounts + let slot = self + .account_fetcher + .transaction_max_slot(&txsigs) + .await + .context("transaction_max_slot")?; + if let Err(e) = self + .account_fetcher + .refresh_accounts_via_rpc_until_slot( + &changed_pubkeys, + slot, + self.trigger_tcs_config.refresh_timeout, + ) + .await + { + info!(slot, "could not refresh after tcs execution: {}", e); + } + + Ok(true) + } +} diff --git a/bin/liquidator/src/trigger_tcs.rs b/bin/liquidator/src/trigger_tcs.rs index d421048460..b5346d9af7 100644 --- a/bin/liquidator/src/trigger_tcs.rs +++ b/bin/liquidator/src/trigger_tcs.rs @@ -1,4 +1,5 @@ use std::collections::HashSet; +use std::time::Duration; use std::{ collections::HashMap, pin::Pin, @@ -15,6 +16,7 @@ use mango_v4::{ use mango_v4_client::{chain_data, jupiter, MangoClient, TransactionBuilder}; use anyhow::Context as AnyhowContext; +use mango_v4::accounts_ix::HealthCheckKind::MaintRatio; use solana_sdk::signature::Signature; use tracing::*; use {fixed::types::I80F48, solana_sdk::pubkey::Pubkey}; @@ -55,6 +57,7 @@ pub enum Mode { #[derive(Clone)] pub struct Config { + pub refresh_timeout: Duration, pub min_health_ratio: f64, pub max_trigger_quote_amount: u64, pub compute_limit_for_trigger: u32, @@ -1000,7 +1003,7 @@ impl Context { pub async fn execute_tcs( &self, tcs: &mut [(Pubkey, u64, u64)], - error_tracking: &mut ErrorTracking, + error_tracking: Arc>>, ) -> anyhow::Result<(Vec, Vec)> { use rand::distributions::{Distribution, WeightedError, WeightedIndex}; @@ -1049,7 +1052,7 @@ impl Context { } Err(e) => { trace!(%result.pubkey, "preparation error {:?}", e); - error_tracking.record( + error_tracking.write().unwrap().record( LiqErrorType::TcsExecution, &result.pubkey, e.to_string(), @@ -1093,7 +1096,7 @@ impl Context { }; // start the new one - if let Some(job) = self.prepare_job(&pubkey, tcs_id, volume, error_tracking) { + if let Some(job) = self.prepare_job(&pubkey, tcs_id, volume, error_tracking.clone()) { pending_volume += volume; pending.push(job); } @@ -1130,7 +1133,11 @@ impl Context { Ok(v) => Some((pubkey, v)), Err(err) => { trace!(%pubkey, "execution error {:?}", err); - error_tracking.record(LiqErrorType::TcsExecution, &pubkey, err.to_string()); + error_tracking.write().unwrap().record( + LiqErrorType::TcsExecution, + &pubkey, + err.to_string(), + ); None } }); @@ -1145,12 +1152,14 @@ impl Context { pubkey: &Pubkey, tcs_id: u64, volume: u64, - error_tracking: &ErrorTracking, + error_tracking: Arc>>, ) -> Option + Send>>> { // Skip a pubkey if there've been too many errors recently - if let Some(error_entry) = - error_tracking.had_too_many_errors(LiqErrorType::TcsExecution, pubkey, Instant::now()) - { + if let Some(error_entry) = error_tracking.read().unwrap().had_too_many_errors( + LiqErrorType::TcsExecution, + pubkey, + Instant::now(), + ) { trace!( "skip checking for tcs on account {pubkey}, had {} errors recently", error_entry.count @@ -1225,6 +1234,27 @@ impl Context { .instructions .append(&mut trigger_ixs.instructions); + let (_, tcs) = liqee.token_conditional_swap_by_id(pending.tcs_id)?; + let affected_tokens = allowed_tokens + .iter() + .chain(&[tcs.buy_token_index, tcs.sell_token_index]) + .copied() + .collect_vec(); + let liqor = &self.mango_client.mango_account().await?; + tx_builder.instructions.append( + &mut self + .mango_client + .health_check_instruction( + liqor, + self.config.min_health_ratio, + affected_tokens, + vec![], + MaintRatio, + ) + .await? + .instructions, + ); + let txsig = tx_builder .send_and_confirm(&self.mango_client.client) .await?; diff --git a/bin/liquidator/src/tx_sender.rs b/bin/liquidator/src/tx_sender.rs new file mode 100644 index 0000000000..05027f6784 --- /dev/null +++ b/bin/liquidator/src/tx_sender.rs @@ -0,0 +1,241 @@ +use crate::liquidation_state::LiquidationState; +use crate::tcs_state::TcsState; +use crate::SharedState; +use anchor_lang::prelude::Pubkey; +use async_channel::{Receiver, Sender}; +use mango_v4_client::AsyncChannelSendUnlessFull; +use std::sync::{Arc, RwLock}; +use tokio::task::JoinHandle; +use tracing::{debug, error, trace}; + +enum WorkerTask { + Liquidation(Pubkey), + Tcs(Vec<(Pubkey, u64, u64)>), + + // Given two workers: #0=LIQ_only, #1=LIQ+TCS + // If they are both busy, and the scanning jobs find a new TCS and a new LIQ candidates and enqueue them in the channel + // Then if #1 wake up first, it will consume the LIQ candidate (LIQ always have priority) + // Then when #0 wake up, it will not find any LIQ candidate, and would not do anything (it won't take a TCS) + // But if we do nothing, #1 would never wake up again (no new task in channel) + // So we use this `GiveUpTcs` that will be handled by #0 by queuing a new signal the channel and will wake up #1 again + GiveUpTcs, + + // Can happen if TCS is batched (2 TCS enqueued, 2 workers waken, but first one take both tasks) + NoWork, +} + +pub fn spawn_tx_senders_job( + max_parallel_operations: u64, + enable_liquidation: bool, + tx_liq_trigger_receiver: Receiver<()>, + tx_tcs_trigger_receiver: Receiver<()>, + tx_tcs_trigger_sender: Sender<()>, + rebalance_trigger_sender: Sender<()>, + shared_state: Arc>, + liquidation: Box, + tcs: Box, +) -> Vec> { + if max_parallel_operations < 1 { + error!("max_parallel_operations must be >= 1"); + std::process::exit(1) + } + + let reserve_one_worker_for_liquidation = max_parallel_operations > 1 && enable_liquidation; + + let workers: Vec> = (0..max_parallel_operations) + .map(|worker_id| { + tokio::spawn({ + let shared_state = shared_state.clone(); + let receiver_liq = tx_liq_trigger_receiver.clone(); + let receiver_tcs = tx_tcs_trigger_receiver.clone(); + let sender_tcs = tx_tcs_trigger_sender.clone(); + let rebalance_trigger_sender = rebalance_trigger_sender.clone(); + let liquidation = liquidation.clone(); + let tcs = tcs.clone(); + async move { + worker_loop( + shared_state, + receiver_liq, + receiver_tcs, + sender_tcs, + rebalance_trigger_sender, + liquidation, + tcs, + worker_id, + reserve_one_worker_for_liquidation && worker_id == 0, + ) + .await; + } + }) + }) + .collect(); + + workers +} + +async fn worker_loop( + shared_state: Arc>, + liq_receiver: Receiver<()>, + tcs_receiver: Receiver<()>, + tcs_sender: Sender<()>, + rebalance_trigger_sender: Sender<()>, + mut liquidation: Box, + mut tcs: Box, + id: u64, + only_liquidation: bool, +) { + loop { + debug!( + "Worker #{} waiting for task (only_liq={})", + id, only_liquidation + ); + + let _ = if only_liquidation { + liq_receiver.recv().await.expect("receive failed") + } else { + tokio::select!( + _ = liq_receiver.recv() => {}, + _ = tcs_receiver.recv() => {}, + ) + }; + + // a task must be available to process + // find it in global shared state, and mark it as processing + let task = worker_pull_task(&shared_state, id, only_liquidation) + .expect("Worker woke up but has nothing to do"); + + // execute the task + let need_rebalancing = match &task { + WorkerTask::Liquidation(l) => worker_execute_liquidation(&mut liquidation, *l).await, + WorkerTask::Tcs(t) => worker_execute_tcs(&mut tcs, t.clone()).await, + WorkerTask::GiveUpTcs => worker_give_up_tcs(&tcs_sender).await, + WorkerTask::NoWork => false, + }; + + if need_rebalancing { + rebalance_trigger_sender.send_unless_full(()).unwrap(); + } + + // remove from shared state + worker_finalize_task(&shared_state, id, task, need_rebalancing); + } +} + +async fn worker_give_up_tcs(sender: &Sender<()>) -> bool { + sender.send(()).await.expect("sending task failed"); + false +} + +async fn worker_execute_tcs(tcs: &mut Box, candidates: Vec<(Pubkey, u64, u64)>) -> bool { + tcs.maybe_take_token_conditional_swap(candidates) + .await + .unwrap_or(false) +} + +async fn worker_execute_liquidation( + liquidation: &mut Box, + candidate: Pubkey, +) -> bool { + liquidation + .maybe_liquidate_and_log_error(&candidate) + .await + .unwrap_or(false) +} + +fn worker_pull_task( + shared_state: &Arc>, + id: u64, + only_liquidation: bool, +) -> anyhow::Result { + let mut writer = shared_state.write().unwrap(); + + // print out list of all task for debugging + for x in &writer.liquidation_candidates_accounts { + if !writer.processing_liquidation.contains(x) { + trace!(" - LIQ {:?}", x); + } + } + + // next liq task to execute + if let Some(liq_candidate) = writer + .liquidation_candidates_accounts + .iter() + .find(|x| !writer.processing_liquidation.contains(x)) + .copied() + { + debug!("worker #{} got a liq candidate -> {}", id, liq_candidate); + writer.processing_liquidation.insert(liq_candidate); + return Ok(WorkerTask::Liquidation(liq_candidate)); + } + + let tcs_todo = writer.interesting_tcs.len() - writer.processing_tcs.len(); + + if only_liquidation { + debug!("worker #{} giving up TCS (todo count: {})", id, tcs_todo); + return Ok(WorkerTask::GiveUpTcs); + } + + for x in &writer.interesting_tcs { + if !writer.processing_tcs.contains(x) { + trace!(" - TCS {:?}", x); + } + } + + // next tcs task to execute + let max_tcs_batch_size = 20; + let tcs_candidates: Vec<(Pubkey, u64, u64)> = writer + .interesting_tcs + .iter() + .filter(|x| !writer.processing_tcs.contains(x)) + .take(max_tcs_batch_size) + .copied() + .collect(); + + for tcs_candidate in &tcs_candidates { + debug!( + "worker #{} got a tcs candidate -> {:?} (out of {})", + id, + tcs_candidate, + writer.interesting_tcs.len() + ); + writer.processing_tcs.insert(tcs_candidate.clone()); + } + + if tcs_candidates.len() > 0 { + Ok(WorkerTask::Tcs(tcs_candidates)) + } else { + debug!("worker #{} got nothing", id); + Ok(WorkerTask::NoWork) + } +} + +fn worker_finalize_task( + shared_state: &Arc>, + id: u64, + task: WorkerTask, + done: bool, +) { + let mut writer = shared_state.write().unwrap(); + match task { + WorkerTask::Liquidation(liq) => { + debug!( + "worker #{} - checked liq {:?} with success ? {}", + id, liq, done + ); + writer.liquidation_candidates_accounts.shift_remove(&liq); + writer.processing_liquidation.remove(&liq); + } + WorkerTask::Tcs(tcs_list) => { + for tcs in tcs_list { + debug!( + "worker #{} - checked tcs {:?} with success ? {}", + id, tcs, done + ); + writer.interesting_tcs.shift_remove(&tcs); + writer.processing_tcs.remove(&tcs); + } + } + WorkerTask::GiveUpTcs => {} + WorkerTask::NoWork => {} + } +} diff --git a/lib/client/src/client.rs b/lib/client/src/client.rs index b6e3243a8d..65670a1c5d 100644 --- a/lib/client/src/client.rs +++ b/lib/client/src/client.rs @@ -17,7 +17,9 @@ use futures::{stream, StreamExt, TryFutureExt, TryStreamExt}; use itertools::Itertools; use tracing::*; -use mango_v4::accounts_ix::{Serum3OrderType, Serum3SelfTradeBehavior, Serum3Side}; +use mango_v4::accounts_ix::{ + HealthCheckKind, Serum3OrderType, Serum3SelfTradeBehavior, Serum3Side, +}; use mango_v4::accounts_zerocopy::KeyedAccountSharedData; use mango_v4::health::HealthCache; use mango_v4::state::{ @@ -80,6 +82,12 @@ pub struct ClientConfig { #[builder(default = "Duration::from_secs(60)")] pub timeout: Duration, + /// Jupiter Timeout, defaults to 30s + /// + /// This timeout applies to jupiter requests. + #[builder(default = "Duration::from_secs(30)")] + pub jupiter_timeout: Duration, + #[builder(default)] pub transaction_builder_config: TransactionBuilderConfig, @@ -560,6 +568,48 @@ impl MangoClient { self.send_and_confirm_owner_tx(ixs.to_instructions()).await } + /// Assert that health of account is > N + pub async fn health_check_instruction( + &self, + account: &MangoAccountValue, + min_health_value: f64, + affected_tokens: Vec, + affected_perp_markets: Vec, + check_kind: HealthCheckKind, + ) -> anyhow::Result { + let (health_check_metas, health_cu) = self + .derive_health_check_remaining_account_metas( + account, + affected_tokens, + vec![], + affected_perp_markets, + ) + .await?; + + let ixs = PreparedInstructions::from_vec( + vec![Instruction { + program_id: mango_v4::id(), + accounts: { + let mut ams = anchor_lang::ToAccountMetas::to_account_metas( + &mango_v4::accounts::HealthCheck { + group: self.group(), + account: self.mango_account_address, + }, + None, + ); + ams.extend(health_check_metas.into_iter()); + ams + }, + data: anchor_lang::InstructionData::data(&mango_v4::instruction::HealthCheck { + min_health_value, + check_kind, + }), + }], + self.instruction_cu(health_cu), + ); + Ok(ixs) + } + /// Creates token withdraw instructions for the MangoClient's account/owner. /// The `account` state is passed in separately so changes during the tx can be /// accounted for when deriving health accounts. @@ -2094,7 +2144,10 @@ impl MangoClient { // jupiter pub fn jupiter_v6(&self) -> jupiter::v6::JupiterV6 { - jupiter::v6::JupiterV6 { mango_client: self } + jupiter::v6::JupiterV6 { + mango_client: self, + timeout_duration: self.client.config.jupiter_timeout, + } } pub fn jupiter(&self) -> jupiter::Jupiter { diff --git a/lib/client/src/jupiter/v6.rs b/lib/client/src/jupiter/v6.rs index 6c73fc7417..ff92af5a09 100644 --- a/lib/client/src/jupiter/v6.rs +++ b/lib/client/src/jupiter/v6.rs @@ -1,4 +1,5 @@ use std::str::FromStr; +use std::time::Duration; use anchor_lang::prelude::Pubkey; use serde::{Deserialize, Serialize}; @@ -139,6 +140,7 @@ impl TryFrom<&AccountMeta> for solana_sdk::instruction::AccountMeta { pub struct JupiterV6<'a> { pub mango_client: &'a MangoClient, + pub timeout_duration: Duration, } impl<'a> JupiterV6<'a> { @@ -204,6 +206,7 @@ impl<'a> JupiterV6<'a> { .http_client .get(format!("{}/quote", config.jupiter_v6_url)) .query(&query_args) + .timeout(self.timeout_duration) .send() .await .context("quote request to jupiter")?; @@ -290,6 +293,7 @@ impl<'a> JupiterV6<'a> { destination_token_account: None, // default to user ata quote_response: quote.clone(), }) + .timeout(self.timeout_duration) .send() .await .context("swap transaction request to jupiter")?; diff --git a/lib/client/src/util.rs b/lib/client/src/util.rs index f54d6cac9f..cd562e33c8 100644 --- a/lib/client/src/util.rs +++ b/lib/client/src/util.rs @@ -20,19 +20,29 @@ impl AnyhowWrap for Result { /// Push to an async_channel::Sender and ignore if the channel is full pub trait AsyncChannelSendUnlessFull { /// Send a message if the channel isn't full - fn send_unless_full(&self, msg: T) -> Result<(), async_channel::SendError>; + fn send_unless_full(&self, msg: T) -> anyhow::Result<()>; } impl AsyncChannelSendUnlessFull for async_channel::Sender { - fn send_unless_full(&self, msg: T) -> Result<(), async_channel::SendError> { + fn send_unless_full(&self, msg: T) -> anyhow::Result<()> { use async_channel::*; match self.try_send(msg) { Ok(()) => Ok(()), - Err(TrySendError::Closed(msg)) => Err(async_channel::SendError(msg)), + Err(TrySendError::Closed(_)) => Err(anyhow::format_err!("channel is closed")), Err(TrySendError::Full(_)) => Ok(()), } } } +impl AsyncChannelSendUnlessFull for tokio::sync::mpsc::Sender { + fn send_unless_full(&self, msg: T) -> anyhow::Result<()> { + use tokio::sync::mpsc::*; + match self.try_send(msg) { + Ok(()) => Ok(()), + Err(error::TrySendError::Closed(_)) => Err(anyhow::format_err!("channel is closed")), + Err(error::TrySendError::Full(_)) => Ok(()), + } + } +} /// Like tokio::time::interval(), but with Delay as default MissedTickBehavior /// diff --git a/programs/mango-v4/tests/cases/test_health_check.rs b/programs/mango-v4/tests/cases/test_health_check.rs index b4624218b6..bb0c792a3a 100644 --- a/programs/mango-v4/tests/cases/test_health_check.rs +++ b/programs/mango-v4/tests/cases/test_health_check.rs @@ -7,8 +7,6 @@ use mango_v4::accounts_ix::{HealthCheck, HealthCheckKind}; use mango_v4::error::MangoError; use solana_sdk::transport::TransportError; -// TODO FAS - #[tokio::test] async fn test_health_check() -> Result<(), TransportError> { let context = TestContext::new().await; diff --git a/ts/client/scripts/liqtest/README.md b/ts/client/scripts/liqtest/README.md index 847fcfdaff..f1889404d3 100644 --- a/ts/client/scripts/liqtest/README.md +++ b/ts/client/scripts/liqtest/README.md @@ -51,6 +51,7 @@ This creates a bunch of to-be-liquidated accounts as well as a LIQOR account. Run the liquidator on the group with the liqor account. Since devnet doesn't have any jupiter, run with + ``` JUPITER_VERSION=mock TCS_MODE=borrow-buy From ceeac9d3a495302b625d9a59f7d62e2cc35a306e Mon Sep 17 00:00:00 2001 From: Serge Farny Date: Wed, 27 Mar 2024 14:07:13 +0100 Subject: [PATCH 02/28] service-mango-health: use jemalloc (#922) --- bin/service-mango-health/src/main.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/service-mango-health/src/main.rs b/bin/service-mango-health/src/main.rs index 9b3b5174a8..b536a06577 100644 --- a/bin/service-mango-health/src/main.rs +++ b/bin/service-mango-health/src/main.rs @@ -16,6 +16,11 @@ use crate::processors::health::HealthProcessor; use crate::processors::logger::LoggerProcessor; use crate::processors::persister::PersisterProcessor; +// jemalloc seems to be better at keeping the memory footprint reasonable over +// longer periods of time +#[global_allocator] +static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc; + #[tokio::main] async fn main() -> anyhow::Result<()> { let args: Vec = std::env::args().collect(); From e3a7ed9e32e0ddb740ce989ef3ba0ae4ab745748 Mon Sep 17 00:00:00 2001 From: Serge Farny Date: Wed, 27 Mar 2024 14:07:32 +0100 Subject: [PATCH 03/28] liquidator: randomly select token/perps for rebalancing to avoid failing at every try if one token is having an issue (#921) --- bin/liquidator/src/rebalance.rs | 30 ++++++++++++++++++++++++++---- 1 file changed, 26 insertions(+), 4 deletions(-) diff --git a/bin/liquidator/src/rebalance.rs b/bin/liquidator/src/rebalance.rs index fbcd28f29b..876587f86b 100644 --- a/bin/liquidator/src/rebalance.rs +++ b/bin/liquidator/src/rebalance.rs @@ -69,9 +69,19 @@ impl Rebalancer { "checking for rebalance" ); - self.rebalance_perps().await?; - self.rebalance_tokens().await?; + let rebalance_perps_res = self.rebalance_perps().await; + let rebalance_tokens_res = self.rebalance_tokens().await; + if rebalance_perps_res.is_err() && rebalance_tokens_res.is_err() { + anyhow::bail!( + "Failed to rebalance perps ({}) and tokens ({})", + rebalance_perps_res.unwrap_err(), + rebalance_tokens_res.unwrap_err() + ) + } + + rebalance_perps_res.expect("rebalancing perps failed"); + rebalance_tokens_res.expect("rebalancing tokens failed"); Ok(()) } @@ -278,7 +288,7 @@ impl Rebalancer { // TODO: configurable? let quote_token = self.mango_client.context.token(QUOTE_TOKEN_INDEX); - for token_position in account.active_token_positions() { + for token_position in Self::shuffle(account.active_token_positions()) { let token_index = token_position.token_index; let token = self.mango_client.context.token(token_index); if token_index == quote_token.token_index @@ -556,7 +566,7 @@ impl Rebalancer { async fn rebalance_perps(&self) -> anyhow::Result<()> { let account = self.mango_account()?; - for perp_position in account.active_perp_positions() { + for perp_position in Self::shuffle(account.active_perp_positions()) { let perp = self.mango_client.context.perp(perp_position.market_index); if !self.rebalance_perp(&account, perp, perp_position).await? { return Ok(()); @@ -565,4 +575,16 @@ impl Rebalancer { Ok(()) } + + fn shuffle(iterator: impl Iterator) -> Vec { + use rand::seq::SliceRandom; + + let mut result = iterator.collect::>(); + { + let mut rng = rand::thread_rng(); + result.shuffle(&mut rng); + } + + result + } } From 0b7e62e671db8aa616c162f419add7934c4532c4 Mon Sep 17 00:00:00 2001 From: Serge Farny Date: Mon, 1 Apr 2024 10:30:49 +0200 Subject: [PATCH 04/28] liquidator: do not panic if token or perp rebalancing fails (#927) --- bin/liquidator/src/rebalance.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/liquidator/src/rebalance.rs b/bin/liquidator/src/rebalance.rs index 876587f86b..7977395031 100644 --- a/bin/liquidator/src/rebalance.rs +++ b/bin/liquidator/src/rebalance.rs @@ -80,8 +80,8 @@ impl Rebalancer { ) } - rebalance_perps_res.expect("rebalancing perps failed"); - rebalance_tokens_res.expect("rebalancing tokens failed"); + rebalance_perps_res?; + rebalance_tokens_res?; Ok(()) } From 2520c7d095359931b1377320d47cf8669d249448 Mon Sep 17 00:00:00 2001 From: Serge Farny Date: Mon, 1 Apr 2024 14:45:01 +0200 Subject: [PATCH 05/28] liquidator: forcefully exit process if snapshot job die (#924) * liquidator: forcefully exit process if snapshot job die * client: return snapshot_job join handle so it can be watched for early unexpected exit --- bin/cli/src/save_snapshot.rs | 7 ++++++- bin/liquidator/src/main.rs | 18 +++++++++++------- bin/service-mango-health/src/main.rs | 3 ++- .../src/processors/data.rs | 14 ++++++++------ bin/settler/src/main.rs | 3 ++- lib/client/src/snapshot_source.rs | 11 +++++++++-- 6 files changed, 38 insertions(+), 18 deletions(-) diff --git a/bin/cli/src/save_snapshot.rs b/bin/cli/src/save_snapshot.rs index 575b900bbc..edd6e63e59 100644 --- a/bin/cli/src/save_snapshot.rs +++ b/bin/cli/src/save_snapshot.rs @@ -67,7 +67,7 @@ pub async fn save_snapshot( .await?; // Getting solana account snapshots via jsonrpc - snapshot_source::start( + let snapshot_job = snapshot_source::start( snapshot_source::Config { rpc_http_url: rpc_url.clone(), mango_group, @@ -79,6 +79,11 @@ pub async fn save_snapshot( extra_accounts, account_update_sender, ); + tokio::spawn(async move { + let res = snapshot_job.await; + tracing::error!("Snapshot job exited, terminating process.. ({:?})", res); + std::process::exit(-1); + }); let mut chain_data = chain_data::ChainData::new(); diff --git a/bin/liquidator/src/main.rs b/bin/liquidator/src/main.rs index 1c62c9ad40..933d045fe7 100644 --- a/bin/liquidator/src/main.rs +++ b/bin/liquidator/src/main.rs @@ -169,7 +169,7 @@ async fn main() -> anyhow::Result<()> { // Getting solana account snapshots via jsonrpc // FUTURE: of what to fetch a snapshot - should probably take as an input - snapshot_source::start( + let snapshot_job = snapshot_source::start( snapshot_source::Config { rpc_http_url: rpc_url.clone(), mango_group, @@ -456,12 +456,16 @@ async fn main() -> anyhow::Result<()> { spawn_token_swap_refresh_job(&cli, shared_state, token_swap_info_updater); let check_changes_for_abort_job = spawn_context_change_watchdog_job(mango_client.clone()); - let mut jobs: futures::stream::FuturesUnordered<_> = - vec![data_job, token_swap_info_job, check_changes_for_abort_job] - .into_iter() - .chain(optional_jobs) - .chain(prio_jobs.into_iter()) - .collect(); + let mut jobs: futures::stream::FuturesUnordered<_> = vec![ + snapshot_job, + data_job, + token_swap_info_job, + check_changes_for_abort_job, + ] + .into_iter() + .chain(optional_jobs) + .chain(prio_jobs.into_iter()) + .collect(); jobs.next().await; error!("a critical job aborted, exiting"); diff --git a/bin/service-mango-health/src/main.rs b/bin/service-mango-health/src/main.rs index b536a06577..1baa76ed17 100644 --- a/bin/service-mango-health/src/main.rs +++ b/bin/service-mango-health/src/main.rs @@ -69,7 +69,8 @@ async fn main() -> anyhow::Result<()> { ) .await?; - let mut jobs = vec![exit_processor.job, data_processor.job, health_processor.job]; + let mut jobs = vec![exit_processor.job, health_processor.job]; + jobs.extend(data_processor.jobs); if let Some(logger) = logger { jobs.push(logger.job) diff --git a/bin/service-mango-health/src/processors/data.rs b/bin/service-mango-health/src/processors/data.rs index 3a25923b90..feb24357f1 100644 --- a/bin/service-mango-health/src/processors/data.rs +++ b/bin/service-mango-health/src/processors/data.rs @@ -22,7 +22,7 @@ use tracing::warn; pub struct DataProcessor { pub channel: tokio::sync::broadcast::Sender, - pub job: JoinHandle<()>, + pub jobs: Vec>, pub chain_data: Arc>, } @@ -52,7 +52,7 @@ impl DataProcessor { ) -> anyhow::Result { let mut retry_counter = RetryCounter::new(2); let mango_group = Pubkey::from_str(&configuration.mango_group)?; - let mango_stream = + let (mango_stream, snapshot_job) = fail_or_retry!(retry_counter, Self::init_mango_source(configuration).await)?; let (sender, _) = tokio::sync::broadcast::channel(8192); let sender_clone = sender.clone(); @@ -98,7 +98,7 @@ impl DataProcessor { let result = DataProcessor { channel: sender, - job, + jobs: vec![job, snapshot_job], chain_data, }; @@ -147,7 +147,9 @@ impl DataProcessor { return Some(Other); } - async fn init_mango_source(configuration: &Configuration) -> anyhow::Result> { + async fn init_mango_source( + configuration: &Configuration, + ) -> anyhow::Result<(Receiver, JoinHandle<()>)> { // // Client setup // @@ -192,7 +194,7 @@ impl DataProcessor { // Getting solana account snapshots via jsonrpc // FUTURE: of what to fetch a snapshot - should probably take as an input - snapshot_source::start( + let snapshot_job = snapshot_source::start( snapshot_source::Config { rpc_http_url: configuration.rpc_http_url.clone(), mango_group, @@ -205,6 +207,6 @@ impl DataProcessor { account_update_sender, ); - Ok(account_update_receiver) + Ok((account_update_receiver, snapshot_job)) } } diff --git a/bin/settler/src/main.rs b/bin/settler/src/main.rs index 57f408a219..d1be966c40 100644 --- a/bin/settler/src/main.rs +++ b/bin/settler/src/main.rs @@ -178,7 +178,7 @@ async fn main() -> anyhow::Result<()> { // Getting solana account snapshots via jsonrpc // FUTURE: of what to fetch a snapshot - should probably take as an input - snapshot_source::start( + let snapshot_job = snapshot_source::start( snapshot_source::Config { rpc_http_url: rpc_url.clone(), mango_group, @@ -353,6 +353,7 @@ async fn main() -> anyhow::Result<()> { use futures::StreamExt; let mut jobs: futures::stream::FuturesUnordered<_> = vec![ + snapshot_job, data_job, settle_job, tcs_start_job, diff --git a/lib/client/src/snapshot_source.rs b/lib/client/src/snapshot_source.rs index 44da48303d..d35ca54a95 100644 --- a/lib/client/src/snapshot_source.rs +++ b/lib/client/src/snapshot_source.rs @@ -16,6 +16,7 @@ use solana_rpc::rpc::rpc_accounts::AccountsDataClient; use solana_rpc::rpc::rpc_accounts_scan::AccountsScanClient; use std::str::FromStr; use std::time::{Duration, Instant}; +use tokio::task::JoinHandle; use tokio::time; use tracing::*; @@ -223,11 +224,15 @@ async fn feed_snapshots( Ok(()) } -pub fn start(config: Config, mango_oracles: Vec, sender: async_channel::Sender) { +pub fn start( + config: Config, + mango_oracles: Vec, + sender: async_channel::Sender, +) -> JoinHandle<()> { let mut poll_wait_first_snapshot = crate::delay_interval(time::Duration::from_secs(2)); let mut interval_between_snapshots = crate::delay_interval(config.snapshot_interval); - tokio::spawn(async move { + let snapshot_job = tokio::spawn(async move { let rpc_client = http::connect_with_options::(&config.rpc_http_url, true) .await .expect("always Ok"); @@ -260,4 +265,6 @@ pub fn start(config: Config, mango_oracles: Vec, sender: async_channel:: }; } }); + + snapshot_job } From e38798ed0c64d6c1141eee606fc42b50f1d4d91c Mon Sep 17 00:00:00 2001 From: Serge Farny Date: Wed, 3 Apr 2024 11:55:04 +0200 Subject: [PATCH 06/28] liquidator: add a sequence check in rebalancing (#926) liquidator: add a sequence check in rebalancing --- bin/liquidator/src/main.rs | 1 + bin/liquidator/src/rebalance.rs | 45 ++++++++++++++++++++++++++++----- lib/client/src/client.rs | 33 ++++++++++++++++++++++++ lib/client/src/context.rs | 3 +++ 4 files changed, 76 insertions(+), 6 deletions(-) diff --git a/bin/liquidator/src/main.rs b/bin/liquidator/src/main.rs index 933d045fe7..6efe3c79c3 100644 --- a/bin/liquidator/src/main.rs +++ b/bin/liquidator/src/main.rs @@ -543,6 +543,7 @@ fn spawn_rebalance_job( if let Err(err) = rebalancer.zero_all_non_quote().await { error!("failed to rebalance liqor: {:?}", err); + // TODO FAS Are there other scenario where this sleep is useful ? // Workaround: We really need a sequence enforcer in the liquidator since we don't want to // accidentally send a similar tx again when we incorrectly believe an earlier one got forked // off. For now, hard sleep on error to avoid the most frequent error cases. diff --git a/bin/liquidator/src/rebalance.rs b/bin/liquidator/src/rebalance.rs index 7977395031..4d81c97fa0 100644 --- a/bin/liquidator/src/rebalance.rs +++ b/bin/liquidator/src/rebalance.rs @@ -133,6 +133,7 @@ impl Rebalancer { /// Use 1. if it fits into a tx. Otherwise use the better of 2./3. async fn token_swap_buy( &self, + account: &MangoAccountValue, output_mint: Pubkey, in_amount_quote: u64, ) -> anyhow::Result<(Signature, jupiter::Quote)> { @@ -174,13 +175,20 @@ impl Rebalancer { let full_route = results.remove(0)?; let alternatives = results.into_iter().filter_map(|v| v.ok()).collect_vec(); - let (tx_builder, route) = self + let (mut tx_builder, route) = self .determine_best_jupiter_tx( // If the best_route couldn't be fetched, something is wrong &full_route, &alternatives, ) .await?; + + let seq_check_ix = self + .mango_client + .sequence_check_instruction(&self.mango_account_address, account) + .await?; + tx_builder.append(seq_check_ix); + let sig = tx_builder .send_and_confirm(&self.mango_client.client) .await?; @@ -194,6 +202,7 @@ impl Rebalancer { /// Use 1. if it fits into a tx. Otherwise use the better of 2./3. async fn token_swap_sell( &self, + account: &MangoAccountValue, input_mint: Pubkey, in_amount: u64, ) -> anyhow::Result<(Signature, jupiter::Quote)> { @@ -218,7 +227,7 @@ impl Rebalancer { let full_route = results.remove(0)?; let alternatives = results.into_iter().filter_map(|v| v.ok()).collect_vec(); - let (tx_builder, route) = self + let (mut tx_builder, route) = self .determine_best_jupiter_tx( // If the best_route couldn't be fetched, something is wrong &full_route, @@ -226,6 +235,12 @@ impl Rebalancer { ) .await?; + let seq_check_ix = self + .mango_client + .sequence_check_instruction(&self.mango_account_address, account) + .await?; + tx_builder.append(seq_check_ix); + let sig = tx_builder .send_and_confirm(&self.mango_client.client) .await?; @@ -331,7 +346,7 @@ impl Rebalancer { let input_amount = buy_amount * token_price * I80F48::from_num(self.config.borrow_settle_excess); let (txsig, route) = self - .token_swap_buy(token_mint, input_amount.to_num()) + .token_swap_buy(&account, token_mint, input_amount.to_num()) .await?; let in_token = self .mango_client @@ -355,7 +370,7 @@ impl Rebalancer { if amount > dust_threshold { // Sell let (txsig, route) = self - .token_swap_sell(token_mint, amount.to_num::()) + .token_swap_sell(&account, token_mint, amount.to_num::()) .await?; let out_token = self .mango_client @@ -477,9 +492,10 @@ impl Rebalancer { return Ok(true); } - let txsig = self + let mut ixs = self .mango_client - .perp_place_order( + .perp_place_order_instruction( + account, perp_position.market_index, side, price_lots, @@ -493,6 +509,23 @@ impl Rebalancer { mango_v4::state::SelfTradeBehavior::DecrementTake, ) .await?; + + let seq_check_ix = self + .mango_client + .sequence_check_instruction(&self.mango_account_address, account) + .await?; + ixs.append(seq_check_ix); + + let tx_builder = TransactionBuilder { + instructions: ixs.to_instructions(), + signers: vec![self.mango_client.owner.clone()], + ..self.mango_client.transaction_builder().await? + }; + + let txsig = tx_builder + .send_and_confirm(&self.mango_client.client) + .await?; + info!( %txsig, %order_price, diff --git a/lib/client/src/client.rs b/lib/client/src/client.rs index 65670a1c5d..92ca8c9a88 100644 --- a/lib/client/src/client.rs +++ b/lib/client/src/client.rs @@ -610,6 +610,34 @@ impl MangoClient { Ok(ixs) } + /// Avoid executing same instruction multiple time + pub async fn sequence_check_instruction( + &self, + mango_account_address: &Pubkey, + mango_account: &MangoAccountValue, + ) -> anyhow::Result { + let ixs = PreparedInstructions::from_vec( + vec![Instruction { + program_id: mango_v4::id(), + accounts: { + anchor_lang::ToAccountMetas::to_account_metas( + &mango_v4::accounts::SequenceCheck { + group: self.group(), + account: *mango_account_address, + owner: mango_account.fixed.owner, + }, + None, + ) + }, + data: anchor_lang::InstructionData::data(&mango_v4::instruction::SequenceCheck { + expected_sequence_number: mango_account.fixed.sequence_number, + }), + }], + self.context.compute_estimates.cu_for_sequence_check, + ); + Ok(ixs) + } + /// Creates token withdraw instructions for the MangoClient's account/owner. /// The `account` state is passed in separately so changes during the tx can be /// accounted for when deriving health accounts. @@ -2476,6 +2504,11 @@ impl TransactionBuilder { length: bytes.len(), }) } + + pub fn append(&mut self, prepared_instructions: PreparedInstructions) { + self.instructions + .extend(prepared_instructions.to_instructions()); + } } /// Do some manual unpacking on some ClientErrors diff --git a/lib/client/src/context.rs b/lib/client/src/context.rs index 185555a043..8d7912d6ff 100644 --- a/lib/client/src/context.rs +++ b/lib/client/src/context.rs @@ -122,6 +122,7 @@ pub struct ComputeEstimates { pub cu_per_oracle_fallback: u32, pub cu_per_charge_collateral_fees: u32, pub cu_per_charge_collateral_fees_token: u32, + pub cu_for_sequence_check: u32, } impl Default for ComputeEstimates { @@ -145,6 +146,8 @@ impl Default for ComputeEstimates { cu_per_charge_collateral_fees: 20_000, // per-chargable-token cost cu_per_charge_collateral_fees_token: 15_000, + // measured around 8k, see test_basics + cu_for_sequence_check: 10_000, } } } From 55105e085f7868089aac915c5d1680afa210a93d Mon Sep 17 00:00:00 2001 From: Serge Farny Date: Mon, 8 Apr 2024 12:43:40 +0200 Subject: [PATCH 07/28] rust client: add a CU estimate for token withdrawal (#934) --- lib/client/src/client.rs | 2 +- lib/client/src/context.rs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/client/src/client.rs b/lib/client/src/client.rs index 92ca8c9a88..24745156ee 100644 --- a/lib/client/src/client.rs +++ b/lib/client/src/client.rs @@ -691,7 +691,7 @@ impl MangoClient { }), }, ], - self.instruction_cu(health_cu), + self.instruction_cu(health_cu) + self.context.compute_estimates.cu_per_associated_token_account_creation, ); Ok(ixs) } diff --git a/lib/client/src/context.rs b/lib/client/src/context.rs index 8d7912d6ff..cc9ca95946 100644 --- a/lib/client/src/context.rs +++ b/lib/client/src/context.rs @@ -123,6 +123,7 @@ pub struct ComputeEstimates { pub cu_per_charge_collateral_fees: u32, pub cu_per_charge_collateral_fees_token: u32, pub cu_for_sequence_check: u32, + pub cu_per_associated_token_account_creation: u32, } impl Default for ComputeEstimates { @@ -148,6 +149,7 @@ impl Default for ComputeEstimates { cu_per_charge_collateral_fees_token: 15_000, // measured around 8k, see test_basics cu_for_sequence_check: 10_000, + cu_per_associated_token_account_creation: 21_000, } } } From 9df73a0dfd1b5baf8a294807cf1fcebc0cef1221 Mon Sep 17 00:00:00 2001 From: Christian Kamm Date: Mon, 8 Apr 2024 15:14:52 +0200 Subject: [PATCH 08/28] Audit: Remove unused fn, add comments (#935) --- .../mango-v4/src/health/account_retriever.rs | 7 ++++ programs/mango-v4/src/health/cache.rs | 34 +++++++------------ 2 files changed, 20 insertions(+), 21 deletions(-) diff --git a/programs/mango-v4/src/health/account_retriever.rs b/programs/mango-v4/src/health/account_retriever.rs index 43bffd482e..c88764def3 100644 --- a/programs/mango-v4/src/health/account_retriever.rs +++ b/programs/mango-v4/src/health/account_retriever.rs @@ -26,6 +26,7 @@ use crate::state::{Bank, MangoAccountRef, PerpMarket, PerpMarketIndex, TokenInde /// are passed because health needs to be computed for different baskets in /// one instruction (such as for liquidation instructions). pub trait AccountRetriever { + /// Returns the token indexes of the available banks. Unordered and may have duplicates. fn available_banks(&self) -> Result>; fn bank_and_oracle( @@ -67,6 +68,9 @@ pub struct FixedOrderAccountRetriever { } /// Creates a FixedOrderAccountRetriever where all banks are present +/// +/// Note that this does not eagerly validate that the right accounts were passed. That +/// validation happens only when banks, perps etc are requested. pub fn new_fixed_order_account_retriever<'a, 'info>( ais: &'a [AccountInfo<'info>], account: &MangoAccountRef, @@ -84,6 +88,9 @@ pub fn new_fixed_order_account_retriever<'a, 'info>( /// A FixedOrderAccountRetriever with n_banks <= active_token_positions().count(), /// depending on which banks were passed. +/// +/// Note that this does not eagerly validate that the right accounts were passed. That +/// validation happens only when banks, perps etc are requested. pub fn new_fixed_order_account_retriever_with_optional_banks<'a, 'info>( ais: &'a [AccountInfo<'info>], account: &MangoAccountRef, diff --git a/programs/mango-v4/src/health/cache.rs b/programs/mango-v4/src/health/cache.rs index 6a105af36d..7d0e1ed3ba 100644 --- a/programs/mango-v4/src/health/cache.rs +++ b/programs/mango-v4/src/health/cache.rs @@ -1230,45 +1230,37 @@ pub fn new_health_cache( retriever: &impl AccountRetriever, now_ts: u64, ) -> Result { - new_health_cache_impl(account, retriever, now_ts, false, false) + new_health_cache_impl(account, retriever, now_ts, false) } /// Generate a special HealthCache for an account and its health accounts -/// where nonnegative token positions for bad oracles are skipped. +/// where nonnegative token positions for bad oracles are skipped as well as missing banks. /// /// This health cache must be used carefully, since it doesn't provide the actual /// account health, just a value that is guaranteed to be less than it. -pub fn new_health_cache_skipping_bad_oracles( - account: &MangoAccountRef, - retriever: &impl AccountRetriever, - now_ts: u64, -) -> Result { - new_health_cache_impl(account, retriever, now_ts, true, false) -} - pub fn new_health_cache_skipping_missing_banks_and_bad_oracles( account: &MangoAccountRef, retriever: &impl AccountRetriever, now_ts: u64, ) -> Result { - new_health_cache_impl(account, retriever, now_ts, true, true) + new_health_cache_impl(account, retriever, now_ts, true) } +// On `allow_skipping_banks`: +// If (a Bank is not provided or its oracle is stale or inconfident) and the health contribution would +// not be negative, skip it. This decreases health, but many operations are still allowed as long +// as the decreased amount stays positive. fn new_health_cache_impl( account: &MangoAccountRef, retriever: &impl AccountRetriever, now_ts: u64, - // If an oracle is stale or inconfident and the health contribution would - // not be negative, skip it. This decreases health, but maybe overall it's - // still positive? - skip_bad_oracles: bool, - skip_missing_banks: bool, + allow_skipping_banks: bool, ) -> Result { // token contribution from token accounts let mut token_infos = Vec::with_capacity(account.active_token_positions().count()); // As a CU optimization, don't call available_banks() unless necessary - let available_banks_opt = if skip_missing_banks { + let available_banks_opt = if allow_skipping_banks { Some(retriever.available_banks()?) } else { None @@ -1276,7 +1268,7 @@ fn new_health_cache_impl( for (i, position) in account.active_token_positions().enumerate() { // Allow skipping of missing banks only if the account has a nonnegative balance - if skip_missing_banks { + if allow_skipping_banks { let bank_is_available = available_banks_opt .as_ref() .unwrap() @@ -1296,7 +1288,7 @@ fn new_health_cache_impl( retriever.bank_and_oracle(&account.fixed.group, i, position.token_index); // Allow skipping of bad-oracle banks if the account has a nonnegative balance - if skip_bad_oracles + if allow_skipping_banks && bank_oracle_result.is_oracle_error() && position.indexed_position >= 0 { @@ -1345,7 +1337,7 @@ fn new_health_cache_impl( (Ok(base), Ok(quote)) => (base, quote), _ => { require_msg_typed!( - skip_bad_oracles || skip_missing_banks, + allow_skipping_banks, MangoError::InvalidBank, "serum market {} misses health accounts for bank {} or {}", serum_account.market_index, @@ -1382,7 +1374,7 @@ fn new_health_cache_impl( )?; // Ensure the settle token is available in the health cache - if skip_bad_oracles || skip_missing_banks { + if allow_skipping_banks { find_token_info_index(&token_infos, perp_market.settle_token_index)?; } From 653cf9f30b03f22c82e78ae15facbdaf85afaa44 Mon Sep 17 00:00:00 2001 From: Christian Kamm Date: Mon, 8 Apr 2024 16:28:25 +0200 Subject: [PATCH 09/28] token_withdraw: avoid silencing errors with is_ok() (#936) --- programs/mango-v4/src/health/cache.rs | 6 ++++++ programs/mango-v4/src/instructions/token_withdraw.rs | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/programs/mango-v4/src/health/cache.rs b/programs/mango-v4/src/health/cache.rs index 7d0e1ed3ba..21f8cf2895 100644 --- a/programs/mango-v4/src/health/cache.rs +++ b/programs/mango-v4/src/health/cache.rs @@ -820,6 +820,12 @@ impl HealthCache { }) } + pub fn has_token_info(&self, token_index: TokenIndex) -> bool { + self.token_infos + .iter() + .any(|t| t.token_index == token_index) + } + pub fn perp_info(&self, perp_market_index: PerpMarketIndex) -> Result<&PerpInfo> { Ok(&self.perp_infos[self.perp_info_index(perp_market_index)?]) } diff --git a/programs/mango-v4/src/instructions/token_withdraw.rs b/programs/mango-v4/src/instructions/token_withdraw.rs index 7f32940f50..cf0dfbc36e 100644 --- a/programs/mango-v4/src/instructions/token_withdraw.rs +++ b/programs/mango-v4/src/instructions/token_withdraw.rs @@ -156,7 +156,7 @@ pub fn token_withdraw(ctx: Context, amount: u64, allow_borrow: bo // Health check // if let Some((mut health_cache, pre_init_health_lower_bound)) = pre_health_opt { - if health_cache.token_info_index(token_index).is_ok() { + if health_cache.has_token_info(token_index) { // This is the normal case: the health cache knows about the token, we can // compute the health for the new state by adjusting its balance health_cache.adjust_token_balance(&bank, native_position_after - native_position)?; From 01d523716285e65a986ab47e41cc6dab4939aa7e Mon Sep 17 00:00:00 2001 From: Serge Farny Date: Wed, 10 Apr 2024 11:35:56 +0200 Subject: [PATCH 10/28] Liquidator: add Sanctum swap (#919) liquidator: add sanctum swap --- Cargo.lock | 3 + bin/cli/src/main.rs | 39 ++ bin/liquidator/Cargo.toml | 4 +- bin/liquidator/src/cli_args.rs | 26 +- bin/liquidator/src/main.rs | 21 +- bin/liquidator/src/rebalance.rs | 337 +++++++++++---- bin/liquidator/src/token_swap_info.rs | 10 +- bin/liquidator/src/trigger_tcs.rs | 29 +- lib/client/Cargo.toml | 1 + lib/client/src/client.rs | 77 +++- lib/client/src/gpa.rs | 49 ++- lib/client/src/lib.rs | 2 +- .../src/{jupiter/v6.rs => swap/jupiter_v6.rs} | 10 +- lib/client/src/{jupiter => swap}/mod.rs | 54 ++- lib/client/src/swap/sanctum.rs | 401 ++++++++++++++++++ lib/client/src/swap/sanctum_state.rs | 158 +++++++ 16 files changed, 1077 insertions(+), 144 deletions(-) rename lib/client/src/{jupiter/v6.rs => swap/jupiter_v6.rs} (98%) rename lib/client/src/{jupiter => swap}/mod.rs (69%) create mode 100644 lib/client/src/swap/sanctum.rs create mode 100644 lib/client/src/swap/sanctum_state.rs diff --git a/Cargo.lock b/Cargo.lock index b6131418bc..7b423022eb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3462,6 +3462,7 @@ dependencies = [ "atty", "base64 0.13.1", "bincode", + "borsh 0.10.3", "clap 3.2.25", "derive_builder", "fixed 1.11.0 (git+https://github.com/blockworks-foundation/fixed.git?branch=v1.11.0-borsh0_10-mango)", @@ -3529,6 +3530,7 @@ dependencies = [ "async-channel", "async-stream 0.2.1", "async-trait", + "borsh 0.10.3", "bs58 0.3.1", "bytemuck", "bytes 1.5.0", @@ -3557,6 +3559,7 @@ dependencies = [ "serum_dex 0.5.10 (git+https://github.com/openbook-dex/program.git)", "shellexpand", "solana-account-decoder", + "solana-address-lookup-table-program", "solana-client", "solana-logger", "solana-rpc", diff --git a/bin/cli/src/main.rs b/bin/cli/src/main.rs index 06ab893be4..fe3f5562c0 100644 --- a/bin/cli/src/main.rs +++ b/bin/cli/src/main.rs @@ -92,6 +92,31 @@ struct JupiterSwap { rpc: Rpc, } +#[derive(Args, Debug, Clone)] +struct SanctumSwap { + #[clap(long)] + account: String, + + /// also pays for everything + #[clap(short, long)] + owner: String, + + #[clap(long)] + input_mint: String, + + #[clap(long)] + output_mint: String, + + #[clap(short, long)] + amount: u64, + + #[clap(short, long, default_value = "50")] + max_slippage_bps: u64, + + #[clap(flatten)] + rpc: Rpc, +} + #[derive(ArgEnum, Clone, Debug)] #[repr(u8)] pub enum CliSide { @@ -189,6 +214,7 @@ enum Command { CreateAccount(CreateAccount), Deposit(Deposit), JupiterSwap(JupiterSwap), + SanctumSwap(SanctumSwap), GroupAddress { #[clap(short, long)] creator: String, @@ -312,6 +338,19 @@ async fn main() -> Result<(), anyhow::Error> { .await?; println!("{}", txsig); } + Command::SanctumSwap(cmd) => { + let client = cmd.rpc.client(Some(&cmd.owner))?; + let account = pubkey_from_cli(&cmd.account); + let owner = Arc::new(keypair_from_cli(&cmd.owner)); + let input_mint = pubkey_from_cli(&cmd.input_mint); + let output_mint = pubkey_from_cli(&cmd.output_mint); + let client = MangoClient::new_for_existing_account(client, account, owner).await?; + let txsig = client + .sanctum() + .swap(input_mint, output_mint, cmd.max_slippage_bps, cmd.amount) + .await?; + println!("{}", txsig); + } Command::GroupAddress { creator, num } => { let creator = pubkey_from_cli(&creator); println!("{}", MangoClient::group_for_admin(creator, num)); diff --git a/bin/liquidator/Cargo.toml b/bin/liquidator/Cargo.toml index ea254b1808..9e13f12ef4 100644 --- a/bin/liquidator/Cargo.toml +++ b/bin/liquidator/Cargo.toml @@ -42,6 +42,7 @@ shellexpand = "2.1.0" solana-account-decoder = { workspace = true } solana-client = { workspace = true } solana-logger = { workspace = true } +solana-address-lookup-table-program = "~1.16.7" solana-rpc = { workspace = true } solana-sdk = { workspace = true } tokio = { version = "1", features = ["full"] } @@ -50,4 +51,5 @@ tokio-tungstenite = "0.16.1" tracing = "0.1" regex = "1.9.5" hdrhistogram = "7.5.4" -indexmap = "2.0.0" \ No newline at end of file +indexmap = "2.0.0" +borsh = { version = "0.10.3", features = ["const-generics"] } diff --git a/bin/liquidator/src/cli_args.rs b/bin/liquidator/src/cli_args.rs index 234fe5abd6..dc122c6043 100644 --- a/bin/liquidator/src/cli_args.rs +++ b/bin/liquidator/src/cli_args.rs @@ -1,7 +1,7 @@ use crate::trigger_tcs; use anchor_lang::prelude::Pubkey; use clap::Parser; -use mango_v4_client::{jupiter, priority_fees_cli}; +use mango_v4_client::{priority_fees_cli, swap}; use std::collections::HashSet; #[derive(Parser, Debug)] @@ -28,11 +28,11 @@ pub(crate) enum JupiterVersionArg { V6, } -impl From for jupiter::Version { +impl From for swap::Version { fn from(a: JupiterVersionArg) -> Self { match a { - JupiterVersionArg::Mock => jupiter::Version::Mock, - JupiterVersionArg::V6 => jupiter::Version::V6, + JupiterVersionArg::Mock => swap::Version::Mock, + JupiterVersionArg::V6 => swap::Version::V6, } } } @@ -121,6 +121,12 @@ pub struct Cli { #[clap(long, env, value_parser, value_delimiter = ',')] pub(crate) rebalance_alternate_jupiter_route_tokens: Option>, + /// query sanctum for routes to and from these tokens + /// + /// These routes will only be used when trying to rebalance a LST token + #[clap(long, env, value_parser, value_delimiter = ',')] + pub(crate) rebalance_alternate_sanctum_route_tokens: Option>, + /// When closing borrows, the rebalancer can't close token positions exactly. /// Instead it purchases too much and then gets rid of the excess in a second step. /// If this is 0.05, then it'll swap borrow_value * (1 + 0.05) quote token into borrow token. @@ -236,4 +242,16 @@ pub struct Cli { /// max number of liquidation/tcs to do concurrently #[clap(long, env, default_value = "5")] pub(crate) max_parallel_operations: u64, + + /// Also use sanctum for rebalancing + #[clap(long, env, value_enum, default_value = "false")] + pub(crate) sanctum_enabled: BoolArg, + + /// override the url to sanctum + #[clap(long, env, default_value = "https://api.sanctum.so/v1")] + pub(crate) sanctum_url: String, + + /// override the sanctum http request timeout + #[clap(long, env, default_value = "30")] + pub(crate) sanctum_timeout_secs: u64, } diff --git a/bin/liquidator/src/main.rs b/bin/liquidator/src/main.rs index 6efe3c79c3..1e1a6032ea 100644 --- a/bin/liquidator/src/main.rs +++ b/bin/liquidator/src/main.rs @@ -89,6 +89,8 @@ async fn main() -> anyhow::Result<()> { .jupiter_timeout(Duration::from_secs(cli.jupiter_timeout_secs)) .jupiter_v6_url(cli.jupiter_v6_url.clone()) .jupiter_token(cli.jupiter_token.clone()) + .sanctum_url(cli.sanctum_url.clone()) + .sanctum_timeout(Duration::from_secs(cli.sanctum_timeout_secs)) .transaction_builder_config( TransactionBuilderConfig::builder() .priority_fee_provider(prio_provider) @@ -257,16 +259,26 @@ async fn main() -> anyhow::Result<()> { .rebalance_alternate_jupiter_route_tokens .clone() .unwrap_or_default(), + alternate_sanctum_route_tokens: cli + .rebalance_alternate_sanctum_route_tokens + .clone() + .unwrap_or_default(), allow_withdraws: signer_is_owner, + use_sanctum: cli.sanctum_enabled == BoolArg::True, }; rebalance_config.validate(&mango_client.context); - let rebalancer = Arc::new(rebalance::Rebalancer { + let mut rebalancer = rebalance::Rebalancer { mango_client: mango_client.clone(), account_fetcher: account_fetcher.clone(), mango_account_address: cli.liqor_mango_account, config: rebalance_config, - }); + sanctum_supported_mints: HashSet::::new(), + }; + + let live_rpc_client = mango_client.client.new_rpc_async(); + rebalancer.init(&live_rpc_client).await; + let rebalancer = Arc::new(rebalancer); let liquidation = Box::new(LiquidationState { mango_client: mango_client.clone(), @@ -407,7 +419,7 @@ async fn main() -> anyhow::Result<()> { // But need to take care to abort if the above job aborts beforehand. if cli.rebalance == BoolArg::True { let rebalance_job = - spawn_rebalance_job(&shared_state, rebalance_trigger_receiver, rebalancer); + spawn_rebalance_job(shared_state.clone(), rebalance_trigger_receiver, rebalancer); optional_jobs.push(rebalance_job); } @@ -523,14 +535,13 @@ fn spawn_telemetry_job(cli: &Cli, mango_client: Arc) -> JoinHandle< } fn spawn_rebalance_job( - shared_state: &Arc>, + shared_state: Arc>, rebalance_trigger_receiver: async_channel::Receiver<()>, rebalancer: Arc, ) -> JoinHandle<()> { let mut rebalance_interval = tokio::time::interval(Duration::from_secs(30)); tokio::spawn({ - let shared_state = shared_state.clone(); async move { loop { tokio::select! { diff --git a/bin/liquidator/src/rebalance.rs b/bin/liquidator/src/rebalance.rs index 4d81c97fa0..e9e2860e65 100644 --- a/bin/liquidator/src/rebalance.rs +++ b/bin/liquidator/src/rebalance.rs @@ -5,13 +5,16 @@ use mango_v4::state::{ PlaceOrderType, Side, TokenIndex, QUOTE_TOKEN_INDEX, }; use mango_v4_client::{ - chain_data, jupiter, perp_pnl, MangoClient, MangoGroupContext, PerpMarketContext, TokenContext, + chain_data, perp_pnl, swap, MangoClient, MangoGroupContext, PerpMarketContext, TokenContext, TransactionBuilder, TransactionSize, }; +use solana_client::nonblocking::rpc_client::RpcClient; use {fixed::types::I80F48, solana_sdk::pubkey::Pubkey}; use solana_sdk::signature::Signature; +use std::collections::{HashMap, HashSet}; +use std::future::Future; use std::sync::Arc; use std::time::Duration; use tracing::*; @@ -26,10 +29,12 @@ pub struct Config { /// If this is 1.05, then it'll swap borrow_value * 1.05 quote token into borrow token. pub borrow_settle_excess: f64, pub refresh_timeout: Duration, - pub jupiter_version: jupiter::Version, + pub jupiter_version: swap::Version, pub skip_tokens: Vec, pub alternate_jupiter_route_tokens: Vec, + pub alternate_sanctum_route_tokens: Vec, pub allow_withdraws: bool, + pub use_sanctum: bool, } impl Config { @@ -56,6 +61,7 @@ pub struct Rebalancer { pub account_fetcher: Arc, pub mango_account_address: Pubkey, pub config: Config, + pub sanctum_supported_mints: HashSet, } impl Rebalancer { @@ -105,16 +111,16 @@ impl Rebalancer { Ok(true) } - async fn jupiter_quote( + async fn swap_quote( &self, input_mint: Pubkey, output_mint: Pubkey, amount: u64, only_direct_routes: bool, - jupiter_version: jupiter::Version, - ) -> anyhow::Result { + jupiter_version: swap::Version, + ) -> anyhow::Result { self.mango_client - .jupiter() + .swap() .quote( input_mint, output_mint, @@ -126,29 +132,31 @@ impl Rebalancer { .await } - /// Grab three possible routes: + /// Grab multiples possible routes: /// 1. USDC -> output (complex routes) /// 2. USDC -> output (direct route only) - /// 3. alternate_jupiter_route_tokens -> output (direct route only) - /// Use 1. if it fits into a tx. Otherwise use the better of 2./3. + /// 3. if enabled, sanctum routes - might generate 0, 1 or more routes + /// 4. input -> alternate_jupiter_route_tokens (direct route only) - might generate 0, 1 or more routes + /// Use best of 1/2/3. if it fits into a tx, + /// Otherwise use the best of 4. async fn token_swap_buy( &self, account: &MangoAccountValue, output_mint: Pubkey, in_amount_quote: u64, - ) -> anyhow::Result<(Signature, jupiter::Quote)> { + ) -> anyhow::Result<(Signature, swap::Quote)> { let quote_token = self.mango_client.context.token(QUOTE_TOKEN_INDEX); let quote_mint = quote_token.mint; let jupiter_version = self.config.jupiter_version; - let full_route_job = self.jupiter_quote( + let full_route_job = self.swap_quote( quote_mint, output_mint, in_amount_quote, false, jupiter_version, ); - let direct_quote_route_job = self.jupiter_quote( + let direct_quote_route_job = self.swap_quote( quote_mint, output_mint, in_amount_quote, @@ -157,31 +165,52 @@ impl Rebalancer { ); let mut jobs = vec![full_route_job, direct_quote_route_job]; - for in_token_index in &self.config.alternate_jupiter_route_tokens { - let in_token = self.mango_client.context.token(*in_token_index); - // For the alternate output routes we need to adjust the in amount by the token price - let in_price = self - .account_fetcher - .fetch_bank_price(&in_token.first_bank())?; - let in_amount = (I80F48::from(in_amount_quote) / in_price) - .ceil() - .to_num::(); - let direct_route_job = - self.jupiter_quote(in_token.mint, output_mint, in_amount, true, jupiter_version); - jobs.push(direct_route_job); + if self.can_use_sanctum_for_token(output_mint)? { + for in_token_index in &self.config.alternate_sanctum_route_tokens { + let (alt_mint, alt_in_amount) = + self.get_alternative_token_amount(in_token_index, in_amount_quote)?; + let sanctum_alt_route_job = self.swap_quote( + alt_mint, + output_mint, + alt_in_amount, + false, + swap::Version::Sanctum, + ); + jobs.push(sanctum_alt_route_job); + } } - let mut results = futures::future::join_all(jobs).await; - let full_route = results.remove(0)?; - let alternatives = results.into_iter().filter_map(|v| v.ok()).collect_vec(); - - let (mut tx_builder, route) = self - .determine_best_jupiter_tx( - // If the best_route couldn't be fetched, something is wrong - &full_route, - &alternatives, - ) - .await?; + let results = futures::future::join_all(jobs).await; + let routes: Vec<_> = results.into_iter().filter_map(|v| v.ok()).collect_vec(); + + let best_route_res = self + .determine_best_swap_tx(routes, quote_mint, output_mint) + .await; + + let (mut tx_builder, route) = match best_route_res { + Ok(x) => x, + Err(e) => { + warn!("could not use simple routes because of {}, trying with an alternative one (if configured)", e); + + self.get_jupiter_alt_route( + |in_token_index| { + let (alt_mint, alt_in_amount) = + self.get_alternative_token_amount(in_token_index, in_amount_quote)?; + let swap = self.swap_quote( + alt_mint, + output_mint, + alt_in_amount, + true, + jupiter_version, + ); + Ok(swap) + }, + quote_mint, + output_mint, + ) + .await? + } + }; let seq_check_ix = self .mango_client @@ -195,45 +224,72 @@ impl Rebalancer { Ok((sig, route)) } - /// Grab three possible routes: + /// Grab multiples possible routes: /// 1. input -> USDC (complex routes) /// 2. input -> USDC (direct route only) - /// 3. input -> alternate_jupiter_route_tokens (direct route only) - /// Use 1. if it fits into a tx. Otherwise use the better of 2./3. + /// 3. if enabled, sanctum routes - might generate 0, 1 or more routes + /// 4. input -> alternate_jupiter_route_tokens (direct route only) - might generate 0, 1 or more routes + /// Use best of 1/2/3. if it fits into a tx, + /// Otherwise use the best of 4. async fn token_swap_sell( &self, account: &MangoAccountValue, input_mint: Pubkey, in_amount: u64, - ) -> anyhow::Result<(Signature, jupiter::Quote)> { + ) -> anyhow::Result<(Signature, swap::Quote)> { let quote_token = self.mango_client.context.token(QUOTE_TOKEN_INDEX); let quote_mint = quote_token.mint; let jupiter_version = self.config.jupiter_version; let full_route_job = - self.jupiter_quote(input_mint, quote_mint, in_amount, false, jupiter_version); + self.swap_quote(input_mint, quote_mint, in_amount, false, jupiter_version); let direct_quote_route_job = - self.jupiter_quote(input_mint, quote_mint, in_amount, true, jupiter_version); + self.swap_quote(input_mint, quote_mint, in_amount, true, jupiter_version); let mut jobs = vec![full_route_job, direct_quote_route_job]; - for out_token_index in &self.config.alternate_jupiter_route_tokens { - let out_token = self.mango_client.context.token(*out_token_index); - let direct_route_job = - self.jupiter_quote(input_mint, out_token.mint, in_amount, true, jupiter_version); - jobs.push(direct_route_job); + if self.can_use_sanctum_for_token(input_mint)? { + for out_token_index in &self.config.alternate_sanctum_route_tokens { + let out_token = self.mango_client.context.token(*out_token_index); + let sanctum_job = self.swap_quote( + input_mint, + out_token.mint, + in_amount, + false, + swap::Version::Sanctum, + ); + jobs.push(sanctum_job); + } } - let mut results = futures::future::join_all(jobs).await; - let full_route = results.remove(0)?; - let alternatives = results.into_iter().filter_map(|v| v.ok()).collect_vec(); - - let (mut tx_builder, route) = self - .determine_best_jupiter_tx( - // If the best_route couldn't be fetched, something is wrong - &full_route, - &alternatives, - ) - .await?; + let results = futures::future::join_all(jobs).await; + let routes: Vec<_> = results.into_iter().filter_map(|v| v.ok()).collect_vec(); + + let best_route_res = self + .determine_best_swap_tx(routes, input_mint, quote_mint) + .await; + + let (mut tx_builder, route) = match best_route_res { + Ok(x) => x, + Err(e) => { + warn!("could not use simple routes because of {}, trying with an alternative one (if configured)", e); + + self.get_jupiter_alt_route( + |out_token_index| { + let out_token = self.mango_client.context.token(*out_token_index); + Ok(self.swap_quote( + input_mint, + out_token.mint, + in_amount, + true, + jupiter_version, + )) + }, + input_mint, + quote_mint, + ) + .await? + } + }; let seq_check_ix = self .mango_client @@ -247,47 +303,133 @@ impl Rebalancer { Ok((sig, route)) } - async fn determine_best_jupiter_tx( + fn get_alternative_token_amount( &self, - full: &jupiter::Quote, - alternatives: &[jupiter::Quote], - ) -> anyhow::Result<(TransactionBuilder, jupiter::Quote)> { - let builder = self - .mango_client - .jupiter() - .prepare_swap_transaction(full) - .await?; - let tx_size = builder.transaction_size()?; - if tx_size.is_within_limit() { - return Ok((builder, full.clone())); + in_token_index: &u16, + in_amount_quote: u64, + ) -> anyhow::Result<(Pubkey, u64)> { + let in_token: &TokenContext = self.mango_client.context.token(*in_token_index); + let in_price = self + .account_fetcher + .fetch_bank_price(&in_token.first_bank())?; + let in_amount = (I80F48::from(in_amount_quote) / in_price) + .ceil() + .to_num::(); + + Ok((in_token.mint, in_amount)) + } + + fn can_use_sanctum_for_token(&self, mint: Pubkey) -> anyhow::Result { + if !self.config.use_sanctum { + return Ok(false); } - trace!( - route_label = full.first_route_label(), - %full.input_mint, - %full.output_mint, - ?tx_size, - limit = ?TransactionSize::limit(), - "full route does not fit in a tx", - ); - if alternatives.is_empty() { - anyhow::bail!( - "no alternative routes from {} to {}", - full.input_mint, - full.output_mint - ); + let token = self.mango_client.context.token_by_mint(&mint)?; + + let can_swap_on_sanctum = self.can_swap_on_sanctum(mint); + + // forbid swapping to something that could be used in another sanctum swap, creating a cycle + let is_an_alt_for_sanctum = self + .config + .alternate_sanctum_route_tokens + .contains(&token.token_index); + + Ok(can_swap_on_sanctum && !is_an_alt_for_sanctum) + } + + async fn get_jupiter_alt_route>>( + &self, + quote_fetcher: impl Fn(&u16) -> anyhow::Result, + original_input_mint: Pubkey, + original_output_mint: Pubkey, + ) -> anyhow::Result<(TransactionBuilder, swap::Quote)> { + let mut alt_jobs = vec![]; + for in_token_index in &self.config.alternate_jupiter_route_tokens { + alt_jobs.push(quote_fetcher(in_token_index)?); } + let alt_results = futures::future::join_all(alt_jobs).await; + let alt_routes: Vec<_> = alt_results.into_iter().filter_map(|v| v.ok()).collect_vec(); - let best = alternatives - .iter() - .min_by(|a, b| a.price_impact_pct.partial_cmp(&b.price_impact_pct).unwrap()) - .unwrap(); - let builder = self - .mango_client - .jupiter() - .prepare_swap_transaction(best) + let best_route = self + .determine_best_swap_tx(alt_routes, original_input_mint, original_output_mint) .await?; - Ok((builder, best.clone())) + Ok(best_route) + } + + async fn determine_best_swap_tx( + &self, + mut routes: Vec, + original_input_mint: Pubkey, + original_output_mint: Pubkey, + ) -> anyhow::Result<(TransactionBuilder, swap::Quote)> { + let mut prices = HashMap::::new(); + let mut get_or_fetch_price = |m| { + let entry = prices.entry(m).or_insert_with(|| { + let token = self + .mango_client + .context + .token_by_mint(&m) + .expect("token for mint not found"); + self.account_fetcher + .fetch_bank_price(&token.first_bank()) + .expect("failed to fetch price") + }); + *entry + }; + + routes.sort_by_cached_key(|r| { + let in_price = get_or_fetch_price(r.input_mint); + let out_price = get_or_fetch_price(r.output_mint); + let amount = out_price * I80F48::from_num(r.out_amount) + - in_price * I80F48::from_num(r.in_amount); + + let t = match r.raw { + swap::RawQuote::Mock => "mock", + swap::RawQuote::V6(_) => "jupiter", + swap::RawQuote::Sanctum(_) => "sanctum", + }; + + debug!( + "quote for {} vs {} [using {}] is {}@{} vs {}@{} -> amount={}", + r.input_mint, + r.output_mint, + t, + r.in_amount, + in_price, + r.out_amount, + out_price, + amount + ); + + std::cmp::Reverse(amount) + }); + + for route in routes { + let builder = self + .mango_client + .swap() + .prepare_swap_transaction(&route) + .await?; + let tx_size = builder.transaction_size()?; + if tx_size.is_within_limit() { + return Ok((builder, route.clone())); + } + + trace!( + route_label = route.first_route_label(), + %route.input_mint, + %route.output_mint, + ?tx_size, + limit = ?TransactionSize::limit(), + "route does not fit in a tx", + ); + } + + anyhow::bail!( + "no routes from {} to {}", + original_input_mint, + original_output_mint + ); } fn mango_account(&self) -> anyhow::Result> { @@ -620,4 +762,15 @@ impl Rebalancer { result } + + fn can_swap_on_sanctum(&self, mint: Pubkey) -> bool { + self.sanctum_supported_mints.contains(&mint) + } + + pub async fn init(&mut self, live_rpc_client: &RpcClient) { + match swap::sanctum::load_supported_token_mints(live_rpc_client).await { + Err(e) => warn!("Could not load list of sanctum supported mint: {}", e), + Ok(mint) => self.sanctum_supported_mints.extend(mint), + } + } } diff --git a/bin/liquidator/src/token_swap_info.rs b/bin/liquidator/src/token_swap_info.rs index 8e4e018ad2..9f35e4f97d 100644 --- a/bin/liquidator/src/token_swap_info.rs +++ b/bin/liquidator/src/token_swap_info.rs @@ -6,7 +6,7 @@ use mango_v4_client::error_tracking::ErrorTracking; use tracing::*; use mango_v4::state::TokenIndex; -use mango_v4_client::jupiter; +use mango_v4_client::swap; use mango_v4_client::MangoClient; pub struct Config { @@ -15,7 +15,7 @@ pub struct Config { /// Size in quote_index-token native tokens to quote. pub quote_amount: u64, - pub jupiter_version: jupiter::Version, + pub jupiter_version: swap::Version, } #[derive(Clone)] @@ -84,7 +84,7 @@ impl TokenSwapInfoUpdater { lock.swap_infos.get(&token_index).cloned() } - fn in_per_out_price(route: &jupiter::Quote) -> f64 { + fn in_per_out_price(route: &swap::Quote) -> f64 { let in_amount = route.in_amount as f64; let out_amount = route.out_amount as f64; in_amount / out_amount @@ -149,7 +149,7 @@ impl TokenSwapInfoUpdater { let token_amount = (self.config.quote_amount as f64 * token_per_quote_oracle) as u64; let sell_route = self .mango_client - .jupiter() + .swap() .quote( token_mint, quote_mint, @@ -161,7 +161,7 @@ impl TokenSwapInfoUpdater { .await?; let buy_route = self .mango_client - .jupiter() + .swap() .quote( quote_mint, token_mint, diff --git a/bin/liquidator/src/trigger_tcs.rs b/bin/liquidator/src/trigger_tcs.rs index b5346d9af7..0f902e149c 100644 --- a/bin/liquidator/src/trigger_tcs.rs +++ b/bin/liquidator/src/trigger_tcs.rs @@ -13,7 +13,7 @@ use mango_v4::{ i80f48::ClampToInt, state::{Bank, MangoAccountValue, TokenConditionalSwap, TokenIndex}, }; -use mango_v4_client::{chain_data, jupiter, MangoClient, TransactionBuilder}; +use mango_v4_client::{chain_data, swap, MangoClient, TransactionBuilder}; use anyhow::Context as AnyhowContext; use mango_v4::accounts_ix::HealthCheckKind::MaintRatio; @@ -73,7 +73,7 @@ pub struct Config { /// Can be set to 0 to allow executions of any size. pub min_buy_fraction: f64, - pub jupiter_version: jupiter::Version, + pub jupiter_version: swap::Version, pub jupiter_slippage_bps: u64, pub mode: Mode, @@ -124,9 +124,9 @@ impl JupiterQuoteCache { output_mint: Pubkey, input_amount: u64, slippage_bps: u64, - version: jupiter::Version, + version: swap::Version, max_in_per_out_price: f64, - ) -> anyhow::Result> { + ) -> anyhow::Result> { let cache_entry = self.cache_entry(input_mint, output_mint); let held_lock = { @@ -184,10 +184,10 @@ impl JupiterQuoteCache { output_mint: Pubkey, input_amount: u64, slippage_bps: u64, - version: jupiter::Version, - ) -> anyhow::Result<(f64, jupiter::Quote)> { + version: swap::Version, + ) -> anyhow::Result<(f64, swap::Quote)> { let quote = client - .jupiter() + .swap() .quote( input_mint, output_mint, @@ -208,8 +208,8 @@ impl JupiterQuoteCache { output_mint: Pubkey, input_amount: u64, slippage_bps: u64, - version: jupiter::Version, - ) -> anyhow::Result<(f64, jupiter::Quote)> { + version: swap::Version, + ) -> anyhow::Result<(f64, swap::Quote)> { match self .quote( client, @@ -255,11 +255,10 @@ impl JupiterQuoteCache { collateral_amount: u64, sell_amount: u64, slippage_bps: u64, - version: jupiter::Version, + version: swap::Version, max_sell_per_buy_price: f64, - ) -> anyhow::Result< - JupiterQuoteCacheResult<(f64, Option, Option)>, - > { + ) -> anyhow::Result, Option)>> + { // First check if we have cached prices for both legs and // if those break the specified limit let cached_collateral_to_buy = self.cached_price(collateral_mint, buy_mint).await; @@ -338,7 +337,7 @@ struct PreparedExecution { max_sell_token_to_liqor: u64, min_buy_token: u64, min_taker_price: f32, - jupiter_quote: Option, + jupiter_quote: Option, } struct PreparationResult { @@ -1200,7 +1199,7 @@ impl Context { // Jupiter quote is provided only for triggers, not close-expired let mut tx_builder = if let Some(jupiter_quote) = pending.jupiter_quote { self.mango_client - .jupiter() + .swap() .prepare_swap_transaction(&jupiter_quote) .await? } else { diff --git a/lib/client/Cargo.toml b/lib/client/Cargo.toml index cc1c29a9d7..b23dc9d15d 100644 --- a/lib/client/Cargo.toml +++ b/lib/client/Cargo.toml @@ -46,3 +46,4 @@ base64 = "0.13.0" bincode = "1.3.3" tracing = { version = "0.1", features = ["log"] } tracing-subscriber = { version = "0.3", features = ["env-filter"] } +borsh = { version = "0.10.3", features = ["const-generics"] } diff --git a/lib/client/src/client.rs b/lib/client/src/client.rs index 24745156ee..7fef6259ea 100644 --- a/lib/client/src/client.rs +++ b/lib/client/src/client.rs @@ -27,14 +27,14 @@ use mango_v4::state::{ PlaceOrderType, SelfTradeBehavior, Serum3MarketIndex, Side, TokenIndex, INSURANCE_TOKEN_INDEX, }; -use crate::account_fetcher::*; use crate::confirm_transaction::{wait_for_transaction_confirmation, RpcConfirmTransactionConfig}; use crate::context::MangoGroupContext; use crate::gpa::{fetch_anchor_account, fetch_mango_accounts}; use crate::health_cache; use crate::priority_fees::{FixedPriorityFeeProvider, PriorityFeeProvider}; +use crate::util; use crate::util::PreparedInstructions; -use crate::{jupiter, util}; +use crate::{account_fetcher::*, swap}; use solana_address_lookup_table_program::state::AddressLookupTable; use solana_client::nonblocking::rpc_client::RpcClient as RpcClientAsync; use solana_client::rpc_client::SerializableTransaction; @@ -105,6 +105,15 @@ pub struct ClientConfig { #[builder(default = "\"\".into()")] pub jupiter_token: String, + #[builder(default = "\"https://api.sanctum.so/v1\".into()")] + pub sanctum_url: String, + + /// Sanctum Timeout, defaults to 30s + /// + /// This timeout applies to jupiter requests. + #[builder(default = "Duration::from_secs(30)")] + pub sanctum_timeout: Duration, + /// Determines how fallback oracle accounts are provided to instructions. Defaults to Dynamic. #[builder(default = "FallbackOracleConfig::Dynamic")] pub fallback_oracle_config: FallbackOracleConfig, @@ -2169,17 +2178,71 @@ impl MangoClient { )) } - // jupiter + // Swap (jupiter, sanctum) + pub fn swap(&self) -> swap::Swap { + swap::Swap { mango_client: self } + } - pub fn jupiter_v6(&self) -> jupiter::v6::JupiterV6 { - jupiter::v6::JupiterV6 { + pub fn jupiter_v6(&self) -> swap::jupiter_v6::JupiterV6 { + swap::jupiter_v6::JupiterV6 { mango_client: self, timeout_duration: self.client.config.jupiter_timeout, } } - pub fn jupiter(&self) -> jupiter::Jupiter { - jupiter::Jupiter { mango_client: self } + pub fn sanctum(&self) -> swap::sanctum::Sanctum { + swap::sanctum::Sanctum { + mango_client: self, + timeout_duration: self.client.config.sanctum_timeout, + } + } + + pub(crate) async fn deserialize_instructions_and_alts( + &self, + message: &solana_sdk::message::VersionedMessage, + ) -> anyhow::Result<(Vec, Vec)> { + let lookups = message.address_table_lookups().unwrap_or_default(); + let address_lookup_tables = self + .fetch_address_lookup_tables(lookups.iter().map(|a| &a.account_key)) + .await?; + + let mut account_keys = message.static_account_keys().to_vec(); + for (lookups, table) in lookups.iter().zip(address_lookup_tables.iter()) { + account_keys.extend( + lookups + .writable_indexes + .iter() + .map(|&index| table.addresses[index as usize]), + ); + } + for (lookups, table) in lookups.iter().zip(address_lookup_tables.iter()) { + account_keys.extend( + lookups + .readonly_indexes + .iter() + .map(|&index| table.addresses[index as usize]), + ); + } + + let compiled_ix = message + .instructions() + .iter() + .map(|ci| solana_sdk::instruction::Instruction { + program_id: *ci.program_id(&account_keys), + accounts: ci + .accounts + .iter() + .map(|&index| AccountMeta { + pubkey: account_keys[index as usize], + is_signer: message.is_signer(index.into()), + is_writable: message.is_maybe_writable(index.into()), + }) + .collect(), + data: ci.data.clone(), + }) + .collect(); + + Ok((compiled_ix, address_lookup_tables)) } pub async fn fetch_address_lookup_table( diff --git a/lib/client/src/gpa.rs b/lib/client/src/gpa.rs index e96aa54181..7c02ed8c02 100644 --- a/lib/client/src/gpa.rs +++ b/lib/client/src/gpa.rs @@ -1,11 +1,12 @@ use anchor_lang::{AccountDeserialize, Discriminator}; +use futures::{stream, StreamExt}; use mango_v4::state::{Bank, MangoAccount, MangoAccountValue, MintInfo, PerpMarket, Serum3Market}; use solana_account_decoder::UiAccountEncoding; use solana_client::nonblocking::rpc_client::RpcClient as RpcClientAsync; use solana_client::rpc_config::{RpcAccountInfoConfig, RpcProgramAccountsConfig}; use solana_client::rpc_filter::{Memcmp, RpcFilterType}; -use solana_sdk::account::AccountSharedData; +use solana_sdk::account::{Account, AccountSharedData}; use solana_sdk::pubkey::Pubkey; pub async fn fetch_mango_accounts( @@ -148,3 +149,49 @@ pub async fn fetch_multiple_accounts( .map(|(acc, key)| (*key, acc.unwrap().into())) .collect()) } + +/// Fetch multiple account using one request per chunk of `max_chunk_size` accounts +/// Can execute in parallel up to `parallel_rpc_requests` +/// +/// WARNING: some accounts requested may be missing from the result +pub async fn fetch_multiple_accounts_in_chunks( + rpc: &RpcClientAsync, + keys: &[Pubkey], + max_chunk_size: usize, + parallel_rpc_requests: usize, +) -> anyhow::Result> { + let config = RpcAccountInfoConfig { + encoding: Some(UiAccountEncoding::Base64), + ..RpcAccountInfoConfig::default() + }; + + let raw_results = stream::iter(keys) + .chunks(max_chunk_size) + .map(|keys| { + let account_info_config = config.clone(); + async move { + let keys = keys.iter().map(|x| **x).collect::>(); + let req_res = rpc + .get_multiple_accounts_with_config(&keys, account_info_config) + .await; + + match req_res { + Ok(v) => Ok(keys.into_iter().zip(v.value).collect::>()), + Err(e) => Err(e), + } + } + }) + .buffer_unordered(parallel_rpc_requests) + .collect::>() + .await; + + let result = raw_results + .into_iter() + .collect::, _>>()? + .into_iter() + .flatten() + .filter_map(|(pubkey, account_opt)| account_opt.map(|acc| (pubkey, acc))) + .collect::>(); + + Ok(result) +} diff --git a/lib/client/src/lib.rs b/lib/client/src/lib.rs index 882a931f68..620477f2a5 100644 --- a/lib/client/src/lib.rs +++ b/lib/client/src/lib.rs @@ -13,11 +13,11 @@ mod context; pub mod error_tracking; pub mod gpa; pub mod health_cache; -pub mod jupiter; pub mod perp_pnl; pub mod priority_fees; pub mod priority_fees_cli; pub mod snapshot_source; +pub mod swap; mod util; pub mod websocket_source; diff --git a/lib/client/src/jupiter/v6.rs b/lib/client/src/swap/jupiter_v6.rs similarity index 98% rename from lib/client/src/jupiter/v6.rs rename to lib/client/src/swap/jupiter_v6.rs index ff92af5a09..91ef1dee1f 100644 --- a/lib/client/src/jupiter/v6.rs +++ b/lib/client/src/swap/jupiter_v6.rs @@ -73,13 +73,7 @@ pub struct SwapRequest { #[derive(Deserialize, Serialize, Debug, Clone)] #[serde(rename_all = "camelCase")] -pub struct SwapResponse { - pub swap_transaction: String, -} - -#[derive(Deserialize, Serialize, Debug, Clone)] -#[serde(rename_all = "camelCase")] -pub struct SwapInstructionsResponse { +pub struct JupiterSwapInstructionsResponse { pub token_ledger_instruction: Option, pub compute_budget_instructions: Option>, pub setup_instructions: Option>, @@ -298,7 +292,7 @@ impl<'a> JupiterV6<'a> { .await .context("swap transaction request to jupiter")?; - let swap: SwapInstructionsResponse = util::http_error_handling(swap_response) + let swap: JupiterSwapInstructionsResponse = util::http_error_handling(swap_response) .await .context("error requesting jupiter swap")?; diff --git a/lib/client/src/jupiter/mod.rs b/lib/client/src/swap/mod.rs similarity index 69% rename from lib/client/src/jupiter/mod.rs rename to lib/client/src/swap/mod.rs index e8eeeb2ed2..4a0c9c9d02 100644 --- a/lib/client/src/jupiter/mod.rs +++ b/lib/client/src/swap/mod.rs @@ -1,4 +1,6 @@ -pub mod v6; +pub mod jupiter_v6; +pub mod sanctum; +pub mod sanctum_state; use anchor_lang::prelude::*; use std::str::FromStr; @@ -10,13 +12,15 @@ use fixed::types::I80F48; pub enum Version { Mock, V6, + Sanctum, } #[derive(Clone)] #[allow(clippy::large_enum_variant)] pub enum RawQuote { Mock, - V6(v6::QuoteResponse), + V6(jupiter_v6::QuoteResponse), + Sanctum(sanctum::QuoteResponse), } #[derive(Clone)] @@ -30,7 +34,7 @@ pub struct Quote { } impl Quote { - pub fn try_from_v6(query: v6::QuoteResponse) -> anyhow::Result { + pub fn try_from_v6(query: jupiter_v6::QuoteResponse) -> anyhow::Result { Ok(Quote { input_mint: Pubkey::from_str(&query.input_mint)?, output_mint: Pubkey::from_str(&query.output_mint)?, @@ -45,6 +49,25 @@ impl Quote { }) } + pub fn try_from_sanctum( + input_mint: Pubkey, + output_mint: Pubkey, + query: sanctum::QuoteResponse, + ) -> anyhow::Result { + Ok(Quote { + input_mint: input_mint, + output_mint: output_mint, + price_impact_pct: query.fee_pct.parse()?, + in_amount: query + .in_amount + .as_ref() + .map(|a| a.parse()) + .unwrap_or(Ok(0))?, + out_amount: query.out_amount.parse()?, + raw: RawQuote::Sanctum(query), + }) + } + pub fn first_route_label(&self) -> String { let label_maybe = match &self.raw { RawQuote::Mock => Some("mock".into()), @@ -54,16 +77,17 @@ impl Quote { .and_then(|v| v.swap_info.as_ref()) .and_then(|v| v.label.as_ref()) .cloned(), + RawQuote::Sanctum(raw) => Some(raw.swap_src.clone()), }; label_maybe.unwrap_or_else(|| "unknown".into()) } } -pub struct Jupiter<'a> { +pub struct Swap<'a> { pub mango_client: &'a MangoClient, } -impl<'a> Jupiter<'a> { +impl<'a> Swap<'a> { async fn quote_mock( &self, input_mint: Pubkey, @@ -123,6 +147,14 @@ impl<'a> Jupiter<'a> { ) .await?, )?, + Version::Sanctum => Quote::try_from_sanctum( + input_mint, + output_mint, + self.mango_client + .sanctum() + .quote(input_mint, output_mint, amount) + .await?, + )?, }) } @@ -138,6 +170,18 @@ impl<'a> Jupiter<'a> { .prepare_swap_transaction(raw) .await } + RawQuote::Sanctum(raw) => { + let max_slippage_bps = (quote.price_impact_pct * 100.0).ceil() as u64; + self.mango_client + .sanctum() + .prepare_swap_transaction( + quote.input_mint, + quote.output_mint, + max_slippage_bps, + raw, + ) + .await + } } } } diff --git a/lib/client/src/swap/sanctum.rs b/lib/client/src/swap/sanctum.rs new file mode 100644 index 0000000000..ff48b5c488 --- /dev/null +++ b/lib/client/src/swap/sanctum.rs @@ -0,0 +1,401 @@ +use std::collections::HashSet; +use std::str::FromStr; + +use anchor_lang::{system_program, Id}; +use anchor_spl::token::Token; +use anyhow::Context; +use bincode::Options; +use mango_v4::accounts_zerocopy::AccountReader; +use serde::{Deserialize, Serialize}; +use solana_address_lookup_table_program::state::AddressLookupTable; +use solana_client::nonblocking::rpc_client::RpcClient; +use solana_sdk::account::Account; +use solana_sdk::{instruction::Instruction, pubkey::Pubkey, signature::Signature}; +use std::time::Duration; + +use crate::gpa::fetch_multiple_accounts_in_chunks; +use crate::swap::sanctum_state; +use crate::{util, MangoClient, TransactionBuilder}; +use borsh::BorshDeserialize; + +#[derive(Deserialize, Serialize, Debug, Clone)] +#[serde(rename_all = "camelCase")] +pub struct QuoteResponse { + pub in_amount: Option, + pub out_amount: String, + pub fee_amount: String, + pub fee_mint: String, + pub fee_pct: String, + pub swap_src: String, +} + +#[derive(Deserialize, Serialize, Debug, Clone)] +#[serde(rename_all = "camelCase")] +pub struct SwapRequest { + pub amount: String, + pub quoted_amount: String, + pub input: String, + pub mode: String, + pub output_lst_mint: String, + pub signer: String, + pub swap_src: String, +} + +#[derive(Deserialize, Serialize, Debug, Clone)] +#[serde(rename_all = "camelCase")] +pub struct SanctumSwapResponse { + pub tx: String, +} + +pub struct Sanctum<'a> { + pub mango_client: &'a MangoClient, + pub timeout_duration: Duration, +} + +impl<'a> Sanctum<'a> { + pub async fn quote( + &self, + input_mint: Pubkey, + output_mint: Pubkey, + amount: u64, + ) -> anyhow::Result { + if input_mint == output_mint { + anyhow::bail!("Need two distinct mint to swap"); + } + + let mut account = self.mango_client.mango_account().await?; + let input_token_index = self + .mango_client + .context + .token_by_mint(&input_mint)? + .token_index; + let output_token_index = self + .mango_client + .context + .token_by_mint(&output_mint)? + .token_index; + account.ensure_token_position(input_token_index)?; + account.ensure_token_position(output_token_index)?; + + let query_args = vec![ + ("input", input_mint.to_string()), + ("outputLstMint", output_mint.to_string()), + ("amount", format!("{}", amount)), + ]; + let config = self.mango_client.client.config(); + + let response = self + .mango_client + .http_client + .get(format!("{}/swap/quote", config.sanctum_url)) + .query(&query_args) + .timeout(self.timeout_duration) + .send() + .await + .context("quote request to sanctum")?; + let quote: QuoteResponse = + util::http_error_handling(response).await.with_context(|| { + format!("error requesting sanctum route between {input_mint} and {output_mint} (using url: {})", config.sanctum_url) + })?; + + Ok(quote) + } + + /// Find the instructions and account lookup tables for a sanctum swap through mango + pub async fn prepare_swap_transaction( + &self, + input_mint: Pubkey, + output_mint: Pubkey, + max_slippage_bps: u64, + quote: &QuoteResponse, + ) -> anyhow::Result { + tracing::info!("swapping using sanctum"); + + let source_token = self.mango_client.context.token_by_mint(&input_mint)?; + let target_token = self.mango_client.context.token_by_mint(&output_mint)?; + + let bank_ams = [source_token.first_bank(), target_token.first_bank()] + .into_iter() + .map(util::to_writable_account_meta) + .collect::>(); + + let vault_ams = [source_token.first_vault(), target_token.first_vault()] + .into_iter() + .map(util::to_writable_account_meta) + .collect::>(); + + let owner = self.mango_client.owner(); + let account = &self.mango_client.mango_account().await?; + + let token_ams = [source_token.mint, target_token.mint] + .into_iter() + .map(|mint| { + util::to_writable_account_meta( + anchor_spl::associated_token::get_associated_token_address(&owner, &mint), + ) + }) + .collect::>(); + + let source_loan = quote + .in_amount + .as_ref() + .map(|v| u64::from_str(v).unwrap()) + .unwrap_or(0); + let loan_amounts = vec![source_loan, 0u64]; + let num_loans: u8 = loan_amounts.len().try_into().unwrap(); + + // This relies on the fact that health account banks will be identical to the first_bank above! + let (health_ams, _health_cu) = self + .mango_client + .derive_health_check_remaining_account_metas( + account, + vec![source_token.token_index, target_token.token_index], + vec![source_token.token_index, target_token.token_index], + vec![], + ) + .await + .context("building health accounts")?; + + let config = self.mango_client.client.config(); + + let in_amount = quote + .in_amount + .clone() + .expect("sanctum require a in amount"); + let quote_amount_u64 = quote.out_amount.parse::()?; + let out_amount = ((quote_amount_u64 as f64) * (1.0 - (max_slippage_bps as f64) / 10_000.0)) + .ceil() as u64; + + let swap_response = self + .mango_client + .http_client + .post(format!("{}/swap", config.sanctum_url)) + .json(&SwapRequest { + amount: in_amount.clone(), + quoted_amount: out_amount.to_string(), + input: input_mint.to_string(), + mode: "ExactIn".to_string(), + output_lst_mint: output_mint.to_string(), + signer: owner.to_string(), + swap_src: quote.swap_src.clone(), + }) + .timeout(self.timeout_duration) + .send() + .await + .context("swap transaction request to sanctum")?; + + let swap_r: SanctumSwapResponse = util::http_error_handling(swap_response) + .await + .context("error requesting sanctum swap")?; + + let tx = bincode::options() + .with_fixint_encoding() + .reject_trailing_bytes() + .deserialize::( + &base64::decode(&swap_r.tx).context("base64 decoding sanctum transaction")?, + ) + .context("parsing sanctum transaction")?; + + let (sanctum_ixs_orig, sanctum_alts) = self + .mango_client + .deserialize_instructions_and_alts(&tx.message) + .await?; + + let system_program = system_program::ID; + let ata_program = anchor_spl::associated_token::ID; + let token_program = anchor_spl::token::ID; + let compute_budget_program: Pubkey = solana_sdk::compute_budget::ID; + // these setup instructions should be placed outside of flashloan begin-end + let is_setup_ix = |k: Pubkey| -> bool { + k == ata_program || k == token_program || k == compute_budget_program + }; + let sync_native_pack = + anchor_spl::token::spl_token::instruction::TokenInstruction::SyncNative.pack(); + + // Remove auto wrapping of SOL->wSOL + let sanctum_ixs: Vec = sanctum_ixs_orig + .clone() + .into_iter() + .filter(|ix| { + !(ix.program_id == system_program) + && !(ix.program_id == token_program && ix.data == sync_native_pack) + }) + .collect(); + + let sanctum_action_ix_begin = sanctum_ixs + .iter() + .position(|ix| !is_setup_ix(ix.program_id)) + .ok_or_else(|| { + anyhow::anyhow!("sanctum swap response only had setup-like instructions") + })?; + let sanctum_action_ix_end = sanctum_ixs.len() + - sanctum_ixs + .iter() + .rev() + .position(|ix| !is_setup_ix(ix.program_id)) + .unwrap(); + + let mut instructions: Vec = Vec::new(); + + for ix in &sanctum_ixs[..sanctum_action_ix_begin] { + instructions.push(ix.clone()); + } + + // Ensure the source token account is created (sanctum takes care of the output account) + instructions.push( + spl_associated_token_account::instruction::create_associated_token_account_idempotent( + &owner, + &owner, + &source_token.mint, + &Token::id(), + ), + ); + + instructions.push(Instruction { + program_id: mango_v4::id(), + accounts: { + let mut ams = anchor_lang::ToAccountMetas::to_account_metas( + &mango_v4::accounts::FlashLoanBegin { + account: self.mango_client.mango_account_address, + owner, + token_program: Token::id(), + instructions: solana_sdk::sysvar::instructions::id(), + }, + None, + ); + ams.extend(bank_ams); + ams.extend(vault_ams.clone()); + ams.extend(token_ams.clone()); + ams.push(util::to_readonly_account_meta(self.mango_client.group())); + ams + }, + data: anchor_lang::InstructionData::data(&mango_v4::instruction::FlashLoanBegin { + loan_amounts, + }), + }); + + for ix in &sanctum_ixs[sanctum_action_ix_begin..sanctum_action_ix_end] { + instructions.push(ix.clone()); + } + + instructions.push(Instruction { + program_id: mango_v4::id(), + accounts: { + let mut ams = anchor_lang::ToAccountMetas::to_account_metas( + &mango_v4::accounts::FlashLoanEnd { + account: self.mango_client.mango_account_address, + owner, + token_program: Token::id(), + }, + None, + ); + ams.extend(health_ams); + ams.extend(vault_ams); + ams.extend(token_ams); + ams.push(util::to_readonly_account_meta(self.mango_client.group())); + ams + }, + data: anchor_lang::InstructionData::data(&mango_v4::instruction::FlashLoanEndV2 { + num_loans, + flash_loan_type: mango_v4::accounts_ix::FlashLoanType::Swap, + }), + }); + + for ix in &sanctum_ixs[sanctum_action_ix_end..] { + instructions.push(ix.clone()); + } + + let mut address_lookup_tables = self.mango_client.mango_address_lookup_tables().await?; + address_lookup_tables.extend(sanctum_alts.into_iter()); + + let payer = owner; // maybe use fee_payer? but usually it's the same + + Ok(TransactionBuilder { + instructions, + address_lookup_tables, + payer, + signers: vec![self.mango_client.owner.clone()], + config: self + .mango_client + .client + .config() + .transaction_builder_config + .clone(), + }) + } + + pub async fn swap( + &self, + input_mint: Pubkey, + output_mint: Pubkey, + max_slippage_bps: u64, + amount: u64, + ) -> anyhow::Result { + let route = self.quote(input_mint, output_mint, amount).await?; + + let tx_builder = self + .prepare_swap_transaction(input_mint, output_mint, max_slippage_bps, &route) + .await?; + + tx_builder.send_and_confirm(&self.mango_client.client).await + } +} + +pub async fn load_supported_token_mints( + live_rpc_client: &RpcClient, +) -> anyhow::Result> { + let address = Pubkey::from_str("EhWxBHdmQ3yDmPzhJbKtGMM9oaZD42emt71kSieghy5")?; + + let lookup_table_data = live_rpc_client.get_account(&address).await?; + let lookup_table = AddressLookupTable::deserialize(&lookup_table_data.data())?; + let accounts: Vec = + fetch_multiple_accounts_in_chunks(live_rpc_client, &lookup_table.addresses, 100, 1) + .await? + .into_iter() + .map(|x| x.1) + .collect(); + + let mut lst_mints = HashSet::new(); + for account in accounts { + let account = Account::from(account); + let mut account_data = account.data(); + let t = sanctum_state::StakePool::deserialize(&mut account_data); + if let Ok(d) = t { + lst_mints.insert(d.pool_mint); + } + } + + // Hardcoded for now + lst_mints.insert( + Pubkey::from_str("CgntPoLka5pD5fesJYhGmUCF8KU1QS1ZmZiuAuMZr2az").expect("invalid lst mint"), + ); + lst_mints.insert( + Pubkey::from_str("7ge2xKsZXmqPxa3YmXxXmzCp9Hc2ezrTxh6PECaxCwrL").expect("invalid lst mint"), + ); + lst_mints.insert( + Pubkey::from_str("GUAMR8ciiaijraJeLDEDrFVaueLm9YzWWY9R7CBPL9rA").expect("invalid lst mint"), + ); + lst_mints.insert( + Pubkey::from_str("Jito4APyf642JPZPx3hGc6WWJ8zPKtRbRs4P815Awbb").expect("invalid lst mint"), + ); + lst_mints.insert( + Pubkey::from_str("CtMyWsrUtAwXWiGr9WjHT5fC3p3fgV8cyGpLTo2LJzG1").expect("invalid lst mint"), + ); + lst_mints.insert( + Pubkey::from_str("2qyEeSAWKfU18AFthrF7JA8z8ZCi1yt76Tqs917vwQTV").expect("invalid lst mint"), + ); + lst_mints.insert( + Pubkey::from_str("DqhH94PjkZsjAqEze2BEkWhFQJ6EyU6MdtMphMgnXqeK").expect("invalid lst mint"), + ); + lst_mints.insert( + Pubkey::from_str("F8h46pYkaqPJNP2MRkUUUtRkf8efCkpoqehn9g1bTTm7").expect("invalid lst mint"), + ); + lst_mints.insert( + Pubkey::from_str("5oc4nmbNTda9fx8Tw57ShLD132aqDK65vuHH4RU1K4LZ").expect("invalid lst mint"), + ); + lst_mints.insert( + Pubkey::from_str("stk9ApL5HeVAwPLr3TLhDXdZS8ptVu7zp6ov8HFDuMi").expect("invalid lst mint"), + ); + + Ok(lst_mints) +} diff --git a/lib/client/src/swap/sanctum_state.rs b/lib/client/src/swap/sanctum_state.rs new file mode 100644 index 0000000000..ea37e04832 --- /dev/null +++ b/lib/client/src/swap/sanctum_state.rs @@ -0,0 +1,158 @@ +use { + borsh::BorshDeserialize, + solana_sdk::{pubkey::Pubkey, stake::state::Lockup}, +}; + +#[derive(Clone, Debug, PartialEq, BorshDeserialize)] +pub enum AccountType { + /// If the account has not been initialized, the enum will be 0 + Uninitialized, + /// Stake pool + StakePool, + /// Validator stake list + ValidatorList, +} + +#[repr(C)] +#[derive(Clone, Debug, PartialEq, BorshDeserialize)] +pub struct StakePool { + /// Account type, must be StakePool currently + pub account_type: AccountType, + + /// Manager authority, allows for updating the staker, manager, and fee + /// account + pub manager: Pubkey, + + /// Staker authority, allows for adding and removing validators, and + /// managing stake distribution + pub staker: Pubkey, + + /// Stake deposit authority + /// + /// If a depositor pubkey is specified on initialization, then deposits must + /// be signed by this authority. If no deposit authority is specified, + /// then the stake pool will default to the result of: + /// `Pubkey::find_program_address( + /// &[&stake_pool_address.as_ref(), b"deposit"], + /// program_id, + /// )` + pub stake_deposit_authority: Pubkey, + + /// Stake withdrawal authority bump seed + /// for `create_program_address(&[state::StakePool account, "withdrawal"])` + pub stake_withdraw_bump_seed: u8, + + /// Validator stake list storage account + pub validator_list: Pubkey, + + /// Reserve stake account, holds deactivated stake + pub reserve_stake: Pubkey, + + /// Pool Mint + pub pool_mint: Pubkey, + + /// Manager fee account + pub manager_fee_account: Pubkey, + + /// Pool token program id + pub token_program_id: Pubkey, + + /// Total stake under management. + /// Note that if `last_update_epoch` does not match the current epoch then + /// this field may not be accurate + pub total_lamports: u64, + + /// Total supply of pool tokens (should always match the supply in the Pool + /// Mint) + pub pool_token_supply: u64, + + /// Last epoch the `total_lamports` field was updated + pub last_update_epoch: u64, + + /// Lockup that all stakes in the pool must have + pub lockup: Lockup, + + /// Fee taken as a proportion of rewards each epoch + pub epoch_fee: Fee, + + /// Fee for next epoch + pub next_epoch_fee: FutureEpoch, + + /// Preferred deposit validator vote account pubkey + pub preferred_deposit_validator_vote_address: Option, + + /// Preferred withdraw validator vote account pubkey + pub preferred_withdraw_validator_vote_address: Option, + + /// Fee assessed on stake deposits + pub stake_deposit_fee: Fee, + + /// Fee assessed on withdrawals + pub stake_withdrawal_fee: Fee, + + /// Future stake withdrawal fee, to be set for the following epoch + pub next_stake_withdrawal_fee: FutureEpoch, + + /// Fees paid out to referrers on referred stake deposits. + /// Expressed as a percentage (0 - 100) of deposit fees. + /// i.e. `stake_deposit_fee`% of stake deposited is collected as deposit + /// fees for every deposit and `stake_referral_fee`% of the collected + /// stake deposit fees is paid out to the referrer + pub stake_referral_fee: u8, + + /// Toggles whether the `DepositSol` instruction requires a signature from + /// this `sol_deposit_authority` + pub sol_deposit_authority: Option, + + /// Fee assessed on SOL deposits + pub sol_deposit_fee: Fee, + + /// Fees paid out to referrers on referred SOL deposits. + /// Expressed as a percentage (0 - 100) of SOL deposit fees. + /// i.e. `sol_deposit_fee`% of SOL deposited is collected as deposit fees + /// for every deposit and `sol_referral_fee`% of the collected SOL + /// deposit fees is paid out to the referrer + pub sol_referral_fee: u8, + + /// Toggles whether the `WithdrawSol` instruction requires a signature from + /// the `deposit_authority` + pub sol_withdraw_authority: Option, + + /// Fee assessed on SOL withdrawals + pub sol_withdrawal_fee: Fee, + + /// Future SOL withdrawal fee, to be set for the following epoch + pub next_sol_withdrawal_fee: FutureEpoch, + + /// Last epoch's total pool tokens, used only for APR estimation + pub last_epoch_pool_token_supply: u64, + + /// Last epoch's total lamports, used only for APR estimation + pub last_epoch_total_lamports: u64, +} + +/// Fee rate as a ratio, minted on `UpdateStakePoolBalance` as a proportion of +/// the rewards +/// If either the numerator or the denominator is 0, the fee is considered to be +/// 0 +#[repr(C)] +#[derive(Clone, Copy, Debug, PartialEq, BorshDeserialize)] +pub struct Fee { + /// denominator of the fee ratio + pub denominator: u64, + /// numerator of the fee ratio + pub numerator: u64, +} + +/// Wrapper type that "counts down" epochs, which is Borsh-compatible with the +/// native `Option` +#[repr(C)] +#[derive(Clone, Copy, Debug, PartialEq, BorshDeserialize)] +pub enum FutureEpoch { + /// Nothing is set + None, + /// Value is ready after the next epoch boundary + One(T), + /// Value is ready after two epoch boundaries + Two(T), +} From 75a07e986acc6b23c4bdfefc5889ce2cff45f85c Mon Sep 17 00:00:00 2001 From: Serge Farny Date: Wed, 10 Apr 2024 15:24:39 +0200 Subject: [PATCH 11/28] program: remove delegate account withdrawal limit (#939) This is necessary for new liquidator feature of rebalancing using limit orders: We need to close the token and market slot so that it's available for new liquidation, but at the same time, it's possible that the min order quantity for a given market is still bigger than allowed max withdrawal. --- programs/mango-v4/src/instructions/token_withdraw.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/programs/mango-v4/src/instructions/token_withdraw.rs b/programs/mango-v4/src/instructions/token_withdraw.rs index cf0dfbc36e..28d85dc375 100644 --- a/programs/mango-v4/src/instructions/token_withdraw.rs +++ b/programs/mango-v4/src/instructions/token_withdraw.rs @@ -13,8 +13,6 @@ use crate::logs::{ emit_stack, LoanOriginationFeeInstruction, TokenBalanceLog, WithdrawLoanLog, WithdrawLog, }; -const DELEGATE_WITHDRAW_MAX: i64 = 100_000; // $0.1 - pub fn token_withdraw(ctx: Context, amount: u64, allow_borrow: bool) -> Result<()> { require_msg!(amount > 0, "withdraw amount must be positive"); @@ -143,13 +141,6 @@ pub fn token_withdraw(ctx: Context, amount: u64, allow_borrow: bo !withdraw_result.position_is_active, MangoError::DelegateWithdrawMustClosePosition ); - - // Delegates can't withdraw too much - require_gte!( - DELEGATE_WITHDRAW_MAX, - amount_usd, - MangoError::DelegateWithdrawSmall - ); } // From d0125e9fdfb5593118da1b16b0a593590b63a35a Mon Sep 17 00:00:00 2001 From: Serge Farny Date: Wed, 10 Apr 2024 16:47:45 +0200 Subject: [PATCH 12/28] liquidator: rebalance with openbook (limit order) (#938) liquidator: rebalance with limit order --- bin/liquidator/src/cli_args.rs | 7 + bin/liquidator/src/main.rs | 10 +- bin/liquidator/src/rebalance.rs | 385 +++++++++++++++++++++++++++----- lib/client/src/client.rs | 19 +- 4 files changed, 364 insertions(+), 57 deletions(-) diff --git a/bin/liquidator/src/cli_args.rs b/bin/liquidator/src/cli_args.rs index dc122c6043..c6c6b0a282 100644 --- a/bin/liquidator/src/cli_args.rs +++ b/bin/liquidator/src/cli_args.rs @@ -136,6 +136,13 @@ pub struct Cli { #[clap(long, env, default_value = "30")] pub(crate) rebalance_refresh_timeout_secs: u64, + #[clap(long, env, value_enum, default_value = "false")] + pub(crate) rebalance_using_limit_order: BoolArg, + + /// distance (in bps) from oracle price at which to place order for rebalancing + #[clap(long, env, default_value = "100")] + pub(crate) rebalance_limit_order_distance_from_oracle_price_bps: u64, + /// if taking tcs orders is enabled /// /// typically only disabled for tests where swaps are unavailable diff --git a/bin/liquidator/src/main.rs b/bin/liquidator/src/main.rs index 1e1a6032ea..846d8c9b2f 100644 --- a/bin/liquidator/src/main.rs +++ b/bin/liquidator/src/main.rs @@ -248,6 +248,11 @@ async fn main() -> anyhow::Result<()> { let (rebalance_trigger_sender, rebalance_trigger_receiver) = async_channel::bounded::<()>(1); let (tx_tcs_trigger_sender, tx_tcs_trigger_receiver) = async_channel::unbounded::<()>(); let (tx_liq_trigger_sender, tx_liq_trigger_receiver) = async_channel::unbounded::<()>(); + + if cli.rebalance_using_limit_order == BoolArg::True && !signer_is_owner { + warn!("Can't withdraw dust to liqor account if delegate and using limit orders for rebalancing"); + } + let rebalance_config = rebalance::Config { enabled: cli.rebalance == BoolArg::True, slippage_bps: cli.rebalance_slippage_bps, @@ -263,8 +268,11 @@ async fn main() -> anyhow::Result<()> { .rebalance_alternate_sanctum_route_tokens .clone() .unwrap_or_default(), - allow_withdraws: signer_is_owner, + allow_withdraws: cli.rebalance_using_limit_order == BoolArg::False || signer_is_owner, use_sanctum: cli.sanctum_enabled == BoolArg::True, + use_limit_order: cli.rebalance_using_limit_order == BoolArg::True, + limit_order_distance_from_oracle_price_bps: cli + .rebalance_limit_order_distance_from_oracle_price_bps, }; rebalance_config.validate(&mango_client.context); diff --git a/bin/liquidator/src/rebalance.rs b/bin/liquidator/src/rebalance.rs index e9e2860e65..6211065821 100644 --- a/bin/liquidator/src/rebalance.rs +++ b/bin/liquidator/src/rebalance.rs @@ -2,21 +2,27 @@ use itertools::Itertools; use mango_v4::accounts_zerocopy::KeyedAccountSharedData; use mango_v4::state::{ Bank, BookSide, MangoAccountValue, OracleAccountInfos, PerpMarket, PerpPosition, - PlaceOrderType, Side, TokenIndex, QUOTE_TOKEN_INDEX, + PlaceOrderType, Serum3MarketIndex, Side, TokenIndex, QUOTE_TOKEN_INDEX, }; use mango_v4_client::{ - chain_data, perp_pnl, swap, MangoClient, MangoGroupContext, PerpMarketContext, TokenContext, - TransactionBuilder, TransactionSize, + chain_data, perp_pnl, swap, MangoClient, MangoGroupContext, PerpMarketContext, + PreparedInstructions, Serum3MarketContext, TokenContext, TransactionBuilder, TransactionSize, }; use solana_client::nonblocking::rpc_client::RpcClient; use {fixed::types::I80F48, solana_sdk::pubkey::Pubkey}; +use fixed::types::extra::U48; +use fixed::FixedI128; +use mango_v4::accounts_ix::{Serum3OrderType, Serum3SelfTradeBehavior, Serum3Side}; +use mango_v4::serum3_cpi; +use mango_v4::serum3_cpi::{OpenOrdersAmounts, OpenOrdersSlim}; +use solana_sdk::account::ReadableAccount; use solana_sdk::signature::Signature; use std::collections::{HashMap, HashSet}; use std::future::Future; use std::sync::Arc; -use std::time::Duration; +use std::time::{Duration, SystemTime, UNIX_EPOCH}; use tracing::*; #[derive(Clone)] @@ -24,6 +30,8 @@ pub struct Config { pub enabled: bool, /// Maximum slippage allowed in Jupiter pub slippage_bps: u64, + /// Maximum slippage from oracle price for limit orders + pub limit_order_distance_from_oracle_price_bps: u64, /// When closing borrows, the rebalancer can't close token positions exactly. /// Instead it purchases too much and then gets rid of the excess in a second step. /// If this is 1.05, then it'll swap borrow_value * 1.05 quote token into borrow token. @@ -35,6 +43,7 @@ pub struct Config { pub alternate_sanctum_route_tokens: Vec, pub allow_withdraws: bool, pub use_sanctum: bool, + pub use_limit_order: bool, } impl Config { @@ -440,6 +449,7 @@ impl Rebalancer { } async fn rebalance_tokens(&self) -> anyhow::Result<()> { + self.close_and_settle_all_openbook_orders().await?; let account = self.mango_account()?; // TODO: configurable? @@ -466,7 +476,20 @@ impl Rebalancer { // to sell them. Instead they will be withdrawn at the end. // Purchases will aim to purchase slightly more than is needed, such that we can // again withdraw the dust at the end. - let dust_threshold = I80F48::from(2) / token_price; + let dust_threshold_res = if self.config.use_limit_order { + self.dust_threshold_for_limit_order(token) + .await + .map(|x| I80F48::from(x)) + } else { + Ok(I80F48::from(2) / token_price) + }; + + let Ok(dust_threshold) = dust_threshold_res + else { + let e = dust_threshold_res.unwrap_err(); + error!("Cannot rebalance token {}, probably missing USDC market ? - error: {}", token.name, e); + continue; + }; // Some rebalancing can actually change non-USDC positions (rebalancing to SOL) // So re-fetch the current token position amount @@ -480,57 +503,29 @@ impl Rebalancer { }; let mut amount = fresh_amount()?; - trace!(token_index, %amount, %dust_threshold, "checking"); - if amount < 0 { - // Buy - let buy_amount = - amount.abs().ceil() + (dust_threshold - I80F48::ONE).max(I80F48::ZERO); - let input_amount = - buy_amount * token_price * I80F48::from_num(self.config.borrow_settle_excess); - let (txsig, route) = self - .token_swap_buy(&account, token_mint, input_amount.to_num()) - .await?; - let in_token = self - .mango_client - .context - .token_by_mint(&route.input_mint) - .unwrap(); - info!( - %txsig, - "bought {} {} for {} {}", - token.native_to_ui(I80F48::from(route.out_amount)), - token.name, - in_token.native_to_ui(I80F48::from(route.in_amount)), - in_token.name, - ); - if !self.refresh_mango_account_after_tx(txsig).await? { - return Ok(()); - } - amount = fresh_amount()?; - } + trace!(token_index, token.name, %amount, %dust_threshold, "checking"); - if amount > dust_threshold { - // Sell - let (txsig, route) = self - .token_swap_sell(&account, token_mint, amount.to_num::()) + if self.config.use_limit_order { + self.unwind_using_limit_orders( + &account, + token, + token_price, + dust_threshold, + amount, + ) + .await?; + } else { + amount = self + .unwind_using_swap( + &account, + token, + token_mint, + token_price, + dust_threshold, + fresh_amount, + amount, + ) .await?; - let out_token = self - .mango_client - .context - .token_by_mint(&route.output_mint) - .unwrap(); - info!( - %txsig, - "sold {} {} for {} {}", - token.native_to_ui(I80F48::from(route.in_amount)), - token.name, - out_token.native_to_ui(I80F48::from(route.out_amount)), - out_token.name, - ); - if !self.refresh_mango_account_after_tx(txsig).await? { - return Ok(()); - } - amount = fresh_amount()?; } // Any remainder that could not be sold just gets withdrawn to ensure the @@ -565,6 +560,288 @@ impl Rebalancer { Ok(()) } + async fn dust_threshold_for_limit_order(&self, token: &TokenContext) -> anyhow::Result { + let (_, market) = self + .mango_client + .context + .serum3_markets + .iter() + .find(|(_, context)| { + context.base_token_index == token.token_index + && context.quote_token_index == QUOTE_TOKEN_INDEX + }) + .ok_or(anyhow::format_err!( + "could not find market for token {}", + token.name + ))?; + + Ok(market.coin_lot_size - 1) + } + + async fn unwind_using_limit_orders( + &self, + account: &Box, + token: &TokenContext, + token_price: I80F48, + dust_threshold: FixedI128, + native_amount: I80F48, + ) -> anyhow::Result<()> { + if native_amount >= 0 && native_amount < dust_threshold { + return Ok(()); + } + + let (market_index, market) = self + .mango_client + .context + .serum3_markets + .iter() + .find(|(_, context)| { + context.base_token_index == token.token_index + && context.quote_token_index == QUOTE_TOKEN_INDEX + }) + .ok_or(anyhow::format_err!( + "could not find market for token {}", + token.name + ))?; + + let side = if native_amount < 0 { + Serum3Side::Bid + } else { + Serum3Side::Ask + }; + + let distance_from_oracle_price_bp = + I80F48::from_num(self.config.limit_order_distance_from_oracle_price_bps) + * match side { + Serum3Side::Bid => 1, + Serum3Side::Ask => -1, + }; + let price_adjustment_factor = + (I80F48::from_num(10_000) + distance_from_oracle_price_bp) / I80F48::from_num(10_000); + + let limit_price = + (token_price * price_adjustment_factor * I80F48::from_num(market.coin_lot_size)) + .to_num::() + / market.pc_lot_size; + let mut max_base_lots = + (native_amount.abs() / I80F48::from_num(market.coin_lot_size)).to_num::(); + + debug!( + side = match side { + Serum3Side::Bid => "Buy", + Serum3Side::Ask => "Sell", + }, + token = token.name, + oracle_price = token_price.to_num::(), + price_adjustment_factor = price_adjustment_factor.to_num::(), + coin_lot_size = market.coin_lot_size, + pc_lot_size = market.pc_lot_size, + limit_price, + native_amount = native_amount.to_num::(), + max_base_lots = max_base_lots, + "building order for rebalancing" + ); + + // Try to buy enough to close the borrow + if max_base_lots == 0 && native_amount < 0 { + info!( + "Buying a whole lot for token {} to cover borrow of {}", + token.name, native_amount + ); + max_base_lots = 1; + } + + if max_base_lots == 0 { + warn!("Could not rebalance token '{}' (native_amount={}) using limit order, below base lot size", token.name, native_amount); + return Ok(()); + } + + let mut account = account.clone(); + let create_or_replace_account_ixs = self + .mango_client + .serum3_create_or_replace_account_instruction(&mut account, *market_index, side) + .await?; + let cancel_ixs = + self.mango_client + .serum3_cancel_all_orders_instruction(&account, *market_index, 10)?; + let place_order_ixs = self + .mango_client + .serum3_place_order_instruction( + &account, + *market_index, + side, + limit_price, + max_base_lots, + ((limit_price * max_base_lots * market.pc_lot_size) as f64 * 1.01) as u64, + Serum3SelfTradeBehavior::CancelProvide, + Serum3OrderType::Limit, + SystemTime::now().duration_since(UNIX_EPOCH)?.as_millis() as u64, + 10, + ) + .await?; + + let seq_check_ixs = self + .mango_client + .sequence_check_instruction(&self.mango_account_address, &account) + .await?; + + let mut ixs = PreparedInstructions::new(); + ixs.append(create_or_replace_account_ixs); + ixs.append(cancel_ixs); + ixs.append(place_order_ixs); + ixs.append(seq_check_ixs); + + let txsig = self + .mango_client + .send_and_confirm_owner_tx(ixs.to_instructions()) + .await?; + + info!( + %txsig, + "placed order for {} {} at price = {}", + token.native_to_ui(I80F48::from(native_amount)), + token.name, + limit_price, + ); + if !self.refresh_mango_account_after_tx(txsig).await? { + return Ok(()); + } + + Ok(()) + } + + async fn close_and_settle_all_openbook_orders(&self) -> anyhow::Result<()> { + let account = self.mango_account()?; + + for x in Self::shuffle(account.active_serum3_orders()) { + let token = self.mango_client.context.token(x.base_token_index); + let quote = self.mango_client.context.token(x.quote_token_index); + let market_index = x.market_index; + let market = self + .mango_client + .context + .serum3_markets + .get(&market_index) + .expect("no openbook market found"); + self.close_and_settle_openbook_orders(&account, token, &market_index, market, quote) + .await?; + } + Ok(()) + } + + /// This will only settle funds when there is no more active orders (avoid doing too many settle tx) + async fn close_and_settle_openbook_orders( + &self, + account: &Box, + token: &TokenContext, + market_index: &Serum3MarketIndex, + market: &Serum3MarketContext, + quote: &TokenContext, + ) -> anyhow::Result<()> { + let Ok(open_orders) = account.serum3_orders(*market_index).map(|x| x.open_orders) + else { + return Ok(()); + }; + + let oo_acc = self.account_fetcher.fetch_raw(&open_orders)?; + let oo = serum3_cpi::load_open_orders_bytes(oo_acc.data())?; + let oo_slim = OpenOrdersSlim::from_oo(oo); + + if oo_slim.native_base_reserved() != 0 || oo_slim.native_quote_reserved() != 0 { + return Ok(()); + } + + let settle_ixs = + self.mango_client + .serum3_settle_funds_instruction(market, token, quote, open_orders); + + let close_ixs = self + .mango_client + .serum3_close_open_orders_instruction(*market_index); + + let mut ixs = PreparedInstructions::new(); + ixs.append(close_ixs); + ixs.append(settle_ixs); + + let txsig = self + .mango_client + .send_and_confirm_owner_tx(ixs.to_instructions()) + .await?; + + info!( + %txsig, + "settle spot funds for {}", + token.name, + ); + if !self.refresh_mango_account_after_tx(txsig).await? { + return Ok(()); + } + + Ok(()) + } + + async fn unwind_using_swap( + &self, + account: &Box, + token: &TokenContext, + token_mint: Pubkey, + token_price: I80F48, + dust_threshold: FixedI128, + fresh_amount: impl Fn() -> anyhow::Result, + amount: I80F48, + ) -> anyhow::Result { + if amount < 0 { + // Buy + let buy_amount = amount.abs().ceil() + (dust_threshold - I80F48::ONE).max(I80F48::ZERO); + let input_amount = + buy_amount * token_price * I80F48::from_num(self.config.borrow_settle_excess); + let (txsig, route) = self + .token_swap_buy(&account, token_mint, input_amount.to_num()) + .await?; + let in_token = self + .mango_client + .context + .token_by_mint(&route.input_mint) + .unwrap(); + info!( + %txsig, + "bought {} {} for {} {}", + token.native_to_ui(I80F48::from(route.out_amount)), + token.name, + in_token.native_to_ui(I80F48::from(route.in_amount)), + in_token.name, + ); + if !self.refresh_mango_account_after_tx(txsig).await? { + return Ok(amount); + } + } + + if amount > dust_threshold { + // Sell + let (txsig, route) = self + .token_swap_sell(&account, token_mint, amount.to_num::()) + .await?; + let out_token = self + .mango_client + .context + .token_by_mint(&route.output_mint) + .unwrap(); + info!( + %txsig, + "sold {} {} for {} {}", + token.native_to_ui(I80F48::from(route.in_amount)), + token.name, + out_token.native_to_ui(I80F48::from(route.out_amount)), + out_token.name, + ); + if !self.refresh_mango_account_after_tx(txsig).await? { + return Ok(amount); + } + } + + Ok(fresh_amount()?) + } + #[instrument( skip_all, fields( diff --git a/lib/client/src/client.rs b/lib/client/src/client.rs index 7fef6259ea..598b53e208 100644 --- a/lib/client/src/client.rs +++ b/lib/client/src/client.rs @@ -30,11 +30,11 @@ use mango_v4::state::{ use crate::confirm_transaction::{wait_for_transaction_confirmation, RpcConfirmTransactionConfig}; use crate::context::MangoGroupContext; use crate::gpa::{fetch_anchor_account, fetch_mango_accounts}; -use crate::health_cache; use crate::priority_fees::{FixedPriorityFeeProvider, PriorityFeeProvider}; use crate::util; use crate::util::PreparedInstructions; use crate::{account_fetcher::*, swap}; +use crate::{health_cache, Serum3MarketContext, TokenContext}; use solana_address_lookup_table_program::state::AddressLookupTable; use solana_client::nonblocking::rpc_client::RpcClient as RpcClientAsync; use solana_client::rpc_client::SerializableTransaction; @@ -1171,6 +1171,17 @@ impl MangoClient { let account = self.mango_account().await?; let open_orders = account.serum3_orders(market_index).unwrap().open_orders; + let ix = self.serum3_settle_funds_instruction(s3, base, quote, open_orders); + self.send_and_confirm_owner_tx(ix.to_instructions()).await + } + + pub fn serum3_settle_funds_instruction( + &self, + s3: &Serum3MarketContext, + base: &TokenContext, + quote: &TokenContext, + open_orders: Pubkey, + ) -> PreparedInstructions { let ix = Instruction { program_id: mango_v4::id(), accounts: anchor_lang::ToAccountMetas::to_account_metas( @@ -1203,7 +1214,11 @@ impl MangoClient { fees_to_dao: true, }), }; - self.send_and_confirm_owner_tx(vec![ix]).await + + PreparedInstructions::from_single( + ix, + self.context.compute_estimates.cu_per_mango_instruction, + ) } pub fn serum3_cancel_all_orders_instruction( From fe86295d3c09db91424f5de3e12a3f66fdffd8d5 Mon Sep 17 00:00:00 2001 From: Serge Farny Date: Thu, 11 Apr 2024 07:22:29 +0200 Subject: [PATCH 13/28] program; fix health check ix gate (#940) --- programs/mango-v4/src/accounts_ix/health_check.rs | 2 +- ts/client/src/clientIxParamBuilder.ts | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/programs/mango-v4/src/accounts_ix/health_check.rs b/programs/mango-v4/src/accounts_ix/health_check.rs index c405a4fa30..677dd0d3d3 100644 --- a/programs/mango-v4/src/accounts_ix/health_check.rs +++ b/programs/mango-v4/src/accounts_ix/health_check.rs @@ -17,7 +17,7 @@ pub enum HealthCheckKind { #[derive(Accounts)] pub struct HealthCheck<'info> { #[account( - constraint = group.load()?.is_ix_enabled(IxGate::SequenceCheck) @ MangoError::IxIsDisabled, + constraint = group.load()?.is_ix_enabled(IxGate::HealthCheck) @ MangoError::IxIsDisabled, )] pub group: AccountLoader<'info, Group>, diff --git a/ts/client/src/clientIxParamBuilder.ts b/ts/client/src/clientIxParamBuilder.ts index 3baa5a1d2d..ddfb1dd51f 100644 --- a/ts/client/src/clientIxParamBuilder.ts +++ b/ts/client/src/clientIxParamBuilder.ts @@ -311,6 +311,7 @@ export interface IxGateParams { Serum3PlaceOrderV2: boolean; TokenForceWithdraw: boolean; SequenceCheck: boolean; + HealthCheck: boolean; } // Default with all ixs enabled, use with buildIxGate @@ -392,6 +393,7 @@ export const TrueIxGateParams: IxGateParams = { Serum3PlaceOrderV2: true, TokenForceWithdraw: true, SequenceCheck: true, + HealthCheck: true, }; // build ix gate e.g. buildIxGate(Builder(TrueIxGateParams).TokenDeposit(false).build()).toNumber(), @@ -483,6 +485,7 @@ export function buildIxGate(p: IxGateParams): BN { toggleIx(ixGate, p, 'Serum3PlaceOrderV2', 71); toggleIx(ixGate, p, 'TokenForceWithdraw', 72); toggleIx(ixGate, p, 'SequenceCheck', 73); + toggleIx(ixGate, p, 'HealthCheck', 74); return ixGate; } From ccc479ba21b691aabb7b9c1f43e89b33bc9b0c35 Mon Sep 17 00:00:00 2001 From: thibaultosec <146486261+thibaultosec@users.noreply.github.com> Date: Mon, 15 Apr 2024 08:36:10 +0200 Subject: [PATCH 14/28] add audit report for v0.24.0 (#941) Co-authored-by: CanardMandarin --- audits/Audit_OtterSec_Mango_v0.24.0.pdf | Bin 0 -> 306014 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 audits/Audit_OtterSec_Mango_v0.24.0.pdf diff --git a/audits/Audit_OtterSec_Mango_v0.24.0.pdf b/audits/Audit_OtterSec_Mango_v0.24.0.pdf new file mode 100644 index 0000000000000000000000000000000000000000..ed32f6018155031c2764a62e082b561e7135469c GIT binary patch literal 306014 zcmeFZc~nz(_byIrTi#b&X|;-#YOp9MASfU~5#m5aMU0Aoh!A8H8KR6bC0eT#DWW1l zj1ZLyA_5{pM24e9L?{fm0W8e3C*S%}~*8SryUCUY^XP^Dq z``OQa_C5)#_F3#$yIya@+*Q!jZRuP?JYIdBI@$I3+|8TS_4j!DdmIh$4)<_ZUk|=g zH(Y1DZoQGZ{!VpAbpyP~2K5aa4Ah;}^@-|+Cg26Xs;|f6jn=PI*Wasdv_W0}Ah^KL z$Yh=vt26+U4 ze|?Vzd02S3k=?<|X8zrGG{7%V9gV_vvTv}Tf1o-z(Y^o=cW<{Ka)A1J18^#JeR~jz z_3DP;F9^dfe|L{l;2UTV4K^Che9M!pzJ8rC@a2HI{sA&M2>f*8%vUxbupk6!4NOdo)^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p?$y;Mj09VFj>%pa_t9jGp0ciZ3Jt$q^l;1Hg`8C<~rBlP?! zJUdMD61EQ4+<~n}BZoaW8SD7$NOcGI$7t@Z`yCGVkK{PbQ@DqN6Loy}cy$KXu(9q3 zIGo>wr*OAJ=bxXW?$1@n=c(PD>Ilx^8eYQo1v+1MvAVuOUF=dDSE@ZYf^)cm&8sjU z9K&wMK7^#UH>q^l%s$qP$?yodBTK6v+JiS-z$LoGTL+i!uV<)t*Zp(`r*OIMuQTMcb$^|~OW0ob zyBYEnE@5Zge`XjT!5!?a`_ByH-E}{i!LxNgnZee&U(Dcq-7jYFa@`+h@MPWpW$<#{ z|7CEr?)Nfyx$f^WxL)@Y8N7sp7j6AL$m)^2`Soh&2KYvG^Ch+SWwrf1b@0%w-;b=$ zH#=DEZ2SG)D))b;`Q(0ea_-jSGpq6Lw#V~U4!1o%w{i;G+a9l5<=(c(-&QW+ZrkH) ztK7dq&p*9UZQP`;UJAcbUA$Ty+zh{7ZN6FU{H;3N_W0atz2p{DsPpftyPv6-zf!vgY(2iQx_;3^ z)xpEn#S!ZCD0P0adhDvpGq=9qU!5;KOYNPl&OLQ{j=F_M=W3purylK8=NG8^3)Kr> z?OddeU~AjY3#~kJqfOOmy2;zVhdih@r!p~zj55Pd)JQZueol=^)E6W zIBo=+>7ExpaNPC6Yp>dvBH9?ed)Jj4V_vi>S7u<^V9aeV|>@< zK8Dk5?sAY}tezIMDtTa!8^_|^o8yP$uddk|yLxSPt+wBe-N34T^S5~$^`q5$XX`jR z`vLCzhv#2C?P|65p?P=1C7UR zylr)VAL_$rZPpJ*V?Dv}{vFOg?CboE+Tq%5yt?leUbp(FFpTHyd&}l4JpcazZj9U+ literal 0 HcmV?d00001 diff --git a/programs/mango-v4/tests/program_test/mango_client.rs b/programs/mango-v4/tests/program_test/mango_client.rs index 2efa8967a4..8f49f1f88c 100644 --- a/programs/mango-v4/tests/program_test/mango_client.rs +++ b/programs/mango-v4/tests/program_test/mango_client.rs @@ -7,7 +7,8 @@ use anchor_spl::token::{Token, TokenAccount}; use fixed::types::I80F48; use itertools::Itertools; use mango_v4::accounts_ix::{ - HealthCheckKind, InterestRateParams, Serum3OrderType, Serum3SelfTradeBehavior, Serum3Side, + HealthCheckKind, InterestRateParams, OpenbookV2PlaceOrderType, OpenbookV2SelfTradeBehavior, + OpenbookV2Side, Serum3OrderType, Serum3SelfTradeBehavior, Serum3Side, }; use mango_v4::state::{MangoAccount, MangoAccountValue}; use solana_program::instruction::Instruction; @@ -310,6 +311,7 @@ async fn derive_health_check_remaining_account_metas( } let serum_oos = account.active_serum3_orders().map(|&s| s.open_orders); + let openbook_oos = account.active_openbook_v2_orders().map(|&s| s.open_orders); let to_account_meta = |pubkey| AccountMeta { pubkey, @@ -328,6 +330,7 @@ async fn derive_health_check_remaining_account_metas( .chain(perp_markets.map(to_account_meta)) .chain(perp_oracles.into_iter().map(to_account_meta)) .chain(serum_oos.map(to_account_meta)) + .chain(openbook_oos.map(to_account_meta)) .collect() } @@ -1992,6 +1995,7 @@ pub struct AccountCreateInstruction { pub perp_count: u8, pub perp_oo_count: u8, pub token_conditional_swap_count: u8, + pub openbook_v2_count: u8, pub group: Pubkey, pub owner: TestKeypair, pub payer: TestKeypair, @@ -2001,10 +2005,11 @@ impl Default for AccountCreateInstruction { AccountCreateInstruction { account_num: 0, token_count: 8, - serum3_count: 4, + serum3_count: 2, perp_count: 4, perp_oo_count: 16, token_conditional_swap_count: 1, + openbook_v2_count: 2, group: Default::default(), owner: Default::default(), payer: Default::default(), @@ -2014,7 +2019,7 @@ impl Default for AccountCreateInstruction { #[async_trait::async_trait(?Send)] impl ClientInstruction for AccountCreateInstruction { type Accounts = mango_v4::accounts::AccountCreate; - type Instruction = mango_v4::instruction::AccountCreateV2; + type Instruction = mango_v4::instruction::AccountCreateV3; async fn to_instruction( &self, _account_loader: &(impl ClientAccountLoader + 'async_trait), @@ -2027,6 +2032,7 @@ impl ClientInstruction for AccountCreateInstruction { perp_count: self.perp_count, perp_oo_count: self.perp_oo_count, token_conditional_swap_count: self.token_conditional_swap_count, + openbook_v2_count: self.openbook_v2_count, name: "my_mango_account".to_string(), }; @@ -5090,6 +5096,707 @@ impl ClientInstruction for TokenConditionalSwapStartInstruction { } } +pub struct OpenbookV2RegisterMarketInstruction { + pub group: Pubkey, + pub admin: TestKeypair, + pub payer: TestKeypair, + + pub openbook_v2_program: Pubkey, + pub openbook_v2_market_external: Pubkey, + + pub base_bank: Pubkey, + pub quote_bank: Pubkey, + + pub market_index: OpenbookV2MarketIndex, +} +#[async_trait::async_trait(?Send)] +impl ClientInstruction for OpenbookV2RegisterMarketInstruction { + type Accounts = mango_v4::accounts::OpenbookV2RegisterMarket; + type Instruction = mango_v4::instruction::OpenbookV2RegisterMarket; + async fn to_instruction( + &self, + _account_loader: &(impl ClientAccountLoader + 'async_trait), + ) -> (Self::Accounts, instruction::Instruction) { + let program_id = mango_v4::id(); + let instruction = Self::Instruction { + market_index: self.market_index, + name: "UUU/usdc".to_string(), + oracle_price_band: f32::MAX, + }; + + let openbook_v2_market = Pubkey::find_program_address( + &[ + b"OpenbookV2Market".as_ref(), + self.group.as_ref(), + self.openbook_v2_market_external.as_ref(), + ], + &program_id, + ) + .0; + + let index_reservation = Pubkey::find_program_address( + &[ + b"OpenbookV2Index".as_ref(), + self.group.as_ref(), + &self.market_index.to_le_bytes(), + ], + &program_id, + ) + .0; + + let accounts = Self::Accounts { + group: self.group, + admin: self.admin.pubkey(), + openbook_v2_program: self.openbook_v2_program, + openbook_v2_market_external: self.openbook_v2_market_external, + openbook_v2_market, + index_reservation, + base_bank: self.base_bank, + quote_bank: self.quote_bank, + payer: self.payer.pubkey(), + system_program: System::id(), + }; + + let instruction = make_instruction(program_id, &accounts, &instruction); + (accounts, instruction) + } + + fn signers(&self) -> Vec { + vec![self.admin, self.payer] + } +} + +pub fn openbook_v2_edit_market_instruction_default() -> mango_v4::instruction::OpenbookV2EditMarket +{ + mango_v4::instruction::OpenbookV2EditMarket { + reduce_only_opt: None, + force_close_opt: None, + name_opt: None, + oracle_price_band_opt: None, + } +} + +pub struct OpenbookV2EditMarketInstruction { + pub group: Pubkey, + pub admin: TestKeypair, + pub market: Pubkey, + pub options: mango_v4::instruction::OpenbookV2EditMarket, +} +#[async_trait::async_trait(?Send)] +impl ClientInstruction for OpenbookV2EditMarketInstruction { + type Accounts = mango_v4::accounts::OpenbookV2EditMarket; + type Instruction = mango_v4::instruction::OpenbookV2EditMarket; + async fn to_instruction( + &self, + _account_loader: &(impl ClientAccountLoader + 'async_trait), + ) -> (Self::Accounts, instruction::Instruction) { + let program_id = mango_v4::id(); + + let accounts = Self::Accounts { + group: self.group, + admin: self.admin.pubkey(), + market: self.market, + }; + + let instruction = make_instruction(program_id, &accounts, &self.options); + (accounts, instruction) + } + + fn signers(&self) -> Vec { + vec![self.admin] + } +} + +pub struct OpenbookV2DeregisterMarketInstruction { + pub group: Pubkey, + pub admin: TestKeypair, + pub payer: TestKeypair, + + pub openbook_v2_market_external: Pubkey, + + pub market_index: OpenbookV2MarketIndex, +} +#[async_trait::async_trait(?Send)] +impl ClientInstruction for OpenbookV2DeregisterMarketInstruction { + type Accounts = mango_v4::accounts::OpenbookV2DeregisterMarket; + type Instruction = mango_v4::instruction::OpenbookV2DeregisterMarket; + async fn to_instruction( + &self, + _account_loader: &(impl ClientAccountLoader + 'async_trait), + ) -> (Self::Accounts, instruction::Instruction) { + let program_id = mango_v4::id(); + let instruction = Self::Instruction {}; + + let openbook_v2_market = Pubkey::find_program_address( + &[ + b"OpenbookV2Market".as_ref(), + self.group.as_ref(), + self.openbook_v2_market_external.as_ref(), + ], + &program_id, + ) + .0; + + let index_reservation = Pubkey::find_program_address( + &[ + b"OpenbookV2Index".as_ref(), + self.group.as_ref(), + &self.market_index.to_le_bytes(), + ], + &program_id, + ) + .0; + + let accounts = Self::Accounts { + group: self.group, + admin: self.admin.pubkey(), + openbook_v2_market, + index_reservation, + sol_destination: self.payer.pubkey(), + token_program: Token::id(), + }; + + let instruction = make_instruction(program_id, &accounts, &instruction); + (accounts, instruction) + } + + fn signers(&self) -> Vec { + vec![self.admin] + } +} + +pub struct OpenbookV2CreateOpenOrdersInstruction { + pub group: Pubkey, + pub payer: TestKeypair, + pub owner: TestKeypair, + pub account: Pubkey, + + pub openbook_v2_market: Pubkey, + pub openbook_v2_program: Pubkey, + pub openbook_v2_market_external: Pubkey, + + pub next_open_orders_index: u32, +} +#[async_trait::async_trait(?Send)] +impl ClientInstruction for OpenbookV2CreateOpenOrdersInstruction { + type Accounts = mango_v4::accounts::OpenbookV2CreateOpenOrders; + type Instruction = mango_v4::instruction::OpenbookV2CreateOpenOrders; + async fn to_instruction( + &self, + _account_loader: &(impl ClientAccountLoader + 'async_trait), + ) -> (Self::Accounts, instruction::Instruction) { + let program_id = mango_v4::id(); + let openbook_program_id = openbook_v2::id(); + let instruction = Self::Instruction {}; + + let open_orders_indexer = Pubkey::find_program_address( + &[b"OpenOrdersIndexer".as_ref(), self.account.as_ref()], + &openbook_program_id, + ) + .0; + + let open_orders_account = Pubkey::find_program_address( + &[ + b"OpenOrders".as_ref(), + self.account.as_ref(), + &(self.next_open_orders_index).to_le_bytes(), + ], + &openbook_program_id, + ) + .0; + + let accounts = Self::Accounts { + group: self.group, + account: self.account, + open_orders_indexer, + open_orders_account, + openbook_v2_program: self.openbook_v2_program, + openbook_v2_market_external: self.openbook_v2_market_external, + openbook_v2_market: self.openbook_v2_market, + payer: self.payer.pubkey(), + authority: self.owner.pubkey(), + system_program: System::id(), + rent: Rent::id(), + }; + + let instruction = make_instruction(program_id, &accounts, &instruction); + (accounts, instruction) + } + + fn signers(&self) -> Vec { + vec![self.payer, self.owner] + } +} + +pub struct OpenbookV2PlaceOrderInstruction { + pub owner: TestKeypair, + pub account: Pubkey, + + pub openbook_v2_market: Pubkey, + + pub side: OpenbookV2Side, + pub price_lots: i64, + pub max_base_lots: i64, + pub max_quote_lots_including_fees: i64, + pub client_order_id: u64, + pub order_type: OpenbookV2PlaceOrderType, + pub self_trade_behavior: OpenbookV2SelfTradeBehavior, + pub reduce_only: bool, + pub expiry_timestamp: u64, + pub limit: u8, +} +#[async_trait::async_trait(?Send)] +impl ClientInstruction for OpenbookV2PlaceOrderInstruction { + type Accounts = mango_v4::accounts::OpenbookV2PlaceOrder; + type Instruction = mango_v4::instruction::OpenbookV2PlaceOrder; + async fn to_instruction( + &self, + account_loader: &(impl ClientAccountLoader + 'async_trait), + ) -> (Self::Accounts, instruction::Instruction) { + let program_id = mango_v4::id(); + let openbook_program_id = openbook_v2::id(); + + let market: OpenbookV2Market = account_loader.load(&self.openbook_v2_market).await.unwrap(); + let external_market: openbook_v2::state::Market = account_loader + .load(&market.openbook_v2_market_external) + .await + .unwrap(); + + let instruction = Self::Instruction { + side: self.side, + price_lots: self.price_lots, + max_base_lots: self.max_base_lots, + max_quote_lots_including_fees: self.max_quote_lots_including_fees, + client_order_id: self.client_order_id, + order_type: self.order_type, + reduce_only: self.reduce_only, + expiry_timestamp: self.expiry_timestamp, + self_trade_behavior: self.self_trade_behavior, + limit: self.limit, + }; + + let account = account_loader + .load_mango_account(&self.account) + .await + .unwrap(); + + let quote_info = + get_mint_info_by_token_index(account_loader, &account, market.quote_token_index).await; + let base_info = + get_mint_info_by_token_index(account_loader, &account, market.base_token_index).await; + + let (payer_bank, payer_vault, receiver_bank, market_vault) = match self.side { + OpenbookV2Side::Ask => ( + base_info.banks[0], + base_info.vaults[0], + quote_info.banks[0], + external_market.market_base_vault, + ), + OpenbookV2Side::Bid => ( + quote_info.banks[0], + quote_info.vaults[0], + base_info.banks[0], + external_market.market_quote_vault, + ), + }; + + let health_check_metas = + derive_health_check_remaining_account_metas(account_loader, &account, None, true, None) + .await; + + let open_orders_account = account + .all_openbook_v2_orders() + .find(|o| o.is_active_for_market(market.market_index)) + .unwrap() + .open_orders; + + let accounts = Self::Accounts { + group: account.fixed.group, + account: self.account, + authority: self.owner.pubkey(), + open_orders: open_orders_account, + openbook_v2_program: openbook_program_id, + openbook_v2_market_external: market.openbook_v2_market_external, + openbook_v2_market: self.openbook_v2_market, + bids: external_market.bids, + asks: external_market.asks, + event_heap: external_market.event_heap, + payer_bank, + payer_vault, + receiver_bank, + market_vault, + market_vault_signer: external_market.market_authority, + token_program: Token::id(), + }; + + let mut instruction = make_instruction(program_id, &accounts, &instruction); + instruction.accounts.extend(health_check_metas.into_iter()); + (accounts, instruction) + } + + fn signers(&self) -> Vec { + vec![self.owner] + } +} + +pub struct OpenbookV2CancelOrderInstruction { + pub payer: TestKeypair, + pub account: Pubkey, + + pub openbook_v2_market: Pubkey, + + pub side: OpenbookV2Side, + + pub order_id: u128, +} +#[async_trait::async_trait(?Send)] +impl ClientInstruction for OpenbookV2CancelOrderInstruction { + type Accounts = mango_v4::accounts::OpenbookV2CancelOrder; + type Instruction = mango_v4::instruction::OpenbookV2CancelOrder; + async fn to_instruction( + &self, + account_loader: &(impl ClientAccountLoader + 'async_trait), + ) -> (Self::Accounts, instruction::Instruction) { + let program_id = mango_v4::id(); + let openbook_program_id = openbook_v2::id(); + let instruction = Self::Instruction { + side: self.side, + order_id: self.order_id, + }; + + let account = account_loader + .load_mango_account(&self.account) + .await + .unwrap(); + let market: OpenbookV2Market = account_loader.load(&self.openbook_v2_market).await.unwrap(); + let external_market: openbook_v2::state::Market = account_loader + .load(&market.openbook_v2_market_external) + .await + .unwrap(); + + let open_orders_account = account + .all_openbook_v2_orders() + .find(|o| o.is_active_for_market(market.market_index)) + .unwrap() + .open_orders; + + let accounts = Self::Accounts { + group: account.fixed.group, + account: self.account, + authority: self.payer.pubkey(), + open_orders: open_orders_account, + openbook_v2_program: openbook_program_id, + openbook_v2_market_external: market.openbook_v2_market_external, + openbook_v2_market: self.openbook_v2_market, + bids: external_market.bids, + asks: external_market.asks, + }; + + let instruction = make_instruction(program_id, &accounts, &instruction); + + (accounts, instruction) + } + + fn signers(&self) -> Vec { + vec![self.payer] + } +} + +pub struct OpenbookV2CancelAllOrdersInstruction { + pub payer: TestKeypair, + pub account: Pubkey, + + pub openbook_v2_market: Pubkey, + + pub side_opt: Option, + pub limit: u8, +} +#[async_trait::async_trait(?Send)] +impl ClientInstruction for OpenbookV2CancelAllOrdersInstruction { + type Accounts = mango_v4::accounts::OpenbookV2CancelOrder; + type Instruction = mango_v4::instruction::OpenbookV2CancelAllOrders; + async fn to_instruction( + &self, + account_loader: &(impl ClientAccountLoader + 'async_trait), + ) -> (Self::Accounts, instruction::Instruction) { + let program_id = mango_v4::id(); + let openbook_program_id = openbook_v2::id(); + let instruction = Self::Instruction { + side_opt: self.side_opt, + limit: self.limit, + }; + + let account = account_loader + .load_mango_account(&self.account) + .await + .unwrap(); + let market: OpenbookV2Market = account_loader.load(&self.openbook_v2_market).await.unwrap(); + let external_market: openbook_v2::state::Market = account_loader + .load(&market.openbook_v2_market_external) + .await + .unwrap(); + + let open_orders_account = account + .all_openbook_v2_orders() + .find(|o| o.is_active_for_market(market.market_index)) + .unwrap() + .open_orders; + + let accounts = Self::Accounts { + group: account.fixed.group, + account: self.account, + authority: self.payer.pubkey(), + open_orders: open_orders_account, + openbook_v2_program: openbook_program_id, + openbook_v2_market_external: market.openbook_v2_market_external, + openbook_v2_market: self.openbook_v2_market, + bids: external_market.bids, + asks: external_market.asks, + }; + + let instruction = make_instruction(program_id, &accounts, &instruction); + + (accounts, instruction) + } + + fn signers(&self) -> Vec { + vec![self.payer] + } +} + +pub struct OpenbookV2SettleFundsInstruction { + pub owner: TestKeypair, + pub account: Pubkey, + + pub openbook_v2_market: Pubkey, + + pub fees_to_dao: bool, +} +#[async_trait::async_trait(?Send)] +impl ClientInstruction for OpenbookV2SettleFundsInstruction { + type Accounts = mango_v4::accounts::OpenbookV2SettleFunds; + type Instruction = mango_v4::instruction::OpenbookV2SettleFunds; + async fn to_instruction( + &self, + account_loader: &(impl ClientAccountLoader + 'async_trait), + ) -> (Self::Accounts, instruction::Instruction) { + let program_id = mango_v4::id(); + let openbook_program_id = openbook_v2::id(); + let instruction = Self::Instruction { + fees_to_dao: self.fees_to_dao, + }; + + let account = account_loader + .load_mango_account(&self.account) + .await + .unwrap(); + let market: OpenbookV2Market = account_loader.load(&self.openbook_v2_market).await.unwrap(); + let external_market: openbook_v2::state::Market = account_loader + .load(&market.openbook_v2_market_external) + .await + .unwrap(); + let quote_info = + get_mint_info_by_token_index(account_loader, &account, market.quote_token_index).await; + let base_info = + get_mint_info_by_token_index(account_loader, &account, market.base_token_index).await; + + let open_orders_account = account + .all_openbook_v2_orders() + .find(|o| o.is_active_for_market(market.market_index)) + .unwrap() + .open_orders; + + let accounts = Self::Accounts { + group: account.fixed.group, + account: self.account, + authority: self.owner.pubkey(), + open_orders: open_orders_account, + openbook_v2_program: openbook_program_id, + openbook_v2_market_external: market.openbook_v2_market_external, + openbook_v2_market: self.openbook_v2_market, + market_base_vault: external_market.market_base_vault, + market_quote_vault: external_market.market_quote_vault, + market_vault_signer: external_market.market_authority, + quote_bank: quote_info.first_bank(), + quote_vault: quote_info.first_vault(), + base_bank: base_info.first_bank(), + base_vault: base_info.first_vault(), + quote_oracle: quote_info.oracle, + base_oracle: base_info.oracle, + token_program: Token::id(), + system_program: System::id(), + }; + + let instruction = make_instruction(program_id, &accounts, &instruction); + + (accounts, instruction) + } + + fn signers(&self) -> Vec { + vec![self.owner] + } +} + +pub struct OpenbookV2CloseOpenOrdersInstruction { + pub owner: TestKeypair, + pub account: Pubkey, + pub sol_destination: Pubkey, + + pub openbook_v2_market: Pubkey, +} +#[async_trait::async_trait(?Send)] +impl ClientInstruction for OpenbookV2CloseOpenOrdersInstruction { + type Accounts = mango_v4::accounts::OpenbookV2CloseOpenOrders; + type Instruction = mango_v4::instruction::OpenbookV2CloseOpenOrders; + async fn to_instruction( + &self, + account_loader: &(impl ClientAccountLoader + 'async_trait), + ) -> (Self::Accounts, instruction::Instruction) { + let program_id = mango_v4::id(); + let openbook_program_id = openbook_v2::id(); + let instruction = Self::Instruction {}; + + let account = account_loader + .load_mango_account(&self.account) + .await + .unwrap(); + let market: OpenbookV2Market = account_loader.load(&self.openbook_v2_market).await.unwrap(); + + let quote_info = + get_mint_info_by_token_index(account_loader, &account, market.quote_token_index).await; + let base_info = + get_mint_info_by_token_index(account_loader, &account, market.base_token_index).await; + + let open_orders_indexer = Pubkey::find_program_address( + &[b"OpenOrdersIndexer".as_ref(), self.account.as_ref()], + &openbook_program_id, + ) + .0; + let open_orders_account = account + .all_openbook_v2_orders() + .find(|o| o.is_active_for_market(market.market_index)) + .unwrap() + .open_orders; + + let accounts = Self::Accounts { + group: account.fixed.group, + account: self.account, + authority: self.owner.pubkey(), + openbook_v2_program: openbook_program_id, + openbook_v2_market_external: market.openbook_v2_market_external, + openbook_v2_market: self.openbook_v2_market, + quote_bank: quote_info.first_bank(), + base_bank: base_info.first_bank(), + open_orders_indexer, + open_orders_account, + sol_destination: self.sol_destination, + system_program: System::id(), + token_program: Token::id(), + }; + + println!( + "{:?}", + vec![ + account.fixed.group, + self.account, + self.owner.pubkey(), + openbook_program_id, + market.openbook_v2_market_external, + self.openbook_v2_market, + quote_info.first_bank(), + base_info.first_bank(), + open_orders_indexer, + open_orders_account, + self.sol_destination, + System::id(), + Token::id(), + ] + ); + + let instruction = make_instruction(program_id, &accounts, &instruction); + (accounts, instruction) + } + + fn signers(&self) -> Vec { + vec![self.owner] + } +} + +pub struct OpenbookV2LiqForceCancelInstruction { + pub account: Pubkey, + pub payer: TestKeypair, + + pub openbook_v2_market: Pubkey, +} +#[async_trait::async_trait(?Send)] +impl ClientInstruction for OpenbookV2LiqForceCancelInstruction { + type Accounts = mango_v4::accounts::OpenbookV2LiqForceCancelOrders; + type Instruction = mango_v4::instruction::OpenbookV2LiqForceCancelOrders; + async fn to_instruction( + &self, + account_loader: &(impl ClientAccountLoader + 'async_trait), + ) -> (Self::Accounts, instruction::Instruction) { + let program_id = mango_v4::id(); + let openbook_program_id = openbook_v2::id(); + let instruction = Self::Instruction { limit: 10 }; + + let account = account_loader + .load_mango_account(&self.account) + .await + .unwrap(); + let market: OpenbookV2Market = account_loader.load(&self.openbook_v2_market).await.unwrap(); + let external_market: openbook_v2::state::Market = account_loader + .load(&market.openbook_v2_market_external) + .await + .unwrap(); + + let quote_info = + get_mint_info_by_token_index(account_loader, &account, market.quote_token_index).await; + let base_info = + get_mint_info_by_token_index(account_loader, &account, market.base_token_index).await; + + let open_orders = account + .all_openbook_v2_orders() + .find(|o| o.is_active_for_market(market.market_index)) + .unwrap() + .open_orders; + + let health_check_metas = + derive_health_check_remaining_account_metas(account_loader, &account, None, true, None) + .await; + + let accounts = Self::Accounts { + group: account.fixed.group, + account: self.account, + payer: self.payer.pubkey(), + open_orders, + openbook_v2_program: openbook_program_id, + openbook_v2_market_external: market.openbook_v2_market_external, + openbook_v2_market: self.openbook_v2_market, + bids: external_market.bids, + asks: external_market.asks, + event_heap: external_market.event_heap, + market_base_vault: external_market.market_base_vault, + market_quote_vault: external_market.market_quote_vault, + market_vault_signer: external_market.market_authority, + quote_bank: quote_info.first_bank(), + quote_vault: quote_info.first_vault(), + base_bank: base_info.first_bank(), + base_vault: base_info.first_vault(), + system_program: System::id(), + token_program: Token::id(), + }; + + let mut instruction = make_instruction(program_id, &accounts, &instruction); + instruction.accounts.extend(health_check_metas.into_iter()); + (accounts, instruction) + } + + fn signers(&self) -> Vec { + vec![self.payer] + } +} + #[derive(Clone)] pub struct TokenChargeCollateralFeesInstruction { pub account: Pubkey, diff --git a/programs/mango-v4/tests/program_test/mango_setup.rs b/programs/mango-v4/tests/program_test/mango_setup.rs index 6afeff4f38..ebd5558c06 100644 --- a/programs/mango-v4/tests/program_test/mango_setup.rs +++ b/programs/mango-v4/tests/program_test/mango_setup.rs @@ -4,7 +4,7 @@ use anchor_lang::prelude::*; use super::mango_client::*; use super::solana::SolanaCookie; -use super::{send_tx, MintCookie, TestKeypair, UserCookie}; +use super::{MintCookie, TestKeypair, UserCookie}; #[derive(Default)] pub struct GroupWithTokensConfig { diff --git a/programs/mango-v4/tests/program_test/mod.rs b/programs/mango-v4/tests/program_test/mod.rs index 3a1932f468..f57aa91d76 100644 --- a/programs/mango-v4/tests/program_test/mod.rs +++ b/programs/mango-v4/tests/program_test/mod.rs @@ -11,6 +11,7 @@ use spl_token::{state::*, *}; pub use cookies::*; pub use mango_client::*; +pub use openbook_setup::*; pub use serum::*; pub use solana::*; pub use utils::*; @@ -18,6 +19,8 @@ pub use utils::*; pub mod cookies; pub mod mango_client; pub mod mango_setup; +pub mod openbook_client; +pub mod openbook_setup; pub mod serum; pub mod solana; pub mod utils; @@ -188,6 +191,14 @@ impl TestContextBuilder { serum_program_id } + pub fn add_openbook_v2_program(&mut self) -> Pubkey { + let openbook_v2_program_id = + Pubkey::from_str("opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb").unwrap(); + self.test + .add_program("openbook_v2", openbook_v2_program_id, None); + openbook_v2_program_id + } + pub fn add_margin_trade_program(&mut self) -> MarginTradeCookie { let program = Pubkey::from_str("J83w4HKfqxwcq3BEMMkPFSppX3gqekLyLJBexebFVkix").unwrap(); let token_account = TestKeypair::new(); @@ -222,6 +233,7 @@ impl TestContextBuilder { let mints = self.create_mints(); let users = self.create_users(&mints); let serum_program_id = self.add_serum_program(); + let openbook_v2_program_id = self.add_openbook_v2_program(); let solana = self.start().await; @@ -230,11 +242,17 @@ impl TestContextBuilder { program_id: serum_program_id, }); + let openbook = Arc::new(OpenbookV2Cookie { + solana: solana.clone(), + program_id: openbook_v2_program_id, + }); + TestContext { solana: solana.clone(), mints, users, serum, + openbook, } } @@ -257,6 +275,7 @@ pub struct TestContext { pub mints: Vec, pub users: Vec, pub serum: Arc, + pub openbook: Arc, } impl TestContext { diff --git a/programs/mango-v4/tests/program_test/openbook_client.rs b/programs/mango-v4/tests/program_test/openbook_client.rs new file mode 100644 index 0000000000..d666624cea --- /dev/null +++ b/programs/mango-v4/tests/program_test/openbook_client.rs @@ -0,0 +1,1310 @@ +#![allow(dead_code)] + +use anchor_lang::prelude::*; +use anchor_spl::{associated_token::AssociatedToken, token::Token}; +use solana_program::instruction::Instruction; +use solana_program_test::{BanksClientError, BanksTransactionResultWithMetadata}; +use solana_sdk::instruction; +use solana_sdk::transport::TransportError; +use std::sync::Arc; + +use super::solana::SolanaCookie; +use super::utils::TestKeypair; +use openbook_v2::{state::*, PlaceOrderArgs, PlaceOrderPeggedArgs, PlaceTakeOrderArgs}; + +#[async_trait::async_trait(?Send)] +pub trait ClientAccountLoader { + async fn load_bytes(&self, pubkey: &Pubkey) -> Option>; + async fn load(&self, pubkey: &Pubkey) -> Option { + let bytes = self.load_bytes(pubkey).await?; + AccountDeserialize::try_deserialize(&mut &bytes[..]).ok() + } +} + +#[async_trait::async_trait(?Send)] +impl ClientAccountLoader for &SolanaCookie { + async fn load_bytes(&self, pubkey: &Pubkey) -> Option> { + self.get_account_data(*pubkey).await + } +} + +// TODO: report error outwards etc +pub async fn send_openbook_tx( + solana: &SolanaCookie, + ix: CI, +) -> std::result::Result { + let (accounts, instruction) = ix.to_instruction(solana).await; + let signers = ix.signers(); + let instructions = vec![instruction]; + solana + .process_transaction(&instructions, Some(&signers[..])) + .await?; + Ok(accounts) +} + +/// Build a transaction from multiple instructions +pub struct OpenbookClientTransaction { + solana: Arc, + instructions: Vec, + signers: Vec, +} + +impl<'a> OpenbookClientTransaction { + pub fn new(solana: &Arc) -> Self { + Self { + solana: solana.clone(), + instructions: vec![], + signers: vec![], + } + } + + pub async fn add_instruction(&mut self, ix: CI) -> CI::Accounts { + let solana: &SolanaCookie = &self.solana; + let (accounts, instruction) = ix.to_instruction(solana).await; + self.instructions.push(instruction); + self.signers.extend(ix.signers()); + accounts + } + + pub fn add_instruction_direct(&mut self, ix: instruction::Instruction) { + self.instructions.push(ix); + } + + pub fn add_signer(&mut self, keypair: TestKeypair) { + self.signers.push(keypair); + } + + pub async fn send( + &self, + ) -> std::result::Result { + self.solana + .process_transaction(&self.instructions, Some(&self.signers)) + .await + } +} + +#[async_trait::async_trait(?Send)] +pub trait OpenbookClientInstruction { + type Accounts: anchor_lang::ToAccountMetas; + type Instruction: anchor_lang::InstructionData; + + async fn to_instruction( + &self, + loader: impl ClientAccountLoader + 'async_trait, + ) -> (Self::Accounts, instruction::Instruction); + fn signers(&self) -> Vec; +} + +fn make_instruction( + program_id: Pubkey, + accounts: &impl anchor_lang::ToAccountMetas, + data: impl anchor_lang::InstructionData, +) -> instruction::Instruction { + instruction::Instruction { + program_id, + accounts: anchor_lang::ToAccountMetas::to_account_metas(accounts, None), + data: anchor_lang::InstructionData::data(&data), + } +} + +pub fn get_market_address(market: TestKeypair) -> Pubkey { + Pubkey::find_program_address( + &[b"Market".as_ref(), market.pubkey().to_bytes().as_ref()], + &openbook_v2::id(), + ) + .0 +} + +pub struct CreateOpenOrdersIndexerInstruction { + pub market: Pubkey, + pub owner: TestKeypair, + pub payer: TestKeypair, +} +#[async_trait::async_trait(?Send)] +impl OpenbookClientInstruction for CreateOpenOrdersIndexerInstruction { + type Accounts = openbook_v2::accounts::CreateOpenOrdersIndexer; + type Instruction = openbook_v2::instruction::CreateOpenOrdersIndexer; + async fn to_instruction( + &self, + _account_loader: impl ClientAccountLoader + 'async_trait, + ) -> (Self::Accounts, instruction::Instruction) { + let program_id = openbook_v2::id(); + let instruction = openbook_v2::instruction::CreateOpenOrdersIndexer {}; + + let open_orders_indexer = Pubkey::find_program_address( + &[b"OpenOrdersIndexer".as_ref(), self.owner.pubkey().as_ref()], + &program_id, + ) + .0; + + let accounts = openbook_v2::accounts::CreateOpenOrdersIndexer { + payer: self.payer.pubkey(), + owner: self.owner.pubkey(), + open_orders_indexer, + system_program: System::id(), + }; + + let instruction = make_instruction(program_id, &accounts, instruction); + (accounts, instruction) + } + + fn signers(&self) -> Vec { + vec![self.owner, self.payer] + } +} + +pub struct CreateOpenOrdersAccountInstruction { + pub account_num: u32, + pub market: Pubkey, + pub owner: TestKeypair, + pub payer: TestKeypair, + pub delegate: Option, +} +#[async_trait::async_trait(?Send)] +impl OpenbookClientInstruction for CreateOpenOrdersAccountInstruction { + type Accounts = openbook_v2::accounts::CreateOpenOrdersAccount; + type Instruction = openbook_v2::instruction::CreateOpenOrdersAccount; + async fn to_instruction( + &self, + _account_loader: impl ClientAccountLoader + 'async_trait, + ) -> (Self::Accounts, instruction::Instruction) { + let program_id = openbook_v2::id(); + let instruction = openbook_v2::instruction::CreateOpenOrdersAccount { + name: "OpenOrders".to_owned(), + }; + + let open_orders_indexer = Pubkey::find_program_address( + &[b"OpenOrdersIndexer".as_ref(), self.owner.pubkey().as_ref()], + &program_id, + ) + .0; + + let open_orders_account = Pubkey::find_program_address( + &[ + b"OpenOrders".as_ref(), + self.owner.pubkey().as_ref(), + &self.account_num.to_le_bytes(), + ], + &program_id, + ) + .0; + + let accounts = openbook_v2::accounts::CreateOpenOrdersAccount { + owner: self.owner.pubkey(), + open_orders_indexer, + open_orders_account, + market: self.market, + payer: self.payer.pubkey(), + delegate_account: self.delegate, + system_program: System::id(), + }; + + let instruction = make_instruction(program_id, &accounts, instruction); + (accounts, instruction) + } + + fn signers(&self) -> Vec { + vec![self.owner, self.payer] + } +} + +pub struct CloseOpenOrdersAccountInstruction { + pub account_num: u32, + pub market: Pubkey, + pub owner: TestKeypair, + pub payer: TestKeypair, + pub sol_destination: Pubkey, +} +#[async_trait::async_trait(?Send)] +impl OpenbookClientInstruction for CloseOpenOrdersAccountInstruction { + type Accounts = openbook_v2::accounts::CloseOpenOrdersAccount; + type Instruction = openbook_v2::instruction::CloseOpenOrdersAccount; + async fn to_instruction( + &self, + _account_loader: impl ClientAccountLoader + 'async_trait, + ) -> (Self::Accounts, instruction::Instruction) { + let program_id = openbook_v2::id(); + let instruction = openbook_v2::instruction::CloseOpenOrdersAccount {}; + + let open_orders_indexer = Pubkey::find_program_address( + &[b"OpenOrdersIndexer".as_ref(), self.owner.pubkey().as_ref()], + &program_id, + ) + .0; + + let open_orders_account = Pubkey::find_program_address( + &[ + b"OpenOrders".as_ref(), + self.owner.pubkey().as_ref(), + &self.account_num.to_le_bytes(), + ], + &program_id, + ) + .0; + + let accounts = openbook_v2::accounts::CloseOpenOrdersAccount { + owner: self.owner.pubkey(), + open_orders_indexer, + open_orders_account, + sol_destination: self.sol_destination, + system_program: System::id(), + }; + + let instruction = make_instruction(program_id, &accounts, instruction); + (accounts, instruction) + } + + fn signers(&self) -> Vec { + vec![self.owner, self.payer] + } +} + +#[derive(Default)] +pub struct CreateMarketInstruction { + pub collect_fee_admin: Pubkey, + pub open_orders_admin: Option, + pub consume_events_admin: Option, + pub close_market_admin: Option, + pub oracle_a: Option, + pub oracle_b: Option, + pub base_mint: Pubkey, + pub quote_mint: Pubkey, + pub name: String, + pub bids: Pubkey, + pub asks: Pubkey, + pub event_heap: Pubkey, + pub market: TestKeypair, + pub payer: TestKeypair, + pub quote_lot_size: i64, + pub base_lot_size: i64, + pub maker_fee: i64, + pub taker_fee: i64, + pub fee_penalty: u64, + pub settle_fee_flat: f32, + pub settle_fee_amount_threshold: f32, + pub time_expiry: i64, +} +impl CreateMarketInstruction { + pub async fn with_new_book_and_heap( + solana: &SolanaCookie, + oracle_a: Option, + oracle_b: Option, + ) -> Self { + CreateMarketInstruction { + bids: solana + .create_account_for_type::(&openbook_v2::id()) + .await, + asks: solana + .create_account_for_type::(&openbook_v2::id()) + .await, + event_heap: solana + .create_account_for_type::(&openbook_v2::id()) + .await, + oracle_a, + oracle_b, + ..CreateMarketInstruction::default() + } + } +} + +#[async_trait::async_trait(?Send)] +impl OpenbookClientInstruction for CreateMarketInstruction { + type Accounts = openbook_v2::accounts::CreateMarket; + type Instruction = openbook_v2::instruction::CreateMarket; + async fn to_instruction( + &self, + _loader: impl ClientAccountLoader + 'async_trait, + ) -> (Self::Accounts, instruction::Instruction) { + let program_id = openbook_v2::id(); + let instruction = Self::Instruction { + name: "ONE-TWO".to_string(), + oracle_config: OracleConfigParams { + conf_filter: 0.1, + max_staleness_slots: Some(100), + }, + quote_lot_size: self.quote_lot_size, + base_lot_size: self.base_lot_size, + maker_fee: self.maker_fee, + taker_fee: self.taker_fee, + time_expiry: self.time_expiry, + }; + + let event_authority = + Pubkey::find_program_address(&[b"__event_authority".as_ref()], &openbook_v2::id()).0; + + let market_authority = Pubkey::find_program_address( + &[b"Market".as_ref(), self.market.pubkey().to_bytes().as_ref()], + &openbook_v2::id(), + ) + .0; + + let market_base_vault = spl_associated_token_account::get_associated_token_address( + &market_authority, + &self.base_mint, + ); + let market_quote_vault = spl_associated_token_account::get_associated_token_address( + &market_authority, + &self.quote_mint, + ); + + let accounts = Self::Accounts { + market: self.market.pubkey(), + market_authority, + bids: self.bids, + asks: self.asks, + event_heap: self.event_heap, + payer: self.payer.pubkey(), + market_base_vault, + market_quote_vault, + quote_mint: self.quote_mint, + base_mint: self.base_mint, + system_program: System::id(), + collect_fee_admin: self.collect_fee_admin, + open_orders_admin: self.open_orders_admin, + consume_events_admin: self.consume_events_admin, + close_market_admin: self.close_market_admin, + oracle_a: self.oracle_a, + oracle_b: self.oracle_b, + event_authority, + associated_token_program: AssociatedToken::id(), + token_program: Token::id(), + program: openbook_v2::id(), + }; + + let instruction = make_instruction(program_id, &accounts, instruction); + (accounts, instruction) + } + + fn signers(&self) -> Vec { + vec![self.payer, self.market] + } +} + +#[derive(Clone)] +pub struct PlaceOrderInstruction { + pub open_orders_account: Pubkey, + pub open_orders_admin: Option, + pub market: Pubkey, + pub signer: TestKeypair, + pub market_vault: Pubkey, + pub user_token_account: Pubkey, + pub side: Side, + pub price_lots: i64, + pub max_base_lots: i64, + pub max_quote_lots_including_fees: i64, + pub client_order_id: u64, + pub expiry_timestamp: u64, + pub order_type: PlaceOrderType, + pub self_trade_behavior: SelfTradeBehavior, + pub remainings: Vec, +} + +#[async_trait::async_trait(?Send)] +impl OpenbookClientInstruction for PlaceOrderInstruction { + type Accounts = openbook_v2::accounts::PlaceOrder; + type Instruction = openbook_v2::instruction::PlaceOrder; + async fn to_instruction( + &self, + account_loader: impl ClientAccountLoader + 'async_trait, + ) -> (Self::Accounts, instruction::Instruction) { + let program_id = openbook_v2::id(); + let instruction = Self::Instruction { + args: PlaceOrderArgs { + side: self.side, + price_lots: self.price_lots, + max_base_lots: self.max_base_lots, + max_quote_lots_including_fees: self.max_quote_lots_including_fees, + client_order_id: self.client_order_id, + order_type: self.order_type, + expiry_timestamp: self.expiry_timestamp, + self_trade_behavior: self.self_trade_behavior, + limit: 10, + }, + }; + + let market: Market = account_loader.load(&self.market).await.unwrap(); + + let accounts = Self::Accounts { + open_orders_account: self.open_orders_account, + open_orders_admin: self.open_orders_admin.map(|kp| kp.pubkey()), + market: self.market, + bids: market.bids, + asks: market.asks, + event_heap: market.event_heap, + oracle_a: market.oracle_a.into(), + oracle_b: market.oracle_b.into(), + signer: self.signer.pubkey(), + user_token_account: self.user_token_account, + market_vault: self.market_vault, + token_program: Token::id(), + }; + let mut instruction = make_instruction(program_id, &accounts, instruction); + let mut vec_remainings: Vec = Vec::new(); + for remaining in &self.remainings { + vec_remainings.push(AccountMeta { + pubkey: *remaining, + is_signer: false, + is_writable: true, + }) + } + instruction.accounts.append(&mut vec_remainings); + (accounts, instruction) + } + + fn signers(&self) -> Vec { + let mut signers = vec![self.signer]; + if let Some(open_orders_admin) = self.open_orders_admin { + signers.push(open_orders_admin); + } + + signers + } +} + +#[derive(Clone)] +pub struct PlaceOrderPeggedInstruction { + pub open_orders_account: Pubkey, + pub market: Pubkey, + pub signer: TestKeypair, + pub user_token_account: Pubkey, + pub market_vault: Pubkey, + pub side: Side, + pub price_offset: i64, + pub max_base_lots: i64, + pub max_quote_lots_including_fees: i64, + pub client_order_id: u64, + pub peg_limit: i64, +} +#[async_trait::async_trait(?Send)] +impl OpenbookClientInstruction for PlaceOrderPeggedInstruction { + type Accounts = openbook_v2::accounts::PlaceOrder; + type Instruction = openbook_v2::instruction::PlaceOrderPegged; + async fn to_instruction( + &self, + account_loader: impl ClientAccountLoader + 'async_trait, + ) -> (Self::Accounts, instruction::Instruction) { + let program_id = openbook_v2::id(); + let instruction = Self::Instruction { + args: PlaceOrderPeggedArgs { + side: self.side, + price_offset_lots: self.price_offset, + peg_limit: self.peg_limit, + max_base_lots: self.max_base_lots, + max_quote_lots_including_fees: self.max_quote_lots_including_fees, + client_order_id: self.client_order_id, + order_type: PlaceOrderType::Limit, + expiry_timestamp: 0, + self_trade_behavior: SelfTradeBehavior::default(), + limit: 10, + }, + }; + + let market: Market = account_loader.load(&self.market).await.unwrap(); + + let accounts = Self::Accounts { + open_orders_account: self.open_orders_account, + open_orders_admin: None, + market: self.market, + bids: market.bids, + asks: market.asks, + event_heap: market.event_heap, + oracle_a: market.oracle_a.into(), + oracle_b: market.oracle_b.into(), + signer: self.signer.pubkey(), + user_token_account: self.user_token_account, + market_vault: self.market_vault, + token_program: Token::id(), + }; + let instruction = make_instruction(program_id, &accounts, instruction); + + (accounts, instruction) + } + + fn signers(&self) -> Vec { + vec![self.signer] + } +} + +pub struct PlaceTakeOrderInstruction { + pub open_orders_admin: Option, + pub market: Pubkey, + pub signer: TestKeypair, + pub market_base_vault: Pubkey, + pub market_quote_vault: Pubkey, + pub user_base_account: Pubkey, + pub user_quote_account: Pubkey, + pub side: Side, + pub price_lots: i64, + pub max_base_lots: i64, + pub max_quote_lots_including_fees: i64, + pub referrer_account: Option, +} +#[async_trait::async_trait(?Send)] +impl OpenbookClientInstruction for PlaceTakeOrderInstruction { + type Accounts = openbook_v2::accounts::PlaceTakeOrder; + type Instruction = openbook_v2::instruction::PlaceTakeOrder; + async fn to_instruction( + &self, + account_loader: impl ClientAccountLoader + 'async_trait, + ) -> (Self::Accounts, instruction::Instruction) { + let program_id = openbook_v2::id(); + let instruction = Self::Instruction { + args: PlaceTakeOrderArgs { + side: self.side, + price_lots: self.price_lots, + max_base_lots: self.max_base_lots, + max_quote_lots_including_fees: self.max_quote_lots_including_fees, + order_type: PlaceOrderType::ImmediateOrCancel, + limit: 10, + }, + }; + + let market: Market = account_loader.load(&self.market).await.unwrap(); + + let accounts = Self::Accounts { + open_orders_admin: self.open_orders_admin.map(|kp| kp.pubkey()), + market: self.market, + market_authority: market.market_authority, + bids: market.bids, + asks: market.asks, + event_heap: market.event_heap, + oracle_a: market.oracle_a.into(), + oracle_b: market.oracle_b.into(), + signer: self.signer.pubkey(), + user_base_account: self.user_base_account, + user_quote_account: self.user_quote_account, + market_base_vault: self.market_base_vault, + market_quote_vault: self.market_quote_vault, + penalty_payer: self.signer.pubkey(), //todo-pan: fix this + token_program: Token::id(), + system_program: System::id(), + }; + + let instruction = make_instruction(program_id, &accounts, instruction); + (accounts, instruction) + } + + fn signers(&self) -> Vec { + let mut signers = vec![self.signer]; + if let Some(open_orders_admin) = self.open_orders_admin { + signers.push(open_orders_admin); + } + + signers + } +} + +pub struct CancelOrderInstruction { + pub open_orders_account: Pubkey, + pub market: Pubkey, + pub signer: TestKeypair, + pub order_id: u128, +} +#[async_trait::async_trait(?Send)] +impl OpenbookClientInstruction for CancelOrderInstruction { + type Accounts = openbook_v2::accounts::CancelOrder; + type Instruction = openbook_v2::instruction::CancelOrder; + async fn to_instruction( + &self, + account_loader: impl ClientAccountLoader + 'async_trait, + ) -> (Self::Accounts, instruction::Instruction) { + let program_id = openbook_v2::id(); + let instruction = Self::Instruction { + order_id: self.order_id, + }; + let market: Market = account_loader.load(&self.market).await.unwrap(); + let accounts = Self::Accounts { + open_orders_account: self.open_orders_account, + market: self.market, + bids: market.bids, + asks: market.asks, + signer: self.signer.pubkey(), + }; + + let instruction = make_instruction(program_id, &accounts, instruction); + (accounts, instruction) + } + + fn signers(&self) -> Vec { + vec![self.signer] + } +} + +pub struct CancelOrderByClientOrderIdInstruction { + pub open_orders_account: Pubkey, + pub market: Pubkey, + pub signer: TestKeypair, + pub client_order_id: u64, +} +#[async_trait::async_trait(?Send)] +impl OpenbookClientInstruction for CancelOrderByClientOrderIdInstruction { + type Accounts = openbook_v2::accounts::CancelOrder; + type Instruction = openbook_v2::instruction::CancelOrderByClientOrderId; + async fn to_instruction( + &self, + account_loader: impl ClientAccountLoader + 'async_trait, + ) -> (Self::Accounts, instruction::Instruction) { + let program_id = openbook_v2::id(); + let instruction = Self::Instruction { + client_order_id: self.client_order_id, + }; + let market: Market = account_loader.load(&self.market).await.unwrap(); + let accounts = Self::Accounts { + open_orders_account: self.open_orders_account, + market: self.market, + bids: market.bids, + asks: market.asks, + signer: self.signer.pubkey(), + }; + + let instruction = make_instruction(program_id, &accounts, instruction); + (accounts, instruction) + } + + fn signers(&self) -> Vec { + vec![self.signer] + } +} + +#[derive(Clone)] +pub struct CancelAllOrdersInstruction { + pub open_orders_account: Pubkey, + pub market: Pubkey, + pub signer: TestKeypair, +} +#[async_trait::async_trait(?Send)] +impl OpenbookClientInstruction for CancelAllOrdersInstruction { + type Accounts = openbook_v2::accounts::CancelOrder; + type Instruction = openbook_v2::instruction::CancelAllOrders; + async fn to_instruction( + &self, + account_loader: impl ClientAccountLoader + 'async_trait, + ) -> (Self::Accounts, instruction::Instruction) { + let program_id = openbook_v2::id(); + let instruction = Self::Instruction { + side_option: None, + limit: 5, + }; + let market: Market = account_loader.load(&self.market).await.unwrap(); + let accounts = Self::Accounts { + open_orders_account: self.open_orders_account, + market: self.market, + bids: market.bids, + asks: market.asks, + signer: self.signer.pubkey(), + }; + + let instruction = make_instruction(program_id, &accounts, instruction); + (accounts, instruction) + } + + fn signers(&self) -> Vec { + vec![self.signer] + } +} + +#[derive(Clone)] +pub struct ConsumeEventsInstruction { + pub consume_events_admin: Option, + pub market: Pubkey, + pub open_orders_accounts: Vec, +} +#[async_trait::async_trait(?Send)] +impl OpenbookClientInstruction for ConsumeEventsInstruction { + type Accounts = openbook_v2::accounts::ConsumeEvents; + type Instruction = openbook_v2::instruction::ConsumeEvents; + async fn to_instruction( + &self, + account_loader: impl ClientAccountLoader + 'async_trait, + ) -> (Self::Accounts, instruction::Instruction) { + let program_id = openbook_v2::id(); + let instruction = Self::Instruction { limit: 10 }; + + let market: Market = account_loader.load(&self.market).await.unwrap(); + let accounts = Self::Accounts { + consume_events_admin: self.consume_events_admin.map(|kp| kp.pubkey()), + market: self.market, + event_heap: market.event_heap, + }; + + let mut instruction = make_instruction(program_id, &accounts, instruction); + instruction + .accounts + .extend(self.open_orders_accounts.iter().map(|ma| AccountMeta { + pubkey: *ma, + is_signer: false, + is_writable: true, + })); + (accounts, instruction) + } + + fn signers(&self) -> Vec { + match self.consume_events_admin { + Some(consume_events_admin) => vec![consume_events_admin], + None => vec![], + } + } +} + +pub struct ConsumeGivenEventsInstruction { + pub consume_events_admin: Option, + pub market: Pubkey, + pub open_orders_accounts: Vec, + pub slots: Vec, +} +#[async_trait::async_trait(?Send)] +impl OpenbookClientInstruction for ConsumeGivenEventsInstruction { + type Accounts = openbook_v2::accounts::ConsumeEvents; + type Instruction = openbook_v2::instruction::ConsumeGivenEvents; + async fn to_instruction( + &self, + account_loader: impl ClientAccountLoader + 'async_trait, + ) -> (Self::Accounts, instruction::Instruction) { + let program_id = openbook_v2::id(); + let instruction = Self::Instruction { + slots: self.slots.clone(), + }; + + let market: Market = account_loader.load(&self.market).await.unwrap(); + let accounts = Self::Accounts { + consume_events_admin: self.consume_events_admin.map(|kp| kp.pubkey()), + market: self.market, + event_heap: market.event_heap, + }; + + let mut instruction = make_instruction(program_id, &accounts, instruction); + instruction + .accounts + .extend(self.open_orders_accounts.iter().map(|ma| AccountMeta { + pubkey: *ma, + is_signer: false, + is_writable: true, + })); + (accounts, instruction) + } + + fn signers(&self) -> Vec { + match self.consume_events_admin { + Some(consume_events_admin) => vec![consume_events_admin], + None => vec![], + } + } +} + +#[derive(Clone)] +pub struct SettleFundsInstruction { + pub owner: TestKeypair, + pub open_orders_account: Pubkey, + pub market: Pubkey, + pub market_base_vault: Pubkey, + pub market_quote_vault: Pubkey, + pub user_base_account: Pubkey, + pub user_quote_account: Pubkey, + pub referrer_account: Option, +} +#[async_trait::async_trait(?Send)] +impl OpenbookClientInstruction for SettleFundsInstruction { + type Accounts = openbook_v2::accounts::SettleFunds; + type Instruction = openbook_v2::instruction::SettleFunds; + async fn to_instruction( + &self, + account_loader: impl ClientAccountLoader + 'async_trait, + ) -> (Self::Accounts, instruction::Instruction) { + let program_id = openbook_v2::id(); + let instruction = Self::Instruction {}; + let market: Market = account_loader.load(&self.market).await.unwrap(); + let accounts = Self::Accounts { + owner: self.owner.pubkey(), + open_orders_account: self.open_orders_account, + market: self.market, + market_authority: market.market_authority, + market_base_vault: self.market_base_vault, + market_quote_vault: self.market_quote_vault, + user_base_account: self.user_base_account, + user_quote_account: self.user_quote_account, + referrer_account: self.referrer_account, + penalty_payer: self.owner.pubkey(), // todo-pan: fix + token_program: Token::id(), + system_program: System::id(), + }; + + let instruction = make_instruction(program_id, &accounts, instruction); + (accounts, instruction) + } + + fn signers(&self) -> Vec { + vec![self.owner] + } +} + +#[derive(Clone)] +pub struct SettleFundsExpiredInstruction { + pub close_market_admin: TestKeypair, + pub owner: TestKeypair, + pub open_orders_account: Pubkey, + pub market: Pubkey, + pub market_base_vault: Pubkey, + pub market_quote_vault: Pubkey, + pub user_base_account: Pubkey, + pub user_quote_account: Pubkey, + pub referrer_account: Option, +} +#[async_trait::async_trait(?Send)] +impl OpenbookClientInstruction for SettleFundsExpiredInstruction { + type Accounts = openbook_v2::accounts::SettleFundsExpired; + type Instruction = openbook_v2::instruction::SettleFundsExpired; + async fn to_instruction( + &self, + account_loader: impl ClientAccountLoader + 'async_trait, + ) -> (Self::Accounts, instruction::Instruction) { + let program_id = openbook_v2::id(); + let instruction = Self::Instruction {}; + let market: Market = account_loader.load(&self.market).await.unwrap(); + let accounts = Self::Accounts { + close_market_admin: self.close_market_admin.pubkey(), + penalty_payer: self.owner.pubkey(), + open_orders_account: self.open_orders_account, + market: self.market, + market_authority: market.market_authority, + market_base_vault: self.market_base_vault, + market_quote_vault: self.market_quote_vault, + user_base_account: self.user_base_account, + user_quote_account: self.user_quote_account, + referrer_account: self.referrer_account, + owner: self.owner.pubkey(), + token_program: Token::id(), + system_program: System::id(), + }; + + let instruction = make_instruction(program_id, &accounts, instruction); + (accounts, instruction) + } + + fn signers(&self) -> Vec { + vec![self.close_market_admin, self.owner] + } +} + +pub struct SweepFeesInstruction { + pub collect_fee_admin: TestKeypair, + pub market: Pubkey, + pub market_quote_vault: Pubkey, + pub token_receiver_account: Pubkey, +} +#[async_trait::async_trait(?Send)] +impl OpenbookClientInstruction for SweepFeesInstruction { + type Accounts = openbook_v2::accounts::SweepFees; + type Instruction = openbook_v2::instruction::SweepFees; + async fn to_instruction( + &self, + account_loader: impl ClientAccountLoader + 'async_trait, + ) -> (Self::Accounts, instruction::Instruction) { + let program_id = openbook_v2::id(); + let instruction = Self::Instruction {}; + let market: Market = account_loader.load(&self.market).await.unwrap(); + + let accounts = Self::Accounts { + collect_fee_admin: self.collect_fee_admin.pubkey(), + market: self.market, + market_authority: market.market_authority, + market_quote_vault: self.market_quote_vault, + token_receiver_account: self.token_receiver_account, + token_program: Token::id(), + }; + let instruction = make_instruction(program_id, &accounts, instruction); + + (accounts, instruction) + } + + fn signers(&self) -> Vec { + vec![self.collect_fee_admin] + } +} + +pub struct DepositInstruction { + pub open_orders_account: Pubkey, + pub market: Pubkey, + pub market_base_vault: Pubkey, + pub market_quote_vault: Pubkey, + pub user_base_account: Pubkey, + pub user_quote_account: Pubkey, + pub owner: TestKeypair, + pub base_amount: u64, + pub quote_amount: u64, +} +#[async_trait::async_trait(?Send)] +impl OpenbookClientInstruction for DepositInstruction { + type Accounts = openbook_v2::accounts::Deposit; + type Instruction = openbook_v2::instruction::Deposit; + async fn to_instruction( + &self, + _account_loader: impl ClientAccountLoader + 'async_trait, + ) -> (Self::Accounts, instruction::Instruction) { + let program_id = openbook_v2::id(); + let instruction = Self::Instruction { + base_amount: self.base_amount, + quote_amount: self.quote_amount, + }; + + let accounts = Self::Accounts { + owner: self.owner.pubkey(), + open_orders_account: self.open_orders_account, + market: self.market, + market_base_vault: self.market_base_vault, + market_quote_vault: self.market_quote_vault, + user_base_account: self.user_base_account, + user_quote_account: self.user_quote_account, + token_program: Token::id(), + }; + let instruction = make_instruction(program_id, &accounts, instruction); + + (accounts, instruction) + } + + fn signers(&self) -> Vec { + vec![self.owner] + } +} + +pub struct StubOracleSetInstruction { + pub mint: Pubkey, + pub owner: TestKeypair, + pub price: f64, +} +#[async_trait::async_trait(?Send)] +impl OpenbookClientInstruction for StubOracleSetInstruction { + type Accounts = openbook_v2::accounts::StubOracleSet; + type Instruction = openbook_v2::instruction::StubOracleSet; + + async fn to_instruction( + &self, + _loader: impl ClientAccountLoader + 'async_trait, + ) -> (Self::Accounts, Instruction) { + let program_id = openbook_v2::id(); + let instruction = Self::Instruction { price: self.price }; + + let oracle = Pubkey::find_program_address( + &[ + b"StubOracle".as_ref(), + self.owner.pubkey().as_ref(), + self.mint.as_ref(), + ], + &program_id, + ) + .0; + + let accounts = Self::Accounts { + oracle, + owner: self.owner.pubkey(), + }; + + let instruction = make_instruction(program_id, &accounts, instruction); + (accounts, instruction) + } + + fn signers(&self) -> Vec { + vec![self.owner] + } +} + +pub struct StubOracleCreate { + pub mint: Pubkey, + pub owner: TestKeypair, + pub payer: TestKeypair, +} +#[async_trait::async_trait(?Send)] +impl OpenbookClientInstruction for StubOracleCreate { + type Accounts = openbook_v2::accounts::StubOracleCreate; + type Instruction = openbook_v2::instruction::StubOracleCreate; + + async fn to_instruction( + &self, + _loader: impl ClientAccountLoader + 'async_trait, + ) -> (Self::Accounts, Instruction) { + let program_id = openbook_v2::id(); + let instruction = Self::Instruction { price: 1.0 }; + + let oracle = Pubkey::find_program_address( + &[ + b"StubOracle".as_ref(), + self.owner.pubkey().as_ref(), + self.mint.as_ref(), + ], + &program_id, + ) + .0; + + let accounts = Self::Accounts { + oracle, + mint: self.mint, + owner: self.owner.pubkey(), + payer: self.payer.pubkey(), + system_program: System::id(), + }; + + let instruction = make_instruction(program_id, &accounts, instruction); + (accounts, instruction) + } + + fn signers(&self) -> Vec { + vec![self.payer, self.owner] + } +} + +pub struct StubOracleCloseInstruction { + pub mint: Pubkey, + pub owner: TestKeypair, + pub sol_destination: Pubkey, +} +#[async_trait::async_trait(?Send)] +impl OpenbookClientInstruction for StubOracleCloseInstruction { + type Accounts = openbook_v2::accounts::StubOracleClose; + type Instruction = openbook_v2::instruction::StubOracleClose; + + async fn to_instruction( + &self, + _loader: impl ClientAccountLoader + 'async_trait, + ) -> (Self::Accounts, Instruction) { + let program_id = openbook_v2::id(); + let instruction = Self::Instruction {}; + + let oracle = Pubkey::find_program_address( + &[ + b"StubOracle".as_ref(), + self.owner.pubkey().as_ref(), + self.mint.as_ref(), + ], + &program_id, + ) + .0; + + let accounts = Self::Accounts { + owner: self.owner.pubkey(), + oracle, + sol_destination: self.sol_destination, + token_program: Token::id(), + }; + + let instruction = make_instruction(program_id, &accounts, instruction); + (accounts, instruction) + } + + fn signers(&self) -> Vec { + vec![self.owner] + } +} + +#[derive(Clone)] +pub struct CloseMarketInstruction { + pub close_market_admin: TestKeypair, + pub market: Pubkey, + pub sol_destination: Pubkey, +} +#[async_trait::async_trait(?Send)] +impl OpenbookClientInstruction for CloseMarketInstruction { + type Accounts = openbook_v2::accounts::CloseMarket; + type Instruction = openbook_v2::instruction::CloseMarket; + async fn to_instruction( + &self, + account_loader: impl ClientAccountLoader + 'async_trait, + ) -> (Self::Accounts, instruction::Instruction) { + let program_id = openbook_v2::id(); + let instruction = Self::Instruction {}; + let market: Market = account_loader.load(&self.market).await.unwrap(); + + let accounts = Self::Accounts { + close_market_admin: self.close_market_admin.pubkey(), + market: self.market, + bids: market.bids, + asks: market.asks, + event_heap: market.event_heap, + token_program: Token::id(), + sol_destination: self.sol_destination, + }; + + let instruction = make_instruction(program_id, &accounts, instruction); + (accounts, instruction) + } + + fn signers(&self) -> Vec { + vec![self.close_market_admin] + } +} + +pub struct SetMarketExpiredInstruction { + pub close_market_admin: TestKeypair, + pub market: Pubkey, +} +#[async_trait::async_trait(?Send)] +impl OpenbookClientInstruction for SetMarketExpiredInstruction { + type Accounts = openbook_v2::accounts::SetMarketExpired; + type Instruction = openbook_v2::instruction::SetMarketExpired; + async fn to_instruction( + &self, + _account_loader: impl ClientAccountLoader + 'async_trait, + ) -> (Self::Accounts, instruction::Instruction) { + let program_id = openbook_v2::id(); + let instruction = Self::Instruction {}; + + let accounts = Self::Accounts { + close_market_admin: self.close_market_admin.pubkey(), + market: self.market, + }; + + let instruction = make_instruction(program_id, &accounts, instruction); + (accounts, instruction) + } + + fn signers(&self) -> Vec { + vec![self.close_market_admin] + } +} + +pub struct PruneOrdersInstruction { + pub close_market_admin: TestKeypair, + pub market: Pubkey, + pub open_orders_account: Pubkey, +} +#[async_trait::async_trait(?Send)] +impl OpenbookClientInstruction for PruneOrdersInstruction { + type Accounts = openbook_v2::accounts::PruneOrders; + type Instruction = openbook_v2::instruction::PruneOrders; + async fn to_instruction( + &self, + account_loader: impl ClientAccountLoader + 'async_trait, + ) -> (Self::Accounts, instruction::Instruction) { + let program_id = openbook_v2::id(); + let instruction = Self::Instruction { limit: 5 }; + let market: Market = account_loader.load(&self.market).await.unwrap(); + + let accounts = Self::Accounts { + close_market_admin: self.close_market_admin.pubkey(), + market: self.market, + open_orders_account: self.open_orders_account, + bids: market.bids, + asks: market.asks, + }; + + let instruction = make_instruction(program_id, &accounts, instruction); + (accounts, instruction) + } + + fn signers(&self) -> Vec { + vec![self.close_market_admin] + } +} + +pub struct SetDelegateInstruction { + pub delegate_account: Option, + pub owner: TestKeypair, + pub open_orders_account: Pubkey, +} +#[async_trait::async_trait(?Send)] +impl OpenbookClientInstruction for SetDelegateInstruction { + type Accounts = openbook_v2::accounts::SetDelegate; + type Instruction = openbook_v2::instruction::SetDelegate; + async fn to_instruction( + &self, + _account_loader: impl ClientAccountLoader + 'async_trait, + ) -> (Self::Accounts, instruction::Instruction) { + let program_id = openbook_v2::id(); + let instruction = Self::Instruction {}; + + let accounts = Self::Accounts { + owner: self.owner.pubkey(), + open_orders_account: self.open_orders_account, + delegate_account: self.delegate_account, + }; + + let instruction = make_instruction(program_id, &accounts, instruction); + (accounts, instruction) + } + + fn signers(&self) -> Vec { + vec![self.owner] + } +} + +#[derive(Clone)] +pub struct EditOrderInstruction { + pub open_orders_account: Pubkey, + pub open_orders_admin: Option, + pub market: Pubkey, + pub signer: TestKeypair, + pub market_vault: Pubkey, + pub user_token_account: Pubkey, + pub side: Side, + pub price_lots: i64, + pub max_base_lots: i64, + pub max_quote_lots_including_fees: i64, + pub client_order_id: u64, + pub expiry_timestamp: u64, + pub order_type: PlaceOrderType, + pub self_trade_behavior: SelfTradeBehavior, + pub remainings: Vec, + pub expected_cancel_size: i64, +} + +#[async_trait::async_trait(?Send)] +impl OpenbookClientInstruction for EditOrderInstruction { + type Accounts = openbook_v2::accounts::PlaceOrder; + type Instruction = openbook_v2::instruction::EditOrder; + async fn to_instruction( + &self, + account_loader: impl ClientAccountLoader + 'async_trait, + ) -> (Self::Accounts, instruction::Instruction) { + let program_id = openbook_v2::id(); + let instruction = Self::Instruction { + expected_cancel_size: self.expected_cancel_size, + client_order_id: self.client_order_id, + place_order: PlaceOrderArgs { + side: self.side, + price_lots: self.price_lots, + max_base_lots: self.max_base_lots, + max_quote_lots_including_fees: self.max_quote_lots_including_fees, + client_order_id: self.client_order_id, + order_type: self.order_type, + expiry_timestamp: self.expiry_timestamp, + self_trade_behavior: self.self_trade_behavior, + limit: 10, + }, + }; + + let market: Market = account_loader.load(&self.market).await.unwrap(); + + let accounts = Self::Accounts { + open_orders_account: self.open_orders_account, + open_orders_admin: self.open_orders_admin.map(|kp| kp.pubkey()), + market: self.market, + bids: market.bids, + asks: market.asks, + event_heap: market.event_heap, + oracle_a: market.oracle_a.into(), + oracle_b: market.oracle_b.into(), + signer: self.signer.pubkey(), + user_token_account: self.user_token_account, + market_vault: self.market_vault, + token_program: Token::id(), + }; + let mut instruction = make_instruction(program_id, &accounts, instruction); + let mut vec_remainings: Vec = Vec::new(); + for remaining in &self.remainings { + vec_remainings.push(AccountMeta { + pubkey: *remaining, + is_signer: false, + is_writable: true, + }) + } + instruction.accounts.append(&mut vec_remainings); + (accounts, instruction) + } + + fn signers(&self) -> Vec { + let mut signers = vec![self.signer]; + if let Some(open_orders_admin) = self.open_orders_admin { + signers.push(open_orders_admin); + } + + signers + } +} diff --git a/programs/mango-v4/tests/program_test/openbook_setup.rs b/programs/mango-v4/tests/program_test/openbook_setup.rs new file mode 100644 index 0000000000..dbfb5b8620 --- /dev/null +++ b/programs/mango-v4/tests/program_test/openbook_setup.rs @@ -0,0 +1,126 @@ +#![allow(dead_code)] + +use std::sync::Arc; + +use bytemuck::cast_ref; +use itertools::Itertools; +use openbook_client::*; +use openbook_v2::state::{EventHeap, EventType, FillEvent, OpenOrdersAccount, OutEvent}; +use solana_sdk::pubkey::Pubkey; + +use super::*; + +pub struct OpenbookListingKeys { + market_key: TestKeypair, + req_q_key: TestKeypair, + event_q_key: TestKeypair, + bids_key: TestKeypair, + asks_key: TestKeypair, + vault_signer_pk: Pubkey, + vault_signer_nonce: u64, +} + +#[derive(Clone, Debug)] +pub struct OpenbookMarketCookie { + pub market: Pubkey, + pub event_heap: Pubkey, + pub bids: Pubkey, + pub asks: Pubkey, + pub quote_vault: Pubkey, + pub base_vault: Pubkey, + pub authority: Pubkey, + pub quote_mint: MintCookie, + pub base_mint: MintCookie, +} + +pub struct OpenbookV2Cookie { + pub solana: Arc, + pub program_id: Pubkey, +} + +impl OpenbookV2Cookie { + pub async fn list_spot_market( + &self, + quote_mint: &MintCookie, + base_mint: &MintCookie, + payer: TestKeypair, + ) -> OpenbookMarketCookie { + let collect_fee_admin = TestKeypair::new(); + let market = TestKeypair::new(); + + let res = openbook_client::send_openbook_tx( + self.solana.as_ref(), + CreateMarketInstruction { + collect_fee_admin: collect_fee_admin.pubkey(), + open_orders_admin: None, + close_market_admin: None, + payer: payer, + market, + quote_lot_size: 10, + base_lot_size: 100, + maker_fee: -200, + taker_fee: 400, + base_mint: base_mint.pubkey, + quote_mint: quote_mint.pubkey, + ..CreateMarketInstruction::with_new_book_and_heap(self.solana.as_ref(), None, None) + .await + }, + ) + .await + .unwrap(); + + OpenbookMarketCookie { + market: market.pubkey(), + event_heap: res.event_heap, + bids: res.bids, + asks: res.asks, + authority: res.market_authority, + quote_vault: res.market_quote_vault, + base_vault: res.market_base_vault, + quote_mint: *quote_mint, + base_mint: *base_mint, + } + } + + pub async fn load_open_orders(&self, address: Pubkey) -> OpenOrdersAccount { + self.solana.get_account::(address).await + } + + pub async fn consume_spot_events(&self, spot_market_cookie: &OpenbookMarketCookie, limit: u8) { + let event_heap = self + .solana + .get_account::(spot_market_cookie.event_heap) + .await; + let to_consume = event_heap + .iter() + .map(|(event, _slot)| event) + .take(limit as usize) + .collect_vec(); + let open_orders_accounts = to_consume + .into_iter() + .map( + |event| match EventType::try_from(event.event_type).unwrap() { + EventType::Fill => { + let fill: &FillEvent = cast_ref(event); + fill.maker + } + EventType::Out => { + let out: &OutEvent = cast_ref(event); + out.owner + } + }, + ) + .collect_vec(); + + openbook_client::send_openbook_tx( + self.solana.as_ref(), + ConsumeEventsInstruction { + consume_events_admin: None, + market: spot_market_cookie.market, + open_orders_accounts, + }, + ) + .await + .unwrap(); + } +} diff --git a/programs/mango-v4/tests/program_test/serum.rs b/programs/mango-v4/tests/program_test/serum.rs index a8ddce67e7..3ff26cf3b4 100644 --- a/programs/mango-v4/tests/program_test/serum.rs +++ b/programs/mango-v4/tests/program_test/serum.rs @@ -19,7 +19,7 @@ pub struct ListingKeys { } #[derive(Clone, Debug)] -pub struct SpotMarketCookie { +pub struct SerumMarketCookie { pub market: Pubkey, pub req_q: Pubkey, pub event_q: Pubkey, @@ -95,7 +95,7 @@ impl SerumCookie { &self, coin_mint: &MintCookie, pc_mint: &MintCookie, - ) -> SpotMarketCookie { + ) -> SerumMarketCookie { let serum_program_id = self.program_id; let coin_mint_pk = coin_mint.pubkey; let pc_mint_pk = pc_mint.pubkey; @@ -167,7 +167,7 @@ impl SerumCookie { .create_token_account(&fee_account_owner, coin_mint.pubkey) .await; - SpotMarketCookie { + SerumMarketCookie { market: market_key.pubkey(), req_q: req_q_key.pubkey(), event_q: event_q_key.pubkey(), @@ -185,7 +185,7 @@ impl SerumCookie { pub async fn consume_spot_events( &self, - spot_market_cookie: &SpotMarketCookie, + spot_market_cookie: &SerumMarketCookie, open_orders: &[Pubkey], ) { let mut sorted_oos = open_orders.to_vec(); diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 26d34274bb..0538cafabc 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "1.69" +channel = "1.70" components = ["rustfmt", "clippy"] diff --git a/ts/client/ids.json b/ts/client/ids.json index 7f3abe94e2..3c52a0425b 100644 --- a/ts/client/ids.json +++ b/ts/client/ids.json @@ -5,6 +5,7 @@ "name": "mainnet-beta.clarkeni", "publicKey": "DLdcpC6AsAJ9xeKMR3WhHrN5sM5o7GVVXQhQ5vwisTtz", "serum3ProgramId": "9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin", + "openbookV2ProgramId": "DPYRy9sn4SfMzqu5FXVoRiuLnseTr7ZYq2rNSJDLV8uN", "mangoProgramId": "4MangoMjqJ2firMokCjjGgoK8d4MXcrgL7XJaL3w6fVg", "banks": [ { @@ -122,6 +123,7 @@ } ], "serum3Markets": [], + "openbookV2Markets": [], "perpMarkets": [] } ] diff --git a/ts/client/scripts/archive/devnet-add-obv2-market.ts b/ts/client/scripts/archive/devnet-add-obv2-market.ts new file mode 100644 index 0000000000..27d84b8056 --- /dev/null +++ b/ts/client/scripts/archive/devnet-add-obv2-market.ts @@ -0,0 +1,64 @@ +import { AnchorProvider, BN, Wallet } from '@coral-xyz/anchor'; +import { Connection, Keypair, PublicKey } from '@solana/web3.js'; +import * as dotenv from 'dotenv'; +import fs from 'fs'; +import { MangoClient } from '../../src/client'; +import { MANGO_V4_ID } from '../../src/constants'; + +dotenv.config(); + +async function addSpotMarket() { + const options = AnchorProvider.defaultOptions(); + const connection = new Connection( + 'https://mango.devnet.rpcpool.com', + options, + ); + + // admin + const admin = Keypair.fromSecretKey( + Buffer.from( + JSON.parse(fs.readFileSync(process.env.ADMIN_KEYPAIR!, 'utf-8')), + ), + ); + const adminWallet = new Wallet(admin); + const adminProvider = new AnchorProvider(connection, adminWallet, options); + const client = await MangoClient.connect( + adminProvider, + 'devnet', + MANGO_V4_ID['devnet'], + ); + console.log(`Admin ${admin.publicKey.toBase58()}`); + + // fetch group + const groupPk = '7SDejCUPsF3g59GgMsmvxw8dJkkJbT3exoH4RZirwnkM'; + const group = await client.getGroup(new PublicKey(groupPk)); + console.log(`Found group ${group.publicKey.toBase58()}`); + + const baseMint = new PublicKey('So11111111111111111111111111111111111111112'); + const quoteMint = new PublicKey( + '8FRFC6MoGGkMFQwngccyu69VnYbzykGeez7ignHVAFSN', + ); //devnet usdc + + const marketPubkey = new PublicKey( + '85o8dcTxhuV5N3LFkF1pKoCBsXhdekgdQeJ8zGEgnBwP', + ); + + const signature = await client.openbookV2RegisterMarket( + group, + marketPubkey, + group.getFirstBankByMint(baseMint), + group.getFirstBankByMint(quoteMint), + 1, + 'SOL/USDC', + 0, + ); + console.log('Tx Successful:', signature); + + process.exit(); +} + +async function main() { + await addSpotMarket(); +} + +main(); diff --git a/ts/client/scripts/archive/devnet-admin.ts b/ts/client/scripts/archive/devnet-admin.ts index 8b0f4270ab..2ba209589c 100644 --- a/ts/client/scripts/archive/devnet-admin.ts +++ b/ts/client/scripts/archive/devnet-admin.ts @@ -39,7 +39,7 @@ const DEVNET_ORACLES = new Map([ // TODO: should these constants be baked right into client.ts or even program? const NET_BORROWS_LIMIT_NATIVE = 1 * Math.pow(10, 7) * Math.pow(10, 6); -const GROUP_NUM = Number(process.env.GROUP_NUM || 0); +const GROUP_NUM = Number(process.env.GROUP_NUM || 420); async function main() { let sig; diff --git a/ts/client/scripts/archive/devnet-place-obv2-order.ts b/ts/client/scripts/archive/devnet-place-obv2-order.ts new file mode 100644 index 0000000000..158616b22e --- /dev/null +++ b/ts/client/scripts/archive/devnet-place-obv2-order.ts @@ -0,0 +1,103 @@ +import { AnchorProvider, BN, Wallet } from '@coral-xyz/anchor'; +import { Connection, Keypair, PublicKey } from '@solana/web3.js'; +import * as dotenv from 'dotenv'; +import fs from 'fs'; +import { MangoClient } from '../../src/client'; +import { MANGO_V4_ID } from '../../src/constants'; +import { + Serum3OrderType, + Serum3SelfTradeBehavior, + Serum3Side, +} from '../../src/accounts/serum3'; +import { OpenbookV2Side } from '../../src/accounts/openbookV2'; + +dotenv.config(); + +async function addSpotMarket() { + const options = AnchorProvider.defaultOptions(); + const connection = new Connection( + 'https://mango.devnet.rpcpool.com', + options, + ); + + // admin + const admin = Keypair.fromSecretKey( + Buffer.from( + JSON.parse(fs.readFileSync(process.env.ADMIN_KEYPAIR!, 'utf-8')), + ), + ); + const adminWallet = new Wallet(admin); + const adminProvider = new AnchorProvider(connection, adminWallet, options); + const client = await MangoClient.connect( + adminProvider, + 'devnet', + MANGO_V4_ID['devnet'], + ); + console.log(`Admin ${admin.publicKey.toBase58()}`); + + const baseMint = new PublicKey('So11111111111111111111111111111111111111112'); + const quoteMint = new PublicKey( + '8FRFC6MoGGkMFQwngccyu69VnYbzykGeez7ignHVAFSN', + ); //devnet usdc + + // fetch group + const groupPk = '7SDejCUPsF3g59GgMsmvxw8dJkkJbT3exoH4RZirwnkM'; + const group = await client.getGroup(new PublicKey(groupPk)); + console.log(`Found group ${group.publicKey.toBase58()}`); + + const account = await client.getMangoAccountForOwner( + group, + adminWallet.publicKey, + 0, + true, + true, + ); + if (!account) { + console.error('no mango account 0'); + return; + } + console.log( + 'accountExpand', + await client.accountExpandV3( + group, + account, + account.tokens.length, + account.serum3.length, + account.perps.length, + account.perpOpenOrders.length, + 0, + 1, + ), + ); + console.log([...group.openbookV2ExternalMarketsMap.keys()][0]); + const marketPk = new PublicKey( + [...group.openbookV2ExternalMarketsMap.keys()][0], + ); + console.log( + 'tokenDeposit', + await client.tokenDeposit(group, account, quoteMint, 1000), + ); + console.log( + 'placeOrder', + await client.openbookV2PlaceOrder( + group, + account, + marketPk, + OpenbookV2Side.bid, + 1, + 1, + Serum3SelfTradeBehavior.decrementTake, + Serum3OrderType.limit, + 420, + 32, + ), + ); + + process.exit(); +} + +async function main() { + await addSpotMarket(); +} + +main(); diff --git a/ts/client/scripts/idl-compare.ts b/ts/client/scripts/idl-compare.ts index d947306467..08efad767c 100644 --- a/ts/client/scripts/idl-compare.ts +++ b/ts/client/scripts/idl-compare.ts @@ -1,23 +1,33 @@ -import { Idl } from '@coral-xyz/anchor'; -import { - IdlEnumVariant, - IdlField, - IdlType, - IdlTypeDef, -} from '@coral-xyz/anchor/dist/cjs/idl'; +import { Idl, IdlError } from '@coral-xyz/anchor'; +import { IdlField, IdlType, IdlTypeDef } from '@coral-xyz/anchor/dist/cjs/idl'; import fs from 'fs'; -const ignoredIx = ['tokenRegister', 'groupEdit', 'tokenEdit']; +const ignoredIx = [ + 'tokenRegister', + 'groupEdit', + 'tokenEdit', + 'openbookV2EditMarket', + 'openbookV2RegisterMarket', +]; const emptyFieldPrefixes = ['padding', 'reserved']; -const skippedErrors = [ - // The account data layout moved from (v1 or v2) to the v3 layout for all accounts - ['AccountSize', 'MangoAccount', 440, 512], -]; - -function isAllowedError(errorTuple): boolean { - return !skippedErrors.some( +const skippedErrors = { + '0.25.0': [ + ['Instruction', 'openbookV2CreateOpenOrders'], + ['Instruction', 'openbookV2PlaceOrder'], + ['Instruction', 'openbookV2PlaceTakerOrder'], + ['Instruction', 'openbookV2CancelAllOrders'], + ['Account', 'OpenbookV2Market'], + ], +}; + +function skipError(newIdl, errorTuple): boolean { + const errors = skippedErrors[newIdl.version]; + if (!errors) { + return false; + } + return errors.some( (a) => a.length == errorTuple.length && a.every((value, index) => value === errorTuple[index]), @@ -36,6 +46,9 @@ function main(): void { // Old instructions still exist for (const oldIx of oldIdl.instructions) { + if (skipError(newIdl, ['Instruction', oldIx.name])) { + continue; + } const newIx = newIdl.instructions.find((x) => x.name == oldIx.name); if (!newIx) { console.log(`Error: instruction '${oldIx.name}' was removed`); @@ -117,6 +130,9 @@ function main(): void { } for (const oldAcc of oldIdl.accounts ?? []) { + if (skipError(newIdl, ['Account', oldAcc.name])) { + continue; + } const newAcc = newIdl.accounts?.find((x) => x.name == oldAcc.name); // Old accounts still exist @@ -130,7 +146,7 @@ function main(): void { const newSize = accountSize(newIdl, newAcc); if ( oldSize != newSize && - isAllowedError(['AccountSize', oldAcc.name, oldSize, newSize]) + !skipError(newIdl, ['AccountSize', oldAcc.name, oldSize, newSize]) ) { console.log(`Error: account '${oldAcc.name}' has changed size`); hasError = true; @@ -292,31 +308,36 @@ function fieldOffset(fields: IdlField[], field: IdlField, idl: Idl): number { // The following code is essentially copied from anchor's common.ts // -export function accountSize(idl: Idl, idlAccount: IdlTypeDef): number { - if (idlAccount.type.kind === 'enum') { - const variantSizes = idlAccount.type.variants.map( - (variant: IdlEnumVariant) => { - if (variant.fields === undefined) { +export function accountSize(idl: Idl, idlAccount: IdlTypeDef) { + switch (idlAccount.type.kind) { + case 'struct': { + return idlAccount.type.fields + .map((f) => typeSize(idl, f.type)) + .reduce((acc, size) => acc + size, 0); + } + + case 'enum': { + const variantSizes = idlAccount.type.variants.map((variant) => { + if (!variant.fields) { return 0; } return variant.fields .map((f: IdlField | IdlType) => { if (!(typeof f === 'object' && 'name' in f)) { - throw new Error('Tuple enum variants not yet implemented.'); + return typeSize(idl, f); } return typeSize(idl, f.type); }) - .reduce((a: number, b: number) => a + b); - }, - ); - return Math.max(...variantSizes) + 1; - } - if (idlAccount.type.fields === undefined) { - return 0; + .reduce((acc, size) => acc + size, 0); + }); + + return Math.max(...variantSizes) + 1; + } + + case 'alias': { + return typeSize(idl, idlAccount.type.value); + } } - return idlAccount.type.fields - .map((f) => typeSize(idl, f.type)) - .reduce((a, b) => a + b, 0); } function typeSize(idl: Idl, ty: IdlType): number { @@ -370,15 +391,15 @@ function typeSize(idl: Idl, ty: IdlType): number { if ('defined' in ty) { const filtered = idl.types?.filter((t) => t.name === ty.defined) ?? []; if (filtered.length !== 1) { - throw new Error(`Type not found: ${JSON.stringify(ty)}`); + throw new IdlError(`Type not found: ${JSON.stringify(ty)}`); } - const typeDef = filtered[0]; + let typeDef = filtered[0]; return accountSize(idl, typeDef); } if ('array' in ty) { - const arrayTy = ty.array[0]; - const arraySize = ty.array[1]; + let arrayTy = ty.array[0]; + let arraySize = ty.array[1]; return typeSize(idl, arrayTy) * arraySize; } throw new Error(`Invalid type ${JSON.stringify(ty)}`); diff --git a/ts/client/scripts/obv2.ts b/ts/client/scripts/obv2.ts new file mode 100644 index 0000000000..a14adc7537 --- /dev/null +++ b/ts/client/scripts/obv2.ts @@ -0,0 +1,60 @@ +import { AnchorProvider, BN, Wallet } from '@coral-xyz/anchor'; +import { OpenBookV2Client } from '@openbook-dex/openbook-v2'; +import { Cluster, Connection, Keypair, PublicKey } from '@solana/web3.js'; +import fs from 'fs'; +import { sendTransaction } from '../src/utils/rpc'; + +const CLUSTER: Cluster = + (process.env.CLUSTER_OVERRIDE as Cluster) || 'mainnet-beta'; +const CLUSTER_URL = + process.env.CLUSTER_URL_OVERRIDE || process.env.MB_CLUSTER_URL; +const USER_KEYPAIR = + process.env.USER_KEYPAIR_OVERRIDE || process.env.MB_PAYER_KEYPAIR; + +async function run() { + const conn = new Connection(CLUSTER_URL!, 'processed'); + const kp = Keypair.fromSecretKey( + Buffer.from( + JSON.parse( + process.env.KEYPAIR || fs.readFileSync(USER_KEYPAIR!, 'utf-8'), + ), + ), + ); + const wallet = new Wallet(kp); + + const provider = new AnchorProvider(conn, wallet, {}); + const client: OpenBookV2Client = new OpenBookV2Client(provider, undefined, { + prioritizationFee: 10_000, + }); + + const ix = await client.createMarketIx( + wallet.publicKey, + 'sol-apr22/usdc', + new PublicKey('So11111111111111111111111111111111111111112'), // sol + new PublicKey('8FRFC6MoGGkMFQwngccyu69VnYbzykGeez7ignHVAFSN'), // usdc + new BN(100), + new BN(100), + new BN(100), + new BN(100), + new BN(100), + null, + null, + null, + null, + provider.wallet.publicKey, + ); + + const res = await sendTransaction( + client.program.provider as AnchorProvider, + ix[0], + [], + { + prioritizationFee: 1, + additionalSigners: ix[1] as any, + }, + ); + + console.log(res); +} + +run(); diff --git a/ts/client/src/accounts/group.ts b/ts/client/src/accounts/group.ts index b486d14326..e8e50f5e92 100644 --- a/ts/client/src/accounts/group.ts +++ b/ts/client/src/accounts/group.ts @@ -1,10 +1,16 @@ -import { BorshAccountsCoder } from '@coral-xyz/anchor'; +import { AnchorProvider, BorshAccountsCoder, Wallet } from '@coral-xyz/anchor'; import { Market, Orderbook } from '@project-serum/serum'; +import { + MarketAccount, + BookSideAccount, + OpenBookV2Client, +} from '@openbook-dex/openbook-v2'; import { parsePriceData } from '@pythnetwork/client'; import { TOKEN_PROGRAM_ID, unpackAccount } from '@solana/spl-token'; import { AccountInfo, AddressLookupTableAccount, + Keypair, PublicKey, } from '@solana/web3.js'; import BN from 'bn.js'; @@ -15,6 +21,7 @@ import { Id } from '../ids'; import { I80F48 } from '../numbers/I80F48'; import { PriceImpact, computePriceImpactOnJup } from '../risk'; import { + EmptyWallet, buildFetch, deepClone, toNative, @@ -30,6 +37,8 @@ import { } from './oracle'; import { BookSide, PerpMarket, PerpMarketIndex } from './perp'; import { MarketIndex, Serum3Market } from './serum3'; +import { OpenbookV2MarketIndex, OpenbookV2Market } from './openbookV2'; +import NodeWallet from '@coral-xyz/anchor/dist/cjs/nodewallet'; export class Group { static from( @@ -88,6 +97,9 @@ export class Group { new Map(), // serum3MarketsMapByExternal new Map(), // serum3MarketsMapByMarketIndex new Map(), // serum3MarketExternalsMap + new Map(), // openbookV2MarketsMapByExternal + new Map(), // openbookV2MarketsMapByMarketIndex + new Map(), // openbookV2MarketExternalsMap new Map(), // perpMarketsMapByOracle new Map(), // perpMarketsMapByMarketIndex new Map(), // perpMarketsMapByName @@ -128,6 +140,12 @@ export class Group { public serum3MarketsMapByExternal: Map, public serum3MarketsMapByMarketIndex: Map, public serum3ExternalMarketsMap: Map, + public openbookV2MarketsMapByExternal: Map, + public openbookV2MarketsMapByMarketIndex: Map< + MarketIndex, + OpenbookV2Market + >, + public openbookV2ExternalMarketsMap: Map, public perpMarketsMapByOracle: Map, public perpMarketsMapByMarketIndex: Map, public perpMarketsMapByName: Map, @@ -157,6 +175,9 @@ export class Group { this.reloadSerum3Markets(client, ids).then(() => this.reloadSerum3ExternalMarkets(client, ids), ), + this.reloadOpenbookV2Markets(client, ids).then(() => + this.reloadOpenbookV2ExternalMarkets(client, ids), + ), ]); // console.timeEnd('group.reload'); } @@ -292,6 +313,40 @@ export class Group { ); } + public async reloadOpenbookV2Markets( + client: MangoClient, + ids?: Id, + ): Promise { + let openbookV2Markets: OpenbookV2Market[]; + if (ids && ids.getOpenbookV2Markets().length) { + openbookV2Markets = ( + await client.program.account.openbookV2Market.fetchMultiple( + ids.getOpenbookV2Markets(), + ) + ).map((account, index) => + OpenbookV2Market.from( + ids.getOpenbookV2Markets()[index], + account as any, + ), + ); + } else { + openbookV2Markets = await client.openbookV2GetMarkets(this); + } + + this.openbookV2MarketsMapByExternal = new Map( + openbookV2Markets.map((openbookV2Market) => [ + openbookV2Market.openbookMarketExternal.toBase58(), + openbookV2Market, + ]), + ); + this.openbookV2MarketsMapByMarketIndex = new Map( + openbookV2Markets.map((openbookV2Market) => [ + openbookV2Market.marketIndex, + openbookV2Market, + ]), + ); + } + public async reloadSerum3ExternalMarkets( client: MangoClient, ids?: Id, @@ -354,6 +409,59 @@ export class Group { ); } + public async reloadOpenbookV2ExternalMarkets( + client: MangoClient, + ids?: Id, + ): Promise { + const openbookClient = new OpenBookV2Client( + new AnchorProvider( + client.connection, + new EmptyWallet(Keypair.generate()), + { + commitment: client.connection.commitment, + }, + ), + ); // readonly client for deserializing accounts + let markets: MarketAccount[] = []; + const externalMarketIds = ids?.getOpenbookV2ExternalMarkets(); + + if (ids && externalMarketIds && externalMarketIds.length) { + markets = await Promise.all( + ( + await client.program.provider.connection.getMultipleAccountsInfo( + externalMarketIds, + ) + ).map((account, index) => { + if (!account) { + throw new Error( + `Undefined AI for openbook market ${externalMarketIds[index]}!`, + ); + } + return openbookClient.decodeMarket(account?.data) as MarketAccount; + }), + ); + } else { + markets = await Promise.all( + Array.from(this.openbookV2MarketsMapByExternal.values()).map( + (openbookV2Market) => { + return openbookClient.program.account.market.fetch( + openbookV2Market.openbookMarketExternal, + ); + }, + ), + ); + } + + this.openbookV2ExternalMarketsMap = new Map( + Array.from(this.openbookV2MarketsMapByExternal.values()).map( + (openbookV2Market, index) => [ + openbookV2Market.openbookMarketExternal.toBase58(), + markets[index], + ], + ), + ); + } + public async reloadPerpMarkets(client: MangoClient, ids?: Id): Promise { let perpMarkets: PerpMarket[]; if (ids && ids.getPerpMarkets().length) { @@ -628,6 +736,19 @@ export class Group { return serum3Market; } + public getOpenbookV2MarketByMarketIndex( + marketIndex: MarketIndex, + ): OpenbookV2Market { + const openbookV2Market = + this.openbookV2MarketsMapByMarketIndex.get(marketIndex); + if (!openbookV2Market) { + throw new Error( + `No openbookV2Market found for marketIndex ${marketIndex}!`, + ); + } + return openbookV2Market; + } + public getSerum3MarketByName(name: string): Serum3Market { const serum3Market = Array.from( this.serum3MarketsMapByExternal.values(), @@ -638,6 +759,16 @@ export class Group { return serum3Market; } + public getOpenbookV2MarketByName(name: string): OpenbookV2Market { + const openbookV2Market = Array.from( + this.openbookV2MarketsMapByExternal.values(), + ).find((openbookV2Market) => openbookV2Market.name === name); + if (!openbookV2Market) { + throw new Error(`No openbookV2Market found by name ${name}!`); + } + return openbookV2Market; + } + public getSerum3MarketByExternalMarket( externalMarketPk: PublicKey, ): Serum3Market { @@ -654,6 +785,22 @@ export class Group { return serum3Market; } + public getOpenbookV2MarketByExternalMarket( + externalMarketPk: PublicKey, + ): OpenbookV2Market { + const openbookV2Market = Array.from( + this.openbookV2MarketsMapByExternal.values(), + ).find((openbookV2Market) => + openbookV2Market.openbookMarketExternal.equals(externalMarketPk), + ); + if (!openbookV2Market) { + throw new Error( + `No openbookV2Market found for external openbookV2 market ${externalMarketPk.toString()}!`, + ); + } + return openbookV2Market; + } + public getSerum3ExternalMarket(externalMarketPk: PublicKey): Market { const market = this.serum3ExternalMarketsMap.get( externalMarketPk.toBase58(), @@ -666,6 +813,20 @@ export class Group { return market; } + public getOpenbookV2ExternalMarket( + externalMarketPk: PublicKey, + ): MarketAccount { + const market = this.openbookV2ExternalMarketsMap.get( + externalMarketPk.toBase58(), + ); + if (!market) { + throw new Error( + `No openbookV2 external market found for pk ${externalMarketPk.toString()}!`, + ); + } + return market; + } + public async loadSerum3BidsForMarket( client: MangoClient, externalMarketPk: PublicKey, @@ -682,6 +843,24 @@ export class Group { return await serum3Market.loadAsks(client, this); } + public async loadOpenbookV2BidsForMarket( + client: MangoClient, + externalMarketPk: PublicKey, + ): Promise { + const openbookV2Market = + this.getOpenbookV2MarketByExternalMarket(externalMarketPk); + return await openbookV2Market.loadBids(client, this); + } + + public async loadOpenbookV2AsksForMarket( + client: MangoClient, + externalMarketPk: PublicKey, + ): Promise { + const openbookV2Market = + this.getOpenbookV2MarketByExternalMarket(externalMarketPk); + return await openbookV2Market.loadAsks(client, this); + } + public findPerpMarket(marketIndex: PerpMarketIndex): PerpMarket { const perpMarket = Array.from(this.perpMarketsMapByName.values()).find( (perpMarket) => perpMarket.perpMarketIndex === marketIndex, diff --git a/ts/client/src/accounts/mangoAccount.spec.ts b/ts/client/src/accounts/mangoAccount.spec.ts index ddb25a9f26..b7af1666ad 100644 --- a/ts/client/src/accounts/mangoAccount.spec.ts +++ b/ts/client/src/accounts/mangoAccount.spec.ts @@ -38,6 +38,8 @@ describe('Mango Account', () => { [], [], [], + [], + new Map(), new Map(), ); @@ -112,6 +114,8 @@ describe('maxWithdraw', () => { [], [], [], + [], + new Map(), new Map(), ); protoAccount.tokens.push( diff --git a/ts/client/src/accounts/mangoAccount.ts b/ts/client/src/accounts/mangoAccount.ts index 7d0c16b45f..d36320c9ad 100644 --- a/ts/client/src/accounts/mangoAccount.ts +++ b/ts/client/src/accounts/mangoAccount.ts @@ -1,7 +1,8 @@ -import { AnchorProvider, BN } from '@coral-xyz/anchor'; +import { AnchorProvider, BN, Wallet } from '@coral-xyz/anchor'; import { utf8 } from '@coral-xyz/anchor/dist/cjs/utils/bytes'; import { OpenOrders, Order, Orderbook } from '@project-serum/serum/lib/market'; -import { AccountInfo, PublicKey } from '@solana/web3.js'; +import { OpenOrdersAccount, OpenBookV2Client } from '@openbook-dex/openbook-v2'; +import { AccountInfo, Keypair, PublicKey } from '@solana/web3.js'; import { MangoClient } from '../client'; import { OPENBOOK_PROGRAM_ID, RUST_I64_MAX, RUST_I64_MIN } from '../constants'; import { @@ -12,6 +13,7 @@ import { ZERO_I80F48, } from '../numbers/I80F48'; import { + EmptyWallet, U64_MAX_BN, deepClone, roundTo5, @@ -30,6 +32,7 @@ export class MangoAccount { public name: string; public tokens: TokenPosition[]; public serum3: Serum3Orders[]; + public openbookV2: OpenbookV2Orders[]; public perps: PerpPosition[]; public perpOpenOrders: PerpOo[]; public tokenConditionalSwaps: TokenConditionalSwap[]; @@ -55,6 +58,7 @@ export class MangoAccount { headerVersion: number; tokens: unknown; serum3: unknown; + openbookV2: unknown; perps: unknown; perpOpenOrders: unknown; tokenConditionalSwaps: unknown; @@ -80,10 +84,12 @@ export class MangoAccount { obj.headerVersion, obj.tokens as TokenPositionDto[], obj.serum3 as Serum3PositionDto[], + obj.openbookV2 as OpenbookV2PositionDto[], obj.perps as PerpPositionDto[], obj.perpOpenOrders as PerpOoDto[], obj.tokenConditionalSwaps as TokenConditionalSwapDto[], new Map(), // serum3OosMapByMarketIndex + new Map(), // openbookV2OosMapByMarketIndex ); } @@ -107,14 +113,17 @@ export class MangoAccount { public headerVersion: number, tokens: TokenPositionDto[], serum3: Serum3PositionDto[], + openbookV2: OpenbookV2PositionDto[], perps: PerpPositionDto[], perpOpenOrders: PerpOoDto[], tokenConditionalSwaps: TokenConditionalSwapDto[], public serum3OosMapByMarketIndex: Map, + public openbookV2OosMapByMarketIndex: Map, ) { this.name = utf8.decode(new Uint8Array(name)).split('\x00')[0]; this.tokens = tokens.map((dto) => TokenPosition.from(dto)); this.serum3 = serum3.map((dto) => Serum3Orders.from(dto)); + this.openbookV2 = openbookV2.map((dto) => OpenbookV2Orders.from(dto)); this.perps = perps.map((dto) => PerpPosition.from(dto)); this.perpOpenOrders = perpOpenOrders.map((dto) => PerpOo.from(dto)); this.tokenConditionalSwaps = tokenConditionalSwaps.map((dto) => @@ -125,6 +134,7 @@ export class MangoAccount { public async reload(client: MangoClient): Promise { const mangoAccount = await client.getMangoAccount(this.publicKey); await mangoAccount.reloadSerum3OpenOrders(client); + await mangoAccount.reloadOpenbookV2OpenOrders(client); Object.assign(this, mangoAccount); return mangoAccount; } @@ -134,6 +144,7 @@ export class MangoAccount { ): Promise<{ value: MangoAccount; slot: number }> { const resp = await client.getMangoAccountWithSlot(this.publicKey); await resp?.value.reloadSerum3OpenOrders(client); + await resp?.value.reloadOpenbookV2OpenOrders(client); Object.assign(this, resp?.value); return { value: resp!.value, slot: resp!.slot }; } @@ -166,6 +177,43 @@ export class MangoAccount { return this; } + async reloadOpenbookV2OpenOrders(client: MangoClient): Promise { + const openbookClient = new OpenBookV2Client( + new AnchorProvider( + client.connection, + new EmptyWallet(Keypair.generate()), + { + commitment: client.connection.commitment, + }, + ), + ); // readonly client for deserializing accounts + const openbookV2Active = this.openbookV2Active(); + if (!openbookV2Active.length) return this; + const ais = + await client.program.provider.connection.getMultipleAccountsInfo( + openbookV2Active.map((openbookV2) => openbookV2.openOrders), + ); + this.openbookV2OosMapByMarketIndex = new Map( + Array.from( + ais.map((ai, i) => { + if (!ai) { + throw new Error( + `Undefined AI for open orders ${openbookV2Active[i].openOrders} and market ${openbookV2Active[i].marketIndex}!`, + ); + } + const oo = + openbookClient.program.account.openOrdersAccount.coder.accounts.decode( + 'openOrdersAccount', + ai.data, + ); + return [openbookV2Active[i].marketIndex, oo]; + }), + ), + ); + + return this; + } + loadSerum3OpenOrders(serum3OosMapByOo: Map): void { const serum3Active = this.serum3Active(); if (!serum3Active.length) return; @@ -182,6 +230,24 @@ export class MangoAccount { ); } + loadOpenbookV2OpenOrders( + openbookV2OosMapByOo: Map, + ): void { + const openbookV2Active = this.openbookV2Active(); + if (!openbookV2Active.length) return; + this.openbookV2OosMapByMarketIndex = new Map( + Array.from( + openbookV2Active.map((mangoOo) => { + const oo = openbookV2OosMapByOo.get(mangoOo.openOrders.toBase58()); + if (!oo) { + throw new Error(`Undefined open orders for ${mangoOo.openOrders}`); + } + return [mangoOo.marketIndex, oo]; + }), + ), + ); + } + public isDelegate(client: MangoClient): boolean { return this.delegate.equals( (client.program.provider as AnchorProvider).wallet.publicKey, @@ -211,6 +277,10 @@ export class MangoAccount { return this.serum3.filter((serum3) => serum3.isActive()); } + public openbookV2Active(): OpenbookV2Orders[] { + return this.openbookV2.filter((openbookV2) => openbookV2.isActive()); + } + public tokenConditionalSwapsActive(): TokenConditionalSwap[] { return this.tokenConditionalSwaps.filter((tcs) => tcs.isConfigured); } @@ -245,6 +315,12 @@ export class MangoAccount { return this.serum3.find((sa) => sa.marketIndex == marketIndex); } + public getOpenbookV2Account( + marketIndex: MarketIndex, + ): OpenbookV2Orders | undefined { + return this.openbookV2.find((sa) => sa.marketIndex == marketIndex); + } + public getPerpPosition( perpMarketIndex: PerpMarketIndex, ): PerpPosition | undefined { @@ -270,7 +346,19 @@ export class MangoAccount { if (!oo) { throw new Error( - `Open orders account not loaded for market with marketIndex ${marketIndex}!`, + `Serum3 open orders account not loaded for market with marketIndex ${marketIndex}!`, + ); + } + return oo; + } + + public getOpenbookV2OoAccount(marketIndex: MarketIndex): OpenOrdersAccount { + const oo: OpenOrdersAccount | undefined = + this.openbookV2OosMapByMarketIndex.get(marketIndex); + + if (!oo) { + throw new Error( + `Openbook V2 open orders account not loaded for market with marketIndex ${marketIndex}!`, ); } return oo; @@ -308,6 +396,20 @@ export class MangoAccount { bal.add(I80F48.fromI64(oo.quoteTokenFree)); } } + + for (const openbookV2Market of Array.from( + group.openbookV2MarketsMapByMarketIndex.values(), + )) { + const oo = this.openbookV2OosMapByMarketIndex.get( + openbookV2Market.marketIndex, + ); + if (openbookV2Market.baseTokenIndex == bank.tokenIndex && oo) { + bal.add(I80F48.fromI64(oo.position.baseFreeNative)); + } + if (openbookV2Market.quoteTokenIndex == bank.tokenIndex && oo) { + bal.add(I80F48.fromI64(oo.position.quoteFreeNative)); + } + } return bal; } return ZERO_I80F48(); @@ -1413,6 +1515,33 @@ export class Serum3Orders { } } +export class OpenbookV2Orders { + static OpenbookV2MarketIndexUnset = 65535; + static from(dto: OpenbookV2PositionDto): Serum3Orders { + return new OpenbookV2Orders( + dto.openOrders, + dto.marketIndex as MarketIndex, + dto.baseTokenIndex as TokenIndex, + dto.quoteTokenIndex as TokenIndex, + dto.highestPlacedBidInv, + dto.lowestPlacedAsk, + ); + } + + constructor( + public openOrders: PublicKey, + public marketIndex: MarketIndex, + public baseTokenIndex: TokenIndex, + public quoteTokenIndex: TokenIndex, + public highestPlacedBidInv: number, + public lowestPlacedAsk: number, + ) {} + + public isActive(): boolean { + return this.marketIndex !== OpenbookV2Orders.OpenbookV2MarketIndexUnset; + } +} + export class Serum3PositionDto { constructor( public openOrders: PublicKey, @@ -1429,6 +1558,20 @@ export class Serum3PositionDto { ) {} } +export class OpenbookV2PositionDto { + constructor( + public openOrders: PublicKey, + public marketIndex: number, + public baseBorrowsWithoutFee: BN, + public quoteBorrowsWithoutFee: BN, + public baseTokenIndex: number, + public quoteTokenIndex: number, + public highestPlacedBidInv: number, + public lowestPlacedAsk: number, + public reserved: number[], + ) {} +} + export interface CumulativeFunding { cumulativeLongFunding: number; cumulativeShortFunding: number; diff --git a/ts/client/src/accounts/openbookV2.ts b/ts/client/src/accounts/openbookV2.ts new file mode 100644 index 0000000000..5198ce28d3 --- /dev/null +++ b/ts/client/src/accounts/openbookV2.ts @@ -0,0 +1,368 @@ +import { utf8 } from '@coral-xyz/anchor/dist/cjs/utils/bytes'; +import { + OpenBookV2Client, + BookSideAccount, + MarketAccount, + baseLotsToUi, + priceLotsToUi, +} from '@openbook-dex/openbook-v2'; +import { Cluster, Keypair, PublicKey } from '@solana/web3.js'; +import BN from 'bn.js'; +import { MangoClient } from '../client'; +import { OPENBOOK_V2_PROGRAM_ID } from '../constants'; +import { MAX_I80F48, ONE_I80F48, ZERO_I80F48 } from '../numbers/I80F48'; +import { As, EmptyWallet } from '../utils'; +import { TokenIndex } from './bank'; +import { Group } from './group'; +import { AnchorProvider, Wallet } from '@coral-xyz/anchor'; + +export type OpenbookV2MarketIndex = number & As<'market-index'>; + +export class OpenbookV2Market { + public name: string; + static from( + publicKey: PublicKey, + obj: { + group: PublicKey; + baseTokenIndex: number; + quoteTokenIndex: number; + name: number[]; + openbookV2Program: PublicKey; + openbookV2MarketExternal: PublicKey; + marketIndex: number; + registrationTime: BN; + reduceOnly: number; + forceClose: number; + }, + ): OpenbookV2Market { + return new OpenbookV2Market( + publicKey, + obj.group, + obj.baseTokenIndex as TokenIndex, + obj.quoteTokenIndex as TokenIndex, + obj.name, + obj.openbookV2Program, + obj.openbookV2MarketExternal, + obj.marketIndex as OpenbookV2MarketIndex, + obj.registrationTime, + obj.reduceOnly == 1, + obj.forceClose == 1, + ); + } + + constructor( + public publicKey: PublicKey, + public group: PublicKey, + public baseTokenIndex: TokenIndex, + public quoteTokenIndex: TokenIndex, + name: number[], + public openbookProgram: PublicKey, + public openbookMarketExternal: PublicKey, + public marketIndex: OpenbookV2MarketIndex, + public registrationTime: BN, + public reduceOnly: boolean, + public forceClose: boolean, + ) { + this.name = utf8.decode(new Uint8Array(name)).split('\x00')[0]; + } + + public findOoIndexerPda( + programId: PublicKey, + mangoAccount: PublicKey, + ): PublicKey { + const [openOrderPublicKey] = PublicKey.findProgramAddressSync( + [Buffer.from('OpenOrdersIndexer'), mangoAccount.toBuffer()], + programId, + ); + + return openOrderPublicKey; + } + + public findOoPda( + programId: PublicKey, + mangoAccount: PublicKey, + index: number, + ): PublicKey { + const indexBuf = Buffer.alloc(4); + indexBuf.writeUInt32LE(index); + const [openOrderPublicKey] = PublicKey.findProgramAddressSync( + [Buffer.from('OpenOrders'), mangoAccount.toBuffer(), indexBuf], + programId, + ); + + return openOrderPublicKey; + } + + public async getNextOoPda( + client: MangoClient, + programId: PublicKey, + mangoAccount: PublicKey, + ): Promise { + const openbookClient = new OpenBookV2Client( + new AnchorProvider( + client.connection, + new EmptyWallet(Keypair.generate()), + { + commitment: client.connection.commitment, + }, + ), + ); + const indexer = + await openbookClient.program.account.openOrdersIndexer.fetchNullable( + this.findOoIndexerPda(programId, mangoAccount), + ); + const nextIndex = indexer ? indexer.createdCounter + 1 : 1; + const indexBuf = Buffer.alloc(4); + indexBuf.writeUInt32LE(nextIndex); + const [openOrderPublicKey] = PublicKey.findProgramAddressSync( + [Buffer.from('OpenOrders'), mangoAccount.toBuffer(), indexBuf], + programId, + ); + console.log('nextoo', nextIndex, openOrderPublicKey.toBase58()); + return openOrderPublicKey; + } + + public getFeeRates(taker = true): number { + // todo-pan: fees are no longer hardcoded!! + // See https://github.com/openbook-dex/program/blob/master/dex/src/fees.rs#L81 + const ratesBps = + this.name === 'USDT/USDC' + ? { maker: -0.5, taker: 1 } + : { maker: -2, taker: 4 }; + return taker ? ratesBps.taker * 0.0001 : ratesBps.maker * 0.0001; + } + + /** + * + * @param group + * @returns maximum leverage one can bid on this market, this is only for display purposes, + * also see getMaxQuoteForOpenbookV2BidUi and getMaxBaseForOpenbookV2AskUi + */ + maxBidLeverage(group: Group): number { + const baseBank = group.getFirstBankByTokenIndex(this.baseTokenIndex); + const quoteBank = group.getFirstBankByTokenIndex(this.quoteTokenIndex); + if ( + quoteBank.initLiabWeight.sub(baseBank.initAssetWeight).lte(ZERO_I80F48()) + ) { + return MAX_I80F48().toNumber(); + } + + return ONE_I80F48() + .div(quoteBank.initLiabWeight.sub(baseBank.initAssetWeight)) + .toNumber(); + } + + /** + * + * @param group + * @returns maximum leverage one can ask on this market, this is only for display purposes, + * also see getMaxQuoteForOpenbookV2BidUi and getMaxBaseForOpenbookV2AskUi + */ + maxAskLeverage(group: Group): number { + const baseBank = group.getFirstBankByTokenIndex(this.baseTokenIndex); + const quoteBank = group.getFirstBankByTokenIndex(this.quoteTokenIndex); + + if ( + baseBank.initLiabWeight.sub(quoteBank.initAssetWeight).lte(ZERO_I80F48()) + ) { + return MAX_I80F48().toNumber(); + } + + return ONE_I80F48() + .div(baseBank.initLiabWeight.sub(quoteBank.initAssetWeight)) + .toNumber(); + } + + public async loadBids( + client: MangoClient, + group: Group, + ): Promise { + const openbookClient = new OpenBookV2Client( + new AnchorProvider( + client.connection, + new EmptyWallet(Keypair.generate()), + { + commitment: client.connection.commitment, + }, + ), + ); // readonly client for deserializing accounts + const openbookMarketExternal = group.getOpenbookV2ExternalMarket( + this.openbookMarketExternal, + ); + + return await openbookClient.program.account.bookSide.fetch( + openbookMarketExternal.bids, + ); + } + + public async loadAsks( + client: MangoClient, + group: Group, + ): Promise { + const openbookClient = new OpenBookV2Client( + new AnchorProvider( + client.connection, + new EmptyWallet(Keypair.generate()), + { + commitment: client.connection.commitment, + }, + ), + ); // readonly client for deserializing accounts + const openbookMarketExternal = group.getOpenbookV2ExternalMarket( + this.openbookMarketExternal, + ); + + return await openbookClient.program.account.bookSide.fetch( + openbookMarketExternal.asks, + ); + } + + public async computePriceForMarketOrderOfSize( + client: MangoClient, + group: Group, + size: number, + side: 'buy' | 'sell', + ): Promise { + const ob = + side == 'buy' + ? await this.loadBids(client, group) + : await this.loadAsks(client, group); + let acc = 0; + let selectedOrder; + const orderSize = size; + + const openbookMarketExternal = group.getOpenbookV2ExternalMarket( + this.openbookMarketExternal, + ); + + for (const order of this.getL2(client, openbookMarketExternal, ob)) { + acc += order[1]; + if (acc >= orderSize) { + selectedOrder = order; + break; + } + } + + if (!selectedOrder) { + throw new Error( + 'Unable to place market order for this order size. Please retry.', + ); + } + + if (side === 'buy') { + return selectedOrder[0] * 1.05 /* TODO Fix random constant */; + } else { + return selectedOrder[0] * 0.95 /* TODO Fix random constant */; + } + } + + public getL2( + client: MangoClient, + marketAccount: MarketAccount, + bidsAccount?: BookSideAccount, + asksAccount?: BookSideAccount, + ): [number, number][] { + const openbookClient = new OpenBookV2Client( + new AnchorProvider( + client.connection, + new EmptyWallet(Keypair.generate()), + { + commitment: client.connection.commitment, + }, + ), + ); // readonly client for deserializing accounts + const bidNodes = bidsAccount + ? openbookClient.getLeafNodes(bidsAccount) + : []; + const askNodes = asksAccount + ? openbookClient.getLeafNodes(asksAccount) + : []; + const levels: [number, number][] = []; + + for (const node of bidNodes.concat(askNodes)) { + const priceLots = node.key.shrn(64); + levels.push([ + priceLotsToUi(marketAccount, priceLots), + baseLotsToUi(marketAccount, node.quantity), + ]); + } + return levels; + } + + public async logOb(client: MangoClient, group: Group): Promise { + // todo-pan + const res = ``; + // res += ` ${this.name} OrderBook`; + // let orders = await this?.loadAsks(client, group); + // for (const order of orders!.items(true)) { + // res += `\n ${order.price.toString().padStart(10)}, ${order.size + // .toString() + // .padStart(10)}`; + // } + // res += `\n --------------------------`; + // orders = await this?.loadBids(client, group); + // for (const order of orders!.items(true)) { + // res += `\n ${order.price.toString().padStart(10)}, ${order.size + // .toString() + // .padStart(10)}`; + // } + return res; + } +} + +export type OpenbookV2OrderType = + | { limit: Record } + | { immediateOrCancel: Record } + | { postOnly: Record }; +// eslint-disable-next-line @typescript-eslint/no-namespace +export namespace OpenbookV2OrderType { + export const limit = { limit: {} }; + export const immediateOrCancel = { immediateOrCancel: {} }; + export const postOnly = { postOnly: {} }; +} + +export type OpenbookV2SelfTradeBehavior = + | { decrementTake: Record } + | { cancelProvide: Record } + | { abortTransaction: Record }; +// eslint-disable-next-line @typescript-eslint/no-namespace +export namespace OpenbookV2SelfTradeBehavior { + export const decrementTake = { decrementTake: {} }; + export const cancelProvide = { cancelProvide: {} }; + export const abortTransaction = { abortTransaction: {} }; +} + +export type OpenbookV2Side = + | { bid: Record } + | { ask: Record }; +// eslint-disable-next-line @typescript-eslint/no-namespace +export namespace OpenbookV2Side { + export const bid = { bid: {} }; + export const ask = { ask: {} }; +} + +export function generateOpenbookV2MarketExternalVaultSignerAddress( + openbookV2Market: OpenbookV2Market, +): PublicKey { + return PublicKey.findProgramAddressSync( + [Buffer.from('Market'), openbookV2Market.openbookMarketExternal.toBuffer()], + openbookV2Market.openbookProgram, + )[0]; +} + +export function priceNumberToLots(price: number, market: MarketAccount): BN { + return new BN( + Math.round( + (price * + Math.pow(10, market.quoteDecimals) * + market.baseLotSize.toNumber()) / + (Math.pow(10, market.baseDecimals) * market.quoteLotSize.toNumber()), + ), + ); +} + +export function baseSizeNumberToLots(size: number, market: MarketAccount): BN { + const native = new BN(Math.round(size * Math.pow(10, market.baseDecimals))); + // rounds down to the nearest lot size + return native.div(market.baseLotSize); +} diff --git a/ts/client/src/client.ts b/ts/client/src/client.ts index a3737d7b18..8adf901c1a 100644 --- a/ts/client/src/client.ts +++ b/ts/client/src/client.ts @@ -5,6 +5,7 @@ import { Provider, Wallet, } from '@coral-xyz/anchor'; +import { OpenBookV2Client } from '@openbook-dex/openbook-v2'; import { OpenOrders, decodeEventQueue } from '@project-serum/serum'; import { createAccount, @@ -41,6 +42,7 @@ import { Bank, MintInfo, TokenIndex } from './accounts/bank'; import { Group } from './accounts/group'; import { MangoAccount, + OpenbookV2Orders, PerpPosition, Serum3Orders, TokenConditionalSwap, @@ -48,6 +50,15 @@ import { TokenConditionalSwapIntention, TokenPosition, } from './accounts/mangoAccount'; +import { + OpenbookV2Market, + OpenbookV2OrderType, + OpenbookV2SelfTradeBehavior, + OpenbookV2Side, + baseSizeNumberToLots, + generateOpenbookV2MarketExternalVaultSignerAddress, + priceNumberToLots, +} from './accounts/openbookV2'; import { StubOracle } from './accounts/oracle'; import { FillEvent, @@ -64,7 +75,6 @@ import { Serum3Market, Serum3OrderType, Serum3SelfTradeBehavior, - Serum3Side, generateSerum3MarketExternalVaultSignerAddress, } from './accounts/serum3'; import { @@ -78,6 +88,7 @@ import { MANGO_V4_ID, MAX_RECENT_PRIORITY_FEE_ACCOUNTS, OPENBOOK_PROGRAM_ID, + OPENBOOK_V2_PROGRAM_ID, RUST_U64_MAX, } from './constants'; import { Id } from './ids'; @@ -85,6 +96,7 @@ import { IDL, MangoV4 } from './mango_v4'; import { I80F48 } from './numbers/I80F48'; import { FlashLoanType, HealthCheckKind, OracleConfigParams } from './types'; import { + EmptyWallet, I64_MAX_BN, U64_MAX_BN, createAssociatedTokenAccountIdempotentInstruction, @@ -1010,6 +1022,57 @@ export class MangoClient { .instruction(); } + public async accountExpandV3( + group: Group, + account: MangoAccount, + tokenCount: number, + serum3Count: number, + perpCount: number, + perpOoCount: number, + tokenConditionalSwapCount: number, + openbookV2Count: number, + ): Promise { + const ix = await this.accountExpandV3Ix( + group, + account, + tokenCount, + serum3Count, + perpCount, + perpOoCount, + tokenConditionalSwapCount, + openbookV2Count, + ); + return await this.sendAndConfirmTransactionForGroup(group, [ix]); + } + + public async accountExpandV3Ix( + group: Group, + account: MangoAccount, + tokenCount: number, + serum3Count: number, + perpCount: number, + perpOoCount: number, + tokenConditionalSwapCount: number, + openbookV2Count: number, + ): Promise { + return await this.program.methods + .accountExpandV3( + tokenCount, + serum3Count, + perpCount, + perpOoCount, + tokenConditionalSwapCount, + openbookV2Count, + ) + .accounts({ + group: group.publicKey, + account: account.publicKey, + owner: (this.program.provider as AnchorProvider).wallet.publicKey, + payer: (this.program.provider as AnchorProvider).wallet.publicKey, + }) + .instruction(); + } + public async editMangoAccount( group: Group, mangoAccount: MangoAccount, @@ -1092,11 +1155,15 @@ export class MangoClient { public async getMangoAccount( mangoAccountPk: PublicKey, loadSerum3Oo = false, + loadOpenbookV2Oo = false, ): Promise { const mangoAccount = await this.getMangoAccountFromPk(mangoAccountPk); if (loadSerum3Oo) { await mangoAccount?.reloadSerum3OpenOrders(this); } + if (loadOpenbookV2Oo) { + await mangoAccount?.reloadOpenbookV2OpenOrders(this); + } return mangoAccount; } @@ -1126,6 +1193,7 @@ export class MangoClient { public async getMangoAccountWithSlot( mangoAccountPk: PublicKey, loadSerum3Oo = false, + loadOpenbookV2Oo = false, ): Promise<{ slot: number; value: MangoAccount } | undefined> { const resp = await this.program.provider.connection.getAccountInfoAndContext( @@ -1139,6 +1207,9 @@ export class MangoClient { if (loadSerum3Oo) { await mangoAccount?.reloadSerum3OpenOrders(this); } + if (loadOpenbookV2Oo) { + await mangoAccount?.reloadOpenbookV2OpenOrders(this); + } return { slot: resp.context.slot, value: mangoAccount }; } @@ -1147,11 +1218,13 @@ export class MangoClient { ownerPk: PublicKey, accountNumber: number, loadSerum3Oo = false, + loadOpenbookV2Oo = false, ): Promise { const mangoAccounts = await this.getMangoAccountsForOwner( group, ownerPk, loadSerum3Oo, + loadOpenbookV2Oo, ); const foundMangoAccount = mangoAccounts.find( (a) => a.accountNum == accountNumber, @@ -1164,6 +1237,7 @@ export class MangoClient { group: Group, ownerPk: PublicKey, loadSerum3Oo = false, + loadOpenbookV2Oo = false, ): Promise { const discriminatorMemcmp: { offset: number; @@ -1211,6 +1285,12 @@ export class MangoClient { ); } + if (loadOpenbookV2Oo) { + await Promise.all( + accounts.map(async (a) => await a.reloadOpenbookV2OpenOrders(this)), + ); + } + return accounts; } @@ -1218,6 +1298,7 @@ export class MangoClient { group: Group, delegate: PublicKey, loadSerum3Oo = false, + loadOpenbookV2Oo = false, ): Promise { const discriminatorMemcmp: { offset: number; @@ -1265,12 +1346,19 @@ export class MangoClient { ); } + if (loadOpenbookV2Oo) { + await Promise.all( + accounts.map(async (a) => await a.reloadOpenbookV2OpenOrders(this)), + ); + } + return accounts; } public async getAllMangoAccounts( group: Group, loadSerum3Oo = false, + loadOpenbookV2Oo = false, ): Promise { const discriminatorMemcmp: { offset: number; @@ -1347,6 +1435,61 @@ export class MangoClient { ); } + if (loadOpenbookV2Oo) { + const openbookClient = new OpenBookV2Client( + new AnchorProvider( + this.connection, + new EmptyWallet(Keypair.generate()), + { + commitment: this.connection.commitment, + }, + ), + ); // readonly client for deserializing accounts + + const ooPks = accounts + .map((a) => + a.openbookV2Active().map((openbookV2) => openbookV2.openOrders), + ) + .flat(); + + const ais: AccountInfo[] = ( + await Promise.all( + chunk(ooPks, 100).map( + async (ooPksChunk) => + await this.program.provider.connection.getMultipleAccountsInfo( + ooPksChunk, + ), + ), + ) + ).flat(); + + if (ooPks.length != ais.length) { + throw new Error(`Error in fetch all openbookv2 open orders accounts!`); + } + + const openbookV2OosMapByOo = new Map( + Array.from( + ais.map((ai, i) => { + if (ai == null) { + throw new Error( + `Undefined AI for openbookv2 open orders ${ooPks[i]}!`, + ); + } + const oo = + openbookClient.program.account.openOrdersAccount.coder.accounts.decode( + 'OpenOrdersAccount', + ai.data, + ); + return [ooPks[i].toBase58(), oo]; + }), + ), + ); + + accounts.forEach( + async (a) => await a.loadOpenbookV2OpenOrders(openbookV2OosMapByOo), + ); + } + return accounts; } @@ -2078,7 +2221,7 @@ export class MangoClient { group: Group, mangoAccount: MangoAccount, externalMarketPk: PublicKey, - side: Serum3Side, + side: OpenbookV2Side, price: number, size: number, selfTradeBehavior: Serum3SelfTradeBehavior, @@ -2104,7 +2247,7 @@ export class MangoClient { group: Group, mangoAccount: MangoAccount, externalMarketPk: PublicKey, - side: Serum3Side, + side: OpenbookV2Side, price: number, size: number, selfTradeBehavior: Serum3SelfTradeBehavior, @@ -2171,7 +2314,7 @@ export class MangoClient { ); const payerTokenIndex = ((): TokenIndex => { - if (side == Serum3Side.bid) { + if (side == OpenbookV2Side.bid) { return serum3Market.quoteTokenIndex; } else { return serum3Market.baseTokenIndex; @@ -2219,48 +2362,789 @@ export class MangoClient { ) .instruction(); - ixs.push(ix); - - return ixs; + ixs.push(ix); + + return ixs; + } + + public async serum3PlaceOrderV2Ix( + group: Group, + mangoAccount: MangoAccount, + externalMarketPk: PublicKey, + side: OpenbookV2Side, + price: number, + size: number, + selfTradeBehavior: Serum3SelfTradeBehavior, + orderType: Serum3OrderType, + clientOrderId: number, + limit: number, + ): Promise { + const ixs: TransactionInstruction[] = []; + const serum3Market = group.serum3MarketsMapByExternal.get( + externalMarketPk.toBase58(), + )!; + + let openOrderPk: PublicKey | undefined = undefined; + const banks: Bank[] = []; + const openOrdersForMarket: [Serum3Market, PublicKey][] = []; + if (!mangoAccount.getSerum3Account(serum3Market.marketIndex)) { + const ix = await this.serum3CreateOpenOrdersIx( + group, + mangoAccount, + serum3Market.serumMarketExternal, + ); + ixs.push(ix); + openOrderPk = await serum3Market.findOoPda( + this.program.programId, + mangoAccount.publicKey, + ); + openOrdersForMarket.push([serum3Market, openOrderPk]); + const baseTokenIndex = serum3Market.baseTokenIndex; + const quoteTokenIndex = serum3Market.quoteTokenIndex; + // only include banks if no deposit has been previously made for same token + banks.push(group.getFirstBankByTokenIndex(quoteTokenIndex)); + banks.push(group.getFirstBankByTokenIndex(baseTokenIndex)); + } + + const healthRemainingAccounts: PublicKey[] = + this.buildHealthRemainingAccounts( + group, + [mangoAccount], + banks, + [], + openOrdersForMarket, + ); + + const serum3MarketExternal = group.serum3ExternalMarketsMap.get( + externalMarketPk.toBase58(), + )!; + const serum3MarketExternalVaultSigner = + await generateSerum3MarketExternalVaultSignerAddress( + this.cluster, + serum3Market, + serum3MarketExternal, + ); + + const limitPrice = serum3MarketExternal.priceNumberToLots(price); + const maxBaseQuantity = serum3MarketExternal.baseSizeNumberToLots(size); + const isTaker = orderType !== Serum3OrderType.postOnly; + const maxQuoteQuantity = new BN( + Math.ceil( + serum3MarketExternal.decoded.quoteLotSize.toNumber() * + (1 + Math.max(serum3Market.getFeeRates(isTaker), 0)) * + serum3MarketExternal.baseSizeNumberToLots(size).toNumber() * + serum3MarketExternal.priceNumberToLots(price).toNumber(), + ), + ); + + const payerTokenIndex = ((): TokenIndex => { + if (side == OpenbookV2Side.bid) { + return serum3Market.quoteTokenIndex; + } else { + return serum3Market.baseTokenIndex; + } + })(); + + const receiverTokenIndex = ((): TokenIndex => { + if (side == OpenbookV2Side.bid) { + return serum3Market.baseTokenIndex; + } else { + return serum3Market.quoteTokenIndex; + } + })(); + + const payerBank = group.getFirstBankByTokenIndex(payerTokenIndex); + const receiverBank = group.getFirstBankByTokenIndex(receiverTokenIndex); + const ix = await this.program.methods + .serum3PlaceOrderV2( + side, + limitPrice, + maxBaseQuantity, + maxQuoteQuantity, + selfTradeBehavior, + orderType, + new BN(clientOrderId), + limit, + ) + .accounts({ + group: group.publicKey, + account: mangoAccount.publicKey, + owner: (this.program.provider as AnchorProvider).wallet.publicKey, + openOrders: + openOrderPk || + mangoAccount.getSerum3Account(serum3Market.marketIndex)?.openOrders, + serumMarket: serum3Market.publicKey, + serumProgram: OPENBOOK_PROGRAM_ID[this.cluster], + serumMarketExternal: serum3Market.serumMarketExternal, + marketBids: serum3MarketExternal.bidsAddress, + marketAsks: serum3MarketExternal.asksAddress, + marketEventQueue: serum3MarketExternal.decoded.eventQueue, + marketRequestQueue: serum3MarketExternal.decoded.requestQueue, + marketBaseVault: serum3MarketExternal.decoded.baseVault, + marketQuoteVault: serum3MarketExternal.decoded.quoteVault, + marketVaultSigner: serum3MarketExternalVaultSigner, + payerBank: payerBank.publicKey, + payerVault: payerBank.vault, + payerOracle: payerBank.oracle, + }) + .remainingAccounts( + healthRemainingAccounts.map( + (pk) => + ({ + pubkey: pk, + isWritable: receiverBank.publicKey.equals(pk) ? true : false, + isSigner: false, + } as AccountMeta), + ), + ) + .instruction(); + + ixs.push(ix); + + return ixs; + } + + public async serum3PlaceOrder( + group: Group, + mangoAccount: MangoAccount, + externalMarketPk: PublicKey, + side: OpenbookV2Side, + price: number, + size: number, + selfTradeBehavior: Serum3SelfTradeBehavior, + orderType: Serum3OrderType, + clientOrderId: number, + limit: number, + ): Promise { + const placeOrderIxs = await this.serum3PlaceOrderV2Ix( + group, + mangoAccount, + externalMarketPk, + side, + price, + size, + selfTradeBehavior, + orderType, + clientOrderId, + limit, + ); + + const settleIx = await this.serum3SettleFundsIx( + group, + mangoAccount, + externalMarketPk, + ); + + const ixs = [...placeOrderIxs, settleIx]; + + return await this.sendAndConfirmTransactionForGroup(group, ixs); + } + + public async serum3CancelAllOrdersIx( + group: Group, + mangoAccount: MangoAccount, + externalMarketPk: PublicKey, + limit?: number, + ): Promise { + const serum3Market = group.serum3MarketsMapByExternal.get( + externalMarketPk.toBase58(), + )!; + + const serum3MarketExternal = group.serum3ExternalMarketsMap.get( + externalMarketPk.toBase58(), + )!; + + return await this.program.methods + .serum3CancelAllOrders(limit ? limit : 10) + .accounts({ + group: group.publicKey, + account: mangoAccount.publicKey, + owner: (this.program.provider as AnchorProvider).wallet.publicKey, + openOrders: await serum3Market.findOoPda( + this.programId, + mangoAccount.publicKey, + ), + serumMarket: serum3Market.publicKey, + serumProgram: OPENBOOK_PROGRAM_ID[this.cluster], + serumMarketExternal: serum3Market.serumMarketExternal, + marketBids: serum3MarketExternal.bidsAddress, + marketAsks: serum3MarketExternal.asksAddress, + marketEventQueue: serum3MarketExternal.decoded.eventQueue, + }) + .instruction(); + } + + public async serum3CancelAllOrders( + group: Group, + mangoAccount: MangoAccount, + externalMarketPk: PublicKey, + limit?: number, + ): Promise { + const [cancelAllIx, settle] = await Promise.all([ + this.serum3CancelAllOrdersIx( + group, + mangoAccount, + externalMarketPk, + limit, + ), + this.serum3SettleFundsV2Ix(group, mangoAccount, externalMarketPk), + ]); + return await this.sendAndConfirmTransactionForGroup(group, [ + cancelAllIx, + settle, + ]); + } + + public async serum3SettleFundsIx( + group: Group, + mangoAccount: MangoAccount, + externalMarketPk: PublicKey, + ): Promise { + if (this.openbookFeesToDao == false) { + throw new Error( + `openbookFeesToDao is set to false, please use serum3SettleFundsV2Ix`, + ); + } + + return await this.serum3SettleFundsV2Ix( + group, + mangoAccount, + externalMarketPk, + ); + } + + public async serum3SettleFundsV2Ix( + group: Group, + mangoAccount: MangoAccount, + externalMarketPk: PublicKey, + ): Promise { + const serum3Market = group.serum3MarketsMapByExternal.get( + externalMarketPk.toBase58(), + )!; + const serum3MarketExternal = group.serum3ExternalMarketsMap.get( + externalMarketPk.toBase58(), + )!; + + const [serum3MarketExternalVaultSigner, openOrderPublicKey] = + await Promise.all([ + generateSerum3MarketExternalVaultSignerAddress( + this.cluster, + serum3Market, + serum3MarketExternal, + ), + serum3Market.findOoPda(this.program.programId, mangoAccount.publicKey), + ]); + + const ix = await this.program.methods + .serum3SettleFundsV2(this.openbookFeesToDao) + .accounts({ + v1: { + group: group.publicKey, + account: mangoAccount.publicKey, + owner: (this.program.provider as AnchorProvider).wallet.publicKey, + openOrders: openOrderPublicKey, + serumMarket: serum3Market.publicKey, + serumProgram: OPENBOOK_PROGRAM_ID[this.cluster], + serumMarketExternal: serum3Market.serumMarketExternal, + marketBaseVault: serum3MarketExternal.decoded.baseVault, + marketQuoteVault: serum3MarketExternal.decoded.quoteVault, + marketVaultSigner: serum3MarketExternalVaultSigner, + quoteBank: group.getFirstBankByTokenIndex( + serum3Market.quoteTokenIndex, + ).publicKey, + quoteVault: group.getFirstBankByTokenIndex( + serum3Market.quoteTokenIndex, + ).vault, + baseBank: group.getFirstBankByTokenIndex(serum3Market.baseTokenIndex) + .publicKey, + baseVault: group.getFirstBankByTokenIndex(serum3Market.baseTokenIndex) + .vault, + }, + v2: { + quoteOracle: group.getFirstBankByTokenIndex( + serum3Market.quoteTokenIndex, + ).oracle, + baseOracle: group.getFirstBankByTokenIndex( + serum3Market.baseTokenIndex, + ).oracle, + }, + }) + .instruction(); + + return ix; + } + + public async serum3SettleFunds( + group: Group, + mangoAccount: MangoAccount, + externalMarketPk: PublicKey, + ): Promise { + const ix = await this.serum3SettleFundsV2Ix( + group, + mangoAccount, + externalMarketPk, + ); + + return await this.sendAndConfirmTransactionForGroup(group, [ix]); + } + + public async serum3CancelOrderIx( + group: Group, + mangoAccount: MangoAccount, + externalMarketPk: PublicKey, + side: OpenbookV2Side, + orderId: BN, + ): Promise { + const serum3Market = group.serum3MarketsMapByExternal.get( + externalMarketPk.toBase58(), + )!; + + const serum3MarketExternal = group.serum3ExternalMarketsMap.get( + externalMarketPk.toBase58(), + )!; + + const ix = await this.program.methods + .serum3CancelOrder(side, orderId) + .accounts({ + group: group.publicKey, + account: mangoAccount.publicKey, + openOrders: mangoAccount.getSerum3Account(serum3Market.marketIndex) + ?.openOrders, + serumMarket: serum3Market.publicKey, + serumProgram: OPENBOOK_PROGRAM_ID[this.cluster], + serumMarketExternal: serum3Market.serumMarketExternal, + marketBids: serum3MarketExternal.bidsAddress, + marketAsks: serum3MarketExternal.asksAddress, + marketEventQueue: serum3MarketExternal.decoded.eventQueue, + }) + .instruction(); + + return ix; + } + + public async serum3CancelOrder( + group: Group, + mangoAccount: MangoAccount, + externalMarketPk: PublicKey, + side: OpenbookV2Side, + orderId: BN, + ): Promise { + const ixs = await Promise.all([ + this.serum3CancelOrderIx( + group, + mangoAccount, + externalMarketPk, + side, + orderId, + ), + this.serum3SettleFundsV2Ix(group, mangoAccount, externalMarketPk), + ]); + + return await this.sendAndConfirmTransactionForGroup(group, ixs); + } + + public async serum3CancelOrderByClientIdIx( + group: Group, + mangoAccount: MangoAccount, + externalMarketPk: PublicKey, + clientOrderId: BN, + ): Promise { + const serum3Market = group.serum3MarketsMapByExternal.get( + externalMarketPk.toBase58(), + )!; + + const serum3MarketExternal = group.serum3ExternalMarketsMap.get( + externalMarketPk.toBase58(), + )!; + + const ix = await this.program.methods + .serum3CancelOrderByClientOrderId(clientOrderId) + .accounts({ + group: group.publicKey, + account: mangoAccount.publicKey, + openOrders: mangoAccount.getSerum3Account(serum3Market.marketIndex) + ?.openOrders, + serumMarket: serum3Market.publicKey, + serumProgram: OPENBOOK_PROGRAM_ID[this.cluster], + serumMarketExternal: serum3Market.serumMarketExternal, + marketBids: serum3MarketExternal.bidsAddress, + marketAsks: serum3MarketExternal.asksAddress, + marketEventQueue: serum3MarketExternal.decoded.eventQueue, + }) + .instruction(); + + return ix; + } + + public async serum3CancelOrderByClientId( + group: Group, + mangoAccount: MangoAccount, + externalMarketPk: PublicKey, + clientOrderId: BN, + ): Promise { + const ixs = await Promise.all([ + this.serum3CancelOrderByClientIdIx( + group, + mangoAccount, + externalMarketPk, + clientOrderId, + ), + this.serum3SettleFundsV2Ix(group, mangoAccount, externalMarketPk), + ]); + + return await this.sendAndConfirmTransactionForGroup(group, ixs); + } + + // openbook v2 + + public async openbookV2RegisterMarket( + group: Group, + openbookV2MarketExternalPk: PublicKey, + baseBank: Bank, + quoteBank: Bank, + marketIndex: number, + name: string, + oraclePriceBand: number, + ): Promise { + const ix = await this.program.methods + .openbookV2RegisterMarket(marketIndex, name, oraclePriceBand) + .accounts({ + group: group.publicKey, + admin: (this.program.provider as AnchorProvider).wallet.publicKey, + openbookV2Program: OPENBOOK_V2_PROGRAM_ID[this.cluster], + openbookV2MarketExternal: openbookV2MarketExternalPk, + baseBank: baseBank.publicKey, + quoteBank: quoteBank.publicKey, + payer: (this.program.provider as AnchorProvider).wallet.publicKey, + }) + .instruction(); + return await this.sendAndConfirmTransactionForGroup(group, [ix]); + } + + public async openbookV2EditMarket( + group: Group, + openbookV2MarketIndex: MarketIndex, + reduceOnly: boolean | null, + forceClose: boolean | null, + name: string | null, + oraclePriceBand: number | null, + ): Promise { + const openbookV2Market = group.openbookV2MarketsMapByMarketIndex.get( + openbookV2MarketIndex, + ); + const ix = await this.program.methods + .openbookV2EditMarket(reduceOnly, forceClose, name, oraclePriceBand) + .accounts({ + group: group.publicKey, + admin: (this.program.provider as AnchorProvider).wallet.publicKey, + market: openbookV2Market?.publicKey, + }) + .instruction(); + return await this.sendAndConfirmTransactionForGroup(group, [ix]); + } + + public async openbookV2deregisterMarket( + group: Group, + externalMarketPk: PublicKey, + ): Promise { + const openbookV2Market = group.openbookV2MarketsMapByExternal.get( + externalMarketPk.toBase58(), + )!; + + const marketIndexBuf = Buffer.alloc(2); + marketIndexBuf.writeUInt16LE(openbookV2Market.marketIndex); + const [indexReservation] = await PublicKey.findProgramAddress( + [Buffer.from('Serum3Index'), group.publicKey.toBuffer(), marketIndexBuf], + this.program.programId, + ); + + const ix = await this.program.methods + .openbookV2DeregisterMarket() + .accounts({ + group: group.publicKey, + openbookV2Market: openbookV2Market.publicKey, + indexReservation, + solDestination: (this.program.provider as AnchorProvider).wallet + .publicKey, + }) + .instruction(); + return await this.sendAndConfirmTransactionForGroup(group, [ix]); + } + + public async openbookV2GetMarkets( + group: Group, + baseTokenIndex?: number, + quoteTokenIndex?: number, + ): Promise { + const bumpfbuf = Buffer.alloc(1); + bumpfbuf.writeUInt8(255); + + const filters: MemcmpFilter[] = [ + { + memcmp: { + bytes: group.publicKey.toBase58(), + offset: 8, + }, + }, + ]; + + if (baseTokenIndex) { + const bbuf = Buffer.alloc(2); + bbuf.writeUInt16LE(baseTokenIndex); + filters.push({ + memcmp: { + bytes: bs58.encode(bbuf), + offset: 40, + }, + }); + } + + if (quoteTokenIndex) { + const qbuf = Buffer.alloc(2); + qbuf.writeUInt16LE(quoteTokenIndex); + filters.push({ + memcmp: { + bytes: bs58.encode(qbuf), + offset: 42, + }, + }); + } + + return (await this.program.account.openbookV2Market.all(filters)).map( + (tuple) => OpenbookV2Market.from(tuple.publicKey, tuple.account), + ); + } + + public async openbookV2CreateOpenOrders( + group: Group, + mangoAccount: MangoAccount, + externalMarketPk: PublicKey, + ): Promise { + const openbookV2Market: OpenbookV2Market = + group.openbookV2MarketsMapByExternal.get(externalMarketPk.toBase58())!; + + const ix = await this.program.methods + .openbookV2CreateOpenOrders() + .accounts({ + group: group.publicKey, + account: mangoAccount.publicKey, + openbookV2Market: openbookV2Market.publicKey, + openbookV2Program: openbookV2Market.openbookProgram, + openbookV2MarketExternal: openbookV2Market.openbookMarketExternal, + openOrdersIndexer: openbookV2Market.findOoIndexerPda( + this.programId, + mangoAccount.publicKey, + ), + openOrdersAccount: await openbookV2Market.getNextOoPda( + this, + openbookV2Market.openbookProgram, + mangoAccount.publicKey, + ), + payer: (this.program.provider as AnchorProvider).wallet.publicKey, + authority: (this.program.provider as AnchorProvider).wallet.publicKey, + }) + .instruction(); + return await this.sendAndConfirmTransactionForGroup(group, [ix]); + } + + public async openbookV2CreateOpenOrdersIx( + group: Group, + mangoAccount: MangoAccount, + externalMarketPk: PublicKey, + ): Promise<{ ix: TransactionInstruction; openOrdersAccount: PublicKey }> { + const openbookV2Market: OpenbookV2Market = + group.openbookV2MarketsMapByExternal.get(externalMarketPk.toBase58())!; + const openOrdersAccount = await openbookV2Market.getNextOoPda( + this, + openbookV2Market.openbookProgram, + mangoAccount.publicKey, + ); + const ix = await this.program.methods + .openbookV2CreateOpenOrders() + .accounts({ + group: group.publicKey, + account: mangoAccount.publicKey, + openbookV2Market: openbookV2Market.publicKey, + openbookV2Program: openbookV2Market.openbookProgram, + openbookV2MarketExternal: openbookV2Market.openbookMarketExternal, + openOrdersIndexer: openbookV2Market.findOoIndexerPda( + openbookV2Market.openbookProgram, + mangoAccount.publicKey, + ), + openOrdersAccount, + payer: (this.program.provider as AnchorProvider).wallet.publicKey, + authority: (this.program.provider as AnchorProvider).wallet.publicKey, + }) + .instruction(); + + return { ix, openOrdersAccount }; + } + + public async openbookV2CloseOpenOrdersIx( + group: Group, + mangoAccount: MangoAccount, + externalMarketPk: PublicKey, + ): Promise { + const openbookV2Market = group.openbookV2MarketsMapByExternal.get( + externalMarketPk.toBase58(), + )!; + + const openOrders = mangoAccount.getOpenbookV2Account( + openbookV2Market.marketIndex, + )?.openOrders; + + if (openOrders === undefined) { + throw new Error( + `No open orders account for market with index ${openbookV2Market.marketIndex}!`, + ); + } + + return await this.program.methods + .openbookV2CloseOpenOrders() + .accounts({ + group: group.publicKey, + account: mangoAccount.publicKey, + openbookV2Market: openbookV2Market.publicKey, + openbookV2Program: openbookV2Market.openbookProgram, + openbookV2MarketExternal: openbookV2Market.openbookMarketExternal, + openOrdersIndexer: openbookV2Market.findOoIndexerPda( + openbookV2Market.openbookProgram, + mangoAccount.publicKey, + ), + openOrdersAccount: openOrders, + solDestination: (this.program.provider as AnchorProvider).wallet + .publicKey, + }) + .instruction(); + } + + public async openbookV2CloseOpenOrders( + group: Group, + mangoAccount: MangoAccount, + externalMarketPk: PublicKey, + ): Promise { + const ix = await this.openbookV2CloseOpenOrdersIx( + group, + mangoAccount, + externalMarketPk, + ); + + return await sendTransaction( + this.program.provider as AnchorProvider, + [ix], + group.addressLookupTablesList, + { + postSendTxCallback: this.postSendTxCallback, + }, + ); + } + + public async openbookV2LiqForceCancelOrders( + group: Group, + mangoAccount: MangoAccount, + externalMarketPk: PublicKey, + limit?: number, + ): Promise { + const openbookV2Market = group.openbookV2MarketsMapByExternal.get( + externalMarketPk.toBase58(), + )!; + const openbookV2MarketExternal = group.openbookV2ExternalMarketsMap.get( + externalMarketPk.toBase58(), + )!; + const openOrders = mangoAccount.getOpenbookV2Account( + openbookV2Market.marketIndex, + )?.openOrders; + + if (openOrders === undefined) { + throw new Error( + `No open orders account for market with index ${openbookV2Market.marketIndex}!`, + ); + } + + const healthRemainingAccounts: PublicKey[] = + this.buildHealthRemainingAccounts( + group, + [mangoAccount], + [], + [], + [], + [[openbookV2Market, openOrders]], + ); + + const ix = await this.program.methods + .openbookV2LiqForceCancelOrders(limit ?? 10) + .accounts({ + group: group.publicKey, + account: mangoAccount.publicKey, + openOrders, + openbookV2Market: openbookV2Market.publicKey, + openbookV2Program: openbookV2Market.openbookProgram, + openbookV2MarketExternal: openbookV2Market.openbookMarketExternal, + bids: openbookV2MarketExternal.bids, + asks: openbookV2MarketExternal.asks, + eventHeap: openbookV2MarketExternal.eventHeap, + marketBaseVault: openbookV2MarketExternal.marketBaseVault, + marketQuoteVault: openbookV2MarketExternal.marketQuoteVault, + marketVaultSigner: + generateOpenbookV2MarketExternalVaultSignerAddress(openbookV2Market), + quoteBank: group.getFirstBankByTokenIndex( + openbookV2Market.quoteTokenIndex, + ).publicKey, + quoteVault: group.getFirstBankByTokenIndex( + openbookV2Market.quoteTokenIndex, + ).vault, + baseBank: group.getFirstBankByTokenIndex( + openbookV2Market.baseTokenIndex, + ).publicKey, + baseVault: group.getFirstBankByTokenIndex( + openbookV2Market.baseTokenIndex, + ).vault, + }) + .remainingAccounts( + healthRemainingAccounts.map( + (pk) => + ({ pubkey: pk, isWritable: false, isSigner: false } as AccountMeta), + ), + ) + .instruction(); + + return await this.sendAndConfirmTransactionForGroup(group, [ix]); } - public async serum3PlaceOrderV2Ix( + public async openbookV2PlaceOrderIx( group: Group, mangoAccount: MangoAccount, externalMarketPk: PublicKey, - side: Serum3Side, + side: OpenbookV2Side, price: number, size: number, - selfTradeBehavior: Serum3SelfTradeBehavior, - orderType: Serum3OrderType, + selfTradeBehavior: OpenbookV2SelfTradeBehavior, + orderType: OpenbookV2OrderType, clientOrderId: number, limit: number, ): Promise { const ixs: TransactionInstruction[] = []; - const serum3Market = group.serum3MarketsMapByExternal.get( + const openbookV2Market = group.openbookV2MarketsMapByExternal.get( externalMarketPk.toBase58(), )!; let openOrderPk: PublicKey | undefined = undefined; const banks: Bank[] = []; - const openOrdersForMarket: [Serum3Market, PublicKey][] = []; - if (!mangoAccount.getSerum3Account(serum3Market.marketIndex)) { - const ix = await this.serum3CreateOpenOrdersIx( + const openOrdersForMarket: [OpenbookV2Market, PublicKey][] = []; + if (!mangoAccount.getOpenbookV2Account(openbookV2Market.marketIndex)) { + const { ix, openOrdersAccount } = await this.openbookV2CreateOpenOrdersIx( group, mangoAccount, - serum3Market.serumMarketExternal, + openbookV2Market.openbookMarketExternal, ); ixs.push(ix); - openOrderPk = await serum3Market.findOoPda( - this.program.programId, - mangoAccount.publicKey, - ); - openOrdersForMarket.push([serum3Market, openOrderPk]); - const baseTokenIndex = serum3Market.baseTokenIndex; - const quoteTokenIndex = serum3Market.quoteTokenIndex; + openOrderPk = openOrdersAccount; + openOrdersForMarket.push([openbookV2Market, openOrderPk]); + const baseTokenIndex = openbookV2Market.baseTokenIndex; + const quoteTokenIndex = openbookV2Market.quoteTokenIndex; // only include banks if no deposit has been previously made for same token - banks.push(group.getFirstBankByTokenIndex(quoteTokenIndex)); banks.push(group.getFirstBankByTokenIndex(baseTokenIndex)); + banks.push(group.getFirstBankByTokenIndex(quoteTokenIndex)); } const healthRemainingAccounts: PublicKey[] = @@ -2269,89 +3153,87 @@ export class MangoClient { [mangoAccount], banks, [], + [], openOrdersForMarket, ); - const serum3MarketExternal = group.serum3ExternalMarketsMap.get( + const openbookV2MarketExternal = group.openbookV2ExternalMarketsMap.get( externalMarketPk.toBase58(), )!; - const serum3MarketExternalVaultSigner = - await generateSerum3MarketExternalVaultSignerAddress( - this.cluster, - serum3Market, - serum3MarketExternal, - ); + const openbookV2MarketExternalVaultSigner = + generateOpenbookV2MarketExternalVaultSignerAddress(openbookV2Market); - const limitPrice = serum3MarketExternal.priceNumberToLots(price); - const maxBaseQuantity = serum3MarketExternal.baseSizeNumberToLots(size); - const isTaker = orderType !== Serum3OrderType.postOnly; + const limitPrice = priceNumberToLots(price, openbookV2MarketExternal); + const maxBaseQuantity = baseSizeNumberToLots( + size, + openbookV2MarketExternal, + ); + const isTaker = orderType !== OpenbookV2OrderType.postOnly; const maxQuoteQuantity = new BN( Math.ceil( - serum3MarketExternal.decoded.quoteLotSize.toNumber() * - (1 + Math.max(serum3Market.getFeeRates(isTaker), 0)) * - serum3MarketExternal.baseSizeNumberToLots(size).toNumber() * - serum3MarketExternal.priceNumberToLots(price).toNumber(), + openbookV2MarketExternal.quoteLotSize.toNumber() * + (1 + Math.max(openbookV2Market.getFeeRates(isTaker), 0)) * + baseSizeNumberToLots(size, openbookV2MarketExternal).toNumber() * + priceNumberToLots(price, openbookV2MarketExternal).toNumber(), ), ); - const payerTokenIndex = ((): TokenIndex => { - if (side == Serum3Side.bid) { - return serum3Market.quoteTokenIndex; - } else { - return serum3Market.baseTokenIndex; - } - })(); - - const receiverTokenIndex = ((): TokenIndex => { - if (side == Serum3Side.bid) { - return serum3Market.baseTokenIndex; + const [payerTokenIndex, receiverTokenIndex] = ((): TokenIndex[] => { + if (side == OpenbookV2Side.bid) { + return [ + openbookV2Market.quoteTokenIndex, + openbookV2Market.baseTokenIndex, + ]; } else { - return serum3Market.quoteTokenIndex; + return [ + openbookV2Market.baseTokenIndex, + openbookV2Market.quoteTokenIndex, + ]; } })(); const payerBank = group.getFirstBankByTokenIndex(payerTokenIndex); const receiverBank = group.getFirstBankByTokenIndex(receiverTokenIndex); const ix = await this.program.methods - .serum3PlaceOrderV2( + .openbookV2PlaceOrder( side, limitPrice, maxBaseQuantity, maxQuoteQuantity, - selfTradeBehavior, - orderType, new BN(clientOrderId), + orderType, + selfTradeBehavior, + false, // reduceOnly + new BN(0), // expiryTimestamp limit, ) .accounts({ group: group.publicKey, account: mangoAccount.publicKey, - owner: (this.program.provider as AnchorProvider).wallet.publicKey, + authority: (this.program.provider as AnchorProvider).wallet.publicKey, openOrders: openOrderPk || - mangoAccount.getSerum3Account(serum3Market.marketIndex)?.openOrders, - serumMarket: serum3Market.publicKey, - serumProgram: OPENBOOK_PROGRAM_ID[this.cluster], - serumMarketExternal: serum3Market.serumMarketExternal, - marketBids: serum3MarketExternal.bidsAddress, - marketAsks: serum3MarketExternal.asksAddress, - marketEventQueue: serum3MarketExternal.decoded.eventQueue, - marketRequestQueue: serum3MarketExternal.decoded.requestQueue, - marketBaseVault: serum3MarketExternal.decoded.baseVault, - marketQuoteVault: serum3MarketExternal.decoded.quoteVault, - marketVaultSigner: serum3MarketExternalVaultSigner, + mangoAccount.getOpenbookV2Account(openbookV2Market.marketIndex) + ?.openOrders, + openbookV2Market: openbookV2Market.publicKey, + openbookV2Program: openbookV2Market.openbookProgram, + openbookV2MarketExternal: openbookV2Market.openbookMarketExternal, + bids: openbookV2MarketExternal.bids, + asks: openbookV2MarketExternal.asks, + eventHeap: openbookV2MarketExternal.eventHeap, + marketVault: + side == OpenbookV2Side.bid + ? openbookV2MarketExternal.marketQuoteVault + : openbookV2MarketExternal.marketBaseVault, + marketVaultSigner: openbookV2MarketExternalVaultSigner, payerBank: payerBank.publicKey, payerVault: payerBank.vault, - payerOracle: payerBank.oracle, + receiverBank: receiverBank.publicKey, }) .remainingAccounts( healthRemainingAccounts.map( (pk) => - ({ - pubkey: pk, - isWritable: receiverBank.publicKey.equals(pk) ? true : false, - isSigner: false, - } as AccountMeta), + ({ pubkey: pk, isWritable: false, isSigner: false } as AccountMeta), ), ) .instruction(); @@ -2361,19 +3243,19 @@ export class MangoClient { return ixs; } - public async serum3PlaceOrder( + public async openbookV2PlaceOrder( group: Group, mangoAccount: MangoAccount, externalMarketPk: PublicKey, - side: Serum3Side, + side: OpenbookV2Side, price: number, size: number, - selfTradeBehavior: Serum3SelfTradeBehavior, - orderType: Serum3OrderType, + selfTradeBehavior: OpenbookV2SelfTradeBehavior, + orderType: OpenbookV2OrderType, clientOrderId: number, limit: number, ): Promise { - const placeOrderIxs = await this.serum3PlaceOrderV2Ix( + const placeOrderIxs = await this.openbookV2PlaceOrderIx( group, mangoAccount, externalMarketPk, @@ -2386,7 +3268,7 @@ export class MangoClient { limit, ); - const settleIx = await this.serum3SettleFundsIx( + const settleIx = await this.openbookV2SettleFundsIx( group, mangoAccount, externalMarketPk, @@ -2397,146 +3279,148 @@ export class MangoClient { return await this.sendAndConfirmTransactionForGroup(group, ixs); } - public async serum3CancelAllOrdersIx( + public async openbookV2CancelAllOrdersIx( group: Group, mangoAccount: MangoAccount, externalMarketPk: PublicKey, + side?: OpenbookV2Side, limit?: number, ): Promise { - const serum3Market = group.serum3MarketsMapByExternal.get( + const openbookV2Market = group.openbookV2MarketsMapByExternal.get( externalMarketPk.toBase58(), )!; - const serum3MarketExternal = group.serum3ExternalMarketsMap.get( + const openbookV2MarketExternal = group.openbookV2ExternalMarketsMap.get( externalMarketPk.toBase58(), )!; + const openOrders = mangoAccount.getOpenbookV2Account( + openbookV2Market.marketIndex, + )?.openOrders; + + if (openOrders === undefined) { + throw new Error( + `No open orders account for market with index ${openbookV2Market.marketIndex}!`, + ); + } + return await this.program.methods - .serum3CancelAllOrders(limit ? limit : 10) + .openbookV2CancelAllOrders(limit ? limit : 10, side ? side : null) .accounts({ group: group.publicKey, account: mangoAccount.publicKey, - owner: (this.program.provider as AnchorProvider).wallet.publicKey, - openOrders: await serum3Market.findOoPda( - this.programId, - mangoAccount.publicKey, - ), - serumMarket: serum3Market.publicKey, - serumProgram: OPENBOOK_PROGRAM_ID[this.cluster], - serumMarketExternal: serum3Market.serumMarketExternal, - marketBids: serum3MarketExternal.bidsAddress, - marketAsks: serum3MarketExternal.asksAddress, - marketEventQueue: serum3MarketExternal.decoded.eventQueue, + authority: (this.program.provider as AnchorProvider).wallet.publicKey, + openOrders, + openbookV2Market: openbookV2Market.publicKey, + openbookV2Program: openbookV2Market.openbookProgram, + openbookV2MarketExternal: openbookV2Market.openbookMarketExternal, + bids: openbookV2MarketExternal.bids, + asks: openbookV2MarketExternal.asks, }) .instruction(); } - public async serum3CancelAllOrders( + public async openbookV2CancelAllOrders( group: Group, mangoAccount: MangoAccount, externalMarketPk: PublicKey, + side?: OpenbookV2Side, limit?: number, ): Promise { - const [cancelAllIx, settle] = await Promise.all([ - this.serum3CancelAllOrdersIx( + return await this.sendAndConfirmTransactionForGroup(group, [ + await this.openbookV2CancelAllOrdersIx( group, mangoAccount, externalMarketPk, + side, limit, ), - this.serum3SettleFundsV2Ix(group, mangoAccount, externalMarketPk), - ]); - return await this.sendAndConfirmTransactionForGroup(group, [ - cancelAllIx, - settle, ]); } - public async serum3SettleFundsIx( + public async openbookV2SettleFundsIx( group: Group, mangoAccount: MangoAccount, externalMarketPk: PublicKey, ): Promise { if (this.openbookFeesToDao == false) { throw new Error( - `openbookFeesToDao is set to false, please use serum3SettleFundsV2Ix`, + `openbookFeesToDao is set to false, please use openbookV2SettleFundsV2Ix`, ); } - return await this.serum3SettleFundsV2Ix( + return await this.openbookV2SettleFundsV2Ix( group, mangoAccount, externalMarketPk, ); } - public async serum3SettleFundsV2Ix( + public async openbookV2SettleFundsV2Ix( group: Group, mangoAccount: MangoAccount, externalMarketPk: PublicKey, ): Promise { - const serum3Market = group.serum3MarketsMapByExternal.get( + const openbookV2Market = group.openbookV2MarketsMapByExternal.get( externalMarketPk.toBase58(), )!; - const serum3MarketExternal = group.serum3ExternalMarketsMap.get( + const openbookV2MarketExternal = group.openbookV2ExternalMarketsMap.get( externalMarketPk.toBase58(), )!; - - const [serum3MarketExternalVaultSigner, openOrderPublicKey] = - await Promise.all([ - generateSerum3MarketExternalVaultSignerAddress( - this.cluster, - serum3Market, - serum3MarketExternal, - ), - serum3Market.findOoPda(this.program.programId, mangoAccount.publicKey), - ]); + const openOrders = + mangoAccount.getOpenbookV2Account(openbookV2Market.marketIndex) + ?.openOrders ?? + openbookV2Market.findOoPda( + openbookV2Market.openbookProgram, + mangoAccount.publicKey, + 1, + ); + const openbookV2MarketExternalVaultSigner = + generateOpenbookV2MarketExternalVaultSignerAddress(openbookV2Market); const ix = await this.program.methods - .serum3SettleFundsV2(this.openbookFeesToDao) + .openbookV2SettleFunds(this.openbookFeesToDao) .accounts({ - v1: { - group: group.publicKey, - account: mangoAccount.publicKey, - owner: (this.program.provider as AnchorProvider).wallet.publicKey, - openOrders: openOrderPublicKey, - serumMarket: serum3Market.publicKey, - serumProgram: OPENBOOK_PROGRAM_ID[this.cluster], - serumMarketExternal: serum3Market.serumMarketExternal, - marketBaseVault: serum3MarketExternal.decoded.baseVault, - marketQuoteVault: serum3MarketExternal.decoded.quoteVault, - marketVaultSigner: serum3MarketExternalVaultSigner, - quoteBank: group.getFirstBankByTokenIndex( - serum3Market.quoteTokenIndex, - ).publicKey, - quoteVault: group.getFirstBankByTokenIndex( - serum3Market.quoteTokenIndex, - ).vault, - baseBank: group.getFirstBankByTokenIndex(serum3Market.baseTokenIndex) - .publicKey, - baseVault: group.getFirstBankByTokenIndex(serum3Market.baseTokenIndex) - .vault, - }, - v2: { - quoteOracle: group.getFirstBankByTokenIndex( - serum3Market.quoteTokenIndex, - ).oracle, - baseOracle: group.getFirstBankByTokenIndex( - serum3Market.baseTokenIndex, - ).oracle, - }, + group: group.publicKey, + account: mangoAccount.publicKey, + authority: (this.program.provider as AnchorProvider).wallet.publicKey, + openOrders, + openbookV2Market: openbookV2Market.publicKey, + openbookV2Program: openbookV2Market.openbookProgram, + openbookV2MarketExternal: openbookV2Market.openbookMarketExternal, + marketBaseVault: openbookV2MarketExternal.marketBaseVault, + marketQuoteVault: openbookV2MarketExternal.marketQuoteVault, + marketVaultSigner: openbookV2MarketExternalVaultSigner, + quoteBank: group.getFirstBankByTokenIndex( + openbookV2Market.quoteTokenIndex, + ).publicKey, + quoteVault: group.getFirstBankByTokenIndex( + openbookV2Market.quoteTokenIndex, + ).vault, + baseBank: group.getFirstBankByTokenIndex( + openbookV2Market.baseTokenIndex, + ).publicKey, + baseVault: group.getFirstBankByTokenIndex( + openbookV2Market.baseTokenIndex, + ).vault, + quoteOracle: group.getFirstBankByTokenIndex( + openbookV2Market.quoteTokenIndex, + ).oracle, + baseOracle: group.getFirstBankByTokenIndex( + openbookV2Market.baseTokenIndex, + ).oracle, }) .instruction(); return ix; } - public async serum3SettleFunds( + public async openbookV2SettleFunds( group: Group, mangoAccount: MangoAccount, externalMarketPk: PublicKey, ): Promise { - const ix = await this.serum3SettleFundsV2Ix( + const ix = await this.openbookV2SettleFundsV2Ix( group, mangoAccount, externalMarketPk, @@ -2545,108 +3429,57 @@ export class MangoClient { return await this.sendAndConfirmTransactionForGroup(group, [ix]); } - public async serum3CancelOrderIx( + public async openbookV2CancelOrderIx( group: Group, mangoAccount: MangoAccount, externalMarketPk: PublicKey, - side: Serum3Side, + side: OpenbookV2Side, orderId: BN, ): Promise { - const serum3Market = group.serum3MarketsMapByExternal.get( + const openbookV2Market = group.openbookV2MarketsMapByExternal.get( externalMarketPk.toBase58(), )!; - const serum3MarketExternal = group.serum3ExternalMarketsMap.get( + const openbookV2MarketExternal = group.openbookV2ExternalMarketsMap.get( externalMarketPk.toBase58(), )!; const ix = await this.program.methods - .serum3CancelOrder(side, orderId) + .openbookV2CancelOrder(side, orderId) .accounts({ group: group.publicKey, account: mangoAccount.publicKey, - openOrders: mangoAccount.getSerum3Account(serum3Market.marketIndex) - ?.openOrders, - serumMarket: serum3Market.publicKey, - serumProgram: OPENBOOK_PROGRAM_ID[this.cluster], - serumMarketExternal: serum3Market.serumMarketExternal, - marketBids: serum3MarketExternal.bidsAddress, - marketAsks: serum3MarketExternal.asksAddress, - marketEventQueue: serum3MarketExternal.decoded.eventQueue, + authority: (this.program.provider as AnchorProvider).wallet.publicKey, + openOrders: mangoAccount.getOpenbookV2Account( + openbookV2Market.marketIndex, + )?.openOrders, + openbookV2Market: openbookV2Market.publicKey, + openbookV2Program: openbookV2Market.openbookProgram, + openbookV2MarketExternal: openbookV2Market.openbookMarketExternal, + bids: openbookV2MarketExternal.bids, + asks: openbookV2MarketExternal.asks, }) .instruction(); return ix; } - public async serum3CancelOrder( + public async openbookV2CancelOrder( group: Group, mangoAccount: MangoAccount, externalMarketPk: PublicKey, - side: Serum3Side, + side: OpenbookV2Side, orderId: BN, ): Promise { const ixs = await Promise.all([ - this.serum3CancelOrderIx( + this.openbookV2CancelOrderIx( group, mangoAccount, externalMarketPk, side, orderId, ), - this.serum3SettleFundsV2Ix(group, mangoAccount, externalMarketPk), - ]); - - return await this.sendAndConfirmTransactionForGroup(group, ixs); - } - - public async serum3CancelOrderByClientIdIx( - group: Group, - mangoAccount: MangoAccount, - externalMarketPk: PublicKey, - clientOrderId: BN, - ): Promise { - const serum3Market = group.serum3MarketsMapByExternal.get( - externalMarketPk.toBase58(), - )!; - - const serum3MarketExternal = group.serum3ExternalMarketsMap.get( - externalMarketPk.toBase58(), - )!; - - const ix = await this.program.methods - .serum3CancelOrderByClientOrderId(clientOrderId) - .accounts({ - group: group.publicKey, - account: mangoAccount.publicKey, - openOrders: mangoAccount.getSerum3Account(serum3Market.marketIndex) - ?.openOrders, - serumMarket: serum3Market.publicKey, - serumProgram: OPENBOOK_PROGRAM_ID[this.cluster], - serumMarketExternal: serum3Market.serumMarketExternal, - marketBids: serum3MarketExternal.bidsAddress, - marketAsks: serum3MarketExternal.asksAddress, - marketEventQueue: serum3MarketExternal.decoded.eventQueue, - }) - .instruction(); - - return ix; - } - - public async serum3CancelOrderByClientId( - group: Group, - mangoAccount: MangoAccount, - externalMarketPk: PublicKey, - clientOrderId: BN, - ): Promise { - const ixs = await Promise.all([ - this.serum3CancelOrderByClientIdIx( - group, - mangoAccount, - externalMarketPk, - clientOrderId, - ), - this.serum3SettleFundsV2Ix(group, mangoAccount, externalMarketPk), + this.openbookV2SettleFundsV2Ix(group, mangoAccount, externalMarketPk), ]); return await this.sendAndConfirmTransactionForGroup(group, ixs); @@ -5138,7 +5971,8 @@ export class MangoClient { // but user would potentially open new positions. banks: Bank[] = [], perpMarkets: PerpMarket[] = [], - openOrdersForMarket: [Serum3Market, PublicKey][] = [], + serumOpenOrdersForMarket: [Serum3Market, PublicKey][] = [], + openbookOpenOrdersForMarket: [OpenbookV2Market, PublicKey][] = [], ): PublicKey[] { const healthRemainingAccounts: PublicKey[] = []; @@ -5207,7 +6041,7 @@ export class MangoClient { ); healthRemainingAccounts.push(...allPerpMarkets.map((perp) => perp.oracle)); - // Insert any extra open orders accounts in the cooresponding free serum market slot + // Insert any extra serum open orders accounts in the cooresponding free serum market slot const serumPositionMarketIndices = mangoAccounts .map((mangoAccount) => mangoAccount.serum3.map((s) => ({ @@ -5216,7 +6050,7 @@ export class MangoClient { })), ) .flat(); - for (const [serum3Market, openOrderPk] of openOrdersForMarket) { + for (const [serum3Market, openOrderPk] of serumOpenOrdersForMarket) { const ooPositionExists = serumPositionMarketIndices.findIndex( (i) => i.marketIndex === serum3Market.marketIndex, @@ -5235,6 +6069,36 @@ export class MangoClient { } } + // Insert any extra openbook open orders accounts in the cooresponding free openbook market slot + const openbookPositionMarketIndices = mangoAccounts + .map((mangoAccount) => + mangoAccount.openbookV2.map((s) => ({ + marketIndex: s.marketIndex, + openOrders: s.openOrders, + })), + ) + .flat(); + for (const [openbookV2Market, openOrderPk] of openbookOpenOrdersForMarket) { + const ooPositionExists = + serumPositionMarketIndices.findIndex( + (i) => i.marketIndex === openbookV2Market.marketIndex, + ) > -1; + if (!ooPositionExists) { + const inactiveOpenbookPosition = + openbookPositionMarketIndices.findIndex( + (serumPos) => + serumPos.marketIndex === + OpenbookV2Orders.OpenbookV2MarketIndexUnset, + ); + if (inactiveOpenbookPosition != -1) { + openbookPositionMarketIndices[inactiveOpenbookPosition].marketIndex = + openbookV2Market.marketIndex; + openbookPositionMarketIndices[inactiveOpenbookPosition].openOrders = + openOrderPk; + } + } + } + healthRemainingAccounts.push( ...serumPositionMarketIndices .filter( @@ -5244,6 +6108,16 @@ export class MangoClient { .map((serumPosition) => serumPosition.openOrders), ); + healthRemainingAccounts.push( + ...openbookPositionMarketIndices + .filter( + (openbookPosition) => + openbookPosition.marketIndex !== + OpenbookV2Orders.OpenbookV2MarketIndexUnset, + ) + .map((openbookPosition) => openbookPosition.openOrders), + ); + return healthRemainingAccounts; } @@ -5292,7 +6166,7 @@ export class MangoClient { orderId: BN, mangoAccount: MangoAccount, externalMarketPk: PublicKey, - side: Serum3Side, + side: OpenbookV2Side, price: number, size: number, selfTradeBehavior: Serum3SelfTradeBehavior, diff --git a/ts/client/src/clientIxParamBuilder.ts b/ts/client/src/clientIxParamBuilder.ts index ddfb1dd51f..c2e1ec13ef 100644 --- a/ts/client/src/clientIxParamBuilder.ts +++ b/ts/client/src/clientIxParamBuilder.ts @@ -36,7 +36,7 @@ export interface TokenRegisterParams { export const DefaultTokenRegisterParams: TokenRegisterParams = { oracleConfig: { - confFilter: 0, + confFilter: 0.3, maxStalenessSlots: null, }, groupInsuranceFund: false, @@ -312,6 +312,7 @@ export interface IxGateParams { TokenForceWithdraw: boolean; SequenceCheck: boolean; HealthCheck: boolean; + OpenbookV2CancelAllOrders: boolean; } // Default with all ixs enabled, use with buildIxGate @@ -394,6 +395,7 @@ export const TrueIxGateParams: IxGateParams = { TokenForceWithdraw: true, SequenceCheck: true, HealthCheck: true, + OpenbookV2CancelAllOrders: true, }; // build ix gate e.g. buildIxGate(Builder(TrueIxGateParams).TokenDeposit(false).build()).toNumber(), @@ -486,6 +488,7 @@ export function buildIxGate(p: IxGateParams): BN { toggleIx(ixGate, p, 'TokenForceWithdraw', 72); toggleIx(ixGate, p, 'SequenceCheck', 73); toggleIx(ixGate, p, 'HealthCheck', 74); + toggleIx(ixGate, p, 'OpenbookV2CancelAllOrders', 75); return ixGate; } diff --git a/ts/client/src/constants/index.ts b/ts/client/src/constants/index.ts index 3aaf739bb6..f867e06d72 100644 --- a/ts/client/src/constants/index.ts +++ b/ts/client/src/constants/index.ts @@ -20,6 +20,12 @@ export const OPENBOOK_PROGRAM_ID = { 'mainnet-beta': new PublicKey('srmqPvymJeFKQ4zGQed1GFppgkRHL9kaELCbyksJtPX'), }; +export const OPENBOOK_V2_PROGRAM_ID = { + testnet: new PublicKey('opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb'), + devnet: new PublicKey('opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb'), + 'mainnet-beta': new PublicKey('opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb'), +}; + export const MANGO_V4_ID = { testnet: new PublicKey('4MangoMjqJ2firMokCjjGgoK8d4MXcrgL7XJaL3w6fVg'), devnet: new PublicKey('4MangoMjqJ2firMokCjjGgoK8d4MXcrgL7XJaL3w6fVg'), diff --git a/ts/client/src/ids.ts b/ts/client/src/ids.ts index e39d2dc75d..b79283c1ab 100644 --- a/ts/client/src/ids.ts +++ b/ts/client/src/ids.ts @@ -7,6 +7,7 @@ export class Id { public name: string, public publicKey: string, public serum3ProgramId: string, + public openbookV2ProgramId: string, public mangoProgramId: string, public banks: { name: string; @@ -24,6 +25,12 @@ export class Id { active: boolean; marketExternal: string; }[], + public openbookV2Markets: { + name: string; + publicKey: string; + active: boolean; + marketExternal: string; + }[], public perpMarkets: { name: string; publicKey: string; active: boolean }[], ) {} @@ -63,6 +70,24 @@ export class Id { ); } + public getOpenbookV2Markets(): PublicKey[] { + return Array.from( + this.openbookV2Markets + .filter((openbookV2Market) => openbookV2Market.active) + .map((openbookV2Market) => new PublicKey(openbookV2Market.publicKey)), + ); + } + + public getOpenbookV2ExternalMarkets(): PublicKey[] { + return Array.from( + this.openbookV2Markets + .filter((openbookV2Market) => openbookV2Market.active) + .map( + (openbookV2Market) => new PublicKey(openbookV2Market.marketExternal), + ), + ); + } + public getPerpMarkets(): PublicKey[] { return Array.from( this.perpMarkets.map((perpMarket) => new PublicKey(perpMarket.publicKey)), @@ -78,11 +103,13 @@ export class Id { groupConfig.name, groupConfig.publicKey, groupConfig.serum3ProgramId, + groupConfig.openbookV2ProgramId, groupConfig.mangoProgramId, groupConfig['banks'], groupConfig['stubOracles'], groupConfig['mintInfos'], groupConfig['serum3Markets'], + groupConfig['openbookV2Markets'], groupConfig['perpMarkets'], ); } @@ -99,11 +126,13 @@ export class Id { groupConfig.name, groupConfig.publicKey, groupConfig.serum3ProgramId, + groupConfig.openbookV2ProgramId, groupConfig.mangoProgramId, groupConfig['banks'], groupConfig['stubOracles'], groupConfig['mintInfos'], groupConfig['serum3Markets'], + groupConfig['openbookV2Markets'], groupConfig['perpMarkets'], ); } @@ -117,11 +146,13 @@ export class Id { (group) => group.publicKey === groupPk.toString(), ); + // todo-pan: api won't return obv2 stuff yet return new Id( groupConfig.cluster as Cluster, groupConfig.name, groupConfig.publicKey, groupConfig.serum3ProgramId, + groupConfig.openbookV2ProgramId, groupConfig.mangoProgramId, groupConfig.tokens.flatMap((t) => t.banks.map((b) => ({ @@ -151,6 +182,12 @@ export class Id { marketExternal: s.serumMarketExternal, active: s.active, })), + groupConfig.openbookV2Markets.map((s) => ({ + name: s.name, + publicKey: s.publicKey, + marketExternal: s.openbookMarketExternal, + active: s.active, + })), groupConfig.perpMarkets.map((p) => ({ name: p.name, publicKey: p.publicKey, diff --git a/ts/client/src/index.ts b/ts/client/src/index.ts index 89cfc76e4d..23519da476 100644 --- a/ts/client/src/index.ts +++ b/ts/client/src/index.ts @@ -7,6 +7,7 @@ export * from './accounts/bank'; export * from './accounts/mangoAccount'; export * from './accounts/oracle'; export * from './accounts/perp'; +export * from './accounts/openbookV2'; export { Serum3Market, Serum3OrderType, diff --git a/ts/client/src/mango_v4.ts b/ts/client/src/mango_v4.ts index f294f383ba..faa35eee41 100644 --- a/ts/client/src/mango_v4.ts +++ b/ts/client/src/mango_v4.ts @@ -1,5 +1,5 @@ export type MangoV4 = { - "version": "0.24.0", + "version": "0.25.0", "name": "mango_v4", "instructions": [ { @@ -1441,6 +1441,94 @@ export type MangoV4 = { } ] }, + { + "name": "accountCreateV3", + "accounts": [ + { + "name": "group", + "isMut": false, + "isSigner": false + }, + { + "name": "account", + "isMut": true, + "isSigner": false, + "pda": { + "seeds": [ + { + "kind": "const", + "type": "string", + "value": "MangoAccount" + }, + { + "kind": "account", + "type": "publicKey", + "path": "group" + }, + { + "kind": "account", + "type": "publicKey", + "path": "owner" + }, + { + "kind": "arg", + "type": "u32", + "path": "account_num" + } + ] + } + }, + { + "name": "owner", + "isMut": false, + "isSigner": true + }, + { + "name": "payer", + "isMut": true, + "isSigner": true + }, + { + "name": "systemProgram", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "accountNum", + "type": "u32" + }, + { + "name": "tokenCount", + "type": "u8" + }, + { + "name": "serum3Count", + "type": "u8" + }, + { + "name": "perpCount", + "type": "u8" + }, + { + "name": "perpOoCount", + "type": "u8" + }, + { + "name": "tokenConditionalSwapCount", + "type": "u8" + }, + { + "name": "openbookV2Count", + "type": "u8" + }, + { + "name": "name", + "type": "string" + } + ] + }, { "name": "accountExpand", "accounts": [ @@ -1549,6 +1637,66 @@ export type MangoV4 = { } ] }, + { + "name": "accountExpandV3", + "accounts": [ + { + "name": "group", + "isMut": false, + "isSigner": false + }, + { + "name": "account", + "isMut": true, + "isSigner": false, + "relations": [ + "group", + "owner" + ] + }, + { + "name": "owner", + "isMut": false, + "isSigner": true + }, + { + "name": "payer", + "isMut": true, + "isSigner": true + }, + { + "name": "systemProgram", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "tokenCount", + "type": "u8" + }, + { + "name": "serum3Count", + "type": "u8" + }, + { + "name": "perpCount", + "type": "u8" + }, + { + "name": "perpOoCount", + "type": "u8" + }, + { + "name": "tokenConditionalSwapCount", + "type": "u8" + }, + { + "name": "openbookV2Count", + "type": "u8" + } + ] + }, { "name": "accountSizeMigration", "accounts": [ @@ -6223,15 +6371,15 @@ export type MangoV4 = { { "name": "group", "isMut": true, - "isSigner": false, - "relations": [ - "admin" - ] + "isSigner": false }, { "name": "admin", "isMut": false, - "isSigner": true + "isSigner": true, + "docs": [ + "group admin or fast listing admin, checked at #1" + ] }, { "name": "openbookV2Program", @@ -6326,6 +6474,10 @@ export type MangoV4 = { { "name": "name", "type": "string" + }, + { + "name": "oraclePriceBand", + "type": "f32" } ] }, @@ -6335,7 +6487,10 @@ export type MangoV4 = { { "name": "group", "isMut": false, - "isSigner": false + "isSigner": false, + "relations": [ + "admin" + ] }, { "name": "admin", @@ -6363,6 +6518,18 @@ export type MangoV4 = { "type": { "option": "bool" } + }, + { + "name": "nameOpt", + "type": { + "option": "string" + } + }, + { + "name": "oraclePriceBandOpt", + "type": { + "option": "f32" + } } ] }, @@ -6427,11 +6594,6 @@ export type MangoV4 = { "group" ] }, - { - "name": "authority", - "isMut": false, - "isSigner": true - }, { "name": "openbookV2Market", "isMut": false, @@ -6453,38 +6615,19 @@ export type MangoV4 = { "isSigner": false }, { - "name": "openOrders", + "name": "openOrdersIndexer", "isMut": true, - "isSigner": false, - "pda": { - "seeds": [ - { - "kind": "const", - "type": "string", - "value": "OpenOrders" - }, - { - "kind": "account", - "type": "publicKey", - "path": "openbook_v2_market" - }, - { - "kind": "account", - "type": "publicKey", - "path": "openbook_v2_market_external" - }, - { - "kind": "arg", - "type": "u32", - "path": "account_num" - } - ], - "programId": { - "kind": "account", - "type": "publicKey", - "path": "openbook_v2_program" - } - } + "isSigner": false + }, + { + "name": "openOrdersAccount", + "isMut": true, + "isSigner": false + }, + { + "name": "authority", + "isMut": false, + "isSigner": true }, { "name": "payer", @@ -6502,12 +6645,7 @@ export type MangoV4 = { "isSigner": false } ], - "args": [ - { - "name": "accountNum", - "type": "u32" - } - ] + "args": [] }, { "name": "openbookV2CloseOpenOrders", @@ -6551,7 +6689,15 @@ export type MangoV4 = { "isSigner": false }, { - "name": "openOrders", + "name": "openOrdersIndexer", + "isMut": true, + "isSigner": false, + "docs": [ + "can't zerocopy this unfortunately" + ] + }, + { + "name": "openOrdersAccount", "isMut": true, "isSigner": false }, @@ -6559,6 +6705,32 @@ export type MangoV4 = { "name": "solDestination", "isMut": true, "isSigner": false + }, + { + "name": "baseBank", + "isMut": true, + "isSigner": false, + "relations": [ + "group" + ] + }, + { + "name": "quoteBank", + "isMut": true, + "isSigner": false, + "relations": [ + "group" + ] + }, + { + "name": "systemProgram", + "isMut": false, + "isSigner": false + }, + { + "name": "tokenProgram", + "isMut": false, + "isSigner": false } ], "args": [] @@ -6592,7 +6764,12 @@ export type MangoV4 = { { "name": "openbookV2Market", "isMut": false, - "isSigner": false + "isSigner": false, + "relations": [ + "group", + "openbook_v2_market_external", + "openbook_v2_program" + ] }, { "name": "openbookV2Program", @@ -6625,12 +6802,7 @@ export type MangoV4 = { "isSigner": false }, { - "name": "marketBaseVault", - "isMut": true, - "isSigner": false - }, - { - "name": "marketQuoteVault", + "name": "marketVault", "isMut": true, "isSigner": false }, @@ -6644,7 +6816,7 @@ export type MangoV4 = { "isMut": true, "isSigner": false, "docs": [ - "The bank that pays for the order, if necessary" + "The bank that pays for the order. Bank oracle also expected in remaining_accounts" ], "relations": [ "group" @@ -6655,160 +6827,20 @@ export type MangoV4 = { "isMut": true, "isSigner": false, "docs": [ - "The bank vault that pays for the order, if necessary" + "The bank vault that pays for the order" ] }, { - "name": "payerOracle", - "isMut": false, - "isSigner": false - }, - { - "name": "tokenProgram", - "isMut": false, - "isSigner": false - } - ], - "args": [ - { - "name": "side", - "type": "u8" - }, - { - "name": "limitPrice", - "type": "u64" - }, - { - "name": "maxBaseQty", - "type": "u64" - }, - { - "name": "maxNativeQuoteQtyIncludingFees", - "type": "u64" - }, - { - "name": "selfTradeBehavior", - "type": "u8" - }, - { - "name": "orderType", - "type": "u8" - }, - { - "name": "clientOrderId", - "type": "u64" - }, - { - "name": "limit", - "type": "u16" - } - ] - }, - { - "name": "openbookV2PlaceTakerOrder", - "accounts": [ - { - "name": "group", - "isMut": false, - "isSigner": false - }, - { - "name": "account", - "isMut": true, - "isSigner": false, - "relations": [ - "group" - ] - }, - { - "name": "authority", - "isMut": false, - "isSigner": true - }, - { - "name": "openbookV2Market", - "isMut": false, - "isSigner": false, - "relations": [ - "group", - "openbook_v2_program", - "openbook_v2_market_external" - ] - }, - { - "name": "openbookV2Program", - "isMut": false, - "isSigner": false - }, - { - "name": "openbookV2MarketExternal", - "isMut": true, - "isSigner": false, - "relations": [ - "bids", - "asks", - "event_heap" - ] - }, - { - "name": "bids", - "isMut": true, - "isSigner": false - }, - { - "name": "asks", - "isMut": true, - "isSigner": false - }, - { - "name": "eventHeap", - "isMut": true, - "isSigner": false - }, - { - "name": "marketRequestQueue", - "isMut": true, - "isSigner": false - }, - { - "name": "marketBaseVault", - "isMut": true, - "isSigner": false - }, - { - "name": "marketQuoteVault", - "isMut": true, - "isSigner": false - }, - { - "name": "marketVaultSigner", - "isMut": false, - "isSigner": false - }, - { - "name": "payerBank", + "name": "receiverBank", "isMut": true, "isSigner": false, "docs": [ - "The bank that pays for the order, if necessary" + "The bank that receives the funds upon settlement. Bank oracle also expected in remaining_accounts" ], "relations": [ "group" ] }, - { - "name": "payerVault", - "isMut": true, - "isSigner": false, - "docs": [ - "The bank vault that pays for the order, if necessary" - ] - }, - { - "name": "payerOracle", - "isMut": false, - "isSigner": false - }, { "name": "tokenProgram", "isMut": false, @@ -6818,31 +6850,49 @@ export type MangoV4 = { "args": [ { "name": "side", - "type": "u8" + "type": { + "defined": "OpenbookV2Side" + } }, { - "name": "limitPrice", - "type": "u64" + "name": "priceLots", + "type": "i64" }, { - "name": "maxBaseQty", - "type": "u64" + "name": "maxBaseLots", + "type": "i64" }, { - "name": "maxNativeQuoteQtyIncludingFees", + "name": "maxQuoteLotsIncludingFees", + "type": "i64" + }, + { + "name": "clientOrderId", "type": "u64" }, + { + "name": "orderType", + "type": { + "defined": "OpenbookV2PlaceOrderType" + } + }, { "name": "selfTradeBehavior", - "type": "u8" + "type": { + "defined": "OpenbookV2SelfTradeBehavior" + } }, { - "name": "clientOrderId", + "name": "reduceOnly", + "type": "bool" + }, + { + "name": "expiryTimestamp", "type": "u64" }, { "name": "limit", - "type": "u16" + "type": "u8" } ] }, @@ -6910,7 +6960,9 @@ export type MangoV4 = { "args": [ { "name": "side", - "type": "u8" + "type": { + "defined": "OpenbookV2Side" + } }, { "name": "orderId", @@ -6936,7 +6988,7 @@ export type MangoV4 = { }, { "name": "authority", - "isMut": false, + "isMut": true, "isSigner": true }, { @@ -6962,7 +7014,11 @@ export type MangoV4 = { { "name": "openbookV2MarketExternal", "isMut": true, - "isSigner": false + "isSigner": false, + "relations": [ + "market_base_vault", + "market_quote_vault" + ] }, { "name": "marketBaseVault", @@ -7022,6 +7078,11 @@ export type MangoV4 = { "name": "tokenProgram", "isMut": false, "isSigner": false + }, + { + "name": "systemProgram", + "isMut": false, + "isSigner": false } ], "args": [ @@ -7047,6 +7108,11 @@ export type MangoV4 = { "group" ] }, + { + "name": "payer", + "isMut": true, + "isSigner": true + }, { "name": "openOrders", "isMut": true, @@ -7069,12 +7135,14 @@ export type MangoV4 = { }, { "name": "openbookV2MarketExternal", - "isMut": false, + "isMut": true, "isSigner": false, "relations": [ "bids", "asks", - "event_heap" + "event_heap", + "market_base_vault", + "market_quote_vault" ] }, { @@ -7137,6 +7205,11 @@ export type MangoV4 = { "name": "tokenProgram", "isMut": false, "isSigner": false + }, + { + "name": "systemProgram", + "isMut": false, + "isSigner": false } ], "args": [ @@ -7211,6 +7284,14 @@ export type MangoV4 = { { "name": "limit", "type": "u8" + }, + { + "name": "sideOpt", + "type": { + "option": { + "defined": "OpenbookV2Side" + } + } } ] }, @@ -7601,7 +7682,7 @@ export type MangoV4 = { { "name": "potentialSerumTokens", "docs": [ - "Largest amount of tokens that might be added the the bank based on", + "Largest amount of tokens that might be added the bank based on", "serum open order execution." ], "type": "u64" @@ -7711,12 +7792,29 @@ export type MangoV4 = { ], "type": "f32" }, + { + "name": "padding2", + "type": { + "array": [ + "u8", + 4 + ] + } + }, + { + "name": "potentialOpenbookTokens", + "docs": [ + "Largest amount of tokens that might be added the bank based on", + "oenbook open order execution." + ], + "type": "u64" + }, { "name": "reserved", "type": { "array": [ "u8", - 1900 + 1888 ] } } @@ -8079,12 +8177,24 @@ export type MangoV4 = { } } }, + { + "name": "padding9", + "type": "u32" + }, + { + "name": "openbookV2", + "type": { + "vec": { + "defined": "OpenbookV2Orders" + } + } + }, { "name": "reservedDynamic", "type": { "array": [ "u8", - 64 + 56 ] } } @@ -8180,6 +8290,10 @@ export type MangoV4 = { "name": "quoteTokenIndex", "type": "u16" }, + { + "name": "marketIndex", + "type": "u16" + }, { "name": "reduceOnly", "type": "u8" @@ -8188,15 +8302,6 @@ export type MangoV4 = { "name": "forceClose", "type": "u8" }, - { - "name": "padding1", - "type": { - "array": [ - "u8", - 2 - ] - } - }, { "name": "name", "type": { @@ -8215,32 +8320,29 @@ export type MangoV4 = { "type": "publicKey" }, { - "name": "marketIndex", - "type": "u16" - }, - { - "name": "bump", - "type": "u8" + "name": "registrationTime", + "type": "u64" }, { - "name": "padding2", - "type": { - "array": [ - "u8", - 5 - ] - } + "name": "oraclePriceBand", + "docs": [ + "Limit orders must be <= oracle * (1+band) and >= oracle / (1+band)", + "", + "Zero value is the default due to migration and disables the limit,", + "same as f32::MAX." + ], + "type": "f32" }, { - "name": "registrationTime", - "type": "u64" + "name": "bump", + "type": "u8" }, { "name": "reserved", "type": { "array": [ "u8", - 512 + 1027 ] } } @@ -9383,6 +9485,121 @@ export type MangoV4 = { ] } }, + { + "name": "OpenbookV2Orders", + "type": { + "kind": "struct", + "fields": [ + { + "name": "openOrders", + "type": "publicKey" + }, + { + "name": "baseBorrowsWithoutFee", + "docs": [ + "Tracks the amount of borrows that have flowed into the open orders account.", + "These borrows did not have the loan origination fee applied, and that may happen", + "later (in openbook_v2_settle_funds) if we can guarantee that the funds were used.", + "In particular a place-on-book, cancel, settle should not cost fees." + ], + "type": "u64" + }, + { + "name": "quoteBorrowsWithoutFee", + "type": "u64" + }, + { + "name": "highestPlacedBidInv", + "docs": [ + "Track something like the highest open bid / lowest open ask, in native/native units.", + "", + "Tracking it exactly isn't possible since we don't see fills. So instead track", + "the min/max of the _placed_ bids and asks.", + "", + "The value is reset in openbook_v2_place_order when a new order is placed without an", + "existing one on the book.", + "", + "0 is a special \"unset\" state." + ], + "type": "f64" + }, + { + "name": "lowestPlacedAsk", + "type": "f64" + }, + { + "name": "potentialBaseTokens", + "docs": [ + "An overestimate of the amount of tokens that might flow out of the open orders account.", + "", + "The bank still considers these amounts user deposits (see Bank::potential_openbook_tokens)", + "and that value needs to be updated in conjunction with these numbers.", + "", + "This estimation is based on the amount of tokens in the open orders account", + "(see update_bank_potential_tokens() in openbook_v2_place_order and settle)" + ], + "type": "u64" + }, + { + "name": "potentialQuoteTokens", + "type": "u64" + }, + { + "name": "lowestPlacedBidInv", + "docs": [ + "Track lowest bid/highest ask, same way as for highest bid/lowest ask.", + "", + "0 is a special \"unset\" state." + ], + "type": "f64" + }, + { + "name": "highestPlacedAsk", + "type": "f64" + }, + { + "name": "quoteLotSize", + "docs": [ + "Stores the market's lot sizes", + "", + "Needed because the obv2 open orders account tells us about reserved amounts in lots and", + "we want to be able to compute health without also loading the obv2 market." + ], + "type": "i64" + }, + { + "name": "baseLotSize", + "type": "i64" + }, + { + "name": "marketIndex", + "type": "u16" + }, + { + "name": "baseTokenIndex", + "docs": [ + "Store the base/quote token index, so health computations don't need", + "to get passed the static SerumMarket to find which tokens a market", + "uses and look up the correct oracles." + ], + "type": "u16" + }, + { + "name": "quoteTokenIndex", + "type": "u16" + }, + { + "name": "reserved", + "type": { + "array": [ + "u8", + 162 + ] + } + } + ] + } + }, { "name": "PerpPosition", "type": { @@ -10730,6 +10947,77 @@ export type MangoV4 = { ] } }, + { + "name": "OpenbookV2PlaceOrderType", + "type": { + "kind": "enum", + "variants": [ + { + "name": "Limit" + }, + { + "name": "ImmediateOrCancel" + }, + { + "name": "PostOnly" + }, + { + "name": "Market" + }, + { + "name": "PostOnlySlide" + } + ] + } + }, + { + "name": "OpenbookV2PostOrderType", + "type": { + "kind": "enum", + "variants": [ + { + "name": "Limit" + }, + { + "name": "PostOnly" + }, + { + "name": "PostOnlySlide" + } + ] + } + }, + { + "name": "OpenbookV2SelfTradeBehavior", + "type": { + "kind": "enum", + "variants": [ + { + "name": "DecrementTake" + }, + { + "name": "CancelProvide" + }, + { + "name": "AbortTransaction" + } + ] + } + }, + { + "name": "OpenbookV2Side", + "type": { + "kind": "enum", + "variants": [ + { + "name": "Bid" + }, + { + "name": "Ask" + } + ] + } + }, { "name": "Serum3SelfTradeBehavior", "docs": [ @@ -10803,13 +11091,33 @@ export type MangoV4 = { "kind": "enum", "variants": [ { - "name": "Init" - }, - { - "name": "Maint" + "name": "Init" + }, + { + "name": "Maint" + }, + { + "name": "LiquidationEnd" + } + ] + } + }, + { + "name": "SpotMarketIndex", + "type": { + "kind": "enum", + "variants": [ + { + "name": "Serum3", + "fields": [ + "u16" + ] }, { - "name": "LiquidationEnd" + "name": "OpenbookV2", + "fields": [ + "u16" + ] } ] } @@ -10842,6 +11150,15 @@ export type MangoV4 = { }, { "name": "TokenConditionalSwapTrigger" + }, + { + "name": "OpenbookV2LiqForceCancelOrders" + }, + { + "name": "OpenbookV2PlaceOrder" + }, + { + "name": "OpenbookV2SettleFunds" } ] } @@ -11090,6 +11407,9 @@ export type MangoV4 = { }, { "name": "HealthCheck" + }, + { + "name": "OpenbookV2CancelAllOrders" } ] } @@ -12480,6 +12800,61 @@ export type MangoV4 = { } ] }, + { + "name": "OpenbookV2OpenOrdersBalanceLog", + "fields": [ + { + "name": "mangoGroup", + "type": "publicKey", + "index": false + }, + { + "name": "mangoAccount", + "type": "publicKey", + "index": false + }, + { + "name": "marketIndex", + "type": "u16", + "index": false + }, + { + "name": "baseTokenIndex", + "type": "u16", + "index": false + }, + { + "name": "quoteTokenIndex", + "type": "u16", + "index": false + }, + { + "name": "baseTotal", + "type": "u64", + "index": false + }, + { + "name": "baseFree", + "type": "u64", + "index": false + }, + { + "name": "quoteTotal", + "type": "u64", + "index": false + }, + { + "name": "quoteFree", + "type": "u64", + "index": false + }, + { + "name": "referrerRebatesAccrued", + "type": "u64", + "index": false + } + ] + }, { "name": "WithdrawLoanOriginationFeeLog", "fields": [ @@ -12846,6 +13221,46 @@ export type MangoV4 = { } ] }, + { + "name": "OpenbookV2RegisterMarketLog", + "fields": [ + { + "name": "mangoGroup", + "type": "publicKey", + "index": false + }, + { + "name": "openbookMarket", + "type": "publicKey", + "index": false + }, + { + "name": "marketIndex", + "type": "u16", + "index": false + }, + { + "name": "baseTokenIndex", + "type": "u16", + "index": false + }, + { + "name": "quoteTokenIndex", + "type": "u16", + "index": false + }, + { + "name": "openbookProgram", + "type": "publicKey", + "index": false + }, + { + "name": "openbookMarketExternal", + "type": "publicKey", + "index": false + } + ] + }, { "name": "PerpLiqBaseOrPositivePnlLog", "fields": [ @@ -14255,8 +14670,8 @@ export type MangoV4 = { }, { "code": 6034, - "name": "HasOpenOrUnsettledSerum3Orders", - "msg": "there are open or unsettled serum3 orders" + "name": "HasOpenOrUnsettledSpotOrders", + "msg": "there are open or unsettled spot orders" }, { "code": 6035, @@ -14390,7 +14805,7 @@ export type MangoV4 = { }, { "code": 6061, - "name": "Serum3PriceBandExceeded", + "name": "SpotPriceBandExceeded", "msg": "the market does not allow limit orders too far from the current oracle value" }, { @@ -14447,12 +14862,22 @@ export type MangoV4 = { "code": 6072, "name": "InvalidHealth", "msg": "invalid health" + }, + { + "code": 6073, + "name": "NoFreeOpenbookV2OpenOrdersIndex", + "msg": "no free openbook v2 open orders index" + }, + { + "code": 6074, + "name": "OpenbookV2OpenOrdersExistAlready", + "msg": "openbook v2 open orders exist already" } ] }; export const IDL: MangoV4 = { - "version": "0.24.0", + "version": "0.25.0", "name": "mango_v4", "instructions": [ { @@ -15864,10 +16289,158 @@ export const IDL: MangoV4 = { } ], "args": [ - { - "name": "accountNum", - "type": "u32" - }, + { + "name": "accountNum", + "type": "u32" + }, + { + "name": "tokenCount", + "type": "u8" + }, + { + "name": "serum3Count", + "type": "u8" + }, + { + "name": "perpCount", + "type": "u8" + }, + { + "name": "perpOoCount", + "type": "u8" + }, + { + "name": "tokenConditionalSwapCount", + "type": "u8" + }, + { + "name": "name", + "type": "string" + } + ] + }, + { + "name": "accountCreateV3", + "accounts": [ + { + "name": "group", + "isMut": false, + "isSigner": false + }, + { + "name": "account", + "isMut": true, + "isSigner": false, + "pda": { + "seeds": [ + { + "kind": "const", + "type": "string", + "value": "MangoAccount" + }, + { + "kind": "account", + "type": "publicKey", + "path": "group" + }, + { + "kind": "account", + "type": "publicKey", + "path": "owner" + }, + { + "kind": "arg", + "type": "u32", + "path": "account_num" + } + ] + } + }, + { + "name": "owner", + "isMut": false, + "isSigner": true + }, + { + "name": "payer", + "isMut": true, + "isSigner": true + }, + { + "name": "systemProgram", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "accountNum", + "type": "u32" + }, + { + "name": "tokenCount", + "type": "u8" + }, + { + "name": "serum3Count", + "type": "u8" + }, + { + "name": "perpCount", + "type": "u8" + }, + { + "name": "perpOoCount", + "type": "u8" + }, + { + "name": "tokenConditionalSwapCount", + "type": "u8" + }, + { + "name": "openbookV2Count", + "type": "u8" + }, + { + "name": "name", + "type": "string" + } + ] + }, + { + "name": "accountExpand", + "accounts": [ + { + "name": "group", + "isMut": false, + "isSigner": false + }, + { + "name": "account", + "isMut": true, + "isSigner": false, + "relations": [ + "group", + "owner" + ] + }, + { + "name": "owner", + "isMut": false, + "isSigner": true + }, + { + "name": "payer", + "isMut": true, + "isSigner": true + }, + { + "name": "systemProgram", + "isMut": false, + "isSigner": false + } + ], + "args": [ { "name": "tokenCount", "type": "u8" @@ -15883,19 +16456,11 @@ export const IDL: MangoV4 = { { "name": "perpOoCount", "type": "u8" - }, - { - "name": "tokenConditionalSwapCount", - "type": "u8" - }, - { - "name": "name", - "type": "string" } ] }, { - "name": "accountExpand", + "name": "accountExpandV2", "accounts": [ { "name": "group", @@ -15943,11 +16508,15 @@ export const IDL: MangoV4 = { { "name": "perpOoCount", "type": "u8" + }, + { + "name": "tokenConditionalSwapCount", + "type": "u8" } ] }, { - "name": "accountExpandV2", + "name": "accountExpandV3", "accounts": [ { "name": "group", @@ -15999,6 +16568,10 @@ export const IDL: MangoV4 = { { "name": "tokenConditionalSwapCount", "type": "u8" + }, + { + "name": "openbookV2Count", + "type": "u8" } ] }, @@ -20676,15 +21249,15 @@ export const IDL: MangoV4 = { { "name": "group", "isMut": true, - "isSigner": false, - "relations": [ - "admin" - ] + "isSigner": false }, { "name": "admin", "isMut": false, - "isSigner": true + "isSigner": true, + "docs": [ + "group admin or fast listing admin, checked at #1" + ] }, { "name": "openbookV2Program", @@ -20779,6 +21352,10 @@ export const IDL: MangoV4 = { { "name": "name", "type": "string" + }, + { + "name": "oraclePriceBand", + "type": "f32" } ] }, @@ -20788,7 +21365,10 @@ export const IDL: MangoV4 = { { "name": "group", "isMut": false, - "isSigner": false + "isSigner": false, + "relations": [ + "admin" + ] }, { "name": "admin", @@ -20816,6 +21396,18 @@ export const IDL: MangoV4 = { "type": { "option": "bool" } + }, + { + "name": "nameOpt", + "type": { + "option": "string" + } + }, + { + "name": "oraclePriceBandOpt", + "type": { + "option": "f32" + } } ] }, @@ -20880,11 +21472,6 @@ export const IDL: MangoV4 = { "group" ] }, - { - "name": "authority", - "isMut": false, - "isSigner": true - }, { "name": "openbookV2Market", "isMut": false, @@ -20906,38 +21493,19 @@ export const IDL: MangoV4 = { "isSigner": false }, { - "name": "openOrders", + "name": "openOrdersIndexer", "isMut": true, - "isSigner": false, - "pda": { - "seeds": [ - { - "kind": "const", - "type": "string", - "value": "OpenOrders" - }, - { - "kind": "account", - "type": "publicKey", - "path": "openbook_v2_market" - }, - { - "kind": "account", - "type": "publicKey", - "path": "openbook_v2_market_external" - }, - { - "kind": "arg", - "type": "u32", - "path": "account_num" - } - ], - "programId": { - "kind": "account", - "type": "publicKey", - "path": "openbook_v2_program" - } - } + "isSigner": false + }, + { + "name": "openOrdersAccount", + "isMut": true, + "isSigner": false + }, + { + "name": "authority", + "isMut": false, + "isSigner": true }, { "name": "payer", @@ -20955,12 +21523,7 @@ export const IDL: MangoV4 = { "isSigner": false } ], - "args": [ - { - "name": "accountNum", - "type": "u32" - } - ] + "args": [] }, { "name": "openbookV2CloseOpenOrders", @@ -21004,115 +21567,41 @@ export const IDL: MangoV4 = { "isSigner": false }, { - "name": "openOrders", - "isMut": true, - "isSigner": false - }, - { - "name": "solDestination", - "isMut": true, - "isSigner": false - } - ], - "args": [] - }, - { - "name": "openbookV2PlaceOrder", - "accounts": [ - { - "name": "group", - "isMut": false, - "isSigner": false - }, - { - "name": "account", - "isMut": true, - "isSigner": false, - "relations": [ - "group" - ] - }, - { - "name": "authority", - "isMut": false, - "isSigner": true - }, - { - "name": "openOrders", - "isMut": true, - "isSigner": false - }, - { - "name": "openbookV2Market", - "isMut": false, - "isSigner": false - }, - { - "name": "openbookV2Program", - "isMut": false, - "isSigner": false - }, - { - "name": "openbookV2MarketExternal", + "name": "openOrdersIndexer", "isMut": true, "isSigner": false, - "relations": [ - "bids", - "asks", - "event_heap" + "docs": [ + "can't zerocopy this unfortunately" ] }, { - "name": "bids", - "isMut": true, - "isSigner": false - }, - { - "name": "asks", - "isMut": true, - "isSigner": false - }, - { - "name": "eventHeap", - "isMut": true, - "isSigner": false - }, - { - "name": "marketBaseVault", + "name": "openOrdersAccount", "isMut": true, "isSigner": false }, { - "name": "marketQuoteVault", + "name": "solDestination", "isMut": true, "isSigner": false }, { - "name": "marketVaultSigner", - "isMut": false, - "isSigner": false - }, - { - "name": "payerBank", + "name": "baseBank", "isMut": true, "isSigner": false, - "docs": [ - "The bank that pays for the order, if necessary" - ], "relations": [ "group" ] }, { - "name": "payerVault", + "name": "quoteBank", "isMut": true, "isSigner": false, - "docs": [ - "The bank vault that pays for the order, if necessary" + "relations": [ + "group" ] }, { - "name": "payerOracle", + "name": "systemProgram", "isMut": false, "isSigner": false }, @@ -21122,43 +21611,10 @@ export const IDL: MangoV4 = { "isSigner": false } ], - "args": [ - { - "name": "side", - "type": "u8" - }, - { - "name": "limitPrice", - "type": "u64" - }, - { - "name": "maxBaseQty", - "type": "u64" - }, - { - "name": "maxNativeQuoteQtyIncludingFees", - "type": "u64" - }, - { - "name": "selfTradeBehavior", - "type": "u8" - }, - { - "name": "orderType", - "type": "u8" - }, - { - "name": "clientOrderId", - "type": "u64" - }, - { - "name": "limit", - "type": "u16" - } - ] + "args": [] }, { - "name": "openbookV2PlaceTakerOrder", + "name": "openbookV2PlaceOrder", "accounts": [ { "name": "group", @@ -21178,14 +21634,19 @@ export const IDL: MangoV4 = { "isMut": false, "isSigner": true }, + { + "name": "openOrders", + "isMut": true, + "isSigner": false + }, { "name": "openbookV2Market", "isMut": false, "isSigner": false, "relations": [ "group", - "openbook_v2_program", - "openbook_v2_market_external" + "openbook_v2_market_external", + "openbook_v2_program" ] }, { @@ -21204,32 +21665,22 @@ export const IDL: MangoV4 = { ] }, { - "name": "bids", - "isMut": true, - "isSigner": false - }, - { - "name": "asks", - "isMut": true, - "isSigner": false - }, - { - "name": "eventHeap", + "name": "bids", "isMut": true, "isSigner": false }, { - "name": "marketRequestQueue", + "name": "asks", "isMut": true, "isSigner": false }, { - "name": "marketBaseVault", + "name": "eventHeap", "isMut": true, "isSigner": false }, { - "name": "marketQuoteVault", + "name": "marketVault", "isMut": true, "isSigner": false }, @@ -21243,7 +21694,7 @@ export const IDL: MangoV4 = { "isMut": true, "isSigner": false, "docs": [ - "The bank that pays for the order, if necessary" + "The bank that pays for the order. Bank oracle also expected in remaining_accounts" ], "relations": [ "group" @@ -21254,13 +21705,19 @@ export const IDL: MangoV4 = { "isMut": true, "isSigner": false, "docs": [ - "The bank vault that pays for the order, if necessary" + "The bank vault that pays for the order" ] }, { - "name": "payerOracle", - "isMut": false, - "isSigner": false + "name": "receiverBank", + "isMut": true, + "isSigner": false, + "docs": [ + "The bank that receives the funds upon settlement. Bank oracle also expected in remaining_accounts" + ], + "relations": [ + "group" + ] }, { "name": "tokenProgram", @@ -21271,31 +21728,49 @@ export const IDL: MangoV4 = { "args": [ { "name": "side", - "type": "u8" + "type": { + "defined": "OpenbookV2Side" + } }, { - "name": "limitPrice", - "type": "u64" + "name": "priceLots", + "type": "i64" }, { - "name": "maxBaseQty", - "type": "u64" + "name": "maxBaseLots", + "type": "i64" }, { - "name": "maxNativeQuoteQtyIncludingFees", + "name": "maxQuoteLotsIncludingFees", + "type": "i64" + }, + { + "name": "clientOrderId", "type": "u64" }, + { + "name": "orderType", + "type": { + "defined": "OpenbookV2PlaceOrderType" + } + }, { "name": "selfTradeBehavior", - "type": "u8" + "type": { + "defined": "OpenbookV2SelfTradeBehavior" + } }, { - "name": "clientOrderId", + "name": "reduceOnly", + "type": "bool" + }, + { + "name": "expiryTimestamp", "type": "u64" }, { "name": "limit", - "type": "u16" + "type": "u8" } ] }, @@ -21363,7 +21838,9 @@ export const IDL: MangoV4 = { "args": [ { "name": "side", - "type": "u8" + "type": { + "defined": "OpenbookV2Side" + } }, { "name": "orderId", @@ -21389,7 +21866,7 @@ export const IDL: MangoV4 = { }, { "name": "authority", - "isMut": false, + "isMut": true, "isSigner": true }, { @@ -21415,7 +21892,11 @@ export const IDL: MangoV4 = { { "name": "openbookV2MarketExternal", "isMut": true, - "isSigner": false + "isSigner": false, + "relations": [ + "market_base_vault", + "market_quote_vault" + ] }, { "name": "marketBaseVault", @@ -21475,6 +21956,11 @@ export const IDL: MangoV4 = { "name": "tokenProgram", "isMut": false, "isSigner": false + }, + { + "name": "systemProgram", + "isMut": false, + "isSigner": false } ], "args": [ @@ -21500,6 +21986,11 @@ export const IDL: MangoV4 = { "group" ] }, + { + "name": "payer", + "isMut": true, + "isSigner": true + }, { "name": "openOrders", "isMut": true, @@ -21522,12 +22013,14 @@ export const IDL: MangoV4 = { }, { "name": "openbookV2MarketExternal", - "isMut": false, + "isMut": true, "isSigner": false, "relations": [ "bids", "asks", - "event_heap" + "event_heap", + "market_base_vault", + "market_quote_vault" ] }, { @@ -21590,6 +22083,11 @@ export const IDL: MangoV4 = { "name": "tokenProgram", "isMut": false, "isSigner": false + }, + { + "name": "systemProgram", + "isMut": false, + "isSigner": false } ], "args": [ @@ -21664,6 +22162,14 @@ export const IDL: MangoV4 = { { "name": "limit", "type": "u8" + }, + { + "name": "sideOpt", + "type": { + "option": { + "defined": "OpenbookV2Side" + } + } } ] }, @@ -22054,7 +22560,7 @@ export const IDL: MangoV4 = { { "name": "potentialSerumTokens", "docs": [ - "Largest amount of tokens that might be added the the bank based on", + "Largest amount of tokens that might be added the bank based on", "serum open order execution." ], "type": "u64" @@ -22164,12 +22670,29 @@ export const IDL: MangoV4 = { ], "type": "f32" }, + { + "name": "padding2", + "type": { + "array": [ + "u8", + 4 + ] + } + }, + { + "name": "potentialOpenbookTokens", + "docs": [ + "Largest amount of tokens that might be added the bank based on", + "oenbook open order execution." + ], + "type": "u64" + }, { "name": "reserved", "type": { "array": [ "u8", - 1900 + 1888 ] } } @@ -22532,12 +23055,24 @@ export const IDL: MangoV4 = { } } }, + { + "name": "padding9", + "type": "u32" + }, + { + "name": "openbookV2", + "type": { + "vec": { + "defined": "OpenbookV2Orders" + } + } + }, { "name": "reservedDynamic", "type": { "array": [ "u8", - 64 + 56 ] } } @@ -22633,6 +23168,10 @@ export const IDL: MangoV4 = { "name": "quoteTokenIndex", "type": "u16" }, + { + "name": "marketIndex", + "type": "u16" + }, { "name": "reduceOnly", "type": "u8" @@ -22641,15 +23180,6 @@ export const IDL: MangoV4 = { "name": "forceClose", "type": "u8" }, - { - "name": "padding1", - "type": { - "array": [ - "u8", - 2 - ] - } - }, { "name": "name", "type": { @@ -22668,32 +23198,29 @@ export const IDL: MangoV4 = { "type": "publicKey" }, { - "name": "marketIndex", - "type": "u16" - }, - { - "name": "bump", - "type": "u8" + "name": "registrationTime", + "type": "u64" }, { - "name": "padding2", - "type": { - "array": [ - "u8", - 5 - ] - } + "name": "oraclePriceBand", + "docs": [ + "Limit orders must be <= oracle * (1+band) and >= oracle / (1+band)", + "", + "Zero value is the default due to migration and disables the limit,", + "same as f32::MAX." + ], + "type": "f32" }, { - "name": "registrationTime", - "type": "u64" + "name": "bump", + "type": "u8" }, { "name": "reserved", "type": { "array": [ "u8", - 512 + 1027 ] } } @@ -23711,7 +24238,117 @@ export const IDL: MangoV4 = { "type": "f64" }, { - "name": "cumulativeBorrowInterest", + "name": "cumulativeBorrowInterest", + "type": "f64" + }, + { + "name": "reserved", + "type": { + "array": [ + "u8", + 128 + ] + } + } + ] + } + }, + { + "name": "Serum3Orders", + "type": { + "kind": "struct", + "fields": [ + { + "name": "openOrders", + "type": "publicKey" + }, + { + "name": "baseBorrowsWithoutFee", + "docs": [ + "Tracks the amount of borrows that have flowed into the serum open orders account.", + "These borrows did not have the loan origination fee applied, and that may happen", + "later (in serum3_settle_funds) if we can guarantee that the funds were used.", + "In particular a place-on-book, cancel, settle should not cost fees." + ], + "type": "u64" + }, + { + "name": "quoteBorrowsWithoutFee", + "type": "u64" + }, + { + "name": "marketIndex", + "type": "u16" + }, + { + "name": "baseTokenIndex", + "docs": [ + "Store the base/quote token index, so health computations don't need", + "to get passed the static SerumMarket to find which tokens a market", + "uses and look up the correct oracles." + ], + "type": "u16" + }, + { + "name": "quoteTokenIndex", + "type": "u16" + }, + { + "name": "padding", + "type": { + "array": [ + "u8", + 2 + ] + } + }, + { + "name": "highestPlacedBidInv", + "docs": [ + "Track something like the highest open bid / lowest open ask, in native/native units.", + "", + "Tracking it exactly isn't possible since we don't see fills. So instead track", + "the min/max of the _placed_ bids and asks.", + "", + "The value is reset in serum3_place_order when a new order is placed without an", + "existing one on the book.", + "", + "0 is a special \"unset\" state." + ], + "type": "f64" + }, + { + "name": "lowestPlacedAsk", + "type": "f64" + }, + { + "name": "potentialBaseTokens", + "docs": [ + "An overestimate of the amount of tokens that might flow out of the open orders account.", + "", + "The bank still considers these amounts user deposits (see Bank::potential_serum_tokens)", + "and that value needs to be updated in conjunction with these numbers.", + "", + "This estimation is based on the amount of tokens in the open orders account", + "(see update_bank_potential_tokens() in serum3_place_order and settle)" + ], + "type": "u64" + }, + { + "name": "potentialQuoteTokens", + "type": "u64" + }, + { + "name": "lowestPlacedBidInv", + "docs": [ + "Track lowest bid/highest ask, same way as for highest bid/lowest ask.", + "", + "0 is a special \"unset\" state." + ], + "type": "f64" + }, + { + "name": "highestPlacedAsk", "type": "f64" }, { @@ -23719,7 +24356,7 @@ export const IDL: MangoV4 = { "type": { "array": [ "u8", - 128 + 16 ] } } @@ -23727,7 +24364,7 @@ export const IDL: MangoV4 = { } }, { - "name": "Serum3Orders", + "name": "OpenbookV2Orders", "type": { "kind": "struct", "fields": [ @@ -23738,9 +24375,9 @@ export const IDL: MangoV4 = { { "name": "baseBorrowsWithoutFee", "docs": [ - "Tracks the amount of borrows that have flowed into the serum open orders account.", + "Tracks the amount of borrows that have flowed into the open orders account.", "These borrows did not have the loan origination fee applied, and that may happen", - "later (in serum3_settle_funds) if we can guarantee that the funds were used.", + "later (in openbook_v2_settle_funds) if we can guarantee that the funds were used.", "In particular a place-on-book, cancel, settle should not cost fees." ], "type": "u64" @@ -23749,32 +24386,6 @@ export const IDL: MangoV4 = { "name": "quoteBorrowsWithoutFee", "type": "u64" }, - { - "name": "marketIndex", - "type": "u16" - }, - { - "name": "baseTokenIndex", - "docs": [ - "Store the base/quote token index, so health computations don't need", - "to get passed the static SerumMarket to find which tokens a market", - "uses and look up the correct oracles." - ], - "type": "u16" - }, - { - "name": "quoteTokenIndex", - "type": "u16" - }, - { - "name": "padding", - "type": { - "array": [ - "u8", - 2 - ] - } - }, { "name": "highestPlacedBidInv", "docs": [ @@ -23783,7 +24394,7 @@ export const IDL: MangoV4 = { "Tracking it exactly isn't possible since we don't see fills. So instead track", "the min/max of the _placed_ bids and asks.", "", - "The value is reset in serum3_place_order when a new order is placed without an", + "The value is reset in openbook_v2_place_order when a new order is placed without an", "existing one on the book.", "", "0 is a special \"unset\" state." @@ -23799,11 +24410,11 @@ export const IDL: MangoV4 = { "docs": [ "An overestimate of the amount of tokens that might flow out of the open orders account.", "", - "The bank still considers these amounts user deposits (see Bank::potential_serum_tokens)", + "The bank still considers these amounts user deposits (see Bank::potential_openbook_tokens)", "and that value needs to be updated in conjunction with these numbers.", "", "This estimation is based on the amount of tokens in the open orders account", - "(see update_bank_potential_tokens() in serum3_place_order and settle)" + "(see update_bank_potential_tokens() in openbook_v2_place_order and settle)" ], "type": "u64" }, @@ -23824,12 +24435,43 @@ export const IDL: MangoV4 = { "name": "highestPlacedAsk", "type": "f64" }, + { + "name": "quoteLotSize", + "docs": [ + "Stores the market's lot sizes", + "", + "Needed because the obv2 open orders account tells us about reserved amounts in lots and", + "we want to be able to compute health without also loading the obv2 market." + ], + "type": "i64" + }, + { + "name": "baseLotSize", + "type": "i64" + }, + { + "name": "marketIndex", + "type": "u16" + }, + { + "name": "baseTokenIndex", + "docs": [ + "Store the base/quote token index, so health computations don't need", + "to get passed the static SerumMarket to find which tokens a market", + "uses and look up the correct oracles." + ], + "type": "u16" + }, + { + "name": "quoteTokenIndex", + "type": "u16" + }, { "name": "reserved", "type": { "array": [ "u8", - 16 + 162 ] } } @@ -25183,6 +25825,77 @@ export const IDL: MangoV4 = { ] } }, + { + "name": "OpenbookV2PlaceOrderType", + "type": { + "kind": "enum", + "variants": [ + { + "name": "Limit" + }, + { + "name": "ImmediateOrCancel" + }, + { + "name": "PostOnly" + }, + { + "name": "Market" + }, + { + "name": "PostOnlySlide" + } + ] + } + }, + { + "name": "OpenbookV2PostOrderType", + "type": { + "kind": "enum", + "variants": [ + { + "name": "Limit" + }, + { + "name": "PostOnly" + }, + { + "name": "PostOnlySlide" + } + ] + } + }, + { + "name": "OpenbookV2SelfTradeBehavior", + "type": { + "kind": "enum", + "variants": [ + { + "name": "DecrementTake" + }, + { + "name": "CancelProvide" + }, + { + "name": "AbortTransaction" + } + ] + } + }, + { + "name": "OpenbookV2Side", + "type": { + "kind": "enum", + "variants": [ + { + "name": "Bid" + }, + { + "name": "Ask" + } + ] + } + }, { "name": "Serum3SelfTradeBehavior", "docs": [ @@ -25267,6 +25980,26 @@ export const IDL: MangoV4 = { ] } }, + { + "name": "SpotMarketIndex", + "type": { + "kind": "enum", + "variants": [ + { + "name": "Serum3", + "fields": [ + "u16" + ] + }, + { + "name": "OpenbookV2", + "fields": [ + "u16" + ] + } + ] + } + }, { "name": "LoanOriginationFeeInstruction", "type": { @@ -25295,6 +26028,15 @@ export const IDL: MangoV4 = { }, { "name": "TokenConditionalSwapTrigger" + }, + { + "name": "OpenbookV2LiqForceCancelOrders" + }, + { + "name": "OpenbookV2PlaceOrder" + }, + { + "name": "OpenbookV2SettleFunds" } ] } @@ -25543,6 +26285,9 @@ export const IDL: MangoV4 = { }, { "name": "HealthCheck" + }, + { + "name": "OpenbookV2CancelAllOrders" } ] } @@ -26933,6 +27678,61 @@ export const IDL: MangoV4 = { } ] }, + { + "name": "OpenbookV2OpenOrdersBalanceLog", + "fields": [ + { + "name": "mangoGroup", + "type": "publicKey", + "index": false + }, + { + "name": "mangoAccount", + "type": "publicKey", + "index": false + }, + { + "name": "marketIndex", + "type": "u16", + "index": false + }, + { + "name": "baseTokenIndex", + "type": "u16", + "index": false + }, + { + "name": "quoteTokenIndex", + "type": "u16", + "index": false + }, + { + "name": "baseTotal", + "type": "u64", + "index": false + }, + { + "name": "baseFree", + "type": "u64", + "index": false + }, + { + "name": "quoteTotal", + "type": "u64", + "index": false + }, + { + "name": "quoteFree", + "type": "u64", + "index": false + }, + { + "name": "referrerRebatesAccrued", + "type": "u64", + "index": false + } + ] + }, { "name": "WithdrawLoanOriginationFeeLog", "fields": [ @@ -27299,6 +28099,46 @@ export const IDL: MangoV4 = { } ] }, + { + "name": "OpenbookV2RegisterMarketLog", + "fields": [ + { + "name": "mangoGroup", + "type": "publicKey", + "index": false + }, + { + "name": "openbookMarket", + "type": "publicKey", + "index": false + }, + { + "name": "marketIndex", + "type": "u16", + "index": false + }, + { + "name": "baseTokenIndex", + "type": "u16", + "index": false + }, + { + "name": "quoteTokenIndex", + "type": "u16", + "index": false + }, + { + "name": "openbookProgram", + "type": "publicKey", + "index": false + }, + { + "name": "openbookMarketExternal", + "type": "publicKey", + "index": false + } + ] + }, { "name": "PerpLiqBaseOrPositivePnlLog", "fields": [ @@ -28708,8 +29548,8 @@ export const IDL: MangoV4 = { }, { "code": 6034, - "name": "HasOpenOrUnsettledSerum3Orders", - "msg": "there are open or unsettled serum3 orders" + "name": "HasOpenOrUnsettledSpotOrders", + "msg": "there are open or unsettled spot orders" }, { "code": 6035, @@ -28843,7 +29683,7 @@ export const IDL: MangoV4 = { }, { "code": 6061, - "name": "Serum3PriceBandExceeded", + "name": "SpotPriceBandExceeded", "msg": "the market does not allow limit orders too far from the current oracle value" }, { @@ -28900,6 +29740,16 @@ export const IDL: MangoV4 = { "code": 6072, "name": "InvalidHealth", "msg": "invalid health" + }, + { + "code": 6073, + "name": "NoFreeOpenbookV2OpenOrdersIndex", + "msg": "no free openbook v2 open orders index" + }, + { + "code": 6074, + "name": "OpenbookV2OpenOrdersExistAlready", + "msg": "openbook v2 open orders exist already" } ] }; diff --git a/ts/client/src/utils.ts b/ts/client/src/utils.ts index 6493a38d3a..b460dd3793 100644 --- a/ts/client/src/utils.ts +++ b/ts/client/src/utils.ts @@ -1,10 +1,12 @@ -import { AnchorProvider } from '@coral-xyz/anchor'; +import { AnchorProvider, Wallet } from '@coral-xyz/anchor'; import { AddressLookupTableAccount, + Keypair, MessageV0, PublicKey, Signer, SystemProgram, + Transaction, TransactionInstruction, VersionedTransaction, } from '@solana/web3.js'; @@ -209,6 +211,25 @@ export async function buildVersionedTx( return vTx; } +export class EmptyWallet implements Wallet { + constructor(readonly payer: Keypair) {} + + async signTransaction( + tx: T, + ): Promise { + return tx; + } + async signAllTransactions( + txs: T[], + ): Promise { + return txs; + } + + get publicKey(): PublicKey { + return this.payer.publicKey; + } +} + /// /// ts extension /// diff --git a/tsconfig.json b/tsconfig.json index 4f982d6b2b..51a6f69f1b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -8,7 +8,7 @@ "resolveJsonModule": true, "skipLibCheck": true, "strictNullChecks": true, - "target": "esnext", + "target": "esnext" }, "ts-node": { // these options are overrides used only by ts-node @@ -17,7 +17,6 @@ "module": "commonjs" } }, - "include": [ - "ts/client/src" - ] -} \ No newline at end of file + "include": ["ts/client/src"], + "exclude": ["ts/client/scripts"] +} diff --git a/yarn.lock b/yarn.lock index 0f420b723e..157331ea19 100644 --- a/yarn.lock +++ b/yarn.lock @@ -54,15 +54,14 @@ resolved "https://registry.yarnpkg.com/@colors/colors/-/colors-1.5.0.tgz#bb504579c1cae923e6576a4f5da43d25f97bdbd9" integrity sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ== -"@coral-xyz/anchor@^0.26.0", "@coral-xyz/anchor@^0.28.1-beta.2": - version "0.28.1-beta.2" - resolved "https://registry.yarnpkg.com/@coral-xyz/anchor/-/anchor-0.28.1-beta.2.tgz#4ddd4b2b66af04407be47cf9524147793ec514a0" - integrity sha512-xreUcOFF8+IQKWOBUrDKJbIw2ftpRVybFlEPVrbSlOBCbreCWrQ5754Gt9cHIcuBDAzearCDiBqzsGQdNgPJiw== +"@coral-xyz/anchor@^0.26.0", "@coral-xyz/anchor@^0.28.1-beta.2", "@coral-xyz/anchor@^0.29.0": + version "0.29.0" + resolved "https://registry.yarnpkg.com/@coral-xyz/anchor/-/anchor-0.29.0.tgz#bd0be95bedfb30a381c3e676e5926124c310ff12" + integrity sha512-eny6QNG0WOwqV0zQ7cs/b1tIuzZGmP7U7EcH+ogt4Gdbl8HDmIYVMh/9aTmYZPaFWjtUaI8qSn73uYEXWfATdA== dependencies: - "@coral-xyz/borsh" "^0.28.0" + "@coral-xyz/borsh" "^0.29.0" "@noble/hashes" "^1.3.1" "@solana/web3.js" "^1.68.0" - base64-js "^1.5.1" bn.js "^5.1.2" bs58 "^4.0.1" buffer-layout "^1.2.2" @@ -75,10 +74,10 @@ superstruct "^0.15.4" toml "^3.0.0" -"@coral-xyz/borsh@^0.28.0": - version "0.28.0" - resolved "https://registry.yarnpkg.com/@coral-xyz/borsh/-/borsh-0.28.0.tgz#fa368a2f2475bbf6f828f4657f40a52102e02b6d" - integrity sha512-/u1VTzw7XooK7rqeD7JLUSwOyRSesPUk0U37BV9zK0axJc1q0nRbKFGFLYCQ16OtdOJTTwGfGp11Lx9B45bRCQ== +"@coral-xyz/borsh@^0.29.0": + version "0.29.0" + resolved "https://registry.yarnpkg.com/@coral-xyz/borsh/-/borsh-0.29.0.tgz#79f7045df2ef66da8006d47f5399c7190363e71f" + integrity sha512-s7VFVa3a0oqpkuRloWVPdCK7hMbAMY270geZOGfCnaqexrP5dTIpbEHL33req6IYPPJ0hYa71cdvJ1h6V55/oQ== dependencies: bn.js "^5.1.2" buffer-layout "^1.2.0" @@ -169,11 +168,16 @@ dependencies: "@noble/hashes" "1.3.3" -"@noble/hashes@1.3.3", "@noble/hashes@^1.3.1", "@noble/hashes@^1.3.2": +"@noble/hashes@1.3.3": version "1.3.3" resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.3.3.tgz#39908da56a4adc270147bb07968bf3b16cfe1699" integrity sha512-V7/fPHgl+jsVPXqqeOzT8egNj2iBIVt+ECeMMG8TdcnTikP3oaBtUVqpT/gYCR68aEBJSF+XbYUxStjbFMqIIA== +"@noble/hashes@^1.3.1", "@noble/hashes@^1.3.2", "@noble/hashes@^1.3.3": + version "1.4.0" + resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.4.0.tgz#45814aa329f30e4fe0ba49426f49dfccdd066426" + integrity sha512-V1JJ1WTRUqHHrOSh597hURcMqVKVGL/ea3kv0gSnEdsEZ0/+VyPghM1lMNGc00z7CIQorSvbKpuJkxvuHbvdbg== + "@nodelib/fs.scandir@2.1.5": version "2.1.5" resolved "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz" @@ -195,6 +199,16 @@ "@nodelib/fs.scandir" "2.1.5" fastq "^1.6.0" +"@openbook-dex/openbook-v2@^0.1.2": + version "0.1.10" + resolved "https://registry.yarnpkg.com/@openbook-dex/openbook-v2/-/openbook-v2-0.1.10.tgz#8c7ba941d9d15376726864a0cfffd3561ed4778f" + integrity sha512-k462N5YwCPxWGWNxUGPwXxhdnObkiQKKhgzAk58S2nekkqeimChM2ljUk3Zd/qPOIgR4mtfVDvoMHrxJ0H6R9g== + dependencies: + "@coral-xyz/anchor" "^0.28.1-beta.2" + "@solana/spl-token" "0.3.8" + "@solana/web3.js" "^1.77.3" + big.js "^6.2.1" + "@project-serum/anchor@^0.11.1": version "0.11.1" resolved "https://registry.npmjs.org/@project-serum/anchor/-/anchor-0.11.1.tgz" @@ -301,6 +315,15 @@ "@solana/buffer-layout-utils" "^0.2.0" buffer "^6.0.3" +"@solana/spl-token@0.3.8": + version "0.3.8" + resolved "https://registry.yarnpkg.com/@solana/spl-token/-/spl-token-0.3.8.tgz#8e9515ea876e40a4cc1040af865f61fc51d27edf" + integrity sha512-ogwGDcunP9Lkj+9CODOWMiVJEdRtqHAtX2rWF62KxnnSWtMZtV9rDhTrZFshiyJmxDnRL/1nKE1yJHg4jjs3gg== + dependencies: + "@solana/buffer-layout" "^4.0.0" + "@solana/buffer-layout-utils" "^0.2.0" + buffer "^6.0.3" + "@solana/spl-token@^0.1.6": version "0.1.8" resolved "https://registry.npmjs.org/@solana/spl-token/-/spl-token-0.1.8.tgz" @@ -313,14 +336,14 @@ buffer-layout "^1.2.0" dotenv "10.0.0" -"@solana/web3.js@^1.17.0", "@solana/web3.js@^1.21.0", "@solana/web3.js@^1.22.0", "@solana/web3.js@^1.32.0", "@solana/web3.js@^1.36.0", "@solana/web3.js@^1.68.0", "@solana/web3.js@^1.78.2", "@solana/web3.js@^1.88.0": - version "1.88.0" - resolved "https://registry.yarnpkg.com/@solana/web3.js/-/web3.js-1.88.0.tgz#24e1482f63ac54914430b4ce5ab36eaf433ecdb8" - integrity sha512-E4BdfB0HZpb66OPFhIzPApNE2tG75Mc6XKIoeymUkx/IV+USSYuxDX29sjgE/KGNYxggrOf4YuYnRMI6UiPL8w== +"@solana/web3.js@^1.17.0", "@solana/web3.js@^1.21.0", "@solana/web3.js@^1.22.0", "@solana/web3.js@^1.32.0", "@solana/web3.js@^1.36.0", "@solana/web3.js@^1.68.0", "@solana/web3.js@^1.77.3", "@solana/web3.js@^1.78.2", "@solana/web3.js@^1.88.0": + version "1.91.4" + resolved "https://registry.yarnpkg.com/@solana/web3.js/-/web3.js-1.91.4.tgz#b80295ce72aa125930dfc5b41b4b4e3f85fd87fa" + integrity sha512-zconqecIcBqEF6JiM4xYF865Xc4aas+iWK5qnu7nwKPq9ilRYcn+2GiwpYXqUqqBUe0XCO17w18KO0F8h+QATg== dependencies: "@babel/runtime" "^7.23.4" "@noble/curves" "^1.2.0" - "@noble/hashes" "^1.3.2" + "@noble/hashes" "^1.3.3" "@solana/buffer-layout" "^4.0.1" agentkeepalive "^4.5.0" bigint-buffer "^1.1.5" @@ -694,9 +717,9 @@ base64-js@^1.3.1, base64-js@^1.5.1: resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== -big.js@^6.1.1: +big.js@^6.1.1, big.js@^6.2.1: version "6.2.1" - resolved "https://registry.npmjs.org/big.js/-/big.js-6.2.1.tgz" + resolved "https://registry.yarnpkg.com/big.js/-/big.js-6.2.1.tgz#7205ce763efb17c2e41f26f121c420c6a7c2744f" integrity sha512-bCtHMwL9LeDIozFn+oNhhFoq+yQ3BNdnsLSASUxLciOb1vgvpHsIO1dsENiGMgbb4SkP5TrzWzRiLddn8ahVOQ== bigint-buffer@^1.1.5: From ec2d10af6e822a9caf74bdc8dc5e635578ca9552 Mon Sep 17 00:00:00 2001 From: Christian Kamm Date: Tue, 23 Apr 2024 09:17:53 +0200 Subject: [PATCH 18/28] Allow the insurance fund to be for any bank (#946) Co-authored-by: microwavedcola1 --- lib/client/src/client.rs | 26 +- mango_v4.json | 83 +++++ .../group_change_insurance_fund.rs | 66 ++++ programs/mango-v4/src/accounts_ix/mod.rs | 2 + .../perp_liq_negative_pnl_or_bankruptcy.rs | 2 +- .../src/accounts_ix/token_liq_bankruptcy.rs | 2 +- .../group_change_insurance_fund.rs | 24 ++ .../mango-v4/src/instructions/ix_gate_set.rs | 1 + programs/mango-v4/src/instructions/mod.rs | 2 + .../src/instructions/token_liq_bankruptcy.rs | 82 +++-- .../src/instructions/token_register.rs | 7 - programs/mango-v4/src/lib.rs | 6 + programs/mango-v4/src/state/group.rs | 6 +- .../tests/cases/test_bankrupt_tokens.rs | 336 ++++++++++++++++-- .../tests/cases/test_liq_perps_bankruptcy.rs | 300 ++++++++++++++++ .../tests/program_test/mango_client.rs | 116 ++++-- ts/client/src/client.ts | 18 + ts/client/src/clientIxParamBuilder.ts | 3 + ts/client/src/mango_v4.ts | 166 +++++++++ 19 files changed, 1129 insertions(+), 119 deletions(-) create mode 100644 programs/mango-v4/src/accounts_ix/group_change_insurance_fund.rs create mode 100644 programs/mango-v4/src/instructions/group_change_insurance_fund.rs diff --git a/lib/client/src/client.rs b/lib/client/src/client.rs index 81fa30aeca..96d9390a1e 100644 --- a/lib/client/src/client.rs +++ b/lib/client/src/client.rs @@ -25,7 +25,6 @@ use mango_v4::health::HealthCache; use mango_v4::state::{ Bank, Group, MangoAccountValue, OpenbookV2MarketIndex, OracleAccountInfos, PerpMarket, PerpMarketIndex, PlaceOrderType, SelfTradeBehavior, Serum3MarketIndex, Side, TokenIndex, - INSURANCE_TOKEN_INDEX, }; use crate::confirm_transaction::{wait_for_transaction_confirmation, RpcConfirmTransactionConfig}; @@ -1854,13 +1853,13 @@ impl MangoClient { let mango_account = &self.mango_account().await?; let perp = self.context.perp(market_index); let settle_token_info = self.context.token(perp.settle_token_index); - let insurance_token_info = self.context.token(INSURANCE_TOKEN_INDEX); + let insurance_token_info = self.context.token_by_mint(&group.insurance_mint)?; let (health_remaining_ams, health_cu) = self .derive_health_check_remaining_account_metas_two_accounts( mango_account, liqee.1, - &[INSURANCE_TOKEN_INDEX], + &[insurance_token_info.token_index], &[], ) .await @@ -2008,10 +2007,15 @@ impl MangoClient { liab_token_index: TokenIndex, max_liab_transfer: I80F48, ) -> anyhow::Result { + let group = account_fetcher_fetch_anchor_account::( + &*self.account_fetcher, + &self.context.group, + ) + .await?; + let mango_account = &self.mango_account().await?; - let quote_token_index = 0; - let quote_info = self.context.token(quote_token_index); + let insurance_info = self.context.token_by_mint(&group.insurance_mint)?; let liab_info = self.context.token(liab_token_index); let bank_remaining_ams = liab_info @@ -2024,18 +2028,12 @@ impl MangoClient { .derive_health_check_remaining_account_metas_two_accounts( mango_account, liqee.1, - &[INSURANCE_TOKEN_INDEX], - &[quote_token_index, liab_token_index], + &[insurance_info.token_index], + &[insurance_info.token_index, liab_token_index], ) .await .unwrap(); - let group = account_fetcher_fetch_anchor_account::( - &*self.account_fetcher, - &self.context.group, - ) - .await?; - let ix = Instruction { program_id: mango_v4::id(), accounts: { @@ -2046,7 +2044,7 @@ impl MangoClient { liqor: self.mango_account_address, liqor_owner: self.owner(), liab_mint_info: liab_info.mint_info_address, - quote_vault: quote_info.first_vault(), + quote_vault: insurance_info.first_vault(), insurance_vault: group.insurance_vault, token_program: Token::id(), }, diff --git a/mango_v4.json b/mango_v4.json index b6e6091ea3..93da805f83 100644 --- a/mango_v4.json +++ b/mango_v4.json @@ -326,6 +326,86 @@ } ] }, + { + "name": "groupChangeInsuranceFund", + "accounts": [ + { + "name": "group", + "isMut": true, + "isSigner": false, + "relations": [ + "insurance_vault", + "admin" + ] + }, + { + "name": "admin", + "isMut": false, + "isSigner": true + }, + { + "name": "insuranceVault", + "isMut": true, + "isSigner": false + }, + { + "name": "withdrawDestination", + "isMut": true, + "isSigner": false + }, + { + "name": "newInsuranceMint", + "isMut": false, + "isSigner": false + }, + { + "name": "newInsuranceVault", + "isMut": true, + "isSigner": false, + "pda": { + "seeds": [ + { + "kind": "const", + "type": "string", + "value": "InsuranceVault" + }, + { + "kind": "account", + "type": "publicKey", + "path": "group" + }, + { + "kind": "account", + "type": "publicKey", + "account": "Mint", + "path": "new_insurance_mint" + } + ] + } + }, + { + "name": "payer", + "isMut": true, + "isSigner": true + }, + { + "name": "tokenProgram", + "isMut": false, + "isSigner": false + }, + { + "name": "systemProgram", + "isMut": false, + "isSigner": false + }, + { + "name": "rent", + "isMut": false, + "isSigner": false + } + ], + "args": [] + }, { "name": "ixGateSet", "accounts": [ @@ -11410,6 +11490,9 @@ }, { "name": "OpenbookV2CancelAllOrders" + }, + { + "name": "GroupChangeInsuranceFund" } ] } diff --git a/programs/mango-v4/src/accounts_ix/group_change_insurance_fund.rs b/programs/mango-v4/src/accounts_ix/group_change_insurance_fund.rs new file mode 100644 index 0000000000..61478fa4f3 --- /dev/null +++ b/programs/mango-v4/src/accounts_ix/group_change_insurance_fund.rs @@ -0,0 +1,66 @@ +use crate::{error::MangoError, state::*}; +use anchor_lang::prelude::*; +use anchor_spl::token::{self, Mint, Token, TokenAccount}; + +#[derive(Accounts)] +pub struct GroupChangeInsuranceFund<'info> { + #[account( + mut, + has_one = insurance_vault, + has_one = admin, + constraint = group.load()?.is_ix_enabled(IxGate::GroupChangeInsuranceFund) @ MangoError::IxIsDisabled, + )] + pub group: AccountLoader<'info, Group>, + pub admin: Signer<'info>, + + #[account( + mut, + close = payer, + )] + pub insurance_vault: Account<'info, TokenAccount>, + + #[account(mut)] + pub withdraw_destination: Account<'info, TokenAccount>, + + pub new_insurance_mint: Account<'info, Mint>, + + #[account( + init, + seeds = [b"InsuranceVault".as_ref(), group.key().as_ref(), new_insurance_mint.key().as_ref()], + bump, + token::authority = group, + token::mint = new_insurance_mint, + payer = payer + )] + pub new_insurance_vault: Account<'info, TokenAccount>, + + #[account(mut)] + pub payer: Signer<'info>, + + pub token_program: Program<'info, Token>, + pub system_program: Program<'info, System>, + pub rent: Sysvar<'info, Rent>, +} + +impl<'info> GroupChangeInsuranceFund<'info> { + pub fn transfer_ctx(&self) -> CpiContext<'_, '_, '_, 'info, token::Transfer<'info>> { + let program = self.token_program.to_account_info(); + let accounts = token::Transfer { + from: self.insurance_vault.to_account_info(), + to: self.withdraw_destination.to_account_info(), + authority: self.group.to_account_info(), + }; + CpiContext::new(program, accounts) + } + + pub fn close_ctx(&self) -> CpiContext<'_, '_, '_, 'info, token::CloseAccount<'info>> { + CpiContext::new( + self.token_program.to_account_info(), + token::CloseAccount { + account: self.insurance_vault.to_account_info(), + destination: self.payer.to_account_info(), + authority: self.group.to_account_info(), + }, + ) + } +} diff --git a/programs/mango-v4/src/accounts_ix/mod.rs b/programs/mango-v4/src/accounts_ix/mod.rs index d5573fe4ad..eb040bc530 100644 --- a/programs/mango-v4/src/accounts_ix/mod.rs +++ b/programs/mango-v4/src/accounts_ix/mod.rs @@ -12,6 +12,7 @@ pub use alt_set::*; pub use benchmark::*; pub use compute_account_data::*; pub use flash_loan::*; +pub use group_change_insurance_fund::*; pub use group_close::*; pub use group_create::*; pub use group_edit::*; @@ -91,6 +92,7 @@ mod alt_set; mod benchmark; mod compute_account_data; mod flash_loan; +mod group_change_insurance_fund; mod group_close; mod group_create; mod group_edit; diff --git a/programs/mango-v4/src/accounts_ix/perp_liq_negative_pnl_or_bankruptcy.rs b/programs/mango-v4/src/accounts_ix/perp_liq_negative_pnl_or_bankruptcy.rs index f389934948..e78363fbcd 100644 --- a/programs/mango-v4/src/accounts_ix/perp_liq_negative_pnl_or_bankruptcy.rs +++ b/programs/mango-v4/src/accounts_ix/perp_liq_negative_pnl_or_bankruptcy.rs @@ -115,7 +115,7 @@ pub struct PerpLiqNegativePnlOrBankruptcyV2<'info> { #[account( mut, has_one = group, - constraint = insurance_bank.load()?.token_index == INSURANCE_TOKEN_INDEX + constraint = insurance_bank.load()?.mint == insurance_vault.mint, )] pub insurance_bank: AccountLoader<'info, Bank>, diff --git a/programs/mango-v4/src/accounts_ix/token_liq_bankruptcy.rs b/programs/mango-v4/src/accounts_ix/token_liq_bankruptcy.rs index b5a3515263..f31555262e 100644 --- a/programs/mango-v4/src/accounts_ix/token_liq_bankruptcy.rs +++ b/programs/mango-v4/src/accounts_ix/token_liq_bankruptcy.rs @@ -8,7 +8,7 @@ use crate::state::*; // Remaining accounts: // - all banks for liab_mint_info (writable) -// - merged health accounts for liqor+liqee +// - merged health accounts for liqor + liqee, including the bank for the insurance token #[derive(Accounts)] pub struct TokenLiqBankruptcy<'info> { #[account( diff --git a/programs/mango-v4/src/instructions/group_change_insurance_fund.rs b/programs/mango-v4/src/instructions/group_change_insurance_fund.rs new file mode 100644 index 0000000000..c3c11190f0 --- /dev/null +++ b/programs/mango-v4/src/instructions/group_change_insurance_fund.rs @@ -0,0 +1,24 @@ +use anchor_lang::prelude::*; +use anchor_spl::token; + +use crate::{accounts_ix::GroupChangeInsuranceFund, group_seeds}; + +pub fn group_change_insurance_fund(ctx: Context) -> Result<()> { + { + let group = ctx.accounts.group.load()?; + let group_seeds = group_seeds!(group); + token::transfer( + ctx.accounts.transfer_ctx().with_signer(&[group_seeds]), + ctx.accounts.insurance_vault.amount, + )?; + token::close_account(ctx.accounts.close_ctx().with_signer(&[group_seeds]))?; + } + + { + let mut group = ctx.accounts.group.load_mut()?; + group.insurance_vault = ctx.accounts.new_insurance_vault.key(); + group.insurance_mint = ctx.accounts.new_insurance_mint.key(); + } + + Ok(()) +} diff --git a/programs/mango-v4/src/instructions/ix_gate_set.rs b/programs/mango-v4/src/instructions/ix_gate_set.rs index 69ddf6cb7f..d04d385655 100644 --- a/programs/mango-v4/src/instructions/ix_gate_set.rs +++ b/programs/mango-v4/src/instructions/ix_gate_set.rs @@ -99,6 +99,7 @@ pub fn ix_gate_set(ctx: Context, ix_gate: u128) -> Result<()> { log_if_changed(&group, ix_gate, IxGate::SequenceCheck); log_if_changed(&group, ix_gate, IxGate::HealthCheck); log_if_changed(&group, ix_gate, IxGate::OpenbookV2CancelAllOrders); + log_if_changed(&group, ix_gate, IxGate::GroupChangeInsuranceFund); group.ix_gate = ix_gate; diff --git a/programs/mango-v4/src/instructions/mod.rs b/programs/mango-v4/src/instructions/mod.rs index d75e0b37cf..c402a0958a 100644 --- a/programs/mango-v4/src/instructions/mod.rs +++ b/programs/mango-v4/src/instructions/mod.rs @@ -12,6 +12,7 @@ pub use alt_set::*; pub use benchmark::*; pub use compute_account_data::*; pub use flash_loan::*; +pub use group_change_insurance_fund::*; pub use group_close::*; pub use group_create::*; pub use group_edit::*; @@ -93,6 +94,7 @@ mod alt_set; mod benchmark; mod compute_account_data; mod flash_loan; +mod group_change_insurance_fund; mod group_close; mod group_create; mod group_edit; diff --git a/programs/mango-v4/src/instructions/token_liq_bankruptcy.rs b/programs/mango-v4/src/instructions/token_liq_bankruptcy.rs index 8cc5e86388..cd04dec11b 100644 --- a/programs/mango-v4/src/instructions/token_liq_bankruptcy.rs +++ b/programs/mango-v4/src/instructions/token_liq_bankruptcy.rs @@ -26,6 +26,23 @@ pub fn token_liq_bankruptcy( let (bank_ais, health_ais) = &ctx.remaining_accounts.split_at(liab_mint_info.num_banks()); liab_mint_info.verify_banks_ais(bank_ais)?; + // find the insurance bank token index + let insurance_mint = ctx.accounts.insurance_vault.mint; + let insurance_token_index = health_ais + .iter() + .find_map(|ai| { + ai.load::() + .and_then(|b| { + if b.mint == insurance_mint { + Ok(b.token_index) + } else { + Err(MangoError::InvalidBank.into()) + } + }) + .ok() + }) + .ok_or_else(|| error_msg!("could not find bank for insurance mint in health accounts"))?; + require_keys_neq!(ctx.accounts.liqor.key(), ctx.accounts.liqee.key()); let mut liqor = ctx.accounts.liqor.load_full_mut()?; @@ -51,10 +68,10 @@ pub fn token_liq_bankruptcy( liqee_health_cache.require_after_phase2_liquidation()?; liqee.fixed.set_being_liquidated(true); - let liab_is_insurance_token = liab_token_index == INSURANCE_TOKEN_INDEX; - let (liab_bank, liab_oracle_price, opt_quote_bank_and_price) = - account_retriever.banks_mut_and_oracles(liab_token_index, INSURANCE_TOKEN_INDEX)?; - assert!(liab_is_insurance_token == opt_quote_bank_and_price.is_none()); + let liab_is_insurance_token = liab_token_index == insurance_token_index; + let (liab_bank, liab_oracle_price, opt_insurance_bank_and_price) = + account_retriever.banks_mut_and_oracles(liab_token_index, insurance_token_index)?; + assert!(liab_is_insurance_token == opt_insurance_bank_and_price.is_none()); let mut liab_deposit_index = liab_bank.deposit_index; let liab_borrow_index = liab_bank.borrow_index; @@ -76,11 +93,12 @@ pub fn token_liq_bankruptcy( // guaranteed positive let mut remaining_liab_loss = (-initial_liab_native).min(-liqee_liab_health_balance); - // We pay for the liab token in quote. Example: SOL is at $20 and USDC is at $2, then for a liab + // We pay for the liab token in insurance token. + // Example: SOL is at $20 and USDC is at $2, then for a liab // of 3 SOL, we'd pay 3 * 20 / 2 * (1+fee) = 30 * (1+fee) USDC. - let liab_to_quote_with_fee = - if let Some((_quote_bank, quote_price)) = opt_quote_bank_and_price.as_ref() { - liab_oracle_price * (I80F48::ONE + liab_bank.liquidation_fee) / quote_price + let liab_to_insurance_with_fee = + if let Some((_insurance_bank, insurance_price)) = opt_insurance_bank_and_price.as_ref() { + liab_oracle_price * (I80F48::ONE + liab_bank.liquidation_fee) / insurance_price } else { I80F48::ONE }; @@ -93,7 +111,7 @@ pub fn token_liq_bankruptcy( 0 }; - let insurance_transfer = (liab_transfer_unrounded * liab_to_quote_with_fee) + let insurance_transfer = (liab_transfer_unrounded * liab_to_insurance_with_fee) .ceil() .to_num::() .min(insurance_vault_amount); @@ -105,7 +123,7 @@ pub fn token_liq_bankruptcy( // AUDIT: v3 does this, but it seems bad, because it can make liab_transfer // exceed max_liab_transfer due to the ceil() above! Otoh, not doing it would allow // liquidators to exploit the insurance fund for 1 native token each call. - let liab_transfer = insurance_transfer_i80f48 / liab_to_quote_with_fee; + let liab_transfer = insurance_transfer_i80f48 / liab_to_insurance_with_fee; let mut liqee_liab_active = true; if insurance_transfer > 0 { @@ -115,36 +133,36 @@ pub fn token_liq_bankruptcy( // update correctly even if dusting happened remaining_liab_loss -= liqee_liab.native(liab_bank) - initial_liab_native; - // move insurance assets into quote bank + // move insurance assets into insurance bank let group_seeds = group_seeds!(group); token::transfer( ctx.accounts.transfer_ctx().with_signer(&[group_seeds]), insurance_transfer, )?; - // move quote assets into liqor and withdraw liab assets - if let Some((quote_bank, _)) = opt_quote_bank_and_price { + // move insurance assets into liqor and withdraw liab assets + if let Some((insurance_bank, _)) = opt_insurance_bank_and_price { // account constraint #2 a) - require_keys_eq!(quote_bank.vault, ctx.accounts.quote_vault.key()); - require_keys_eq!(quote_bank.mint, ctx.accounts.insurance_vault.mint); + require_keys_eq!(insurance_bank.vault, ctx.accounts.quote_vault.key()); + require_keys_eq!(insurance_bank.mint, ctx.accounts.insurance_vault.mint); - let quote_deposit_index = quote_bank.deposit_index; - let quote_borrow_index = quote_bank.borrow_index; + let insurance_deposit_index = insurance_bank.deposit_index; + let insurance_borrow_index = insurance_bank.borrow_index; // credit the liqor - let (liqor_quote, liqor_quote_raw_token_index, _) = - liqor.ensure_token_position(INSURANCE_TOKEN_INDEX)?; - let liqor_quote_active = - quote_bank.deposit(liqor_quote, insurance_transfer_i80f48, now_ts)?; + let (liqor_insurance, liqor_insurance_raw_token_index, _) = + liqor.ensure_token_position(insurance_token_index)?; + let liqor_insurance_active = + insurance_bank.deposit(liqor_insurance, insurance_transfer_i80f48, now_ts)?; - // liqor quote + // liqor insurance emit_stack(TokenBalanceLog { mango_group: ctx.accounts.group.key(), mango_account: ctx.accounts.liqor.key(), - token_index: INSURANCE_TOKEN_INDEX, - indexed_position: liqor_quote.indexed_position.to_bits(), - deposit_index: quote_deposit_index.to_bits(), - borrow_index: quote_borrow_index.to_bits(), + token_index: insurance_token_index, + indexed_position: liqor_insurance.indexed_position.to_bits(), + deposit_index: insurance_deposit_index.to_bits(), + borrow_index: insurance_borrow_index.to_bits(), }); // transfer liab from liqee to liqor @@ -189,9 +207,9 @@ pub fn token_liq_bankruptcy( }); } - if !liqor_quote_active { + if !liqor_insurance_active { liqor.deactivate_token_position_and_log( - liqor_quote_raw_token_index, + liqor_insurance_raw_token_index, ctx.accounts.liqor.key(), ); } @@ -202,12 +220,12 @@ pub fn token_liq_bankruptcy( ); } } else { - // For liab_token_index == INSURANCE_TOKEN_INDEX: the insurance fund deposits directly into liqee, + // For liab_token_index == insurance_token_index: the insurance fund deposits directly into liqee, // without a fee or the liqor being involved // account constraint #2 b) require_keys_eq!(liab_bank.vault, ctx.accounts.quote_vault.key()); - require_eq!(liab_token_index, INSURANCE_TOKEN_INDEX); - require_eq!(liab_to_quote_with_fee, I80F48::ONE); + require_eq!(liab_token_index, insurance_token_index); + require_eq!(liab_to_insurance_with_fee, I80F48::ONE); require_eq!(insurance_transfer_i80f48, liab_transfer); } } @@ -287,7 +305,7 @@ pub fn token_liq_bankruptcy( liab_token_index, initial_liab_native: initial_liab_native.to_bits(), liab_price: liab_oracle_price.to_bits(), - insurance_token_index: INSURANCE_TOKEN_INDEX, + insurance_token_index, insurance_transfer: insurance_transfer_i80f48.to_bits(), socialized_loss: socialized_loss.to_bits(), starting_liab_deposit_index: starting_deposit_index.to_bits(), diff --git a/programs/mango-v4/src/instructions/token_register.rs b/programs/mango-v4/src/instructions/token_register.rs index 88a0229f72..f35bdcfb8c 100644 --- a/programs/mango-v4/src/instructions/token_register.rs +++ b/programs/mango-v4/src/instructions/token_register.rs @@ -47,13 +47,6 @@ pub fn token_register( disable_asset_liquidation: bool, collateral_fee_per_day: f32, ) -> Result<()> { - // Require token 0 to be in the insurance token - if token_index == INSURANCE_TOKEN_INDEX { - require_keys_eq!( - ctx.accounts.group.load()?.insurance_mint, - ctx.accounts.mint.key() - ); - } require_neq!(token_index, TokenIndex::MAX); let now_ts: u64 = Clock::get()?.unix_timestamp.try_into().unwrap(); diff --git a/programs/mango-v4/src/lib.rs b/programs/mango-v4/src/lib.rs index 593f694740..c52592a380 100644 --- a/programs/mango-v4/src/lib.rs +++ b/programs/mango-v4/src/lib.rs @@ -115,6 +115,12 @@ pub mod mango_v4 { Ok(()) } + pub fn group_change_insurance_fund(ctx: Context) -> Result<()> { + #[cfg(feature = "enable-gpl")] + instructions::group_change_insurance_fund(ctx)?; + Ok(()) + } + pub fn ix_gate_set(ctx: Context, ix_gate: u128) -> Result<()> { #[cfg(feature = "enable-gpl")] instructions::ix_gate_set(ctx, ix_gate)?; diff --git a/programs/mango-v4/src/state/group.rs b/programs/mango-v4/src/state/group.rs index d125ac4099..b0b33dda17 100644 --- a/programs/mango-v4/src/state/group.rs +++ b/programs/mango-v4/src/state/group.rs @@ -12,11 +12,6 @@ pub type TokenIndex = u16; /// incorrect assumption. pub const QUOTE_TOKEN_INDEX: TokenIndex = 0; -/// The token index used for the insurance fund. -/// -/// We should eventually generalize insurance funds. -pub const INSURANCE_TOKEN_INDEX: TokenIndex = 0; - /// The token index used for settling perp markets. /// /// We should eventually generalize to make the whole perp quote (and settle) token @@ -245,6 +240,7 @@ pub enum IxGate { SequenceCheck = 73, HealthCheck = 74, OpenbookV2CancelAllOrders = 75, + GroupChangeInsuranceFund = 76, // NOTE: Adding new variants requires matching changes in ts and the ix_gate_set instruction. } diff --git a/programs/mango-v4/tests/cases/test_bankrupt_tokens.rs b/programs/mango-v4/tests/cases/test_bankrupt_tokens.rs index c9ba251bbb..e21ed6d0b9 100644 --- a/programs/mango-v4/tests/cases/test_bankrupt_tokens.rs +++ b/programs/mango-v4/tests/cases/test_bankrupt_tokens.rs @@ -320,36 +320,18 @@ async fn test_bankrupt_tokens_insurance_fund() -> Result<(), TransportError> { } // deposit some funds, to the vaults aren't empty - let vault_account = send_tx( - solana, - AccountCreateInstruction { - account_num: 2, - group, - owner, - payer, - ..Default::default() - }, - ) - .await - .unwrap() - .account; let vault_amount = 100000; - for &token_account in payer_mint_accounts { - send_tx( - solana, - TokenDepositInstruction { - amount: vault_amount, - reduce_only: false, - account: vault_account, - owner, - token_account, - token_authority: payer.clone(), - bank_index: 1, - }, - ) - .await - .unwrap(); - } + let vault_account = create_funded_account( + &solana, + group, + owner, + 2, + &context.users[1], + mints, + vault_amount, + 1, + ) + .await; // Also add a tiny amount to bank0 for borrow_token1, so we can test multi-bank socialized loss. // It must be enough to not trip the borrow limits on the bank. @@ -610,3 +592,299 @@ async fn test_bankrupt_tokens_insurance_fund() -> Result<(), TransportError> { Ok(()) } + +#[tokio::test] +async fn test_bankrupt_tokens_other_insurance_fund() -> Result<(), TransportError> { + let mut test_builder = TestContextBuilder::new(); + test_builder.test().set_compute_max_units(85_000); // TokenLiqWithToken needs 84k + let context = test_builder.start_default().await; + let solana = &context.solana.clone(); + + let admin = TestKeypair::new(); + let owner = context.users[0].key; + let payer = context.users[1].key; + let mints = &context.mints[0..4]; + let payer_mint_accounts = &context.users[1].token_accounts[0..4]; + + // + // SETUP: Create a group and an account to fill the vaults + // + + let mango_setup::GroupWithTokens { + group, + tokens, + insurance_vault, + .. + } = mango_setup::GroupWithTokensConfig { + admin, + payer, + mints: mints.to_vec(), + ..GroupWithTokensConfig::default() + } + .create(solana) + .await; + let borrow_token1 = &tokens[0]; // USDC + let borrow_token2 = &tokens[1]; + let collateral_token1 = &tokens[2]; + let collateral_token2 = &tokens[3]; + let insurance_token = collateral_token2; + + // fund the insurance vault + { + let mut tx = ClientTransaction::new(solana); + tx.add_instruction_direct( + spl_token::instruction::transfer( + &spl_token::ID, + &payer_mint_accounts[0], + &insurance_vault, + &payer.pubkey(), + &[&payer.pubkey()], + 1051, + ) + .unwrap(), + ); + tx.add_signer(payer); + tx.send().await.unwrap(); + } + + // + // TEST: switch the insurance vault mint, reclaiming the deposited tokens + // + let before_withdraw_dest = solana.token_account_balance(payer_mint_accounts[0]).await; + let insurance_vault = send_tx( + solana, + GroupChangeInsuranceFund { + group, + admin, + payer, + insurance_mint: insurance_token.mint.pubkey, + withdraw_destination: payer_mint_accounts[0], + }, + ) + .await + .unwrap() + .new_insurance_vault; + let after_withdraw_dest = solana.token_account_balance(payer_mint_accounts[0]).await; + assert_eq!(after_withdraw_dest - before_withdraw_dest, 1051); + + // SETUP: Fund the new insurance vault + { + let mut tx = ClientTransaction::new(solana); + tx.add_instruction_direct( + spl_token::instruction::transfer( + &spl_token::ID, + &payer_mint_accounts[3], + &insurance_vault, + &payer.pubkey(), + &[&payer.pubkey()], + 2000, + ) + .unwrap(), + ); + tx.add_signer(payer); + tx.send().await.unwrap(); + } + + // deposit some funds, to the vaults aren't empty + let vault_amount = 100000; + let vault_account = create_funded_account( + &solana, + group, + owner, + 2, + &context.users[1], + mints, + vault_amount, + 0, + ) + .await; + + // + // SETUP: Make an account with some collateral and some borrows + // + let account = send_tx( + solana, + AccountCreateInstruction { + account_num: 0, + group, + owner, + payer, + ..Default::default() + }, + ) + .await + .unwrap() + .account; + + let deposit1_amount = 20; + let deposit2_amount = 1000; + send_tx( + solana, + TokenDepositInstruction { + amount: deposit1_amount, + reduce_only: false, + account, + owner, + token_account: payer_mint_accounts[2], + token_authority: payer.clone(), + bank_index: 0, + }, + ) + .await + .unwrap(); + send_tx( + solana, + TokenDepositInstruction { + amount: deposit2_amount, + reduce_only: false, + account, + owner, + token_account: payer_mint_accounts[3], + token_authority: payer.clone(), + bank_index: 0, + }, + ) + .await + .unwrap(); + + let borrow1_amount = 50; + let borrow1_amount_bank0 = 10; + let borrow1_amount_bank1 = borrow1_amount - borrow1_amount_bank0; + let borrow2_amount = 350; + send_tx( + solana, + TokenWithdrawInstruction { + amount: borrow1_amount_bank1, + allow_borrow: true, + account, + owner, + token_account: payer_mint_accounts[0], + bank_index: 0, + }, + ) + .await + .unwrap(); + send_tx( + solana, + TokenWithdrawInstruction { + amount: borrow1_amount_bank0, + allow_borrow: true, + account, + owner, + token_account: payer_mint_accounts[0], + bank_index: 0, + }, + ) + .await + .unwrap(); + send_tx( + solana, + TokenWithdrawInstruction { + amount: borrow2_amount, + allow_borrow: true, + account, + owner, + token_account: payer_mint_accounts[1], + bank_index: 0, + }, + ) + .await + .unwrap(); + + // + // SETUP: Change the oracle to make health go very negative + // and change the insurance token price to verify it has an effect + // + set_bank_stub_oracle_price(solana, group, borrow_token2, admin, 20.0).await; + set_bank_stub_oracle_price(solana, group, insurance_token, admin, 1.5).await; + + // + // SETUP: liquidate all the collateral against borrow2 + // + + // eat collateral1 + send_tx( + solana, + TokenLiqWithTokenInstruction { + liqee: account, + liqor: vault_account, + liqor_owner: owner, + asset_token_index: collateral_token1.index, + asset_bank_index: 1, + liab_token_index: borrow_token2.index, + liab_bank_index: 1, + max_liab_transfer: I80F48::from_num(100000.0), + }, + ) + .await + .unwrap(); + assert!(account_position_closed(solana, account, collateral_token1.bank).await); + let liqee = get_mango_account(solana, account).await; + assert!(liqee.being_liquidated()); + + // eat collateral2, leaving the account bankrupt + send_tx( + solana, + TokenLiqWithTokenInstruction { + liqee: account, + liqor: vault_account, + liqor_owner: owner, + asset_token_index: collateral_token2.index, + asset_bank_index: 1, + liab_token_index: borrow_token2.index, + liab_bank_index: 1, + max_liab_transfer: I80F48::from_num(100000.0), + }, + ) + .await + .unwrap(); + assert!(account_position_closed(solana, account, collateral_token2.bank).await,); + let liqee = get_mango_account(solana, account).await; + assert!(liqee.being_liquidated()); + + // + // TEST: use the insurance fund to liquidate borrow1 and borrow2 + // + + // Change value of token that the insurance fund is in, to check that bankruptcy amounts + // are correct if it depegs + set_bank_stub_oracle_price(solana, group, borrow_token1, admin, 2.0).await; + + // bankruptcy: insurance token to liqor, liability to liqee + // liquidating only a partial amount + let liab_before = account_position_f64(solana, account, borrow_token2.bank).await; + let insurance_vault_before = solana.token_account_balance(insurance_vault).await; + let liqor_before = account_position(solana, vault_account, insurance_token.bank).await; + let insurance_to_liab = 1.5 / 20.0; + let liab_transfer: f64 = 500.0 * insurance_to_liab; + send_tx( + solana, + TokenLiqBankruptcyInstruction { + liqee: account, + liqor: vault_account, + liqor_owner: owner, + liab_mint_info: borrow_token2.mint_info, + max_liab_transfer: I80F48::from_num(liab_transfer), + }, + ) + .await + .unwrap(); + let liqee = get_mango_account(solana, account).await; + assert!(liqee.being_liquidated()); + assert!(account_position_closed(solana, account, insurance_token.bank).await); + assert_eq!( + account_position(solana, account, borrow_token2.bank).await, + (liab_before + liab_transfer).floor() as i64 + ); + let usdc_amount = (liab_transfer / insurance_to_liab * 1.02).ceil() as u64; + assert_eq!( + solana.token_account_balance(insurance_vault).await, + insurance_vault_before - usdc_amount + ); + assert_eq!( + account_position(solana, vault_account, insurance_token.bank).await, + liqor_before + usdc_amount as i64 + ); + + Ok(()) +} diff --git a/programs/mango-v4/tests/cases/test_liq_perps_bankruptcy.rs b/programs/mango-v4/tests/cases/test_liq_perps_bankruptcy.rs index d551cb4eda..7ed6e40127 100644 --- a/programs/mango-v4/tests/cases/test_liq_perps_bankruptcy.rs +++ b/programs/mango-v4/tests/cases/test_liq_perps_bankruptcy.rs @@ -450,3 +450,303 @@ async fn test_liq_perps_bankruptcy() -> Result<(), TransportError> { Ok(()) } + +#[tokio::test] +async fn test_liq_perps_bankruptcy_other_insurance_fund() -> Result<(), TransportError> { + let mut test_builder = TestContextBuilder::new(); + test_builder.test().set_compute_max_units(200_000); // PerpLiqNegativePnlOrBankruptcy takes a lot of CU + let context = test_builder.start_default().await; + let solana = &context.solana.clone(); + + let admin = TestKeypair::new(); + let owner = context.users[0].key; + let payer = context.users[1].key; + let mints = &context.mints[0..4]; + let payer_mint_accounts = &context.users[1].token_accounts[0..4]; + + // + // SETUP: Create a group and an account to fill the vaults + // + + let GroupWithTokens { group, tokens, .. } = GroupWithTokensConfig { + admin, + payer, + mints: mints.to_vec(), + zero_token_is_quote: true, + ..GroupWithTokensConfig::default() + } + .create(solana) + .await; + + let _quote_token = &tokens[0]; // USDC, 1/1 weights, price 1, never changed + let base_token = &tokens[1]; // used for perp market + let collateral_token = &tokens[2]; // used for adjusting account health + let insurance_token = &tokens[3]; + + let insurance_vault = send_tx( + solana, + GroupChangeInsuranceFund { + group, + admin, + payer, + insurance_mint: insurance_token.mint.pubkey, + withdraw_destination: payer_mint_accounts[0], + }, + ) + .await + .unwrap() + .new_insurance_vault; + + // An unusual price to verify the oracle is used + set_bank_stub_oracle_price(solana, group, &insurance_token, admin, 1.6).await; + + send_tx( + solana, + TokenEditWeights { + group, + admin, + mint: mints[2].pubkey, + maint_liab_weight: 1.0, + maint_asset_weight: 1.0, + init_liab_weight: 1.0, + init_asset_weight: 1.0, + }, + ) + .await + .unwrap(); + + let fund_insurance = |amount: u64| async move { + let mut tx = ClientTransaction::new(solana); + tx.add_instruction_direct( + spl_token::instruction::transfer( + &spl_token::ID, + &payer_mint_accounts[3], + &insurance_vault, + &payer.pubkey(), + &[&payer.pubkey()], + amount, + ) + .unwrap(), + ); + tx.add_signer(payer); + tx.send().await.unwrap(); + }; + + // all perp markets used here default to price = 1.0, base_lot_size = 100 + let price_lots = 100; + + let context_ref = &context; + let mut perp_market_index: PerpMarketIndex = 0; + let setup_perp_inner = |perp_market_index: PerpMarketIndex, + health: i64, + pnl: i64, + settle_limit: i64| async move { + // price used later to produce negative pnl with a short: + // doubling the price leads to -100 pnl + let adj_price = 1.0 + pnl as f64 / -100.0; + let adj_price_lots = (price_lots as f64 * adj_price) as i64; + + let fresh_liqor = create_funded_account( + &solana, + group, + owner, + 200 + perp_market_index as u32, + &context_ref.users[1], + mints, + 10000, + 0, + ) + .await; + + let mango_v4::accounts::PerpCreateMarket { perp_market, .. } = send_tx( + solana, + PerpCreateMarketInstruction { + group, + admin, + payer, + perp_market_index, + quote_lot_size: 1, + base_lot_size: 100, + maint_base_asset_weight: 0.8, + init_base_asset_weight: 0.6, + maint_base_liab_weight: 1.2, + init_base_liab_weight: 1.4, + base_liquidation_fee: 0.05, + maker_fee: 0.0, + taker_fee: 0.0, + group_insurance_fund: true, + // adjust this factur such that we get the desired settle limit in the end + settle_pnl_limit_factor: (settle_limit as f32 - 0.1).max(0.0) + / (1.0 * 100.0 * adj_price) as f32, + settle_pnl_limit_window_size_ts: 24 * 60 * 60, + ..PerpCreateMarketInstruction::with_new_book_and_queue(&solana, base_token).await + }, + ) + .await + .unwrap(); + set_perp_stub_oracle_price(solana, group, perp_market, &base_token, admin, 1.0).await; + set_bank_stub_oracle_price(solana, group, &collateral_token, admin, 1.0).await; + + // + // SETUP: accounts + // + let deposit_amount = 1000; + let helper_account = create_funded_account( + &solana, + group, + owner, + perp_market_index as u32 * 2, + &context_ref.users[1], + &mints[2..3], + deposit_amount, + 0, + ) + .await; + let account = create_funded_account( + &solana, + group, + owner, + perp_market_index as u32 * 2 + 1, + &context_ref.users[1], + &mints[2..3], + deposit_amount, + 0, + ) + .await; + + // + // SETUP: Trade perps between accounts twice to generate pnl, settle_limit + // + let mut tx = ClientTransaction::new(solana); + tx.add_instruction(PerpPlaceOrderInstruction { + account: helper_account, + perp_market, + owner, + side: Side::Bid, + price_lots, + max_base_lots: 1, + ..PerpPlaceOrderInstruction::default() + }) + .await; + tx.add_instruction(PerpPlaceOrderInstruction { + account: account, + perp_market, + owner, + side: Side::Ask, + price_lots, + max_base_lots: 1, + ..PerpPlaceOrderInstruction::default() + }) + .await; + tx.add_instruction(PerpConsumeEventsInstruction { + perp_market, + mango_accounts: vec![account, helper_account], + }) + .await; + tx.send().await.unwrap(); + + set_perp_stub_oracle_price(solana, group, perp_market, &base_token, admin, adj_price).await; + let mut tx = ClientTransaction::new(solana); + tx.add_instruction(PerpPlaceOrderInstruction { + account: helper_account, + perp_market, + owner, + side: Side::Ask, + price_lots: adj_price_lots, + max_base_lots: 1, + ..PerpPlaceOrderInstruction::default() + }) + .await; + tx.add_instruction(PerpPlaceOrderInstruction { + account: account, + perp_market, + owner, + side: Side::Bid, + price_lots: adj_price_lots, + max_base_lots: 1, + ..PerpPlaceOrderInstruction::default() + }) + .await; + tx.add_instruction(PerpConsumeEventsInstruction { + perp_market, + mango_accounts: vec![account, helper_account], + }) + .await; + tx.send().await.unwrap(); + + set_perp_stub_oracle_price(solana, group, perp_market, &base_token, admin, 1.0).await; + + // Adjust target health: + // full health = 1000 * collat price * 1.0 + pnl + set_bank_stub_oracle_price( + solana, + group, + &collateral_token, + admin, + (health - pnl) as f64 / 1000.0, + ) + .await; + + // Verify we got it right + let account_data = solana.get_account::(account).await; + assert_eq!(account_data.perps[0].quote_position_native(), pnl); + assert_eq!( + account_data.perps[0].recurring_settle_pnl_allowance, + settle_limit + ); + assert_eq!( + account_init_health(solana, account).await.round(), + health as f64 + ); + + (perp_market, account, fresh_liqor) + }; + let mut setup_perp = |health: i64, pnl: i64, settle_limit: i64| { + let out = setup_perp_inner(perp_market_index, health, pnl, settle_limit); + perp_market_index += 1; + out + }; + + let limit_prec = |f: f64| (f * 1000.0).round() / 1000.0; + + let liq_event_amounts = || { + let settlement = solana + .program_log_events::() + .pop() + .map(|v| limit_prec(I80F48::from_bits(v.settlement).to_num::())) + .unwrap_or(0.0); + let (insur, loss) = solana + .program_log_events::() + .pop() + .map(|v| { + ( + I80F48::from_bits(v.insurance_transfer).to_num::(), + limit_prec(I80F48::from_bits(v.socialized_loss).to_num::()), + ) + }) + .unwrap_or((0, 0.0)); + (settlement, insur, loss) + }; + + { + let (perp_market, account, liqor) = setup_perp(-40, -50, 5).await; + fund_insurance(42).await; + + send_tx( + solana, + PerpLiqNegativePnlOrBankruptcyInstruction { + liqor, + liqor_owner: owner, + liqee: account, + perp_market, + max_liab_transfer: u64::MAX, + }, + ) + .await + .unwrap(); + // 27 insurance cover 27*1.6 = 43.2, where the needs is for 40 * 1.05 = 42 + assert_eq!(liq_event_amounts(), (5.0, 27, 0.0)); + } + + Ok(()) +} diff --git a/programs/mango-v4/tests/program_test/mango_client.rs b/programs/mango-v4/tests/program_test/mango_client.rs index 8f49f1f88c..6dbcd6487b 100644 --- a/programs/mango-v4/tests/program_test/mango_client.rs +++ b/programs/mango-v4/tests/program_test/mango_client.rs @@ -1917,6 +1917,58 @@ impl ClientInstruction for GroupEdit { } } +pub struct GroupChangeInsuranceFund { + pub group: Pubkey, + pub admin: TestKeypair, + pub payer: TestKeypair, + pub insurance_mint: Pubkey, + pub withdraw_destination: Pubkey, +} +#[async_trait::async_trait(?Send)] +impl ClientInstruction for GroupChangeInsuranceFund { + type Accounts = mango_v4::accounts::GroupChangeInsuranceFund; + type Instruction = mango_v4::instruction::GroupChangeInsuranceFund; + async fn to_instruction( + &self, + account_loader: &(impl ClientAccountLoader + 'async_trait), + ) -> (Self::Accounts, instruction::Instruction) { + let program_id = mango_v4::id(); + let instruction = Self::Instruction {}; + + let group = account_loader.load::(&self.group).await.unwrap(); + + let new_insurance_vault = Pubkey::find_program_address( + &[ + b"InsuranceVault".as_ref(), + self.group.as_ref(), + self.insurance_mint.as_ref(), + ], + &program_id, + ) + .0; + + let accounts = Self::Accounts { + group: self.group, + admin: self.admin.pubkey(), + insurance_vault: group.insurance_vault, + withdraw_destination: self.withdraw_destination, + new_insurance_mint: self.insurance_mint, + new_insurance_vault, + payer: self.payer.pubkey(), + token_program: Token::id(), + system_program: System::id(), + rent: sysvar::rent::Rent::id(), + }; + + let instruction = make_instruction(program_id, &accounts, &instruction); + (accounts, instruction) + } + + fn signers(&self) -> Vec { + vec![self.admin, self.payer] + } +} + pub struct IxGateSetInstruction { pub group: Pubkey, pub admin: TestKeypair, @@ -1960,21 +2012,17 @@ impl ClientInstruction for GroupCloseInstruction { type Instruction = mango_v4::instruction::GroupClose; async fn to_instruction( &self, - _account_loader: &(impl ClientAccountLoader + 'async_trait), + account_loader: &(impl ClientAccountLoader + 'async_trait), ) -> (Self::Accounts, instruction::Instruction) { let program_id = mango_v4::id(); let instruction = Self::Instruction {}; - let insurance_vault = Pubkey::find_program_address( - &[b"InsuranceVault".as_ref(), self.group.as_ref()], - &program_id, - ) - .0; + let group = account_loader.load::(&self.group).await.unwrap(); let accounts = Self::Accounts { group: self.group, admin: self.admin.pubkey(), - insurance_vault, + insurance_vault: group.insurance_vault, sol_destination: self.sol_destination, token_program: Token::id(), }; @@ -3259,21 +3307,11 @@ impl ClientInstruction for TokenLiqBankruptcyInstruction { .load_mango_account(&self.liqor) .await .unwrap(); - let health_check_metas = derive_liquidation_remaining_account_metas( - account_loader, - &liqee, - &liqor, - QUOTE_TOKEN_INDEX, - 0, - liab_mint_info.token_index, - 0, - ) - .await; let group_key = liqee.fixed.group; let group: Group = account_loader.load(&group_key).await.unwrap(); - let quote_mint_info = Pubkey::find_program_address( + let insurance_mint_info = Pubkey::find_program_address( &[ b"MintInfo".as_ref(), liqee.fixed.group.as_ref(), @@ -3282,13 +3320,19 @@ impl ClientInstruction for TokenLiqBankruptcyInstruction { &program_id, ) .0; - let quote_mint_info: MintInfo = account_loader.load("e_mint_info).await.unwrap(); + let insurance_mint_info: MintInfo = + account_loader.load(&insurance_mint_info).await.unwrap(); - let insurance_vault = Pubkey::find_program_address( - &[b"InsuranceVault".as_ref(), group_key.as_ref()], - &program_id, + let health_check_metas = derive_liquidation_remaining_account_metas( + account_loader, + &liqee, + &liqor, + insurance_mint_info.token_index, + 0, + liab_mint_info.token_index, + 0, ) - .0; + .await; let accounts = Self::Accounts { group: group_key, @@ -3296,8 +3340,8 @@ impl ClientInstruction for TokenLiqBankruptcyInstruction { liqor: self.liqor, liqor_owner: self.liqor_owner.pubkey(), liab_mint_info: self.liab_mint_info, - quote_vault: quote_mint_info.first_vault(), - insurance_vault, + quote_vault: insurance_mint_info.first_vault(), + insurance_vault: group.insurance_vault, token_program: Token::id(), }; @@ -4350,7 +4394,6 @@ impl ClientInstruction for PerpLiqNegativePnlOrBankruptcyInstruction { }; let perp_market: PerpMarket = account_loader.load(&self.perp_market).await.unwrap(); - let group_key = perp_market.group; let liqor = account_loader .load_mango_account(&self.liqor) .await @@ -4359,23 +4402,36 @@ impl ClientInstruction for PerpLiqNegativePnlOrBankruptcyInstruction { .load_mango_account(&self.liqee) .await .unwrap(); + + let group_key = liqee.fixed.group; + let group: Group = account_loader.load(&group_key).await.unwrap(); + + let insurance_mint_info = Pubkey::find_program_address( + &[ + b"MintInfo".as_ref(), + liqee.fixed.group.as_ref(), + group.insurance_mint.as_ref(), + ], + &program_id, + ) + .0; + let insurance_mint_info: MintInfo = + account_loader.load(&insurance_mint_info).await.unwrap(); + let health_check_metas = derive_liquidation_remaining_account_metas( account_loader, &liqee, &liqor, - TokenIndex::MAX, + insurance_mint_info.token_index, 0, TokenIndex::MAX, 0, ) .await; - let group = account_loader.load::(&group_key).await.unwrap(); let settle_mint_info = get_mint_info_by_token_index(account_loader, &liqee, perp_market.settle_token_index) .await; - let insurance_mint_info = - get_mint_info_by_token_index(account_loader, &liqee, QUOTE_TOKEN_INDEX).await; let accounts = Self::Accounts { group: group_key, diff --git a/ts/client/src/client.ts b/ts/client/src/client.ts index 8adf901c1a..07ea47a68d 100644 --- a/ts/client/src/client.ts +++ b/ts/client/src/client.ts @@ -363,6 +363,24 @@ export class MangoClient { return await this.sendAndConfirmTransactionForGroup(group, [ix]); } + public async groupChangeInsuranceFund( + group: Group, + withdrawDestination: PublicKey, + newInsuranceMint: PublicKey, + ): Promise { + const ix = await this.program.methods + .groupChangeInsuranceFund() + .accounts({ + group: group.publicKey, + admin: (this.program.provider as AnchorProvider).wallet.publicKey, + insuranceVault: group.insuranceVault, + withdrawDestination, + newInsuranceMint, + }) + .instruction(); + return await this.sendAndConfirmTransactionForGroup(group, [ix]); + } + public async ixGateSet( group: Group, ixGateParams: IxGateParams, diff --git a/ts/client/src/clientIxParamBuilder.ts b/ts/client/src/clientIxParamBuilder.ts index c2e1ec13ef..9bdf3d3e7b 100644 --- a/ts/client/src/clientIxParamBuilder.ts +++ b/ts/client/src/clientIxParamBuilder.ts @@ -313,6 +313,7 @@ export interface IxGateParams { SequenceCheck: boolean; HealthCheck: boolean; OpenbookV2CancelAllOrders: boolean; + GroupChangeInsuranceFund: boolean; } // Default with all ixs enabled, use with buildIxGate @@ -396,6 +397,7 @@ export const TrueIxGateParams: IxGateParams = { SequenceCheck: true, HealthCheck: true, OpenbookV2CancelAllOrders: true, + GroupChangeInsuranceFund: true, }; // build ix gate e.g. buildIxGate(Builder(TrueIxGateParams).TokenDeposit(false).build()).toNumber(), @@ -489,6 +491,7 @@ export function buildIxGate(p: IxGateParams): BN { toggleIx(ixGate, p, 'SequenceCheck', 73); toggleIx(ixGate, p, 'HealthCheck', 74); toggleIx(ixGate, p, 'OpenbookV2CancelAllOrders', 75); + toggleIx(ixGate, p, 'GroupChangeInsuranceFund', 76); return ixGate; } diff --git a/ts/client/src/mango_v4.ts b/ts/client/src/mango_v4.ts index faa35eee41..0d48f2e66f 100644 --- a/ts/client/src/mango_v4.ts +++ b/ts/client/src/mango_v4.ts @@ -326,6 +326,86 @@ export type MangoV4 = { } ] }, + { + "name": "groupChangeInsuranceFund", + "accounts": [ + { + "name": "group", + "isMut": true, + "isSigner": false, + "relations": [ + "insurance_vault", + "admin" + ] + }, + { + "name": "admin", + "isMut": false, + "isSigner": true + }, + { + "name": "insuranceVault", + "isMut": true, + "isSigner": false + }, + { + "name": "withdrawDestination", + "isMut": true, + "isSigner": false + }, + { + "name": "newInsuranceMint", + "isMut": false, + "isSigner": false + }, + { + "name": "newInsuranceVault", + "isMut": true, + "isSigner": false, + "pda": { + "seeds": [ + { + "kind": "const", + "type": "string", + "value": "InsuranceVault" + }, + { + "kind": "account", + "type": "publicKey", + "path": "group" + }, + { + "kind": "account", + "type": "publicKey", + "account": "Mint", + "path": "new_insurance_mint" + } + ] + } + }, + { + "name": "payer", + "isMut": true, + "isSigner": true + }, + { + "name": "tokenProgram", + "isMut": false, + "isSigner": false + }, + { + "name": "systemProgram", + "isMut": false, + "isSigner": false + }, + { + "name": "rent", + "isMut": false, + "isSigner": false + } + ], + "args": [] + }, { "name": "ixGateSet", "accounts": [ @@ -11410,6 +11490,9 @@ export type MangoV4 = { }, { "name": "OpenbookV2CancelAllOrders" + }, + { + "name": "GroupChangeInsuranceFund" } ] } @@ -15204,6 +15287,86 @@ export const IDL: MangoV4 = { } ] }, + { + "name": "groupChangeInsuranceFund", + "accounts": [ + { + "name": "group", + "isMut": true, + "isSigner": false, + "relations": [ + "insurance_vault", + "admin" + ] + }, + { + "name": "admin", + "isMut": false, + "isSigner": true + }, + { + "name": "insuranceVault", + "isMut": true, + "isSigner": false + }, + { + "name": "withdrawDestination", + "isMut": true, + "isSigner": false + }, + { + "name": "newInsuranceMint", + "isMut": false, + "isSigner": false + }, + { + "name": "newInsuranceVault", + "isMut": true, + "isSigner": false, + "pda": { + "seeds": [ + { + "kind": "const", + "type": "string", + "value": "InsuranceVault" + }, + { + "kind": "account", + "type": "publicKey", + "path": "group" + }, + { + "kind": "account", + "type": "publicKey", + "account": "Mint", + "path": "new_insurance_mint" + } + ] + } + }, + { + "name": "payer", + "isMut": true, + "isSigner": true + }, + { + "name": "tokenProgram", + "isMut": false, + "isSigner": false + }, + { + "name": "systemProgram", + "isMut": false, + "isSigner": false + }, + { + "name": "rent", + "isMut": false, + "isSigner": false + } + ], + "args": [] + }, { "name": "ixGateSet", "accounts": [ @@ -26288,6 +26451,9 @@ export const IDL: MangoV4 = { }, { "name": "OpenbookV2CancelAllOrders" + }, + { + "name": "GroupChangeInsuranceFund" } ] } From 7e3a72048ed1ba1c0f87de4d6a5be797f8dc8a79 Mon Sep 17 00:00:00 2001 From: Serge Farny Date: Tue, 23 Apr 2024 11:06:07 +0200 Subject: [PATCH 19/28] Program: fix openbook-v2 integration tests (stack overflow issue) (#950) --- programs/mango-v4/tests/program_test/openbook_setup.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/mango-v4/tests/program_test/openbook_setup.rs b/programs/mango-v4/tests/program_test/openbook_setup.rs index dbfb5b8620..62c643acc1 100644 --- a/programs/mango-v4/tests/program_test/openbook_setup.rs +++ b/programs/mango-v4/tests/program_test/openbook_setup.rs @@ -89,7 +89,7 @@ impl OpenbookV2Cookie { pub async fn consume_spot_events(&self, spot_market_cookie: &OpenbookMarketCookie, limit: u8) { let event_heap = self .solana - .get_account::(spot_market_cookie.event_heap) + .get_account_boxed::(spot_market_cookie.event_heap) .await; let to_consume = event_heap .iter() From ed715ce8559eb33f6742a2e95f6c7da54e7312c1 Mon Sep 17 00:00:00 2001 From: Serge Farny Date: Tue, 23 Apr 2024 19:17:11 +0200 Subject: [PATCH 20/28] Changelog for v0.25.0 --- CHANGELOG.md | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 02dfd0a4d6..2784fb1505 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,17 +4,29 @@ Update this for each program release and mainnet deployment. ## not on mainnet -### v0.24.0, 2024-4- +### v0.25.0, 2024-4- + +- Openbook-v2 integration (#836) + +- Remove delegate to owner withdrawal limitation (#939) + +- Allows the insurance fund to be any bank (#946) + +## mainnet + +### v0.24.0, 2024-4-18 + +Deployment: Apr 18, 2024 at 14:53:24 Central European Summer Time, https://explorer.solana.com/tx/2TFCGXQkUjRvkuuojxmiKefUtHPp6q6rM1frYvALByWMGfpWbiGH5hGq5suWEH7TUKoz4jb4KCGxu9DRw7YcXNdh - Allow skipping banks and invalid oracles when computing health (#891) - This is only possible when we know for sure that the operation would not put the account into negative health zone. + This is only possible when we know for sure that the operation would not put the account into negative health zone. - Add support for Raydium CLMM as oracle fallback (#856) - + - Add a `TokenBalanceLog` when charging collateral fees (#894) -- Withdraw instruction: remove overflow error and return appropriate error message instead (#910) +- Withdraw instruction: remove overflow error and return appropriate error message instead (#910) - Banks: add more safety checks (#895) @@ -24,9 +36,7 @@ Update this for each program release and mainnet deployment. - Add a sequence check instruction (#909) - Assert that a transaction was emitted and run with a correct view of the current mango state. - -## mainnet + Assert that a transaction was emitted and run with a correct view of the current mango state. ### v0.23.0, 2024-3-8 From e4098b455081caf50240d256433d83584e0af260 Mon Sep 17 00:00:00 2001 From: Serge Farny Date: Thu, 25 Apr 2024 14:30:57 +0200 Subject: [PATCH 21/28] RustClient: propagate error in chain data fetcher instead of panicking (#952) --- lib/client/src/chain_data_fetcher.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/client/src/chain_data_fetcher.rs b/lib/client/src/chain_data_fetcher.rs index 2fe9313c9f..bc4b096a99 100644 --- a/lib/client/src/chain_data_fetcher.rs +++ b/lib/client/src/chain_data_fetcher.rs @@ -248,10 +248,11 @@ impl crate::AccountFetcher for AccountFetcher { keys: &[Pubkey], ) -> anyhow::Result> { let chain_data = self.chain_data.read().unwrap(); - Ok(keys + let result = keys .iter() - .map(|pk| (*pk, chain_data.account(pk).unwrap().account.clone())) - .collect::>()) + .map(|pk| chain_data.account(pk).map(|x| (*pk, x.account.clone()))) + .collect::>>(); + result } async fn get_slot(&self) -> anyhow::Result { From d9c4f69e0e0446a6fbf974c45d70474c262c80d9 Mon Sep 17 00:00:00 2001 From: Christian Kamm Date: Mon, 29 Apr 2024 18:50:40 +0200 Subject: [PATCH 22/28] Fix alignment of ordertree nodes (#954) This ensures casts of local variables don't run into alignment differences. --- programs/mango-v4/src/state/orderbook/nodes.rs | 14 +++++++++++--- programs/mango-v4/src/state/orderbook/ordertree.rs | 3 ++- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/programs/mango-v4/src/state/orderbook/nodes.rs b/programs/mango-v4/src/state/orderbook/nodes.rs index 8b5454d893..96dbb810d3 100644 --- a/programs/mango-v4/src/state/orderbook/nodes.rs +++ b/programs/mango-v4/src/state/orderbook/nodes.rs @@ -1,4 +1,4 @@ -use std::mem::size_of; +use std::mem::{align_of, size_of}; use anchor_lang::prelude::*; use bytemuck::{cast_mut, cast_ref}; @@ -252,7 +252,9 @@ pub struct FreeNode { pub(crate) tag: u8, // NodeTag pub(crate) padding: [u8; 3], pub(crate) next: NodeHandle, - pub(crate) reserved: [u8; NODE_SIZE - 8], + pub(crate) reserved: [u8; NODE_SIZE - 16], + // ensure that FreeNode has the same 8-byte alignment as other nodes + pub(crate) force_align: u64, } const_assert_eq!(size_of::(), NODE_SIZE); const_assert_eq!(size_of::() % 8, 0); @@ -261,13 +263,19 @@ const_assert_eq!(size_of::() % 8, 0); #[derive(bytemuck::Pod, bytemuck::Zeroable)] pub struct AnyNode { pub tag: u8, - pub data: [u8; 119], + pub data: [u8; 111], + // ensure that AnyNode has the same 8-byte alignment as other nodes + pub(crate) force_align: u64, } const_assert_eq!(size_of::(), NODE_SIZE); const_assert_eq!(size_of::() % 8, 0); const_assert_eq!(size_of::(), size_of::()); const_assert_eq!(size_of::(), size_of::()); const_assert_eq!(size_of::(), size_of::()); +const_assert_eq!(align_of::(), 8); +const_assert_eq!(align_of::(), align_of::()); +const_assert_eq!(align_of::(), align_of::()); +const_assert_eq!(align_of::(), align_of::()); pub(crate) enum NodeRef<'a> { Inner(&'a InnerNode), diff --git a/programs/mango-v4/src/state/orderbook/ordertree.rs b/programs/mango-v4/src/state/orderbook/ordertree.rs index 0e9748b310..f32a9112af 100644 --- a/programs/mango-v4/src/state/orderbook/ordertree.rs +++ b/programs/mango-v4/src/state/orderbook/ordertree.rs @@ -262,7 +262,8 @@ impl OrderTreeNodes { }, padding: Default::default(), next: self.free_list_head, - reserved: [0; 112], + reserved: [0; 104], + force_align: 0, }); self.free_list_len += 1; From 98e6f147d4c193479918b775a42f78262df02cc4 Mon Sep 17 00:00:00 2001 From: Serge Farny Date: Mon, 6 May 2024 09:45:03 +0200 Subject: [PATCH 23/28] Liquidator: do not try to settle/close open orders when not using limit orders for rebalancing (#956) --- bin/liquidator/src/rebalance.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/liquidator/src/rebalance.rs b/bin/liquidator/src/rebalance.rs index 64ddf4a12a..928c97f149 100644 --- a/bin/liquidator/src/rebalance.rs +++ b/bin/liquidator/src/rebalance.rs @@ -449,7 +449,9 @@ impl Rebalancer { } async fn rebalance_tokens(&self) -> anyhow::Result<()> { - self.close_and_settle_all_openbook_orders().await?; + if self.config.use_limit_order { + self.close_and_settle_all_openbook_orders().await?; + } let account = self.mango_account()?; // TODO: configurable? From 2d9f2480635a0a4f9dbfdcb9e24b32fb1297d2bf Mon Sep 17 00:00:00 2001 From: Serge Farny Date: Mon, 6 May 2024 11:03:06 +0200 Subject: [PATCH 24/28] liquidator: settle and close open orders in that order (#959) --- bin/liquidator/src/rebalance.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/liquidator/src/rebalance.rs b/bin/liquidator/src/rebalance.rs index 928c97f149..b9130104a6 100644 --- a/bin/liquidator/src/rebalance.rs +++ b/bin/liquidator/src/rebalance.rs @@ -450,7 +450,7 @@ impl Rebalancer { async fn rebalance_tokens(&self) -> anyhow::Result<()> { if self.config.use_limit_order { - self.close_and_settle_all_openbook_orders().await?; + self.settle_and_close_all_openbook_orders().await?; } let account = self.mango_account()?; @@ -712,7 +712,7 @@ impl Rebalancer { Ok(()) } - async fn close_and_settle_all_openbook_orders(&self) -> anyhow::Result<()> { + async fn settle_and_close_all_openbook_orders(&self) -> anyhow::Result<()> { let account = self.mango_account()?; for x in Self::shuffle(account.active_serum3_orders()) { @@ -725,14 +725,14 @@ impl Rebalancer { .serum3_markets .get(&market_index) .expect("no openbook market found"); - self.close_and_settle_openbook_orders(&account, token, &market_index, market, quote) + self.settle_and_close_openbook_orders(&account, token, &market_index, market, quote) .await?; } Ok(()) } /// This will only settle funds when there is no more active orders (avoid doing too many settle tx) - async fn close_and_settle_openbook_orders( + async fn settle_and_close_openbook_orders( &self, account: &Box, token: &TokenContext, @@ -762,8 +762,8 @@ impl Rebalancer { .serum3_close_open_orders_instruction(*market_index); let mut ixs = PreparedInstructions::new(); - ixs.append(close_ixs); ixs.append(settle_ixs); + ixs.append(close_ixs); let txsig = self .mango_client From fdb3e987f9f3d7ed203c6ff863b19c0983e75d5d Mon Sep 17 00:00:00 2001 From: Serge Farny Date: Wed, 15 May 2024 11:44:02 +0200 Subject: [PATCH 25/28] rust client: fix TransactionBuilder append to correctly handle CU (#960) --- bin/settler/src/settle.rs | 1 + lib/client/src/client.rs | 19 +++++++++++++++---- lib/client/src/swap/jupiter_v6.rs | 2 ++ lib/client/src/swap/sanctum.rs | 1 + lib/client/src/util.rs | 12 ++++++++++-- 5 files changed, 29 insertions(+), 6 deletions(-) diff --git a/bin/settler/src/settle.rs b/bin/settler/src/settle.rs index 13e1548682..4fc7a07bf1 100644 --- a/bin/settler/src/settle.rs +++ b/bin/settler/src/settle.rs @@ -285,6 +285,7 @@ impl<'a> SettleBatchProcessor<'a> { payer: fee_payer.pubkey(), signers: vec![fee_payer], config: client.config().transaction_builder_config.clone(), + additional_cus: vec![], } .transaction_with_blockhash(self.blockhash) } diff --git a/lib/client/src/client.rs b/lib/client/src/client.rs index 4afd1cd6fc..ecb6673e38 100644 --- a/lib/client/src/client.rs +++ b/lib/client/src/client.rs @@ -395,6 +395,7 @@ impl MangoClient { payer: payer.pubkey(), signers: vec![owner, payer], config: client.config.transaction_builder_config.clone(), + additional_cus: vec![], } .send_and_confirm(&client) .await?; @@ -2395,6 +2396,7 @@ impl MangoClient { payer: fee_payer.pubkey(), signers: vec![fee_payer], config: self.client.config.transaction_builder_config.clone(), + additional_cus: vec![], }) } @@ -2409,6 +2411,7 @@ impl MangoClient { payer: fee_payer.pubkey(), signers: vec![fee_payer], config: self.client.config.transaction_builder_config.clone(), + additional_cus: vec![], } .simulate(&self.client) .await @@ -2518,6 +2521,7 @@ pub struct TransactionBuilder { pub signers: Vec>, pub payer: Pubkey, pub config: TransactionBuilderConfig, + pub additional_cus: Vec, } pub type SimulateTransactionResponse = @@ -2558,10 +2562,15 @@ impl TransactionBuilder { let cu_per_ix = self.config.compute_budget_per_instruction.unwrap_or(0); if !has_compute_unit_limit && cu_per_ix > 0 { - let ix_count: u32 = (ixs.len() - cu_instructions).try_into().unwrap(); + let ix_count: u32 = (ixs.len() - cu_instructions - self.additional_cus.len()) + .try_into() + .unwrap(); + let additional_cu_sum: u32 = self.additional_cus.iter().sum(); ixs.insert( 0, - ComputeBudgetInstruction::set_compute_unit_limit(cu_per_ix * ix_count), + ComputeBudgetInstruction::set_compute_unit_limit( + cu_per_ix * ix_count + additional_cu_sum, + ), ); } @@ -2649,8 +2658,10 @@ impl TransactionBuilder { } pub fn append(&mut self, prepared_instructions: PreparedInstructions) { - self.instructions - .extend(prepared_instructions.to_instructions()); + // Do NOT use to instruction s it would add a CU limit + // That CU limit would overwrite the one computed by the transaction builder + self.instructions.extend(prepared_instructions.instructions); + self.additional_cus.push(prepared_instructions.cu); } } diff --git a/lib/client/src/swap/jupiter_v6.rs b/lib/client/src/swap/jupiter_v6.rs index 62ee8ade1a..c42df8b86a 100644 --- a/lib/client/src/swap/jupiter_v6.rs +++ b/lib/client/src/swap/jupiter_v6.rs @@ -204,6 +204,7 @@ impl<'a> JupiterV6<'a> { .send() .await .context("quote request to jupiter")?; + let quote: QuoteResponse = util::http_error_handling(response).await.with_context(|| { format!("error requesting jupiter route between {input_mint} and {output_mint}") @@ -392,6 +393,7 @@ impl<'a> JupiterV6<'a> { .config() .transaction_builder_config .clone(), + additional_cus: vec![], }) } diff --git a/lib/client/src/swap/sanctum.rs b/lib/client/src/swap/sanctum.rs index d93ca4d2f1..0096289d79 100644 --- a/lib/client/src/swap/sanctum.rs +++ b/lib/client/src/swap/sanctum.rs @@ -321,6 +321,7 @@ impl<'a> Sanctum<'a> { .config() .transaction_builder_config .clone(), + additional_cus: vec![], }) } diff --git a/lib/client/src/util.rs b/lib/client/src/util.rs index cd562e33c8..8c81282e74 100644 --- a/lib/client/src/util.rs +++ b/lib/client/src/util.rs @@ -3,6 +3,7 @@ use solana_sdk::instruction::Instruction; use anchor_lang::prelude::{AccountMeta, Pubkey}; use anyhow::Context; +use tracing::warn; /// Some Result<> types don't convert to anyhow::Result nicely. Force them through stringification. pub trait AnyhowWrap { @@ -80,8 +81,15 @@ pub async fn http_error_handling( if !status.is_success() { anyhow::bail!("http request failed, status: {status}, body: {response_text}"); } - serde_json::from_str::(&response_text) - .with_context(|| format!("response has unexpected format, body: {response_text}")) + let object = serde_json::from_str::(&response_text); + + match object { + Ok(o) => Ok(o), + Err(e) => { + warn!("{}", e); + anyhow::bail!("response has unexpected format, body: {response_text}") + } + } } pub fn to_readonly_account_meta(pubkey: Pubkey) -> AccountMeta { From 5d5e99f7db84a60997e86a0bc48ea143c2256130 Mon Sep 17 00:00:00 2001 From: Britt Cyr Date: Tue, 21 May 2024 17:39:09 -0400 Subject: [PATCH 26/28] Collateral fees only should not get worse when you add more collateral --- .../token_charge_collateral_fees.rs | 60 ++++++++++++++++--- .../tests/cases/test_collateral_fees.rs | 54 +++++++++++++++-- 2 files changed, 101 insertions(+), 13 deletions(-) diff --git a/programs/mango-v4/src/instructions/token_charge_collateral_fees.rs b/programs/mango-v4/src/instructions/token_charge_collateral_fees.rs index b844e7b63c..b21ccf4061 100644 --- a/programs/mango-v4/src/instructions/token_charge_collateral_fees.rs +++ b/programs/mango-v4/src/instructions/token_charge_collateral_fees.rs @@ -73,15 +73,35 @@ pub fn token_charge_collateral_fees(ctx: Context) -> return Ok(()); } - // Users only pay for assets that are actively used to cover their liabilities. - let asset_usage_scaling = (total_liab_health / total_asset_health) - .max(I80F48::ZERO) - .min(I80F48::ONE); + let token_position_count = account.active_token_positions().count(); - let scaling = asset_usage_scaling * time_scaling; + // Rather than pay by the pro-rata collateral fees across all assets that + // are used as collateral, an account should get credit for their most + // credit-worthy assets first, then others in order. Without this sorting, a + // user that is paying a collateral fee which is supposed to pay for the + // risk associated with being able to liquidate their volatile collateral + // would have their fees increase when they deposit additional volatile + // collateral without any new liabilities. The program should not penalize a + // user for depositing more collateral. + let mut collateral_fee_per_day_and_bank_ai_index = Vec::with_capacity(token_position_count); + for index in 0..token_position_count { + let bank_ai = &ctx.remaining_accounts[index]; + + // Could directly get the bytes from the bank since they are in a fixed + // position and save CU, but for code readability, deserialize the whole + // account. + let bank = bank_ai.load::()?; + let collateral_fee_per_day = bank.collateral_fee_per_day; + + collateral_fee_per_day_and_bank_ai_index.push((collateral_fee_per_day, index)); + } + // Custom sort because f32 doesnt have sort by default. + collateral_fee_per_day_and_bank_ai_index.sort_by(|a, b| (a.0).partial_cmp(&b.0).unwrap()); - let token_position_count = account.active_token_positions().count(); - for bank_ai in &ctx.remaining_accounts[0..token_position_count] { + // Remaining amount of liability health that needs to be covered by collateral. + let mut remaining_liab = total_liab_health; + for (_collateral_fee, index) in collateral_fee_per_day_and_bank_ai_index.iter() { + let bank_ai = &ctx.remaining_accounts[*index]; let mut bank = bank_ai.load_mut::()?; if bank.collateral_fee_per_day <= 0.0 || bank.maint_asset_weight.is_zero() { continue; @@ -93,7 +113,24 @@ pub fn token_charge_collateral_fees(ctx: Context) -> continue; } - let fee = token_balance * scaling * I80F48::from_num(bank.collateral_fee_per_day); + let token_balance = token_position.native(&bank); + // Contribution from this bank used as collateral. This is always + // positive since the check above guarantees token balance is positive. + let possible_health_contribution = health_cache.token_infos[*index].health_contribution( + HealthType::Maint, token_balance + ); + + let asset_usage_scaling = if possible_health_contribution < remaining_liab { + remaining_liab -= possible_health_contribution; + I80F48::ONE + } else { + let scaling = remaining_liab / possible_health_contribution; + remaining_liab = I80F48::ZERO; + scaling + }; + + let fee = token_balance * asset_usage_scaling * time_scaling * + I80F48::from_num(bank.collateral_fee_per_day); assert!(fee <= token_balance); let is_active = bank.withdraw_without_fee(token_position, fee, now_ts)?; @@ -123,7 +160,12 @@ pub fn token_charge_collateral_fees(ctx: Context) -> indexed_position: token_position.indexed_position.to_bits(), deposit_index: bank.deposit_index.to_bits(), borrow_index: bank.borrow_index.to_bits(), - }) + }); + + // Once all liability health is covered, no more need to charge collateral fees. + if remaining_liab <= I80F48::ZERO { + break; + } } Ok(()) diff --git a/programs/mango-v4/tests/cases/test_collateral_fees.rs b/programs/mango-v4/tests/cases/test_collateral_fees.rs index 1ee9d8fa52..ae23237fe0 100644 --- a/programs/mango-v4/tests/cases/test_collateral_fees.rs +++ b/programs/mango-v4/tests/cases/test_collateral_fees.rs @@ -9,7 +9,7 @@ async fn test_collateral_fees() -> Result<(), TransportError> { let admin = TestKeypair::new(); let owner = context.users[0].key; let payer = context.users[1].key; - let mints = &context.mints[0..2]; + let mints = &context.mints[0..3]; let mango_setup::GroupWithTokens { group, tokens, .. } = mango_setup::GroupWithTokensConfig { admin, @@ -27,7 +27,7 @@ async fn test_collateral_fees() -> Result<(), TransportError> { owner, 0, &context.users[1], - mints, + &context.mints[0..2], 1_000_000, 0, ) @@ -182,7 +182,7 @@ async fn test_collateral_fees() -> Result<(), TransportError> { 1500.0 * (1.0 - 0.1 * (9.0 / 24.0) * (600.0 / 1200.0)), 0.01 ); - let last_balance = account_position_f64(solana, account, tokens[0].bank).await; + let mut last_balance = account_position_f64(solana, account, tokens[0].bank).await; // // TEST: More borrows @@ -207,7 +207,53 @@ async fn test_collateral_fees() -> Result<(), TransportError> { send_tx(solana, TokenChargeCollateralFeesInstruction { account }) .await .unwrap(); - //last_time = solana.clock_timestamp().await; + assert_eq_f64!( + account_position_f64(solana, account, tokens[0].bank).await, + last_balance * (1.0 - 0.1 * (7.0 / 24.0) * (720.0 / (last_balance * 0.8))), + 0.01 + ); + + // + // TEST: Add new collateral with worse rate. Should not cause an increase in fees paid. + // + send_tx( + solana, + TokenDepositInstruction { + amount: 1_000_000, + reduce_only: false, + account, + owner, + token_account: context.users[1].token_accounts[context.mints[2].index], + token_authority: context.users[1].key, + bank_index: 0, + }, + ) + .await + .unwrap(); + + send_tx( + solana, + TokenEdit { + group, + admin, + mint: mints[2].pubkey, + fallback_oracle: Pubkey::default(), + options: mango_v4::instruction::TokenEdit { + collateral_fee_per_day_opt: Some(0.5), + ..token_edit_instruction_default() + }, + }, + ) + .await + .unwrap(); + + last_time = solana.clock_timestamp().await; + solana.set_clock_timestamp(last_time + 7 * hour).await; + last_balance = account_position_f64(solana, account, tokens[0].bank).await; + + send_tx(solana, TokenChargeCollateralFeesInstruction { account }) + .await + .unwrap(); assert_eq_f64!( account_position_f64(solana, account, tokens[0].bank).await, last_balance * (1.0 - 0.1 * (7.0 / 24.0) * (720.0 / (last_balance * 0.8))), From f0cbff4985932ecd14332df42a16d6c54a83d085 Mon Sep 17 00:00:00 2001 From: Britt Cyr Date: Wed, 22 May 2024 10:52:47 -0400 Subject: [PATCH 27/28] Lint and comment cleanup and change use of token_balances --- .../token_charge_collateral_fees.rs | 30 ++++++++----------- .../tests/cases/test_collateral_fees.rs | 2 +- 2 files changed, 14 insertions(+), 18 deletions(-) diff --git a/programs/mango-v4/src/instructions/token_charge_collateral_fees.rs b/programs/mango-v4/src/instructions/token_charge_collateral_fees.rs index b21ccf4061..cd45f0fe1c 100644 --- a/programs/mango-v4/src/instructions/token_charge_collateral_fees.rs +++ b/programs/mango-v4/src/instructions/token_charge_collateral_fees.rs @@ -77,19 +77,15 @@ pub fn token_charge_collateral_fees(ctx: Context) -> // Rather than pay by the pro-rata collateral fees across all assets that // are used as collateral, an account should get credit for their most - // credit-worthy assets first, then others in order. Without this sorting, a - // user that is paying a collateral fee which is supposed to pay for the - // risk associated with being able to liquidate their volatile collateral - // would have their fees increase when they deposit additional volatile - // collateral without any new liabilities. The program should not penalize a - // user for depositing more collateral. + // credit-worthy assets first, then others in order. Without this sorting, + // suppose a user has enough collateral to cover their liabilities using + // just tokens without a collateral fee. Once they add additional collateral + // of a type that does have a fee, if all collateral was contributing to + // this health pro-rata, they would now have a fee as a result of adding + // collateral without a new liability. let mut collateral_fee_per_day_and_bank_ai_index = Vec::with_capacity(token_position_count); for index in 0..token_position_count { let bank_ai = &ctx.remaining_accounts[index]; - - // Could directly get the bytes from the bank since they are in a fixed - // position and save CU, but for code readability, deserialize the whole - // account. let bank = bank_ai.load::()?; let collateral_fee_per_day = bank.collateral_fee_per_day; @@ -108,17 +104,15 @@ pub fn token_charge_collateral_fees(ctx: Context) -> } let (token_position, raw_token_index) = account.token_position_mut(bank.token_index)?; - let token_balance = token_position.native(&bank); + let token_balance = token_balances[*index].spot_and_perp; if token_balance <= 0 { continue; } - let token_balance = token_position.native(&bank); // Contribution from this bank used as collateral. This is always // positive since the check above guarantees token balance is positive. - let possible_health_contribution = health_cache.token_infos[*index].health_contribution( - HealthType::Maint, token_balance - ); + let possible_health_contribution = + health_cache.token_infos[*index].health_contribution(HealthType::Maint, token_balance); let asset_usage_scaling = if possible_health_contribution < remaining_liab { remaining_liab -= possible_health_contribution; @@ -129,8 +123,10 @@ pub fn token_charge_collateral_fees(ctx: Context) -> scaling }; - let fee = token_balance * asset_usage_scaling * time_scaling * - I80F48::from_num(bank.collateral_fee_per_day); + let fee = token_balance + * asset_usage_scaling + * time_scaling + * I80F48::from_num(bank.collateral_fee_per_day); assert!(fee <= token_balance); let is_active = bank.withdraw_without_fee(token_position, fee, now_ts)?; diff --git a/programs/mango-v4/tests/cases/test_collateral_fees.rs b/programs/mango-v4/tests/cases/test_collateral_fees.rs index ae23237fe0..166dcf5cc1 100644 --- a/programs/mango-v4/tests/cases/test_collateral_fees.rs +++ b/programs/mango-v4/tests/cases/test_collateral_fees.rs @@ -223,7 +223,7 @@ async fn test_collateral_fees() -> Result<(), TransportError> { reduce_only: false, account, owner, - token_account: context.users[1].token_accounts[context.mints[2].index], + token_account: context.users[1].token_accounts[context.mints[2].index], token_authority: context.users[1].key, bank_index: 0, }, From 951002ceec842357ea94891942a7c6cda978c274 Mon Sep 17 00:00:00 2001 From: Britt Cyr Date: Wed, 22 May 2024 12:31:06 -0400 Subject: [PATCH 28/28] Comment on cu estimates --- lib/client/src/context.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/client/src/context.rs b/lib/client/src/context.rs index 75084ccc32..558ce37f04 100644 --- a/lib/client/src/context.rs +++ b/lib/client/src/context.rs @@ -170,9 +170,10 @@ impl Default for ComputeEstimates { cu_per_perp_order_cancel: 7_000, // measured around 2k, see test_health_compute_tokens_fallback_oracles cu_per_oracle_fallback: 2000, - // the base cost is mostly the division + // the base cost is mostly the division. only one division happens + // because only the last collateral used has a division. cu_per_charge_collateral_fees: 20_000, - // per-chargable-token cost + // per-chargable-token cost. factors in the sorting by collateral_fee cu_per_charge_collateral_fees_token: 15_000, // measured around 8k, see test_basics cu_for_sequence_check: 10_000,

($%IcULsTuvOm)FQ=YPI>Cb_}1#9QbtcKR( zSZjWxic~@(R`OenwkIR?#=&@8>RqJ`ogOQXL)LvK@y${qN2Ioz{}~9wXP@DT<0B!< z4`PcYRJ|q#!Wr-0yBay-Hzz!2Sw4T{Rz4=>Q*5x=K^Z5svd}rS)o6wRC3A4<1WErT z3ZxO+hkTq@-Q&@Y(N^sH=(-RcHXz%2t6M^d1@+~CyzU=9{oz2%EXSSm+>xjLQ^S@yyW63 zo`)xl;fFA&AdE%Z4P5B>g9F7jZKr}yYJ9~o;oxJ=00mg7%J(JOS+>=hZu=Oh0D5Iz zo6{Orwu%zJo2cJq?@ABX>)zUHl(+Slv_IuY6OUObCKHP4RBVzjs39;8Kdj?GnP&FO zA&M3+SK_7hUr75?^_!7d!r<_00AcLETKO|5}Rv&rSC4 zbL0Q>Cj0LV!oQr0vi)6dob8Vh_e3 zqLlXGgZQ%_k=UxCoem-#<@M#r9TVLfo~}cSH#Il1yF1wX?emg>i?%wvQ9yQ<9jgC+ z8FZc=-S)=)1{DR2hw~eTrwV`$cn61fnCT&er1EtAB@b{889!yT8RKO3aPT2OA}y6E z={Asa%~cAEJhCUf5{w;nj(dml?%QDDHO>AK>I#G2`6N&g^Zw=j^%7{(^NUuQpakMn zWkNBBL!y_Wrb>;%_rByl@R!b=uEP<1Q(?ztQZtEh!Ts5SYw>TV{mA0no!g;+yjq`k z^x6$Yo09493-6mLPR*Z$?psdOZZJRyY zplt(ReWp}_gp%My!xMyrPs~RHOCp-w8z z!QJHz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-CG#`W9TCS&h3!nN zGdPbi{Pw6q8GXvPoT@;a7LdI($32YemejXF^yCpp@;zR7ow@4Vr(M);g7#41bt#PL zdLM+bqE|D{7RfLo2?0vFDlH^7a=Z&OAg>Wvsv861@#+7Z%ecW_C~J^PMZqPKxmCIh zLYEvK4p8iA%zSQG()tGWXmf%4XJp)ec1GfJax}HE$Ky0MGB&2AW&BAjjQ^IHnSS2s zX=#5BTE-vsA(o#!^G_Kw+rQUg`1dk{pYnes2JRm}PJ1IgM>891K|Mz!JW@e+dRltM zpVoA=tPCu4%<5$SUgM`nQb|2UBUL;XGe=WA(;xdzdwV0}pJE9kHy0awLkB$4pNy1^ z;s5zWvWh~g)WS}dmi&6w)LxPh$B=KcM{sBo<~`T81Bh{yAVj;3(Sb+1eTz{@8HqSvnZ~BRJ5=+R#Sd z9DK zT$+)gnStXE)^z_6gu8Tjq22q053k$g8h6enP(flw%@1KuRg5gY%g;s~W;l`?S z!0oOG16j|x2*2O{oJI+xj=6#3PZLKVDMy1lymZ2ur=|?7MPAs%E?x_@rX5hTGDiDP zd4e_9!B)~^P Date: Mon, 15 Apr 2024 09:09:37 +0200 Subject: [PATCH 15/28] Changelog for v0.24.0 (#942) --- CHANGELOG.md | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 059ff79d35..02dfd0a4d6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,33 @@ Update this for each program release and mainnet deployment. ## not on mainnet -### v0.23.0, 2024-3- +### v0.24.0, 2024-4- + +- Allow skipping banks and invalid oracles when computing health (#891) + + This is only possible when we know for sure that the operation would not put the account into negative health zone. + +- Add support for Raydium CLMM as oracle fallback (#856) + +- Add a `TokenBalanceLog` when charging collateral fees (#894) + +- Withdraw instruction: remove overflow error and return appropriate error message instead (#910) + +- Banks: add more safety checks (#895) + +- Add a health check instruction (#913) + + Assert in a transaction that operation run on a mango account does not reduce it's health below a specified amount. + +- Add a sequence check instruction (#909) + + Assert that a transaction was emitted and run with a correct view of the current mango state. + +## mainnet + +### v0.23.0, 2024-3-8 + +Deployment: Mar 8, 2024 at 12:10:52 Central European Standard Time, https://explorer.solana.com/tx/6MXGookZoYGMYb7tWrrmgZzVA13HJimHNqwHRVFeqL9YpQD7YasH1pQn4MSQTK1o13ixKTGFxwZsviUzmHzzP9m - Allow disabling asset liquidations for tokens (#867) @@ -26,8 +52,6 @@ Update this for each program release and mainnet deployment. - Flash loan: Add a "swap without flash loan fees" option (#882) - Cleanup, tests and minor (#878, #875, #854, #838, #895) -## mainnet - ### v0.22.0, 2024-3-3 Deployment: Mar 3, 2024 at 23:52:08 Central European Standard Time, https://explorer.solana.com/tx/3MpEMU12Pv7RpSnwfShoM9sbyr41KAEeJFCVx9ypkq8nuK8Q5vm7CRLkdhH3u91yQ4k44a32armZHaoYguX6NqsY From c0b61b3b37d6b631393d503be61728a5f75c740c Mon Sep 17 00:00:00 2001 From: Serge Farny Date: Thu, 18 Apr 2024 15:17:34 +0200 Subject: [PATCH 16/28] liquidator: add more LST for sanctum swap (#944) --- lib/client/src/swap/sanctum.rs | 65 ++++++++++++++++++---------------- 1 file changed, 35 insertions(+), 30 deletions(-) diff --git a/lib/client/src/swap/sanctum.rs b/lib/client/src/swap/sanctum.rs index ff48b5c488..ddd2bed063 100644 --- a/lib/client/src/swap/sanctum.rs +++ b/lib/client/src/swap/sanctum.rs @@ -365,37 +365,42 @@ pub async fn load_supported_token_mints( } } + // taken from https://github.com/igneous-labs/sanctum-lst-list/blob/master/sanctum-lst-list.toml + let hardcoded_lst_mints = [ + "pathdXw4He1Xk3eX84pDdDZnGKEme3GivBamGCVPZ5a", // pathSOL + "jupSoLaHXQiZZTSfEWMTRRgpnyFm8f6sZdosWBjx93v", // JupSOL + "BgYgFYq4A9a2o5S1QbWkmYVFBh7LBQL8YvugdhieFg38", // juicingJupSOL + "pWrSoLAhue6jUxUkbWgmEy5rD9VJzkFmvfTDV5KgNuu", // pwrSOL + "suPer8CPwxoJPQ7zksGMwFvjBQhjAHwUMmPV4FVatBw", // superSOL + "jucy5XJ76pHVvtPZb5TKRcGQExkwit2P5s4vY8UzmpC", // jucySOL + "BonK1YhkXEGLZzwtcvRTip3gAL9nCeQD7ppZBLXhtTs", // bonkSOL + "Dso1bDeDjCQxTrWHqUUi63oBvV7Mdm6WaobLbQ7gnPQ", // dSOL + "Comp4ssDzXcLeu2MnLuGNNFC4cmLPMng8qWHPvzAMU1h", // compassSOL + "picobAEvs6w7QEknPce34wAE4gknZA9v5tTonnmHYdX", // picoSOL + "GRJQtWwdJmp5LLpy8JWjPgn5FnLyqSJGNhn5ZnCTFUwM", // clockSOL + "HUBsveNpjo5pWqNkH57QzxjQASdTVXcSK7bVKTSZtcSX", // hubSOL + "strng7mqqc1MBJJV6vMzYbEqnwVGvKKGKedeCvtktWA", // strongSOL + "LnTRntk2kTfWEY6cVB8K9649pgJbt6dJLS1Ns1GZCWg", // lanternSOL + "st8QujHLPsX3d6HG9uQg9kJ91jFxUgruwsb1hyYXSNd", // stakeSOL + "pumpkinsEq8xENVZE6QgTS93EN4r9iKvNxNALS1ooyp", // pumpkinSOL + "CgnTSoL3DgY9SFHxcLj6CgCgKKoTBr6tp4CPAEWy25DE", // cgntSOL + "LAinEtNLgpmCP9Rvsf5Hn8W6EhNiKLZQti1xfWMLy6X", // laineSOL + "vSoLxydx6akxyMD9XEcPvGYNGq6Nn66oqVb3UkGkei7", // vSOL + "bSo13r4TkiE4KumL71LsHTPpL2euBYLFx6h9HP3piy1", // bSOL + "GEJpt3Wjmr628FqXxTgxMce1pLntcPV4uFi8ksxMyPQh", // daoSOL + "J1toso1uCk3RLmjorhTtrVwY9HJ7X8V9yYac6Y7kGCPn", // JitoSOL + "7Q2afV64in6N6SeZsAAB81TJzwDoD6zpqmHkzi9Dcavn", // JSOL + "LSTxxxnJzKDFSLr4dUkPcmCf5VyryEqzPLz5j4bpxFp", // LST + "Zippybh3S5xYYam2nvL6hVJKz1got6ShgV4DyD1XQYF", // zippySOL + "edge86g9cVz87xcpKpy3J77vbp4wYd9idEV562CCntt", // edgeSOL + "So11111111111111111111111111111111111111112", // SOL + "5oVNBeEEQvYi1cX3ir8Dx5n1P7pdxydbGF2X4TxVusJm", // INF + "7dHbWXmci3dT8UFYWYZweBLXgycu7Y3iL6trKn1Y7ARj", // stSOL + "mSoLzYCxHdYgdzU16g5QSh3i5K3z3KZK7ytfqcJm7So", // mSOL + ]; + // Hardcoded for now - lst_mints.insert( - Pubkey::from_str("CgntPoLka5pD5fesJYhGmUCF8KU1QS1ZmZiuAuMZr2az").expect("invalid lst mint"), - ); - lst_mints.insert( - Pubkey::from_str("7ge2xKsZXmqPxa3YmXxXmzCp9Hc2ezrTxh6PECaxCwrL").expect("invalid lst mint"), - ); - lst_mints.insert( - Pubkey::from_str("GUAMR8ciiaijraJeLDEDrFVaueLm9YzWWY9R7CBPL9rA").expect("invalid lst mint"), - ); - lst_mints.insert( - Pubkey::from_str("Jito4APyf642JPZPx3hGc6WWJ8zPKtRbRs4P815Awbb").expect("invalid lst mint"), - ); - lst_mints.insert( - Pubkey::from_str("CtMyWsrUtAwXWiGr9WjHT5fC3p3fgV8cyGpLTo2LJzG1").expect("invalid lst mint"), - ); - lst_mints.insert( - Pubkey::from_str("2qyEeSAWKfU18AFthrF7JA8z8ZCi1yt76Tqs917vwQTV").expect("invalid lst mint"), - ); - lst_mints.insert( - Pubkey::from_str("DqhH94PjkZsjAqEze2BEkWhFQJ6EyU6MdtMphMgnXqeK").expect("invalid lst mint"), - ); - lst_mints.insert( - Pubkey::from_str("F8h46pYkaqPJNP2MRkUUUtRkf8efCkpoqehn9g1bTTm7").expect("invalid lst mint"), - ); - lst_mints.insert( - Pubkey::from_str("5oc4nmbNTda9fx8Tw57ShLD132aqDK65vuHH4RU1K4LZ").expect("invalid lst mint"), - ); - lst_mints.insert( - Pubkey::from_str("stk9ApL5HeVAwPLr3TLhDXdZS8ptVu7zp6ov8HFDuMi").expect("invalid lst mint"), - ); + lst_mints.extend(hardcoded_lst_mints.map(|x| Pubkey::from_str(x).expect("invalid mint"))); Ok(lst_mints) } From 2a6532f1c6041a135e2fd7853404ccf75c13844d Mon Sep 17 00:00:00 2001 From: riordanp Date: Mon, 22 Apr 2024 10:37:53 +0100 Subject: [PATCH 17/28] Openbook V2 Integration (#836) Co-authored-by: Tyler Co-authored-by: Christian Kamm Co-authored-by: Serge Farny Co-authored-by: microwavedcola1 --- .github/workflows/ci-code-review-rust.yml | 2 +- Cargo.lock | 327 ++- Cargo.toml | 1 + Dockerfile | 2 +- README.md | 2 +- bin/liquidator/Cargo.toml | 1 + bin/liquidator/src/liquidate.rs | 105 +- idl-fixup.sh | 4 +- lib/client/Cargo.toml | 1 + lib/client/src/client.rs | 61 +- lib/client/src/context.rs | 90 +- lib/client/src/gpa.rs | 20 +- lib/client/src/health_cache.rs | 4 + lib/client/src/snapshot_source.rs | 5 + lib/client/src/websocket_source.rs | 41 +- mango_v4.json | 987 +++++--- package.json | 8 +- programs/mango-v4/Cargo.toml | 6 +- .../resources/test/mangoaccount-v0.23.0.bin | Bin 0 -> 11432 bytes .../src/accounts_ix/account_create.rs | 28 +- programs/mango-v4/src/accounts_ix/mod.rs | 2 - .../accounts_ix/openbook_v2_cancel_order.rs | 7 +- .../openbook_v2_close_open_orders.rs | 24 +- .../openbook_v2_create_open_orders.rs | 18 +- .../openbook_v2_deregister_market.rs | 3 - .../accounts_ix/openbook_v2_edit_market.rs | 3 +- .../openbook_v2_liq_force_cancel_orders.rs | 10 +- .../accounts_ix/openbook_v2_place_order.rs | 103 +- .../openbook_v2_place_take_order.rs | 85 - .../openbook_v2_register_market.rs | 8 +- .../accounts_ix/openbook_v2_settle_funds.rs | 24 +- programs/mango-v4/src/error.rs | 10 +- .../mango-v4/src/health/account_retriever.rs | 94 +- programs/mango-v4/src/health/cache.rs | 503 +++- programs/mango-v4/src/health/client.rs | 34 +- programs/mango-v4/src/health/test.rs | 15 +- .../src/instructions/account_create.rs | 3 + .../src/instructions/account_expand.rs | 3 + .../instructions/account_size_migration.rs | 1 + .../mango-v4/src/instructions/ix_gate_set.rs | 1 + programs/mango-v4/src/instructions/mod.rs | 20 + .../openbook_v2_cancel_all_orders.rs | 102 + .../instructions/openbook_v2_cancel_order.rs | 99 + .../openbook_v2_close_open_orders.rs | 108 + .../openbook_v2_create_open_orders.rs | 114 + .../openbook_v2_deregister_market.rs | 6 + .../instructions/openbook_v2_edit_market.rs | 74 + .../openbook_v2_liq_force_cancel_orders.rs | 232 ++ .../instructions/openbook_v2_place_order.rs | 607 +++++ .../openbook_v2_register_market.rs | 95 + .../instructions/openbook_v2_settle_funds.rs | 295 +++ .../serum3_liq_force_cancel_orders.rs | 4 +- .../src/instructions/serum3_place_order.rs | 80 +- .../src/instructions/serum3_settle_funds.rs | 2 +- .../token_charge_collateral_fees.rs | 6 +- .../token_conditional_swap_trigger.rs | 2 +- .../src/instructions/token_register.rs | 4 +- .../instructions/token_register_trustless.rs | 4 +- programs/mango-v4/src/lib.rs | 163 +- programs/mango-v4/src/logs.rs | 28 + programs/mango-v4/src/serum3_cpi.rs | 19 +- programs/mango-v4/src/state/bank.rs | 48 +- programs/mango-v4/src/state/group.rs | 5 +- programs/mango-v4/src/state/mango_account.rs | 377 ++- .../src/state/mango_account_components.rs | 95 + .../mango-v4/src/state/openbook_v2_market.rs | 28 +- programs/mango-v4/tests/cases/mod.rs | 1 + programs/mango-v4/tests/cases/test_basic.rs | 9 +- .../tests/cases/test_health_compute.rs | 1 + .../mango-v4/tests/cases/test_openbook_v2.rs | 2031 +++++++++++++++++ .../mango-v4/tests/cases/test_perp_settle.rs | 1 + programs/mango-v4/tests/cases/test_serum.rs | 5 +- .../tests/cases/test_stale_oracles.rs | 1 + .../mango-v4/tests/fixtures/openbook_v2.so | Bin 0 -> 814896 bytes .../tests/program_test/mango_client.rs | 713 +++++- .../tests/program_test/mango_setup.rs | 2 +- programs/mango-v4/tests/program_test/mod.rs | 19 + .../tests/program_test/openbook_client.rs | 1310 +++++++++++ .../tests/program_test/openbook_setup.rs | 126 + programs/mango-v4/tests/program_test/serum.rs | 8 +- rust-toolchain.toml | 2 +- ts/client/ids.json | 2 + .../scripts/archive/devnet-add-obv2-market.ts | 64 + ts/client/scripts/archive/devnet-admin.ts | 2 +- .../archive/devnet-place-obv2-order.ts | 103 + ts/client/scripts/idl-compare.ts | 93 +- ts/client/scripts/obv2.ts | 60 + ts/client/src/accounts/group.ts | 181 +- ts/client/src/accounts/mangoAccount.spec.ts | 4 + ts/client/src/accounts/mangoAccount.ts | 149 +- ts/client/src/accounts/openbookV2.ts | 368 +++ ts/client/src/client.ts | 1318 +++++++++-- ts/client/src/clientIxParamBuilder.ts | 5 +- ts/client/src/constants/index.ts | 6 + ts/client/src/ids.ts | 37 + ts/client/src/index.ts | 1 + ts/client/src/mango_v4.ts | 1918 +++++++++++----- ts/client/src/utils.ts | 23 +- tsconfig.json | 9 +- yarn.lock | 59 +- 100 files changed, 12293 insertions(+), 1601 deletions(-) create mode 100644 programs/mango-v4/resources/test/mangoaccount-v0.23.0.bin delete mode 100644 programs/mango-v4/src/accounts_ix/openbook_v2_place_take_order.rs create mode 100644 programs/mango-v4/src/instructions/openbook_v2_cancel_all_orders.rs create mode 100644 programs/mango-v4/src/instructions/openbook_v2_cancel_order.rs create mode 100644 programs/mango-v4/src/instructions/openbook_v2_close_open_orders.rs create mode 100644 programs/mango-v4/src/instructions/openbook_v2_create_open_orders.rs create mode 100644 programs/mango-v4/src/instructions/openbook_v2_deregister_market.rs create mode 100644 programs/mango-v4/src/instructions/openbook_v2_edit_market.rs create mode 100644 programs/mango-v4/src/instructions/openbook_v2_liq_force_cancel_orders.rs create mode 100644 programs/mango-v4/src/instructions/openbook_v2_place_order.rs create mode 100644 programs/mango-v4/src/instructions/openbook_v2_register_market.rs create mode 100644 programs/mango-v4/src/instructions/openbook_v2_settle_funds.rs create mode 100644 programs/mango-v4/tests/cases/test_openbook_v2.rs create mode 100644 programs/mango-v4/tests/fixtures/openbook_v2.so create mode 100644 programs/mango-v4/tests/program_test/openbook_client.rs create mode 100644 programs/mango-v4/tests/program_test/openbook_setup.rs create mode 100644 ts/client/scripts/archive/devnet-add-obv2-market.ts create mode 100644 ts/client/scripts/archive/devnet-place-obv2-order.ts create mode 100644 ts/client/scripts/obv2.ts create mode 100644 ts/client/src/accounts/openbookV2.ts diff --git a/.github/workflows/ci-code-review-rust.yml b/.github/workflows/ci-code-review-rust.yml index c5f23969b7..a612a0b509 100644 --- a/.github/workflows/ci-code-review-rust.yml +++ b/.github/workflows/ci-code-review-rust.yml @@ -32,7 +32,7 @@ on: env: CARGO_TERM_COLOR: always SOLANA_VERSION: '1.16.14' - RUST_TOOLCHAIN: '1.69.0' + RUST_TOOLCHAIN: '1.70.0' LOG_PROGRAM: '4MangoMjqJ2firMokCjjGgoK8d4MXcrgL7XJaL3w6fVg' jobs: diff --git a/Cargo.lock b/Cargo.lock index 7b423022eb..148f99507e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -119,7 +119,7 @@ version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "faa5be5b72abea167f87c868379ba3c2be356bfca9e6f474fd055fa0f7eeb4f2" dependencies = [ - "anchor-syn", + "anchor-syn 0.28.0", "anyhow", "proc-macro2 1.0.67", "quote 1.0.33", @@ -127,13 +127,25 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "anchor-attribute-access-control" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5f619f1d04f53621925ba8a2e633ba5a6081f2ae14758cbb67f38fd823e0a3e" +dependencies = [ + "anchor-syn 0.29.0", + "proc-macro2 1.0.67", + "quote 1.0.33", + "syn 1.0.109", +] + [[package]] name = "anchor-attribute-account" version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f468970344c7c9f9d03b4da854fd7c54f21305059f53789d0045c1dd803f0018" dependencies = [ - "anchor-syn", + "anchor-syn 0.28.0", "anyhow", "bs58 0.5.0", "proc-macro2 1.0.67", @@ -142,62 +154,120 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "anchor-attribute-account" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7f2a3e1df4685f18d12a943a9f2a7456305401af21a07c9fe076ef9ecd6e400" +dependencies = [ + "anchor-syn 0.29.0", + "bs58 0.5.0", + "proc-macro2 1.0.67", + "quote 1.0.33", + "syn 1.0.109", +] + [[package]] name = "anchor-attribute-constant" version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "59948e7f9ef8144c2aefb3f32a40c5fce2798baeec765ba038389e82301017ef" dependencies = [ - "anchor-syn", + "anchor-syn 0.28.0", "proc-macro2 1.0.67", "syn 1.0.109", ] +[[package]] +name = "anchor-attribute-constant" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9423945cb55627f0b30903288e78baf6f62c6c8ab28fb344b6b25f1ffee3dca7" +dependencies = [ + "anchor-syn 0.29.0", + "quote 1.0.33", + "syn 1.0.109", +] + [[package]] name = "anchor-attribute-error" version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fc753c9d1c7981cb8948cf7e162fb0f64558999c0413058e2d43df1df5448086" dependencies = [ - "anchor-syn", + "anchor-syn 0.28.0", "proc-macro2 1.0.67", "quote 1.0.33", "syn 1.0.109", ] +[[package]] +name = "anchor-attribute-error" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93ed12720033cc3c3bf3cfa293349c2275cd5ab99936e33dd4bf283aaad3e241" +dependencies = [ + "anchor-syn 0.29.0", + "quote 1.0.33", + "syn 1.0.109", +] + [[package]] name = "anchor-attribute-event" version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f38b4e172ba1b52078f53fdc9f11e3dc0668ad27997838a0aad2d148afac8c97" dependencies = [ - "anchor-syn", + "anchor-syn 0.28.0", "anyhow", "proc-macro2 1.0.67", "quote 1.0.33", "syn 1.0.109", ] +[[package]] +name = "anchor-attribute-event" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eef4dc0371eba2d8c8b54794b0b0eb786a234a559b77593d6f80825b6d2c77a2" +dependencies = [ + "anchor-syn 0.29.0", + "proc-macro2 1.0.67", + "quote 1.0.33", + "syn 1.0.109", +] + [[package]] name = "anchor-attribute-program" version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4eebd21543606ab61e2d83d9da37d24d3886a49f390f9c43a1964735e8c0f0d5" dependencies = [ - "anchor-syn", + "anchor-syn 0.28.0", "anyhow", "proc-macro2 1.0.67", "quote 1.0.33", "syn 1.0.109", ] +[[package]] +name = "anchor-attribute-program" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b18c4f191331e078d4a6a080954d1576241c29c56638783322a18d308ab27e4f" +dependencies = [ + "anchor-syn 0.29.0", + "quote 1.0.33", + "syn 1.0.109", +] + [[package]] name = "anchor-client" version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8434a6bf33efba0c93157f7fa2fafac658cb26ab75396886dcedd87c2a8ad445" dependencies = [ - "anchor-lang", + "anchor-lang 0.28.0", "anyhow", "futures 0.3.28", "regex", @@ -216,13 +286,37 @@ version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec4720d899b3686396cced9508f23dab420f1308344456ec78ef76f98fda42af" dependencies = [ - "anchor-syn", + "anchor-syn 0.28.0", "anyhow", "proc-macro2 1.0.67", "quote 1.0.33", "syn 1.0.109", ] +[[package]] +name = "anchor-derive-accounts" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5de10d6e9620d3bcea56c56151cad83c5992f50d5960b3a9bebc4a50390ddc3c" +dependencies = [ + "anchor-syn 0.29.0", + "quote 1.0.33", + "syn 1.0.109", +] + +[[package]] +name = "anchor-derive-serde" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4e2e5be518ec6053d90a2a7f26843dbee607583c779e6c8395951b9739bdfbe" +dependencies = [ + "anchor-syn 0.29.0", + "borsh-derive-internal 0.10.3", + "proc-macro2 1.0.67", + "quote 1.0.33", + "syn 1.0.109", +] + [[package]] name = "anchor-derive-space" version = "0.28.0" @@ -234,20 +328,56 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "anchor-derive-space" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ecc31d19fa54840e74b7a979d44bcea49d70459de846088a1d71e87ba53c419" +dependencies = [ + "proc-macro2 1.0.67", + "quote 1.0.33", + "syn 1.0.109", +] + [[package]] name = "anchor-lang" version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0d2d4b20100f1310a774aba3471ef268e5c4ba4d5c28c0bbe663c2658acbc414" dependencies = [ - "anchor-attribute-access-control", - "anchor-attribute-account", - "anchor-attribute-constant", - "anchor-attribute-error", - "anchor-attribute-event", - "anchor-attribute-program", - "anchor-derive-accounts", - "anchor-derive-space", + "anchor-attribute-access-control 0.28.0", + "anchor-attribute-account 0.28.0", + "anchor-attribute-constant 0.28.0", + "anchor-attribute-error 0.28.0", + "anchor-attribute-event 0.28.0", + "anchor-attribute-program 0.28.0", + "anchor-derive-accounts 0.28.0", + "anchor-derive-space 0.28.0", + "arrayref", + "base64 0.13.1", + "bincode", + "borsh 0.10.3", + "bytemuck", + "getrandom 0.2.10", + "solana-program", + "thiserror", +] + +[[package]] +name = "anchor-lang" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "35da4785497388af0553586d55ebdc08054a8b1724720ef2749d313494f2b8ad" +dependencies = [ + "anchor-attribute-access-control 0.29.0", + "anchor-attribute-account 0.29.0", + "anchor-attribute-constant 0.29.0", + "anchor-attribute-error 0.29.0", + "anchor-attribute-event 0.29.0", + "anchor-attribute-program 0.29.0", + "anchor-derive-accounts 0.29.0", + "anchor-derive-serde", + "anchor-derive-space 0.29.0", "arrayref", "base64 0.13.1", "bincode", @@ -264,13 +394,27 @@ version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "78f860599da1c2354e7234c768783049eb42e2f54509ecfc942d2e0076a2da7b" dependencies = [ - "anchor-lang", + "anchor-lang 0.28.0", "solana-program", "spl-associated-token-account 1.1.3", "spl-token 3.5.0", "spl-token-2022 0.6.1", ] +[[package]] +name = "anchor-spl" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c4fd6e43b2ca6220d2ef1641539e678bfc31b6cc393cf892b373b5997b6a39a" +dependencies = [ + "anchor-lang 0.29.0", + "mpl-token-metadata 3.2.3", + "solana-program", + "spl-associated-token-account 2.2.0", + "spl-token 4.0.0", + "spl-token-2022 0.9.0", +] + [[package]] name = "anchor-syn" version = "0.28.0" @@ -289,6 +433,24 @@ dependencies = [ "thiserror", ] +[[package]] +name = "anchor-syn" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9101b84702fed2ea57bd22992f75065da5648017135b844283a2f6d74f27825" +dependencies = [ + "anyhow", + "bs58 0.5.0", + "heck 0.3.3", + "proc-macro2 1.0.67", + "quote 1.0.33", + "serde", + "serde_json", + "sha2 0.10.7", + "syn 1.0.109", + "thiserror", +] + [[package]] name = "android-tzdata" version = "0.1.1" @@ -2089,19 +2251,6 @@ dependencies = [ "typenum", ] -[[package]] -name = "fixed" -version = "1.11.0" -source = "git+https://github.com/openbook-dex/openbook-v2.git#deb70f66c3294f4f8942f12f46ef40730f5d23c6" -dependencies = [ - "az", - "borsh 0.9.3", - "bytemuck", - "half", - "serde", - "typenum", -] - [[package]] name = "fixedbitset" version = "0.4.2" @@ -3364,7 +3513,7 @@ dependencies = [ "bytemuck", "bytes 1.5.0", "chrono", - "fixed 1.11.0 (git+https://github.com/blockworks-foundation/fixed.git?branch=v1.11.0-borsh0_10-mango)", + "fixed", "futures 0.3.28", "futures-core", "itertools", @@ -3381,10 +3530,10 @@ dependencies = [ [[package]] name = "mango-v4" -version = "0.24.0" +version = "0.25.0" dependencies = [ - "anchor-lang", - "anchor-spl", + "anchor-lang 0.28.0", + "anchor-spl 0.28.0", "anyhow", "arrayref", "async-trait", @@ -3396,7 +3545,7 @@ dependencies = [ "default-env", "derivative", "env_logger", - "fixed 1.11.0 (git+https://github.com/blockworks-foundation/fixed.git?branch=v1.11.0-borsh0_10-mango)", + "fixed", "itertools", "lazy_static", "log 0.4.20", @@ -3427,14 +3576,14 @@ name = "mango-v4-cli" version = "0.3.0" dependencies = [ "anchor-client", - "anchor-lang", - "anchor-spl", + "anchor-lang 0.28.0", + "anchor-spl 0.28.0", "anyhow", "async-channel", "base64 0.21.4", "clap 3.2.25", "dotenv", - "fixed 1.11.0 (git+https://github.com/blockworks-foundation/fixed.git?branch=v1.11.0-borsh0_10-mango)", + "fixed", "futures 0.3.28", "itertools", "mango-v4", @@ -3453,8 +3602,8 @@ name = "mango-v4-client" version = "0.3.0" dependencies = [ "anchor-client", - "anchor-lang", - "anchor-spl", + "anchor-lang 0.28.0", + "anchor-spl 0.28.0", "anyhow", "async-channel", "async-once-cell", @@ -3465,13 +3614,14 @@ dependencies = [ "borsh 0.10.3", "clap 3.2.25", "derive_builder", - "fixed 1.11.0 (git+https://github.com/blockworks-foundation/fixed.git?branch=v1.11.0-borsh0_10-mango)", + "fixed", "futures 0.3.28", "itertools", "jsonrpc-core 18.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "jsonrpc-core-client", "mango-feeds-connector", "mango-v4", + "openbook-v2", "pyth-sdk-solana", "reqwest", "serde", @@ -3498,12 +3648,12 @@ name = "mango-v4-keeper" version = "0.3.0" dependencies = [ "anchor-client", - "anchor-lang", - "anchor-spl", + "anchor-lang 0.28.0", + "anchor-spl 0.28.0", "anyhow", "clap 3.2.25", "dotenv", - "fixed 1.11.0 (git+https://github.com/blockworks-foundation/fixed.git?branch=v1.11.0-borsh0_10-mango)", + "fixed", "futures 0.3.28", "itertools", "lazy_static", @@ -3524,7 +3674,7 @@ name = "mango-v4-liquidator" version = "0.0.1" dependencies = [ "anchor-client", - "anchor-lang", + "anchor-lang 0.28.0", "anyhow", "arrayref", "async-channel", @@ -3537,7 +3687,7 @@ dependencies = [ "chrono", "clap 3.2.25", "dotenv", - "fixed 1.11.0 (git+https://github.com/blockworks-foundation/fixed.git?branch=v1.11.0-borsh0_10-mango)", + "fixed", "futures 0.3.28", "futures-core", "futures-util", @@ -3550,6 +3700,7 @@ dependencies = [ "mango-v4", "mango-v4-client", "once_cell", + "openbook-v2", "pyth-sdk-solana", "rand 0.7.3", "regex", @@ -3575,7 +3726,7 @@ name = "mango-v4-settler" version = "0.0.1" dependencies = [ "anchor-client", - "anchor-lang", + "anchor-lang 0.28.0", "anyhow", "arrayref", "async-channel", @@ -3587,7 +3738,7 @@ dependencies = [ "bytes 1.5.0", "clap 3.2.25", "dotenv", - "fixed 1.11.0 (git+https://github.com/blockworks-foundation/fixed.git?branch=v1.11.0-borsh0_10-mango)", + "fixed", "futures 0.3.28", "futures-core", "futures-util", @@ -3869,11 +4020,24 @@ dependencies = [ "num-traits", "shank", "solana-program", - "spl-associated-token-account 2.1.0", + "spl-associated-token-account 2.2.0", "spl-token 4.0.0", "thiserror", ] +[[package]] +name = "mpl-token-metadata" +version = "3.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba8ee05284d79b367ae8966d558e1a305a781fc80c9df51f37775169117ba64f" +dependencies = [ + "borsh 0.10.3", + "num-derive 0.3.3", + "num-traits", + "solana-program", + "thiserror", +] + [[package]] name = "mpl-token-metadata-context-derive" version = "0.2.1" @@ -4265,19 +4429,21 @@ checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" [[package]] name = "openbook-v2" version = "0.1.0" -source = "git+https://github.com/openbook-dex/openbook-v2.git#deb70f66c3294f4f8942f12f46ef40730f5d23c6" +source = "git+https://github.com/openbook-dex/openbook-v2.git?rev=270b2d2d473862bd4e3aa213feb970af81f4b3e2#270b2d2d473862bd4e3aa213feb970af81f4b3e2" dependencies = [ - "anchor-lang", - "anchor-spl", + "anchor-lang 0.28.0", + "anchor-spl 0.28.0", "arrayref", "bytemuck", + "default-env", "derivative", - "fixed 1.11.0 (git+https://github.com/openbook-dex/openbook-v2.git)", + "fixed", "itertools", "num_enum 0.5.11", "pyth-sdk-solana", "raydium-amm-v3", "solana-program", + "solana-security-txt", "static_assertions", "switchboard-program", "switchboard-v2", @@ -5255,14 +5421,15 @@ dependencies = [ [[package]] name = "raydium-amm-v3" version = "0.1.0" -source = "git+https://github.com/raydium-io/raydium-clmm.git#6e4639f7133a8852068d2d473c263f907b69cd4a" +source = "git+https://github.com/raydium-io/raydium-clmm.git#cc1adca3cbe5eca08571d19ebedad4c0b8ec4022" dependencies = [ - "anchor-lang", - "anchor-spl", + "anchor-lang 0.29.0", + "anchor-spl 0.29.0", "arrayref", "bytemuck", - "mpl-token-metadata", + "mpl-token-metadata 1.13.2", "solana-program", + "spl-memo 4.0.0", "uint", ] @@ -5896,7 +6063,7 @@ name = "serum_dex" version = "0.5.10" source = "git+https://github.com/grooviegermanikus/program.git?branch=groovie/v0.5.10-updates-expose-things#03f1b242db2a709af2601b4df445b2ea33a8d97d" dependencies = [ - "anchor-lang", + "anchor-lang 0.29.0", "arrayref", "bincode", "bytemuck", @@ -5922,7 +6089,7 @@ name = "serum_dex" version = "0.5.10" source = "git+https://github.com/openbook-dex/program.git#c85e56deeaead43abbc33b7301058838b9c5136d" dependencies = [ - "anchor-lang", + "anchor-lang 0.29.0", "arrayref", "bincode", "bytemuck", @@ -5948,7 +6115,7 @@ name = "service-mango-crank" version = "0.1.0" dependencies = [ "anchor-client", - "anchor-lang", + "anchor-lang 0.28.0", "anyhow", "async-channel", "async-trait", @@ -5980,7 +6147,7 @@ name = "service-mango-fills" version = "0.1.0" dependencies = [ "anchor-client", - "anchor-lang", + "anchor-lang 0.28.0", "anyhow", "async-channel", "async-trait", @@ -6025,7 +6192,7 @@ name = "service-mango-health" version = "0.1.0" dependencies = [ "anchor-client", - "anchor-lang", + "anchor-lang 0.28.0", "anyhow", "async-channel", "async-trait", @@ -6033,7 +6200,7 @@ dependencies = [ "bs58 0.3.1", "bytemuck", "chrono", - "fixed 1.11.0 (git+https://github.com/blockworks-foundation/fixed.git?branch=v1.11.0-borsh0_10-mango)", + "fixed", "futures 0.3.28", "futures-channel", "futures-core", @@ -6072,13 +6239,13 @@ name = "service-mango-orderbook" version = "0.1.0" dependencies = [ "anchor-client", - "anchor-lang", + "anchor-lang 0.28.0", "anyhow", "async-channel", "async-trait", "bs58 0.3.1", "bytemuck", - "fixed 1.11.0 (git+https://github.com/blockworks-foundation/fixed.git?branch=v1.11.0-borsh0_10-mango)", + "fixed", "futures-channel", "futures-util", "itertools", @@ -6105,12 +6272,12 @@ name = "service-mango-pnl" version = "0.1.0" dependencies = [ "anchor-client", - "anchor-lang", + "anchor-lang 0.28.0", "anyhow", "async-channel", "async-trait", "bs58 0.3.1", - "fixed 1.11.0 (git+https://github.com/blockworks-foundation/fixed.git?branch=v1.11.0-borsh0_10-mango)", + "fixed", "jsonrpsee", "log 0.4.20", "mango-feeds-connector", @@ -7798,9 +7965,9 @@ dependencies = [ [[package]] name = "spl-associated-token-account" -version = "2.1.0" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "477696277857a7b2c17a6f7f3095e835850ad1c0f11637b5bd2693ca777d8546" +checksum = "385e31c29981488f2820b2022d8e731aae3b02e6e18e2fd854e4c9a94dc44fc3" dependencies = [ "assert_matches", "borsh 0.10.3", @@ -7808,7 +7975,7 @@ dependencies = [ "num-traits", "solana-program", "spl-token 4.0.0", - "spl-token-2022 0.8.0", + "spl-token-2022 0.9.0", "thiserror", ] @@ -7905,9 +8072,9 @@ dependencies = [ [[package]] name = "spl-tlv-account-resolution" -version = "0.3.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7960b1e1a41e4238807fca0865e72a341b668137a3f2ddcd770d04fd1b374c96" +checksum = "062e148d3eab7b165582757453632ffeef490c02c86a48bfdb4988f63eefb3b9" dependencies = [ "bytemuck", "solana-program", @@ -7967,9 +8134,9 @@ dependencies = [ [[package]] name = "spl-token-2022" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84fc0c7a763c3f53fa12581d07ed324548a771bb648a1217e4f330b1d0a59331" +checksum = "e4abf34a65ba420584a0c35f3903f8d727d1f13ababbdc3f714c6b065a686e86" dependencies = [ "arrayref", "bytemuck", @@ -8003,9 +8170,9 @@ dependencies = [ [[package]] name = "spl-transfer-hook-interface" -version = "0.2.0" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7489940049417ae5ce909314bead0670e2a5ea5c82d43ab96dc15c8fcbbccba" +checksum = "051d31803f873cabe71aec3c1b849f35248beae5d19a347d93a5c9cccc5d5a9b" dependencies = [ "arrayref", "bytemuck", @@ -8154,8 +8321,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "625e34dba0d9bcf6b1f5db5ccf1c0aa8db8329ff89c4d51715bbe4514140127a" dependencies = [ "anchor-client", - "anchor-lang", - "anchor-spl", + "anchor-lang 0.28.0", + "anchor-spl 0.28.0", "bincode", "bytemuck", "chrono", @@ -8195,8 +8362,8 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4b81886169f446e22edc18ead7addd9ebd141c39bf2286cb37943c92cd3af724" dependencies = [ - "anchor-lang", - "anchor-spl", + "anchor-lang 0.28.0", + "anchor-spl 0.28.0", "bytemuck", "rust_decimal", "solana-program", diff --git a/Cargo.toml b/Cargo.toml index afb3f2adc6..f95b9033af 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,6 +14,7 @@ pyth-sdk-solana = "0.8.0" # commit c85e56d (0.5.10 plus dependency updates) serum_dex = { git = "https://github.com/openbook-dex/program.git", default-features=false } mango-feeds-connector = "0.2.1" +openbook-v2 = { git = "https://github.com/openbook-dex/openbook-v2.git", rev = "270b2d2d473862bd4e3aa213feb970af81f4b3e2" } # 1.16.7+ is required due to this: https://github.com/blockworks-foundation/mango-v4/issues/712 solana-address-lookup-table-program = "~1.16.7" diff --git a/Dockerfile b/Dockerfile index eeebb96baf..f9448fc40f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # syntax = docker/dockerfile:1.2 # Base image containing all binaries, deployed to ghcr.io/blockworks-foundation/mango-v4:latest -FROM lukemathwalker/cargo-chef:latest-rust-1.69-slim-bullseye as base +FROM lukemathwalker/cargo-chef:latest-rust-1.70-slim-bullseye as base RUN apt-get update && apt-get -y install clang cmake perl libfindbin-libs-perl WORKDIR /app diff --git a/README.md b/README.md index d3bccefe87..fc71ad72f9 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ See DEVELOPING.md and FAQ-DEV.md ### Dependencies -- rust version 1.69.0 +- rust version 1.70.0 - solana-cli 1.16.7 - anchor-cli 0.28.0 - npm 8.1.2 diff --git a/bin/liquidator/Cargo.toml b/bin/liquidator/Cargo.toml index 9e13f12ef4..54467f7d4a 100644 --- a/bin/liquidator/Cargo.toml +++ b/bin/liquidator/Cargo.toml @@ -53,3 +53,4 @@ regex = "1.9.5" hdrhistogram = "7.5.4" indexmap = "2.0.0" borsh = { version = "0.10.3", features = ["const-generics"] } +openbook-v2 = { workspace = true, features = ["no-entrypoint"] } diff --git a/bin/liquidator/src/liquidate.rs b/bin/liquidator/src/liquidate.rs index 06c3d1f018..0be1838bb4 100644 --- a/bin/liquidator/src/liquidate.rs +++ b/bin/liquidator/src/liquidate.rs @@ -4,7 +4,10 @@ use std::time::Duration; use itertools::Itertools; use mango_v4::health::{HealthCache, HealthType}; -use mango_v4::state::{MangoAccountValue, PerpMarketIndex, Side, TokenIndex, QUOTE_TOKEN_INDEX}; +use mango_v4::state::{ + MangoAccountValue, OpenbookV2Orders, PerpMarketIndex, Serum3Orders, Side, TokenIndex, + QUOTE_TOKEN_INDEX, +}; use mango_v4_client::{chain_data, MangoClient, PreparedInstructions}; use solana_sdk::signature::Signature; @@ -45,7 +48,12 @@ struct LiquidateHelper<'a> { } impl<'a> LiquidateHelper<'a> { - async fn serum3_close_orders(&self) -> anyhow::Result> { + async fn spot_close_orders(&self) -> anyhow::Result> { + enum SpotMarket { + Serum(Serum3Orders), + OpenbookV2(OpenbookV2Orders), + } + // look for any open serum orders or settleable balances let serum_oos: anyhow::Result> = self .liqee @@ -56,39 +64,72 @@ impl<'a> LiquidateHelper<'a> { Ok((*orders, *open_orders)) }) .try_collect(); - let mut serum_force_cancels = serum_oos? - .into_iter() - .filter_map(|(orders, open_orders)| { - let can_force_cancel = open_orders.native_coin_total > 0 - || open_orders.native_pc_total > 0 - || open_orders.referrer_rebates_accrued > 0; - if can_force_cancel { - Some(orders) - } else { - None - } + let serum_force_cancels = serum_oos?.into_iter().filter_map(|(orders, open_orders)| { + let can_force_cancel = open_orders.native_coin_total > 0 + || open_orders.native_pc_total > 0 + || open_orders.referrer_rebates_accrued > 0; + if can_force_cancel { + Some(SpotMarket::Serum(orders)) + } else { + None + } + }); + + let obv2_oos: anyhow::Result> = self + .liqee + .active_openbook_v2_orders() + .map(|orders| { + let open_orders = self + .account_fetcher + .fetch::(&orders.open_orders)?; + Ok((*orders, open_orders)) }) + .try_collect(); + let obv2_force_cancels = obv2_oos?.into_iter().filter_map(|(orders, open_orders)| { + let can_force_cancel = !open_orders.position.is_empty(open_orders.version); + if can_force_cancel { + Some(SpotMarket::OpenbookV2(orders)) + } else { + None + } + }); + + let mut force_cancels = serum_force_cancels + .chain(obv2_force_cancels) .collect::>(); - if serum_force_cancels.is_empty() { + if force_cancels.is_empty() { return Ok(None); } - serum_force_cancels.shuffle(&mut rand::thread_rng()); + force_cancels.shuffle(&mut rand::thread_rng()); let mut ixs = PreparedInstructions::new(); - let mut cancelled_markets = vec![]; + let mut cancelled_serum3 = vec![]; + let mut cancelled_openbook_v2 = vec![]; let mut tx_builder = self.client.transaction_builder().await?; - for force_cancel in serum_force_cancels { + for force_cancel in force_cancels { let mut new_ixs = ixs.clone(); - new_ixs.append( - self.client - .serum3_liq_force_cancel_orders_instruction( - (self.pubkey, self.liqee), - force_cancel.market_index, - &force_cancel.open_orders, - ) - .await?, - ); + let cancel_ix = match &force_cancel { + SpotMarket::Serum(orders) => { + self.client + .serum3_liq_force_cancel_orders_instruction( + (self.pubkey, self.liqee), + orders.market_index, + &orders.open_orders, + ) + .await? + } + SpotMarket::OpenbookV2(orders) => { + self.client + .openbook_v2_liq_force_cancel_orders_instruction( + (self.pubkey, self.liqee), + orders.market_index, + &orders.open_orders, + ) + .await? + } + }; + new_ixs.append(cancel_ix); let exceeds_cu_limit = new_ixs.cu > self.config.max_cu_per_transaction; let exceeds_size_limit = { @@ -100,16 +141,20 @@ impl<'a> LiquidateHelper<'a> { } ixs = new_ixs; - cancelled_markets.push(force_cancel.market_index); + match force_cancel { + SpotMarket::Serum(orders) => cancelled_serum3.push(orders.market_index), + SpotMarket::OpenbookV2(orders) => cancelled_openbook_v2.push(orders.market_index), + } } tx_builder.instructions = ixs.to_instructions(); let txsig = tx_builder.send_and_confirm(&self.client.client).await?; info!( - market_indexes = ?cancelled_markets, + market_indexes_serum3 = ?cancelled_serum3, + market_indexes_openbook_v2 = ?cancelled_openbook_v2, %txsig, - "Force cancelled serum orders", + "Force cancelled spot orders", ); Ok(Some(txsig)) } @@ -619,7 +664,7 @@ impl<'a> LiquidateHelper<'a> { if let Some(txsig) = self.perp_close_orders().await? { return Ok(Some(txsig)); } - if let Some(txsig) = self.serum3_close_orders().await? { + if let Some(txsig) = self.spot_close_orders().await? { return Ok(Some(txsig)); } diff --git a/idl-fixup.sh b/idl-fixup.sh index 3652e8d538..f8e444a1a1 100755 --- a/idl-fixup.sh +++ b/idl-fixup.sh @@ -20,7 +20,9 @@ done # errors on enums that have tuple variants. This hack drops these from the idl. perl -0777 -pi -e 's/ *{\s*"name": "NodeRef(?(?:[^{}[\]]+|\{(?&nested)\}|\[(?&nested)\])*)\},\n//g' \ target/idl/mango_v4.json target/types/mango_v4.ts; - +# Also drop type only used in client and tests that somehow makes it into the idl +perl -0777 -pi -e 's/ *{\s*"name": "MangoAccountValue(?(?:[^{}[\]]+|\{(?&nested)\}|\[(?&nested)\])*)\},\n//g' \ + target/idl/mango_v4.json target/types/mango_v4.ts; # Reduce size of idl to be uploaded to chain cp target/idl/mango_v4.json target/idl/mango_v4_no_docs.json jq 'del(.types[]?.docs)' target/idl/mango_v4_no_docs.json \ diff --git a/lib/client/Cargo.toml b/lib/client/Cargo.toml index b23dc9d15d..5525d42ebb 100644 --- a/lib/client/Cargo.toml +++ b/lib/client/Cargo.toml @@ -47,3 +47,4 @@ bincode = "1.3.3" tracing = { version = "0.1", features = ["log"] } tracing-subscriber = { version = "0.3", features = ["env-filter"] } borsh = { version = "0.10.3", features = ["const-generics"] } +openbook-v2 = { workspace = true, features = ["no-entrypoint"] } diff --git a/lib/client/src/client.rs b/lib/client/src/client.rs index 598b53e208..81fa30aeca 100644 --- a/lib/client/src/client.rs +++ b/lib/client/src/client.rs @@ -23,8 +23,9 @@ use mango_v4::accounts_ix::{ use mango_v4::accounts_zerocopy::KeyedAccountSharedData; use mango_v4::health::HealthCache; use mango_v4::state::{ - Bank, Group, MangoAccountValue, OracleAccountInfos, PerpMarket, PerpMarketIndex, - PlaceOrderType, SelfTradeBehavior, Serum3MarketIndex, Side, TokenIndex, INSURANCE_TOKEN_INDEX, + Bank, Group, MangoAccountValue, OpenbookV2MarketIndex, OracleAccountInfos, PerpMarket, + PerpMarketIndex, PlaceOrderType, SelfTradeBehavior, Serum3MarketIndex, Side, TokenIndex, + INSURANCE_TOKEN_INDEX, }; use crate::confirm_transaction::{wait_for_transaction_confirmation, RpcConfirmTransactionConfig}; @@ -1344,6 +1345,62 @@ impl MangoClient { Ok(ix) } + pub async fn openbook_v2_liq_force_cancel_orders_instruction( + &self, + liqee: (&Pubkey, &MangoAccountValue), + market_index: OpenbookV2MarketIndex, + open_orders: &Pubkey, + ) -> anyhow::Result { + let openbook_v2_market = self.context.openbook_v2(market_index); + let base = self.context.token(openbook_v2_market.base_token_index); + let quote = self.context.token(openbook_v2_market.quote_token_index); + let (health_remaining_ams, health_cu) = self + .derive_health_check_remaining_account_metas(liqee.1, vec![], vec![], vec![]) + .await + .unwrap(); + + let limit = 5; + let ix = PreparedInstructions::from_single( + Instruction { + program_id: mango_v4::id(), + accounts: { + let mut ams = anchor_lang::ToAccountMetas::to_account_metas( + &mango_v4::accounts::OpenbookV2LiqForceCancelOrders { + payer: self.owner(), + group: self.group(), + account: *liqee.0, + open_orders: *open_orders, + openbook_v2_market: openbook_v2_market.address, + openbook_v2_program: openbook_v2_market.openbook_v2_program, + openbook_v2_market_external: openbook_v2_market.market_external, + bids: openbook_v2_market.bids, + asks: openbook_v2_market.asks, + event_heap: openbook_v2_market.event_heap, + market_base_vault: openbook_v2_market.market_base_vault, + market_quote_vault: openbook_v2_market.market_quote_vault, + market_vault_signer: openbook_v2_market.market_authority, + quote_bank: quote.first_bank(), + quote_vault: quote.first_vault(), + base_bank: base.first_bank(), + base_vault: base.first_vault(), + token_program: Token::id(), + system_program: System::id(), + }, + None, + ); + ams.extend(health_remaining_ams.into_iter()); + ams + }, + data: anchor_lang::InstructionData::data( + &mango_v4::instruction::OpenbookV2LiqForceCancelOrders { limit }, + ), + }, + self.instruction_cu(health_cu) + + self.context.compute_estimates.cu_per_serum3_order_cancel * limit as u32, + ); + Ok(ix) + } + pub async fn serum3_liq_force_cancel_orders( &self, liqee: (&Pubkey, &MangoAccountValue), diff --git a/lib/client/src/context.rs b/lib/client/src/context.rs index cc9ca95946..8862fbf97e 100644 --- a/lib/client/src/context.rs +++ b/lib/client/src/context.rs @@ -5,11 +5,12 @@ use anchor_client::ClientError; use anchor_lang::__private::bytemuck; use mango_v4::{ - accounts_zerocopy::{KeyedAccountReader, KeyedAccountSharedData}, + accounts_zerocopy::{KeyedAccountReader, KeyedAccountSharedData, LoadZeroCopy}, state::{ determine_oracle_type, load_orca_pool_state, load_raydium_pool_state, - oracle_state_unchecked, Group, MangoAccountValue, OracleAccountInfos, OracleConfig, - OracleConfigParams, OracleType, PerpMarketIndex, Serum3MarketIndex, TokenIndex, MAX_BANKS, + oracle_state_unchecked, Group, MangoAccountValue, OpenbookV2MarketIndex, + OracleAccountInfos, OracleConfig, OracleConfigParams, OracleType, PerpMarketIndex, + Serum3MarketIndex, TokenIndex, MAX_BANKS, }, }; @@ -93,6 +94,24 @@ pub struct Serum3MarketContext { pub pc_lot_size: u64, } +#[derive(Clone, PartialEq, Eq)] +pub struct OpenbookV2MarketContext { + pub address: Pubkey, + pub name: String, + pub openbook_v2_program: Pubkey, + pub market_external: Pubkey, + pub base_token_index: TokenIndex, + pub quote_token_index: TokenIndex, + pub bids: Pubkey, + pub asks: Pubkey, + pub event_heap: Pubkey, + pub market_base_vault: Pubkey, + pub market_quote_vault: Pubkey, + pub market_authority: Pubkey, + pub quote_lot_size: u64, + pub base_lot_size: u64, +} + #[derive(Clone, PartialEq, Eq)] pub struct PerpMarketContext { pub group: Pubkey, @@ -115,8 +134,10 @@ pub struct ComputeEstimates { pub health_cu_per_token: u32, pub health_cu_per_perp: u32, pub health_cu_per_serum: u32, + pub health_cu_per_obv2: u32, pub cu_per_serum3_order_match: u32, pub cu_per_serum3_order_cancel: u32, + pub cu_per_openbook_v2_order_cancel: u32, pub cu_per_perp_order_match: u32, pub cu_per_perp_order_cancel: u32, pub cu_per_oracle_fallback: u32, @@ -133,10 +154,12 @@ impl Default for ComputeEstimates { health_cu_per_token: 5000, health_cu_per_perp: 8000, health_cu_per_serum: 6000, + health_cu_per_obv2: 6000, // measured around 1.5k, see test_serum_compute cu_per_serum3_order_match: 3_000, // measured around 11k, see test_serum_compute cu_per_serum3_order_cancel: 20_000, + cu_per_openbook_v2_order_cancel: 30_000, // measured around 3.5k, see test_perp_compute cu_per_perp_order_match: 7_000, // measured around 3.5k, see test_perp_compute @@ -160,15 +183,18 @@ impl ComputeEstimates { tokens: usize, perps: usize, serums: usize, + obv2s: usize, fallbacks: usize, ) -> u32 { let tokens: u32 = tokens.try_into().unwrap(); let perps: u32 = perps.try_into().unwrap(); let serums: u32 = serums.try_into().unwrap(); + let obv2s: u32 = obv2s.try_into().unwrap(); let fallbacks: u32 = fallbacks.try_into().unwrap(); tokens * self.health_cu_per_token + perps * self.health_cu_per_perp + serums * self.health_cu_per_serum + + obv2s * self.health_cu_per_obv2 + fallbacks * self.cu_per_oracle_fallback } @@ -177,6 +203,7 @@ impl ComputeEstimates { account.active_token_positions().count(), account.active_perp_positions().count(), account.active_serum3_orders().count(), + account.active_openbook_v2_orders().count(), num_fallbacks, ) } @@ -191,6 +218,9 @@ pub struct MangoGroupContext { pub serum3_markets: HashMap, pub serum3_market_indexes_by_name: HashMap, + pub openbook_v2_markets: HashMap, + pub openbook_v2_market_indexes_by_name: HashMap, + pub perp_markets: HashMap, pub perp_market_indexes_by_name: HashMap, @@ -228,6 +258,10 @@ impl MangoGroupContext { self.token(self.serum3(market_index).quote_token_index) } + pub fn openbook_v2(&self, market_index: OpenbookV2MarketIndex) -> &OpenbookV2MarketContext { + self.openbook_v2_markets.get(&market_index).unwrap() + } + pub fn token(&self, token_index: TokenIndex) -> &TokenContext { self.tokens.get(&token_index).unwrap() } @@ -344,6 +378,41 @@ impl MangoGroupContext { }) .collect::>(); + // openbook v2 markets + let openbook_v2_market_tuples = fetch_openbook_v2_markets(rpc, program, group).await?; + let openbook_v2_markets_external = stream::iter(openbook_v2_market_tuples.iter()) + .then(|(_, s)| fetch_raw_account(rpc, s.openbook_v2_market_external)) + .try_collect::>() + .await?; + let openbook_v2_markets = openbook_v2_market_tuples + .iter() + .zip(openbook_v2_markets_external.iter()) + .map(|((pk, s), market_external_account)| { + let market_external = market_external_account + .load::() + .unwrap(); + ( + s.market_index, + OpenbookV2MarketContext { + address: *pk, + base_token_index: s.base_token_index, + quote_token_index: s.quote_token_index, + name: s.name().to_string(), + openbook_v2_program: s.openbook_v2_program, + market_external: s.openbook_v2_market_external, + bids: market_external.bids, + asks: market_external.asks, + event_heap: market_external.event_heap, + market_base_vault: market_external.market_base_vault, + market_quote_vault: market_external.market_quote_vault, + market_authority: market_external.market_authority, + quote_lot_size: market_external.quote_lot_size.try_into().unwrap(), + base_lot_size: market_external.base_lot_size.try_into().unwrap(), + }, + ) + }) + .collect::>(); + // perp markets let perp_market_tuples = fetch_perp_markets(rpc, program, group).await?; let perp_markets = perp_market_tuples @@ -379,6 +448,10 @@ impl MangoGroupContext { .iter() .map(|(i, s)| (s.name.clone(), *i)) .collect::>(); + let openbook_v2_market_indexes_by_name = openbook_v2_markets + .iter() + .map(|(i, s)| (s.name.clone(), *i)) + .collect::>(); let perp_market_indexes_by_name = perp_markets .iter() .map(|(i, p)| (p.name.clone(), *i)) @@ -398,6 +471,8 @@ impl MangoGroupContext { token_indexes_by_name, serum3_markets, serum3_market_indexes_by_name, + openbook_v2_markets, + openbook_v2_market_indexes_by_name, perp_markets, perp_market_indexes_by_name, address_lookup_tables, @@ -439,6 +514,7 @@ impl MangoGroupContext { } let serum_oos = account.active_serum3_orders().map(|&s| s.open_orders); + let obv2_oos = account.active_openbook_v2_orders().map(|o| o.open_orders); let perp_markets = account .active_perp_positions() .map(|&pa| self.perp_market_address(pa.market_index)); @@ -471,6 +547,7 @@ impl MangoGroupContext { .chain(perp_markets.map(to_account_meta)) .chain(perp_oracles.map(to_account_meta)) .chain(serum_oos.map(to_account_meta)) + .chain(obv2_oos.map(to_account_meta)) .chain(fallback_oracles.into_iter().map(to_account_meta)) .collect(); @@ -515,6 +592,10 @@ impl MangoGroupContext { .active_serum3_orders() .chain(account1.active_serum3_orders()) .map(|&s| s.open_orders); + let obv2_oos = account2 + .active_openbook_v2_orders() + .chain(account1.active_openbook_v2_orders()) + .map(|&s| s.open_orders); let perp_market_indexes = account2 .active_perp_positions() .chain(account1.active_perp_positions()) @@ -553,6 +634,7 @@ impl MangoGroupContext { .chain(perp_markets.map(to_account_meta)) .chain(perp_oracles.map(to_account_meta)) .chain(serum_oos.map(to_account_meta)) + .chain(obv2_oos.map(to_account_meta)) .chain(fallback_oracles.into_iter().map(to_account_meta)) .collect(); @@ -574,11 +656,13 @@ impl MangoGroupContext { account1_token_count, account1.active_perp_positions().count(), account1.active_serum3_orders().count(), + account1.active_openbook_v2_orders().count(), fallbacks_len, ) + self.compute_estimates.health_for_counts( account2_token_count, account2.active_perp_positions().count(), account2.active_serum3_orders().count(), + account2.active_openbook_v2_orders().count(), fallbacks_len, ); diff --git a/lib/client/src/gpa.rs b/lib/client/src/gpa.rs index 7c02ed8c02..dadaafe9c6 100644 --- a/lib/client/src/gpa.rs +++ b/lib/client/src/gpa.rs @@ -1,6 +1,8 @@ use anchor_lang::{AccountDeserialize, Discriminator}; use futures::{stream, StreamExt}; -use mango_v4::state::{Bank, MangoAccount, MangoAccountValue, MintInfo, PerpMarket, Serum3Market}; +use mango_v4::state::{ + Bank, MangoAccount, MangoAccountValue, MintInfo, OpenbookV2Market, PerpMarket, Serum3Market, +}; use solana_account_decoder::UiAccountEncoding; use solana_client::nonblocking::rpc_client::RpcClient as RpcClientAsync; @@ -115,6 +117,22 @@ pub async fn fetch_serum3_markets( .await } +pub async fn fetch_openbook_v2_markets( + rpc: &RpcClientAsync, + program: Pubkey, + group: Pubkey, +) -> anyhow::Result> { + fetch_anchor_accounts::( + rpc, + program, + vec![RpcFilterType::Memcmp(Memcmp::new_raw_bytes( + 8, + group.to_bytes().to_vec(), + ))], + ) + .await +} + pub async fn fetch_perp_markets( rpc: &RpcClientAsync, program: Pubkey, diff --git a/lib/client/src/health_cache.rs b/lib/client/src/health_cache.rs index 47a176f54b..d24e1874ec 100644 --- a/lib/client/src/health_cache.rs +++ b/lib/client/src/health_cache.rs @@ -16,6 +16,7 @@ pub async fn new( ) -> anyhow::Result { let active_token_len = account.active_token_positions().count(); let active_perp_len = account.active_perp_positions().count(); + let active_serum3_len = account.active_serum3_orders().count(); let fallback_keys = context .derive_fallback_oracle_keys(fallback_config, account_fetcher) @@ -43,6 +44,7 @@ pub async fn new( n_perps: active_perp_len, begin_perp: active_token_len * 2, begin_serum3: active_token_len * 2 + active_perp_len * 2, + begin_openbook_v2: active_token_len * 2 + active_perp_len * 2 + active_serum3_len, staleness_slot: None, begin_fallback_oracles: metas.len(), usdc_oracle_index: metas @@ -64,6 +66,7 @@ pub fn new_sync( ) -> anyhow::Result { let active_token_len = account.active_token_positions().count(); let active_perp_len = account.active_perp_positions().count(); + let active_serum3_len = account.active_serum3_orders().count(); let (metas, _health_cu) = context.derive_health_check_remaining_account_metas( account, @@ -88,6 +91,7 @@ pub fn new_sync( n_perps: active_perp_len, begin_perp: active_token_len * 2, begin_serum3: active_token_len * 2 + active_perp_len * 2, + begin_openbook_v2: active_token_len * 2 + active_perp_len * 2 + active_serum3_len, staleness_slot: None, begin_fallback_oracles: metas.len(), usdc_oracle_index: None, diff --git a/lib/client/src/snapshot_source.rs b/lib/client/src/snapshot_source.rs index d35ca54a95..eddb4b4c68 100644 --- a/lib/client/src/snapshot_source.rs +++ b/lib/client/src/snapshot_source.rs @@ -182,6 +182,11 @@ async fn feed_snapshots( mango_account .active_serum3_orders() .map(|serum3account| serum3account.open_orders) + .chain( + mango_account + .active_openbook_v2_orders() + .map(|obv2| obv2.open_orders), + ) .collect::>() }) .collect::>(); diff --git a/lib/client/src/websocket_source.rs b/lib/client/src/websocket_source.rs index c3d9b89e75..805f0ff1b7 100644 --- a/lib/client/src/websocket_source.rs +++ b/lib/client/src/websocket_source.rs @@ -1,3 +1,4 @@ +use anchor_lang::Discriminator; use jsonrpc_core::futures::StreamExt; use jsonrpc_core_client::transports::ws; @@ -43,7 +44,7 @@ async fn feed_data( with_context: Some(true), account_config: account_info_config.clone(), }; - let open_orders_accounts_config = RpcProgramAccountsConfig { + let serum_oo_accounts_config = RpcProgramAccountsConfig { // filter for only OpenOrders with v4 authority filters: Some(vec![ RpcFilterType::DataSize(3228), // open orders size @@ -61,6 +62,25 @@ async fn feed_data( with_context: Some(true), account_config: account_info_config.clone(), }; + let obv2_oo_accounts_config = RpcProgramAccountsConfig { + // filter for only OpenOrders with the delegate as the mango group + // (the individual mango accounts are the owners) + filters: Some(vec![ + RpcFilterType::DataSize( + 8 + std::mem::size_of::() as u64, + ), + RpcFilterType::Memcmp(Memcmp::new_raw_bytes( + 0, + openbook_v2::state::OpenOrdersAccount::DISCRIMINATOR.to_vec(), + )), + RpcFilterType::Memcmp(Memcmp::new_raw_bytes( + 96, + config.open_orders_authority.to_bytes().to_vec(), + )), + ]), + with_context: Some(true), + account_config: account_info_config.clone(), + }; let mut mango_sub = client .program_subscribe( mango_v4::id().to_string(), @@ -86,24 +106,31 @@ async fn feed_data( ); } - let mut serum3_oo_sub_map = StreamMap::new(); + let mut spot_oo_sub_map = StreamMap::new(); for serum_program in config.serum_programs.iter() { - serum3_oo_sub_map.insert( + spot_oo_sub_map.insert( *serum_program, client .program_subscribe( serum_program.to_string(), - Some(open_orders_accounts_config.clone()), + Some(serum_oo_accounts_config.clone()), ) .map_err_anyhow()?, ); } + spot_oo_sub_map.insert( + openbook_v2::id(), + client + .program_subscribe(openbook_v2::id().to_string(), Some(obv2_oo_accounts_config)) + .map_err_anyhow()?, + ); + // Make sure the serum3_oo_sub_map does not exit when there's no serum_programs let _unused_serum_sender; if config.serum_programs.is_empty() { let (sender, receiver) = jsonrpc_core::futures::channel::mpsc::unbounded(); _unused_serum_sender = sender; - serum3_oo_sub_map.insert( + spot_oo_sub_map.insert( Pubkey::default(), jsonrpc_core_client::TypedSubscriptionStream::new(receiver, "foo"), ); @@ -132,12 +159,12 @@ async fn feed_data( return Ok(()); } }, - message = serum3_oo_sub_map.next() => { + message = spot_oo_sub_map.next() => { if let Some(data) = message { let response = data.1.map_err_anyhow()?; sender.send(Message::Account(AccountUpdate::from_rpc(response)?)).await.expect("sending must succeed"); } else { - warn!("serum stream closed"); + warn!("spot oo stream closed"); return Ok(()); } }, diff --git a/mango_v4.json b/mango_v4.json index cc44fefe8f..b6e6091ea3 100644 --- a/mango_v4.json +++ b/mango_v4.json @@ -1,5 +1,5 @@ { - "version": "0.24.0", + "version": "0.25.0", "name": "mango_v4", "instructions": [ { @@ -1441,6 +1441,94 @@ } ] }, + { + "name": "accountCreateV3", + "accounts": [ + { + "name": "group", + "isMut": false, + "isSigner": false + }, + { + "name": "account", + "isMut": true, + "isSigner": false, + "pda": { + "seeds": [ + { + "kind": "const", + "type": "string", + "value": "MangoAccount" + }, + { + "kind": "account", + "type": "publicKey", + "path": "group" + }, + { + "kind": "account", + "type": "publicKey", + "path": "owner" + }, + { + "kind": "arg", + "type": "u32", + "path": "account_num" + } + ] + } + }, + { + "name": "owner", + "isMut": false, + "isSigner": true + }, + { + "name": "payer", + "isMut": true, + "isSigner": true + }, + { + "name": "systemProgram", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "accountNum", + "type": "u32" + }, + { + "name": "tokenCount", + "type": "u8" + }, + { + "name": "serum3Count", + "type": "u8" + }, + { + "name": "perpCount", + "type": "u8" + }, + { + "name": "perpOoCount", + "type": "u8" + }, + { + "name": "tokenConditionalSwapCount", + "type": "u8" + }, + { + "name": "openbookV2Count", + "type": "u8" + }, + { + "name": "name", + "type": "string" + } + ] + }, { "name": "accountExpand", "accounts": [ @@ -1549,6 +1637,66 @@ } ] }, + { + "name": "accountExpandV3", + "accounts": [ + { + "name": "group", + "isMut": false, + "isSigner": false + }, + { + "name": "account", + "isMut": true, + "isSigner": false, + "relations": [ + "group", + "owner" + ] + }, + { + "name": "owner", + "isMut": false, + "isSigner": true + }, + { + "name": "payer", + "isMut": true, + "isSigner": true + }, + { + "name": "systemProgram", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "tokenCount", + "type": "u8" + }, + { + "name": "serum3Count", + "type": "u8" + }, + { + "name": "perpCount", + "type": "u8" + }, + { + "name": "perpOoCount", + "type": "u8" + }, + { + "name": "tokenConditionalSwapCount", + "type": "u8" + }, + { + "name": "openbookV2Count", + "type": "u8" + } + ] + }, { "name": "accountSizeMigration", "accounts": [ @@ -6223,15 +6371,15 @@ { "name": "group", "isMut": true, - "isSigner": false, - "relations": [ - "admin" - ] + "isSigner": false }, { "name": "admin", "isMut": false, - "isSigner": true + "isSigner": true, + "docs": [ + "group admin or fast listing admin, checked at #1" + ] }, { "name": "openbookV2Program", @@ -6326,6 +6474,10 @@ { "name": "name", "type": "string" + }, + { + "name": "oraclePriceBand", + "type": "f32" } ] }, @@ -6335,7 +6487,10 @@ { "name": "group", "isMut": false, - "isSigner": false + "isSigner": false, + "relations": [ + "admin" + ] }, { "name": "admin", @@ -6363,6 +6518,18 @@ "type": { "option": "bool" } + }, + { + "name": "nameOpt", + "type": { + "option": "string" + } + }, + { + "name": "oraclePriceBandOpt", + "type": { + "option": "f32" + } } ] }, @@ -6427,11 +6594,6 @@ "group" ] }, - { - "name": "authority", - "isMut": false, - "isSigner": true - }, { "name": "openbookV2Market", "isMut": false, @@ -6453,38 +6615,19 @@ "isSigner": false }, { - "name": "openOrders", + "name": "openOrdersIndexer", "isMut": true, - "isSigner": false, - "pda": { - "seeds": [ - { - "kind": "const", - "type": "string", - "value": "OpenOrders" - }, - { - "kind": "account", - "type": "publicKey", - "path": "openbook_v2_market" - }, - { - "kind": "account", - "type": "publicKey", - "path": "openbook_v2_market_external" - }, - { - "kind": "arg", - "type": "u32", - "path": "account_num" - } - ], - "programId": { - "kind": "account", - "type": "publicKey", - "path": "openbook_v2_program" - } - } + "isSigner": false + }, + { + "name": "openOrdersAccount", + "isMut": true, + "isSigner": false + }, + { + "name": "authority", + "isMut": false, + "isSigner": true }, { "name": "payer", @@ -6502,12 +6645,7 @@ "isSigner": false } ], - "args": [ - { - "name": "accountNum", - "type": "u32" - } - ] + "args": [] }, { "name": "openbookV2CloseOpenOrders", @@ -6551,7 +6689,15 @@ "isSigner": false }, { - "name": "openOrders", + "name": "openOrdersIndexer", + "isMut": true, + "isSigner": false, + "docs": [ + "can't zerocopy this unfortunately" + ] + }, + { + "name": "openOrdersAccount", "isMut": true, "isSigner": false }, @@ -6559,6 +6705,32 @@ "name": "solDestination", "isMut": true, "isSigner": false + }, + { + "name": "baseBank", + "isMut": true, + "isSigner": false, + "relations": [ + "group" + ] + }, + { + "name": "quoteBank", + "isMut": true, + "isSigner": false, + "relations": [ + "group" + ] + }, + { + "name": "systemProgram", + "isMut": false, + "isSigner": false + }, + { + "name": "tokenProgram", + "isMut": false, + "isSigner": false } ], "args": [] @@ -6592,7 +6764,12 @@ { "name": "openbookV2Market", "isMut": false, - "isSigner": false + "isSigner": false, + "relations": [ + "group", + "openbook_v2_market_external", + "openbook_v2_program" + ] }, { "name": "openbookV2Program", @@ -6625,12 +6802,7 @@ "isSigner": false }, { - "name": "marketBaseVault", - "isMut": true, - "isSigner": false - }, - { - "name": "marketQuoteVault", + "name": "marketVault", "isMut": true, "isSigner": false }, @@ -6644,7 +6816,7 @@ "isMut": true, "isSigner": false, "docs": [ - "The bank that pays for the order, if necessary" + "The bank that pays for the order. Bank oracle also expected in remaining_accounts" ], "relations": [ "group" @@ -6655,160 +6827,20 @@ "isMut": true, "isSigner": false, "docs": [ - "The bank vault that pays for the order, if necessary" - ] - }, - { - "name": "payerOracle", - "isMut": false, - "isSigner": false - }, - { - "name": "tokenProgram", - "isMut": false, - "isSigner": false - } - ], - "args": [ - { - "name": "side", - "type": "u8" - }, - { - "name": "limitPrice", - "type": "u64" - }, - { - "name": "maxBaseQty", - "type": "u64" - }, - { - "name": "maxNativeQuoteQtyIncludingFees", - "type": "u64" - }, - { - "name": "selfTradeBehavior", - "type": "u8" - }, - { - "name": "orderType", - "type": "u8" - }, - { - "name": "clientOrderId", - "type": "u64" - }, - { - "name": "limit", - "type": "u16" - } - ] - }, - { - "name": "openbookV2PlaceTakerOrder", - "accounts": [ - { - "name": "group", - "isMut": false, - "isSigner": false - }, - { - "name": "account", - "isMut": true, - "isSigner": false, - "relations": [ - "group" + "The bank vault that pays for the order" ] }, { - "name": "authority", - "isMut": false, - "isSigner": true - }, - { - "name": "openbookV2Market", - "isMut": false, - "isSigner": false, - "relations": [ - "group", - "openbook_v2_program", - "openbook_v2_market_external" - ] - }, - { - "name": "openbookV2Program", - "isMut": false, - "isSigner": false - }, - { - "name": "openbookV2MarketExternal", - "isMut": true, - "isSigner": false, - "relations": [ - "bids", - "asks", - "event_heap" - ] - }, - { - "name": "bids", - "isMut": true, - "isSigner": false - }, - { - "name": "asks", - "isMut": true, - "isSigner": false - }, - { - "name": "eventHeap", - "isMut": true, - "isSigner": false - }, - { - "name": "marketRequestQueue", - "isMut": true, - "isSigner": false - }, - { - "name": "marketBaseVault", - "isMut": true, - "isSigner": false - }, - { - "name": "marketQuoteVault", - "isMut": true, - "isSigner": false - }, - { - "name": "marketVaultSigner", - "isMut": false, - "isSigner": false - }, - { - "name": "payerBank", + "name": "receiverBank", "isMut": true, "isSigner": false, "docs": [ - "The bank that pays for the order, if necessary" + "The bank that receives the funds upon settlement. Bank oracle also expected in remaining_accounts" ], "relations": [ "group" ] }, - { - "name": "payerVault", - "isMut": true, - "isSigner": false, - "docs": [ - "The bank vault that pays for the order, if necessary" - ] - }, - { - "name": "payerOracle", - "isMut": false, - "isSigner": false - }, { "name": "tokenProgram", "isMut": false, @@ -6818,31 +6850,49 @@ "args": [ { "name": "side", - "type": "u8" + "type": { + "defined": "OpenbookV2Side" + } }, { - "name": "limitPrice", - "type": "u64" + "name": "priceLots", + "type": "i64" }, { - "name": "maxBaseQty", - "type": "u64" + "name": "maxBaseLots", + "type": "i64" }, { - "name": "maxNativeQuoteQtyIncludingFees", + "name": "maxQuoteLotsIncludingFees", + "type": "i64" + }, + { + "name": "clientOrderId", "type": "u64" }, + { + "name": "orderType", + "type": { + "defined": "OpenbookV2PlaceOrderType" + } + }, { "name": "selfTradeBehavior", - "type": "u8" + "type": { + "defined": "OpenbookV2SelfTradeBehavior" + } }, { - "name": "clientOrderId", + "name": "reduceOnly", + "type": "bool" + }, + { + "name": "expiryTimestamp", "type": "u64" }, { "name": "limit", - "type": "u16" + "type": "u8" } ] }, @@ -6910,7 +6960,9 @@ "args": [ { "name": "side", - "type": "u8" + "type": { + "defined": "OpenbookV2Side" + } }, { "name": "orderId", @@ -6936,7 +6988,7 @@ }, { "name": "authority", - "isMut": false, + "isMut": true, "isSigner": true }, { @@ -6962,7 +7014,11 @@ { "name": "openbookV2MarketExternal", "isMut": true, - "isSigner": false + "isSigner": false, + "relations": [ + "market_base_vault", + "market_quote_vault" + ] }, { "name": "marketBaseVault", @@ -7022,6 +7078,11 @@ "name": "tokenProgram", "isMut": false, "isSigner": false + }, + { + "name": "systemProgram", + "isMut": false, + "isSigner": false } ], "args": [ @@ -7047,6 +7108,11 @@ "group" ] }, + { + "name": "payer", + "isMut": true, + "isSigner": true + }, { "name": "openOrders", "isMut": true, @@ -7069,12 +7135,14 @@ }, { "name": "openbookV2MarketExternal", - "isMut": false, + "isMut": true, "isSigner": false, "relations": [ "bids", "asks", - "event_heap" + "event_heap", + "market_base_vault", + "market_quote_vault" ] }, { @@ -7137,6 +7205,11 @@ "name": "tokenProgram", "isMut": false, "isSigner": false + }, + { + "name": "systemProgram", + "isMut": false, + "isSigner": false } ], "args": [ @@ -7211,6 +7284,14 @@ { "name": "limit", "type": "u8" + }, + { + "name": "sideOpt", + "type": { + "option": { + "defined": "OpenbookV2Side" + } + } } ] }, @@ -7601,7 +7682,7 @@ { "name": "potentialSerumTokens", "docs": [ - "Largest amount of tokens that might be added the the bank based on", + "Largest amount of tokens that might be added the bank based on", "serum open order execution." ], "type": "u64" @@ -7711,12 +7792,29 @@ ], "type": "f32" }, + { + "name": "padding2", + "type": { + "array": [ + "u8", + 4 + ] + } + }, + { + "name": "potentialOpenbookTokens", + "docs": [ + "Largest amount of tokens that might be added the bank based on", + "oenbook open order execution." + ], + "type": "u64" + }, { "name": "reserved", "type": { "array": [ "u8", - 1900 + 1888 ] } } @@ -8079,12 +8177,24 @@ } } }, + { + "name": "padding9", + "type": "u32" + }, + { + "name": "openbookV2", + "type": { + "vec": { + "defined": "OpenbookV2Orders" + } + } + }, { "name": "reservedDynamic", "type": { "array": [ "u8", - 64 + 56 ] } } @@ -8180,6 +8290,10 @@ "name": "quoteTokenIndex", "type": "u16" }, + { + "name": "marketIndex", + "type": "u16" + }, { "name": "reduceOnly", "type": "u8" @@ -8188,15 +8302,6 @@ "name": "forceClose", "type": "u8" }, - { - "name": "padding1", - "type": { - "array": [ - "u8", - 2 - ] - } - }, { "name": "name", "type": { @@ -8215,32 +8320,29 @@ "type": "publicKey" }, { - "name": "marketIndex", - "type": "u16" - }, - { - "name": "bump", - "type": "u8" + "name": "registrationTime", + "type": "u64" }, { - "name": "padding2", - "type": { - "array": [ - "u8", - 5 - ] - } + "name": "oraclePriceBand", + "docs": [ + "Limit orders must be <= oracle * (1+band) and >= oracle / (1+band)", + "", + "Zero value is the default due to migration and disables the limit,", + "same as f32::MAX." + ], + "type": "f32" }, { - "name": "registrationTime", - "type": "u64" + "name": "bump", + "type": "u8" }, { "name": "reserved", "type": { "array": [ "u8", - 512 + 1027 ] } } @@ -9258,7 +9360,117 @@ "type": "f64" }, { - "name": "cumulativeBorrowInterest", + "name": "cumulativeBorrowInterest", + "type": "f64" + }, + { + "name": "reserved", + "type": { + "array": [ + "u8", + 128 + ] + } + } + ] + } + }, + { + "name": "Serum3Orders", + "type": { + "kind": "struct", + "fields": [ + { + "name": "openOrders", + "type": "publicKey" + }, + { + "name": "baseBorrowsWithoutFee", + "docs": [ + "Tracks the amount of borrows that have flowed into the serum open orders account.", + "These borrows did not have the loan origination fee applied, and that may happen", + "later (in serum3_settle_funds) if we can guarantee that the funds were used.", + "In particular a place-on-book, cancel, settle should not cost fees." + ], + "type": "u64" + }, + { + "name": "quoteBorrowsWithoutFee", + "type": "u64" + }, + { + "name": "marketIndex", + "type": "u16" + }, + { + "name": "baseTokenIndex", + "docs": [ + "Store the base/quote token index, so health computations don't need", + "to get passed the static SerumMarket to find which tokens a market", + "uses and look up the correct oracles." + ], + "type": "u16" + }, + { + "name": "quoteTokenIndex", + "type": "u16" + }, + { + "name": "padding", + "type": { + "array": [ + "u8", + 2 + ] + } + }, + { + "name": "highestPlacedBidInv", + "docs": [ + "Track something like the highest open bid / lowest open ask, in native/native units.", + "", + "Tracking it exactly isn't possible since we don't see fills. So instead track", + "the min/max of the _placed_ bids and asks.", + "", + "The value is reset in serum3_place_order when a new order is placed without an", + "existing one on the book.", + "", + "0 is a special \"unset\" state." + ], + "type": "f64" + }, + { + "name": "lowestPlacedAsk", + "type": "f64" + }, + { + "name": "potentialBaseTokens", + "docs": [ + "An overestimate of the amount of tokens that might flow out of the open orders account.", + "", + "The bank still considers these amounts user deposits (see Bank::potential_serum_tokens)", + "and that value needs to be updated in conjunction with these numbers.", + "", + "This estimation is based on the amount of tokens in the open orders account", + "(see update_bank_potential_tokens() in serum3_place_order and settle)" + ], + "type": "u64" + }, + { + "name": "potentialQuoteTokens", + "type": "u64" + }, + { + "name": "lowestPlacedBidInv", + "docs": [ + "Track lowest bid/highest ask, same way as for highest bid/lowest ask.", + "", + "0 is a special \"unset\" state." + ], + "type": "f64" + }, + { + "name": "highestPlacedAsk", "type": "f64" }, { @@ -9266,7 +9478,7 @@ "type": { "array": [ "u8", - 128 + 16 ] } } @@ -9274,7 +9486,7 @@ } }, { - "name": "Serum3Orders", + "name": "OpenbookV2Orders", "type": { "kind": "struct", "fields": [ @@ -9285,9 +9497,9 @@ { "name": "baseBorrowsWithoutFee", "docs": [ - "Tracks the amount of borrows that have flowed into the serum open orders account.", + "Tracks the amount of borrows that have flowed into the open orders account.", "These borrows did not have the loan origination fee applied, and that may happen", - "later (in serum3_settle_funds) if we can guarantee that the funds were used.", + "later (in openbook_v2_settle_funds) if we can guarantee that the funds were used.", "In particular a place-on-book, cancel, settle should not cost fees." ], "type": "u64" @@ -9296,32 +9508,6 @@ "name": "quoteBorrowsWithoutFee", "type": "u64" }, - { - "name": "marketIndex", - "type": "u16" - }, - { - "name": "baseTokenIndex", - "docs": [ - "Store the base/quote token index, so health computations don't need", - "to get passed the static SerumMarket to find which tokens a market", - "uses and look up the correct oracles." - ], - "type": "u16" - }, - { - "name": "quoteTokenIndex", - "type": "u16" - }, - { - "name": "padding", - "type": { - "array": [ - "u8", - 2 - ] - } - }, { "name": "highestPlacedBidInv", "docs": [ @@ -9330,7 +9516,7 @@ "Tracking it exactly isn't possible since we don't see fills. So instead track", "the min/max of the _placed_ bids and asks.", "", - "The value is reset in serum3_place_order when a new order is placed without an", + "The value is reset in openbook_v2_place_order when a new order is placed without an", "existing one on the book.", "", "0 is a special \"unset\" state." @@ -9346,11 +9532,11 @@ "docs": [ "An overestimate of the amount of tokens that might flow out of the open orders account.", "", - "The bank still considers these amounts user deposits (see Bank::potential_serum_tokens)", + "The bank still considers these amounts user deposits (see Bank::potential_openbook_tokens)", "and that value needs to be updated in conjunction with these numbers.", "", "This estimation is based on the amount of tokens in the open orders account", - "(see update_bank_potential_tokens() in serum3_place_order and settle)" + "(see update_bank_potential_tokens() in openbook_v2_place_order and settle)" ], "type": "u64" }, @@ -9371,12 +9557,43 @@ "name": "highestPlacedAsk", "type": "f64" }, + { + "name": "quoteLotSize", + "docs": [ + "Stores the market's lot sizes", + "", + "Needed because the obv2 open orders account tells us about reserved amounts in lots and", + "we want to be able to compute health without also loading the obv2 market." + ], + "type": "i64" + }, + { + "name": "baseLotSize", + "type": "i64" + }, + { + "name": "marketIndex", + "type": "u16" + }, + { + "name": "baseTokenIndex", + "docs": [ + "Store the base/quote token index, so health computations don't need", + "to get passed the static SerumMarket to find which tokens a market", + "uses and look up the correct oracles." + ], + "type": "u16" + }, + { + "name": "quoteTokenIndex", + "type": "u16" + }, { "name": "reserved", "type": { "array": [ "u8", - 16 + 162 ] } } @@ -10730,6 +10947,77 @@ ] } }, + { + "name": "OpenbookV2PlaceOrderType", + "type": { + "kind": "enum", + "variants": [ + { + "name": "Limit" + }, + { + "name": "ImmediateOrCancel" + }, + { + "name": "PostOnly" + }, + { + "name": "Market" + }, + { + "name": "PostOnlySlide" + } + ] + } + }, + { + "name": "OpenbookV2PostOrderType", + "type": { + "kind": "enum", + "variants": [ + { + "name": "Limit" + }, + { + "name": "PostOnly" + }, + { + "name": "PostOnlySlide" + } + ] + } + }, + { + "name": "OpenbookV2SelfTradeBehavior", + "type": { + "kind": "enum", + "variants": [ + { + "name": "DecrementTake" + }, + { + "name": "CancelProvide" + }, + { + "name": "AbortTransaction" + } + ] + } + }, + { + "name": "OpenbookV2Side", + "type": { + "kind": "enum", + "variants": [ + { + "name": "Bid" + }, + { + "name": "Ask" + } + ] + } + }, { "name": "Serum3SelfTradeBehavior", "docs": [ @@ -10814,6 +11102,26 @@ ] } }, + { + "name": "SpotMarketIndex", + "type": { + "kind": "enum", + "variants": [ + { + "name": "Serum3", + "fields": [ + "u16" + ] + }, + { + "name": "OpenbookV2", + "fields": [ + "u16" + ] + } + ] + } + }, { "name": "LoanOriginationFeeInstruction", "type": { @@ -10842,6 +11150,15 @@ }, { "name": "TokenConditionalSwapTrigger" + }, + { + "name": "OpenbookV2LiqForceCancelOrders" + }, + { + "name": "OpenbookV2PlaceOrder" + }, + { + "name": "OpenbookV2SettleFunds" } ] } @@ -11090,6 +11407,9 @@ }, { "name": "HealthCheck" + }, + { + "name": "OpenbookV2CancelAllOrders" } ] } @@ -12480,6 +12800,61 @@ } ] }, + { + "name": "OpenbookV2OpenOrdersBalanceLog", + "fields": [ + { + "name": "mangoGroup", + "type": "publicKey", + "index": false + }, + { + "name": "mangoAccount", + "type": "publicKey", + "index": false + }, + { + "name": "marketIndex", + "type": "u16", + "index": false + }, + { + "name": "baseTokenIndex", + "type": "u16", + "index": false + }, + { + "name": "quoteTokenIndex", + "type": "u16", + "index": false + }, + { + "name": "baseTotal", + "type": "u64", + "index": false + }, + { + "name": "baseFree", + "type": "u64", + "index": false + }, + { + "name": "quoteTotal", + "type": "u64", + "index": false + }, + { + "name": "quoteFree", + "type": "u64", + "index": false + }, + { + "name": "referrerRebatesAccrued", + "type": "u64", + "index": false + } + ] + }, { "name": "WithdrawLoanOriginationFeeLog", "fields": [ @@ -12846,6 +13221,46 @@ } ] }, + { + "name": "OpenbookV2RegisterMarketLog", + "fields": [ + { + "name": "mangoGroup", + "type": "publicKey", + "index": false + }, + { + "name": "openbookMarket", + "type": "publicKey", + "index": false + }, + { + "name": "marketIndex", + "type": "u16", + "index": false + }, + { + "name": "baseTokenIndex", + "type": "u16", + "index": false + }, + { + "name": "quoteTokenIndex", + "type": "u16", + "index": false + }, + { + "name": "openbookProgram", + "type": "publicKey", + "index": false + }, + { + "name": "openbookMarketExternal", + "type": "publicKey", + "index": false + } + ] + }, { "name": "PerpLiqBaseOrPositivePnlLog", "fields": [ @@ -14255,8 +14670,8 @@ }, { "code": 6034, - "name": "HasOpenOrUnsettledSerum3Orders", - "msg": "there are open or unsettled serum3 orders" + "name": "HasOpenOrUnsettledSpotOrders", + "msg": "there are open or unsettled spot orders" }, { "code": 6035, @@ -14390,7 +14805,7 @@ }, { "code": 6061, - "name": "Serum3PriceBandExceeded", + "name": "SpotPriceBandExceeded", "msg": "the market does not allow limit orders too far from the current oracle value" }, { @@ -14447,6 +14862,16 @@ "code": 6072, "name": "InvalidHealth", "msg": "invalid health" + }, + { + "code": 6073, + "name": "NoFreeOpenbookV2OpenOrdersIndex", + "msg": "no free openbook v2 open orders index" + }, + { + "code": 6074, + "name": "OpenbookV2OpenOrdersExistAlready", + "msg": "openbook v2 open orders exist already" } ] } \ No newline at end of file diff --git a/package.json b/package.json index e1d1492bda..a129aff963 100644 --- a/package.json +++ b/package.json @@ -27,8 +27,9 @@ "lint": "eslint ./ts/client/src --ext ts --ext tsx --ext js --quiet", "typecheck": "tsc --noEmit --pretty", "prepublishOnly": "yarn validate && yarn build", + "validate": "yarn lint && yarn format", "deduplicate": "npx yarn-deduplicate --list --fail", - "validate": "yarn lint && yarn format" + "prepare": "yarn build" }, "devDependencies": { "@solana/spl-governance": "^0.3.25", @@ -64,7 +65,8 @@ "dependencies": { "@blockworks-foundation/mango-v4-settings": "0.14.15", "@blockworks-foundation/mangolana": "0.0.14", - "@coral-xyz/anchor": "^0.28.1-beta.2", + "@coral-xyz/anchor": "^0.29.0", + "@openbook-dex/openbook-v2": "^0.1.2", "@project-serum/serum": "0.13.65", "@pythnetwork/client": "~2.14.0", "@solana/spl-token": "0.3.7", @@ -80,7 +82,7 @@ "node-kraken-api": "^2.2.2" }, "resolutions": { - "@coral-xyz/anchor": "^0.28.1-beta.2", + "@coral-xyz/anchor": "^0.29.0", "**/@solana/web3.js/node-fetch": "npm:@blockworks-foundation/node-fetch@2.6.11", "**/cross-fetch/node-fetch": "npm:@blockworks-foundation/node-fetch@2.6.11", "**/@blockworks-foundation/mangolana/node-fetch": "npm:@blockworks-foundation/node-fetch@2.6.11" diff --git a/programs/mango-v4/Cargo.toml b/programs/mango-v4/Cargo.toml index 101d3bdbb2..f2f4d33504 100644 --- a/programs/mango-v4/Cargo.toml +++ b/programs/mango-v4/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mango-v4" -version = "0.24.0" +version = "0.25.0" description = "Created with Anchor" edition = "2021" @@ -52,9 +52,7 @@ switchboard-program = "0.2" switchboard-v2 = { package = "switchboard-solana", version = "0.28" } -openbook-v2 = { git = "https://github.com/openbook-dex/openbook-v2.git", features = [ - "no-entrypoint", -] } +openbook-v2 = { workspace = true, features = ["no-entrypoint", "cpi", "enable-gpl"] } [dev-dependencies] diff --git a/programs/mango-v4/resources/test/mangoaccount-v0.23.0.bin b/programs/mango-v4/resources/test/mangoaccount-v0.23.0.bin new file mode 100644 index 0000000000000000000000000000000000000000..b1d165dc8db043a1a2c78aa2336a820969ee7c24 GIT binary patch literal 11432 zcmezTS;94e>bFEt`ba1EyypGl)hvt1*xXT?owA$0|B>1sRc?&H-dIHRS}nRuhDaaxz1hQ@?z7+uY*d#1EGl z>L-#z^0yLUg>U=IHTO(zik;B`05y)YV<^O>GX z{LV7^84OF`AJsIb8m!pv2vaxMXqdaBbxu54&|o1c0Ck}B>B)ho&esnbck4f&S^x9Y z7HL@cu|OGB>`PR|?;I?Jh4%+3+ZR<+QXCKOhV~~_ks(~PF;E9(6ZuPVn60Q-pa1ceRD;^ME*t*>tcAmg@y0` z{};d|&+1h`z_p8R{sGm!u&{->g&y>9uoo21DAfg0z;zkDDt+LX=>HYsQAGRZpg_F% zx4as7agEMLG6Ng)&P3Jvqb2bUfk~H7Cb7LfaAmd(SlMA7DO^rLF$UtU!fXGa?wY@W z3q_vR99a2-ZcmI?+pO>_M(3c;f`^xLYT>QzYP?%uu1pnq6sydqvJS>aHwT>`-@X8<|ynZ~Lzo^}O z`a@WLl$t7__E~P-Z5W@B`{O3OtoyfSxdTkygB4T2%+nFm!Sufd)NIM2f8%F)%tmpT z`X3k6**X^cy?~|rO>h~Q3fj{SU@K@{3yhkNKPE@RXEc29hX8)r(eyJKKKMfbzwBuG z84Vx&A%I_YH2sW*5B?CqFFTrkM#Bex2;i3;O+TaIgFgiD%Z{d>(eS|^0{CS|)6Z!5 z;12=(vZLu|G<@)f0Djrg^fMYh_(On@ENJ}^u>dw-K}bDF9U(OXDL?9ufed|2yGP># YGfW0jWHdeoGW0R+9xm~L=`)B30G~V$P5=M^ literal 0 HcmV?d00001 diff --git a/programs/mango-v4/src/accounts_ix/account_create.rs b/programs/mango-v4/src/accounts_ix/account_create.rs index 8d2e6853a6..8207c871fc 100644 --- a/programs/mango-v4/src/accounts_ix/account_create.rs +++ b/programs/mango-v4/src/accounts_ix/account_create.rs @@ -15,7 +15,7 @@ pub struct AccountCreate<'info> { seeds = [b"MangoAccount".as_ref(), group.key().as_ref(), owner.key().as_ref(), &account_num.to_le_bytes()], bump, payer = payer, - space = MangoAccount::space(token_count, serum3_count, perp_count, perp_oo_count, 0), + space = MangoAccount::space(token_count, serum3_count, perp_count, perp_oo_count, 0, 0), )] pub account: AccountLoader<'info, MangoAccountFixed>, pub owner: Signer<'info>, @@ -39,7 +39,31 @@ pub struct AccountCreateV2<'info> { seeds = [b"MangoAccount".as_ref(), group.key().as_ref(), owner.key().as_ref(), &account_num.to_le_bytes()], bump, payer = payer, - space = MangoAccount::space(token_count, serum3_count, perp_count, perp_oo_count, token_conditional_swap_count), + space = MangoAccount::space(token_count, serum3_count, perp_count, perp_oo_count, token_conditional_swap_count, 0), + )] + pub account: AccountLoader<'info, MangoAccountFixed>, + pub owner: Signer<'info>, + + #[account(mut)] + pub payer: Signer<'info>, + + pub system_program: Program<'info, System>, +} + +#[derive(Accounts)] +#[instruction(account_num: u32, token_count: u8, serum3_count: u8, perp_count: u8, perp_oo_count: u8, token_conditional_swap_count: u8, openbook_v2_count: u8)] +pub struct AccountCreateV3<'info> { + #[account( + constraint = group.load()?.is_ix_enabled(IxGate::AccountCreate) @ MangoError::IxIsDisabled, + )] + pub group: AccountLoader<'info, Group>, + + #[account( + init, + seeds = [b"MangoAccount".as_ref(), group.key().as_ref(), owner.key().as_ref(), &account_num.to_le_bytes()], + bump, + payer = payer, + space = MangoAccount::space(token_count, serum3_count, perp_count, perp_oo_count, token_conditional_swap_count, openbook_v2_count), )] pub account: AccountLoader<'info, MangoAccountFixed>, pub owner: Signer<'info>, diff --git a/programs/mango-v4/src/accounts_ix/mod.rs b/programs/mango-v4/src/accounts_ix/mod.rs index 4256824a8e..d5573fe4ad 100644 --- a/programs/mango-v4/src/accounts_ix/mod.rs +++ b/programs/mango-v4/src/accounts_ix/mod.rs @@ -26,7 +26,6 @@ pub use openbook_v2_deregister_market::*; pub use openbook_v2_edit_market::*; pub use openbook_v2_liq_force_cancel_orders::*; pub use openbook_v2_place_order::*; -pub use openbook_v2_place_take_order::*; pub use openbook_v2_register_market::*; pub use openbook_v2_settle_funds::*; pub use perp_cancel_all_orders::*; @@ -106,7 +105,6 @@ mod openbook_v2_deregister_market; mod openbook_v2_edit_market; mod openbook_v2_liq_force_cancel_orders; mod openbook_v2_place_order; -mod openbook_v2_place_take_order; mod openbook_v2_register_market; mod openbook_v2_settle_funds; mod perp_cancel_all_orders; diff --git a/programs/mango-v4/src/accounts_ix/openbook_v2_cancel_order.rs b/programs/mango-v4/src/accounts_ix/openbook_v2_cancel_order.rs index 29070318f4..56e1d13075 100644 --- a/programs/mango-v4/src/accounts_ix/openbook_v2_cancel_order.rs +++ b/programs/mango-v4/src/accounts_ix/openbook_v2_cancel_order.rs @@ -2,7 +2,10 @@ use anchor_lang::prelude::*; use crate::error::*; use crate::state::*; -use openbook_v2::{program::OpenbookV2, state::Market}; +use openbook_v2::{ + program::OpenbookV2, + state::{Market, OpenOrdersAccount}, +}; #[derive(Accounts)] pub struct OpenbookV2CancelOrder<'info> { @@ -21,7 +24,7 @@ pub struct OpenbookV2CancelOrder<'info> { #[account(mut)] /// CHECK: Validated inline by checking against the pubkey stored in the account at #2 - pub open_orders: UncheckedAccount<'info>, + pub open_orders: AccountLoader<'info, OpenOrdersAccount>, #[account( has_one = group, diff --git a/programs/mango-v4/src/accounts_ix/openbook_v2_close_open_orders.rs b/programs/mango-v4/src/accounts_ix/openbook_v2_close_open_orders.rs index 2057b08730..35fcaa11b2 100644 --- a/programs/mango-v4/src/accounts_ix/openbook_v2_close_open_orders.rs +++ b/programs/mango-v4/src/accounts_ix/openbook_v2_close_open_orders.rs @@ -1,8 +1,12 @@ use anchor_lang::prelude::*; +use anchor_spl::token::Token; use crate::error::MangoError; use crate::state::*; -use openbook_v2::{program::OpenbookV2, state::Market}; +use openbook_v2::{ + program::OpenbookV2, + state::{Market, OpenOrdersIndexer}, +}; #[derive(Accounts)] pub struct OpenbookV2CloseOpenOrders<'info> { @@ -32,11 +36,27 @@ pub struct OpenbookV2CloseOpenOrders<'info> { pub openbook_v2_market_external: AccountLoader<'info, Market>, + #[account(mut)] + /// CHECK: Will be checked against seeds and will be initiated by openbook v2 + /// can't zerocopy this unfortunately + pub open_orders_indexer: Box>, + #[account(mut)] /// CHECK: Validated inline by checking against the pubkey stored in the account at #2 - pub open_orders: UncheckedAccount<'info>, + pub open_orders_account: UncheckedAccount<'info>, #[account(mut)] /// CHECK: target for account rent needs no checks pub sol_destination: UncheckedAccount<'info>, + + // token_index is validated inline at #3 + #[account(mut, has_one = group)] + pub base_bank: AccountLoader<'info, Bank>, + + // token_index is validated inline at #3 + #[account(mut, has_one = group)] + pub quote_bank: AccountLoader<'info, Bank>, + + pub system_program: Program<'info, System>, + pub token_program: Program<'info, Token>, } diff --git a/programs/mango-v4/src/accounts_ix/openbook_v2_create_open_orders.rs b/programs/mango-v4/src/accounts_ix/openbook_v2_create_open_orders.rs index d50ba8175d..4220c62a5d 100644 --- a/programs/mango-v4/src/accounts_ix/openbook_v2_create_open_orders.rs +++ b/programs/mango-v4/src/accounts_ix/openbook_v2_create_open_orders.rs @@ -4,7 +4,6 @@ use anchor_lang::prelude::*; use openbook_v2::{program::OpenbookV2, state::Market}; #[derive(Accounts)] -#[instruction(account_num: u32)] pub struct OpenbookV2CreateOpenOrders<'info> { #[account( constraint = group.load()?.is_ix_enabled(IxGate::OpenbookV2CreateOpenOrders) @ MangoError::IxIsDisabled, @@ -19,8 +18,6 @@ pub struct OpenbookV2CreateOpenOrders<'info> { )] pub account: AccountLoader<'info, MangoAccountFixed>, - pub authority: Signer<'info>, - #[account( has_one = group, has_one = openbook_v2_program, @@ -32,15 +29,14 @@ pub struct OpenbookV2CreateOpenOrders<'info> { pub openbook_v2_market_external: AccountLoader<'info, Market>, - // initialized by this instruction via cpi to openbook_v2 - #[account( - mut, - seeds = [b"OpenOrders".as_ref(), openbook_v2_market.key().as_ref(), openbook_v2_market_external.key().as_ref(), &account_num.to_le_bytes()], - bump, - seeds::program = openbook_v2_program.key(), - )] + #[account(mut)] + /// CHECK: Will be checked against seeds and will be initiated by openbook v2 + pub open_orders_indexer: UncheckedAccount<'info>, + #[account(mut)] /// CHECK: Will be checked against seeds and will be initiated by openbook v2 - pub open_orders: UncheckedAccount<'info>, + pub open_orders_account: UncheckedAccount<'info>, + + pub authority: Signer<'info>, #[account(mut)] pub payer: Signer<'info>, diff --git a/programs/mango-v4/src/accounts_ix/openbook_v2_deregister_market.rs b/programs/mango-v4/src/accounts_ix/openbook_v2_deregister_market.rs index 80125283ed..0b3dce2ebc 100644 --- a/programs/mango-v4/src/accounts_ix/openbook_v2_deregister_market.rs +++ b/programs/mango-v4/src/accounts_ix/openbook_v2_deregister_market.rs @@ -13,9 +13,6 @@ pub struct OpenbookV2DeregisterMarket<'info> { )] pub group: AccountLoader<'info, Group>, - #[account( - constraint = group.load()?.admin == admin.key(), - )] pub admin: Signer<'info>, #[account( diff --git a/programs/mango-v4/src/accounts_ix/openbook_v2_edit_market.rs b/programs/mango-v4/src/accounts_ix/openbook_v2_edit_market.rs index 5f007fb968..87f78af7f7 100644 --- a/programs/mango-v4/src/accounts_ix/openbook_v2_edit_market.rs +++ b/programs/mango-v4/src/accounts_ix/openbook_v2_edit_market.rs @@ -6,8 +6,7 @@ use crate::state::*; #[instruction(market_index: OpenbookV2MarketIndex)] pub struct OpenbookV2EditMarket<'info> { #[account( - constraint = group.load()?.openbook_v2_supported(), - constraint = group.load()?.admin == admin.key(), + has_one = admin, )] pub group: AccountLoader<'info, Group>, diff --git a/programs/mango-v4/src/accounts_ix/openbook_v2_liq_force_cancel_orders.rs b/programs/mango-v4/src/accounts_ix/openbook_v2_liq_force_cancel_orders.rs index 2f1774df19..b5ca603def 100644 --- a/programs/mango-v4/src/accounts_ix/openbook_v2_liq_force_cancel_orders.rs +++ b/programs/mango-v4/src/accounts_ix/openbook_v2_liq_force_cancel_orders.rs @@ -1,5 +1,6 @@ use anchor_lang::prelude::*; use anchor_spl::token::{Token, TokenAccount}; +use openbook_v2::state::OpenOrdersAccount; use crate::error::*; use crate::state::*; @@ -19,9 +20,12 @@ pub struct OpenbookV2LiqForceCancelOrders<'info> { )] pub account: AccountLoader<'info, MangoAccountFixed>, + #[account(mut)] + pub payer: Signer<'info>, + #[account(mut)] /// CHECK: Validated inline by checking against the pubkey stored in the account at #2 - pub open_orders: UncheckedAccount<'info>, + pub open_orders: AccountLoader<'info, OpenOrdersAccount>, #[account( has_one = group, @@ -33,9 +37,12 @@ pub struct OpenbookV2LiqForceCancelOrders<'info> { pub openbook_v2_program: Program<'info, OpenbookV2>, #[account( + mut, has_one = bids, has_one = asks, has_one = event_heap, + has_one = market_base_vault, + has_one = market_quote_vault, )] pub openbook_v2_market_external: AccountLoader<'info, Market>, @@ -71,4 +78,5 @@ pub struct OpenbookV2LiqForceCancelOrders<'info> { pub base_vault: Box>, pub token_program: Program<'info, Token>, + pub system_program: Program<'info, System>, } diff --git a/programs/mango-v4/src/accounts_ix/openbook_v2_place_order.rs b/programs/mango-v4/src/accounts_ix/openbook_v2_place_order.rs index 00c333bdd6..1f38a17939 100644 --- a/programs/mango-v4/src/accounts_ix/openbook_v2_place_order.rs +++ b/programs/mango-v4/src/accounts_ix/openbook_v2_place_order.rs @@ -2,7 +2,74 @@ use crate::error::*; use crate::state::*; use anchor_lang::prelude::*; use anchor_spl::token::{Token, TokenAccount}; -use openbook_v2::{program::OpenbookV2, state::Market}; +use num_enum::IntoPrimitive; +use num_enum::TryFromPrimitive; +use openbook_v2::{ + program::OpenbookV2, + state::{BookSide, Market, OpenOrdersAccount, PostOrderType, SelfTradeBehavior, Side}, +}; + +#[derive(Copy, Clone, TryFromPrimitive, IntoPrimitive, AnchorSerialize, AnchorDeserialize)] +#[repr(u8)] +pub enum OpenbookV2PlaceOrderType { + Limit = 0, + ImmediateOrCancel = 1, + PostOnly = 2, + Market = 3, + PostOnlySlide = 4, +} + +impl OpenbookV2PlaceOrderType { + pub fn to_external_post_order_type(&self) -> Result { + match *self { + Self::Market => Err(MangoError::SomeError.into()), + Self::ImmediateOrCancel => Err(MangoError::SomeError.into()), + Self::Limit => Ok(PostOrderType::Limit), + Self::PostOnly => Ok(PostOrderType::PostOnly), + Self::PostOnlySlide => Ok(PostOrderType::PostOnlySlide), + } + } +} + +#[derive(Copy, Clone, TryFromPrimitive, IntoPrimitive, AnchorSerialize, AnchorDeserialize)] +#[repr(u8)] +pub enum OpenbookV2PostOrderType { + Limit = 0, + PostOnly = 2, + PostOnlySlide = 4, +} + +#[derive(Copy, Clone, TryFromPrimitive, IntoPrimitive, AnchorSerialize, AnchorDeserialize)] +#[repr(u8)] +pub enum OpenbookV2SelfTradeBehavior { + DecrementTake = 0, + CancelProvide = 1, + AbortTransaction = 2, +} +impl OpenbookV2SelfTradeBehavior { + pub fn to_external(&self) -> SelfTradeBehavior { + match *self { + OpenbookV2SelfTradeBehavior::DecrementTake => SelfTradeBehavior::DecrementTake, + OpenbookV2SelfTradeBehavior::CancelProvide => SelfTradeBehavior::CancelProvide, + OpenbookV2SelfTradeBehavior::AbortTransaction => SelfTradeBehavior::AbortTransaction, + } + } +} + +#[derive(Copy, Clone, TryFromPrimitive, IntoPrimitive, AnchorSerialize, AnchorDeserialize)] +#[repr(u8)] +pub enum OpenbookV2Side { + Bid = 0, + Ask = 1, +} +impl OpenbookV2Side { + pub fn to_external(&self) -> Side { + match *self { + Self::Bid => Side::Bid, + Self::Ask => Side::Ask, + } + } +} #[derive(Accounts)] pub struct OpenbookV2PlaceOrder<'info> { @@ -22,9 +89,13 @@ pub struct OpenbookV2PlaceOrder<'info> { pub authority: Signer<'info>, #[account(mut)] - /// CHECK: Validated inline by checking against the pubkey stored in the account at #2 - pub open_orders: UncheckedAccount<'info>, + pub open_orders: AccountLoader<'info, OpenOrdersAccount>, + #[account( + has_one = group, + has_one = openbook_v2_market_external, + has_one = openbook_v2_program, + )] pub openbook_v2_market: AccountLoader<'info, OpenbookV2Market>, pub openbook_v2_program: Program<'info, OpenbookV2>, @@ -39,38 +110,36 @@ pub struct OpenbookV2PlaceOrder<'info> { #[account(mut)] /// CHECK: bids will be checked by openbook_v2 - pub bids: UncheckedAccount<'info>, + pub bids: AccountLoader<'info, BookSide>, #[account(mut)] /// CHECK: asks will be checked by openbook_v2 - pub asks: UncheckedAccount<'info>, + pub asks: AccountLoader<'info, BookSide>, #[account(mut)] /// CHECK: event queue will be checked by openbook_v2 pub event_heap: UncheckedAccount<'info>, #[account(mut)] - /// CHECK: base vault will be checked by openbook_v2 - pub market_base_vault: Box>, - - #[account(mut)] - /// CHECK: quote vault will be checked by openbook_v2 - pub market_quote_vault: Box>, + /// CHECK: vault will be checked by openbook_v2 + pub market_vault: Box>, /// CHECK: Validated by the openbook_v2 cpi call pub market_vault_signer: UncheckedAccount<'info>, - /// The bank that pays for the order, if necessary - // token_index and payer_bank.vault == payer_vault is validated inline at #3 + /// The bank that pays for the order. Bank oracle also expected in remaining_accounts + // payer_bank.vault == payer_vault is validated inline at #3 + // bank.token_index is validated against the openbook market at #4 #[account(mut, has_one = group)] pub payer_bank: AccountLoader<'info, Bank>, - /// The bank vault that pays for the order, if necessary + /// The bank vault that pays for the order #[account(mut)] pub payer_vault: Box>, - /// CHECK: The oracle can be one of several different account types - #[account(address = payer_bank.load()?.oracle)] - pub payer_oracle: UncheckedAccount<'info>, + /// The bank that receives the funds upon settlement. Bank oracle also expected in remaining_accounts + // bank.token_index is validated against the openbook market at #4 + #[account(mut, has_one = group)] + pub receiver_bank: AccountLoader<'info, Bank>, pub token_program: Program<'info, Token>, } diff --git a/programs/mango-v4/src/accounts_ix/openbook_v2_place_take_order.rs b/programs/mango-v4/src/accounts_ix/openbook_v2_place_take_order.rs deleted file mode 100644 index a30b3d9104..0000000000 --- a/programs/mango-v4/src/accounts_ix/openbook_v2_place_take_order.rs +++ /dev/null @@ -1,85 +0,0 @@ -use crate::error::*; -use crate::state::*; -use anchor_lang::prelude::*; -use anchor_spl::token::{Token, TokenAccount}; -use openbook_v2::{program::OpenbookV2, state::Market}; - -#[derive(Accounts)] -pub struct OpenbookV2PlaceTakeOrder<'info> { - #[account( - constraint = group.load()?.is_ix_enabled(IxGate::OpenbookV2PlaceTakeOrder) @ MangoError::IxIsDisabled, - )] - pub group: AccountLoader<'info, Group>, - - #[account( - mut, - has_one = group, - constraint = account.load()?.is_operational() @ MangoError::AccountIsFrozen - // authority is checked at #1 - )] - pub account: AccountLoader<'info, MangoAccountFixed>, - - pub authority: Signer<'info>, - - #[account( - has_one = group, - has_one = openbook_v2_program, - has_one = openbook_v2_market_external, - )] - pub openbook_v2_market: AccountLoader<'info, OpenbookV2Market>, - - pub openbook_v2_program: Program<'info, OpenbookV2>, - - #[account( - mut, - has_one = bids, - has_one = asks, - has_one = event_heap, - )] - pub openbook_v2_market_external: AccountLoader<'info, Market>, - - /// CHECK: Validated by the openbook_v2 cpi call - #[account(mut)] - pub bids: UncheckedAccount<'info>, - - #[account(mut)] - /// CHECK: Validated by the openbook_v2 cpi call - pub asks: UncheckedAccount<'info>, - - #[account(mut)] - /// CHECK: Validated by the openbook_v2 cpi call - pub event_heap: UncheckedAccount<'info>, - - #[account(mut)] - /// CHECK: Validated by the openbook_v2 cpi call - pub market_request_queue: UncheckedAccount<'info>, - - #[account( - mut, - constraint = market_base_vault.mint == payer_vault.mint, - )] - /// CHECK: Validated by the openbook_v2 cpi call - pub market_base_vault: Box>, - - #[account(mut)] - /// CHECK: Validated by the openbook_v2 cpi call - pub market_quote_vault: Box>, - - /// CHECK: Validated by the openbook_v2 cpi call - pub market_vault_signer: UncheckedAccount<'info>, - - /// The bank that pays for the order, if necessary - // token_index and payer_bank.vault == payer_vault is validated inline at #3 - #[account(mut, has_one = group)] - pub payer_bank: AccountLoader<'info, Bank>, - - /// The bank vault that pays for the order, if necessary - #[account(mut)] - pub payer_vault: Box>, - - /// CHECK: The oracle can be one of several different account types - #[account(address = payer_bank.load()?.oracle)] - pub payer_oracle: UncheckedAccount<'info>, - - pub token_program: Program<'info, Token>, -} diff --git a/programs/mango-v4/src/accounts_ix/openbook_v2_register_market.rs b/programs/mango-v4/src/accounts_ix/openbook_v2_register_market.rs index fd2448f0f2..4f8896ec00 100644 --- a/programs/mango-v4/src/accounts_ix/openbook_v2_register_market.rs +++ b/programs/mango-v4/src/accounts_ix/openbook_v2_register_market.rs @@ -8,20 +8,20 @@ use openbook_v2::{program::OpenbookV2, state::Market}; pub struct OpenbookV2RegisterMarket<'info> { #[account( mut, - has_one = admin, constraint = group.load()?.is_ix_enabled(IxGate::OpenbookV2RegisterMarket) @ MangoError::IxIsDisabled, - constraint = group.load()?.openbook_v2_supported() )] pub group: AccountLoader<'info, Group>, - + /// group admin or fast listing admin, checked at #1 pub admin: Signer<'info>, - /// CHECK: Can register a market for any openbook_v2 program pub openbook_v2_program: Program<'info, OpenbookV2>, #[account( constraint = openbook_v2_market_external.load()?.base_mint == base_bank.load()?.mint, constraint = openbook_v2_market_external.load()?.quote_mint == quote_bank.load()?.mint, + constraint = openbook_v2_market_external.load()?.close_market_admin.is_none(), + constraint = openbook_v2_market_external.load()?.open_orders_admin.is_none(), + constraint = openbook_v2_market_external.load()?.consume_events_admin.is_none(), )] pub openbook_v2_market_external: AccountLoader<'info, Market>, diff --git a/programs/mango-v4/src/accounts_ix/openbook_v2_settle_funds.rs b/programs/mango-v4/src/accounts_ix/openbook_v2_settle_funds.rs index e747be0233..6d95e18852 100644 --- a/programs/mango-v4/src/accounts_ix/openbook_v2_settle_funds.rs +++ b/programs/mango-v4/src/accounts_ix/openbook_v2_settle_funds.rs @@ -1,5 +1,6 @@ use anchor_lang::prelude::*; use anchor_spl::token::{Token, TokenAccount}; +use openbook_v2::state::OpenOrdersAccount; use crate::error::*; use crate::state::*; @@ -20,11 +21,11 @@ pub struct OpenbookV2SettleFunds<'info> { )] pub account: AccountLoader<'info, MangoAccountFixed>, + #[account(mut)] pub authority: Signer<'info>, #[account(mut)] - /// CHECK: Validated inline by checking against the pubkey stored in the account at #2 - pub open_orders: UncheckedAccount<'info>, + pub open_orders: AccountLoader<'info, OpenOrdersAccount>, #[account( has_one = group, @@ -35,19 +36,17 @@ pub struct OpenbookV2SettleFunds<'info> { pub openbook_v2_program: Program<'info, OpenbookV2>, - #[account(mut)] - pub openbook_v2_market_external: AccountLoader<'info, Market>, - #[account( mut, - constraint = market_base_vault.mint == base_vault.mint, + has_one = market_base_vault, + has_one = market_quote_vault, )] + pub openbook_v2_market_external: AccountLoader<'info, Market>, + + #[account(mut)] pub market_base_vault: Box>, - #[account( - mut, - constraint = market_quote_vault.mint == quote_vault.mint, - )] + #[account(mut)] pub market_quote_vault: Box>, /// needed for the automatic settle_funds call @@ -67,10 +66,11 @@ pub struct OpenbookV2SettleFunds<'info> { #[account(mut)] pub base_vault: Box>, - /// CHECK: The oracle can be one of several different account types and the pubkey is checked in the parent + /// CHECK: validated against banks at #4 pub quote_oracle: UncheckedAccount<'info>, - /// CHECK: The oracle can be one of several different account types and the pubkey is checked in the parent + /// CHECK: validated against banks at #4 pub base_oracle: UncheckedAccount<'info>, pub token_program: Program<'info, Token>, + pub system_program: Program<'info, System>, } diff --git a/programs/mango-v4/src/error.rs b/programs/mango-v4/src/error.rs index bac49d63c6..7c244fe630 100644 --- a/programs/mango-v4/src/error.rs +++ b/programs/mango-v4/src/error.rs @@ -73,8 +73,8 @@ pub enum MangoError { GroupIsHalted, #[msg("the perp position has non-zero base lots")] PerpHasBaseLots, - #[msg("there are open or unsettled serum3 orders")] - HasOpenOrUnsettledSerum3Orders, + #[msg("there are open or unsettled spot orders")] + HasOpenOrUnsettledSpotOrders, #[msg("has liquidatable token position")] HasLiquidatableTokenPosition, #[msg("has liquidatable perp base position")] @@ -128,7 +128,7 @@ pub enum MangoError { #[msg("a bank in the health account list should be writable but is not")] HealthAccountBankNotWritable, #[msg("the market does not allow limit orders too far from the current oracle value")] - Serum3PriceBandExceeded, + SpotPriceBandExceeded, #[msg("deposit crosses the token's deposit limit")] BankDepositLimit, #[msg("delegates can only withdraw to the owner's associated token account")] @@ -151,6 +151,10 @@ pub enum MangoError { InvalidSequenceNumber, #[msg("invalid health")] InvalidHealth, + #[msg("no free openbook v2 open orders index")] + NoFreeOpenbookV2OpenOrdersIndex, + #[msg("openbook v2 open orders exist already")] + OpenbookV2OpenOrdersExistAlready, } impl MangoError { diff --git a/programs/mango-v4/src/health/account_retriever.rs b/programs/mango-v4/src/health/account_retriever.rs index c88764def3..747fe93213 100644 --- a/programs/mango-v4/src/health/account_retriever.rs +++ b/programs/mango-v4/src/health/account_retriever.rs @@ -1,7 +1,9 @@ use anchor_lang::prelude::*; +use anchor_lang::Discriminator; use anchor_lang::ZeroCopy; use fixed::types::I80F48; +use openbook_v2::state::OpenOrdersAccount; use serum_dex::state::OpenOrders; use std::cell::Ref; @@ -37,6 +39,11 @@ pub trait AccountRetriever { ) -> Result<(&Bank, I80F48)>; fn serum_oo(&self, active_serum_oo_index: usize, key: &Pubkey) -> Result<&OpenOrders>; + fn openbook_oo( + &self, + active_openbook_oo_index: usize, + key: &Pubkey, + ) -> Result<&OpenOrdersAccount>; fn perp_market_and_oracle_price( &self, @@ -61,6 +68,7 @@ pub struct FixedOrderAccountRetriever { pub n_perps: usize, pub begin_perp: usize, pub begin_serum3: usize, + pub begin_openbook_v2: usize, pub staleness_slot: Option, pub begin_fallback_oracles: usize, pub usdc_oracle_index: Option, @@ -120,14 +128,16 @@ pub fn new_fixed_order_account_retriever_inner<'a, 'info>( n_banks: usize, ) -> Result>> { let active_serum3_len = account.active_serum3_orders().count(); + let active_openbook_v2_len = account.active_openbook_v2_orders().count(); let active_perp_len = account.active_perp_positions().count(); let expected_ais = n_banks * 2 // banks + oracles + active_perp_len * 2 // PerpMarkets + Oracles - + active_serum3_len; // open_orders + + active_serum3_len // open_orders + + active_openbook_v2_len; // open_orders require_msg_typed!(ais.len() >= expected_ais, MangoError::InvalidHealthAccountCount, - "received {} accounts but expected {} ({} banks, {} bank oracles, {} perp markets, {} perp oracles, {} serum3 oos)", + "received {} accounts but expected {} ({} banks, {} bank oracles, {} perp markets, {} perp oracles, {} serum3 oos, {} obv2 oos)", ais.len(), expected_ais, - n_banks, n_banks, active_perp_len, active_perp_len, active_serum3_len + n_banks, n_banks, active_perp_len, active_perp_len, active_serum3_len, active_openbook_v2_len ); let usdc_oracle_index = ais[..] .iter() @@ -142,6 +152,7 @@ pub fn new_fixed_order_account_retriever_inner<'a, 'info>( n_perps: active_perp_len, begin_perp: n_banks * 2, begin_serum3: n_banks * 2 + active_perp_len * 2, + begin_openbook_v2: n_banks * 2 + active_perp_len * 2 + active_serum3_len, staleness_slot: Some(now_slot), begin_fallback_oracles: expected_ais, usdc_oracle_index, @@ -292,6 +303,27 @@ impl AccountRetriever for FixedOrderAccountRetriever { ) }) } + + fn openbook_oo( + &self, + active_openbook_oo_index: usize, + key: &Pubkey, + ) -> Result<&OpenOrdersAccount> { + let openbook_oo_index = self.begin_openbook_v2 + active_openbook_oo_index; + let ai = &self.ais[openbook_oo_index]; + (|| { + require_keys_eq!(*key, *ai.key()); + let loaded = ai.load::()?; + Ok(loaded) + })() + .with_context(|| { + format!( + "loading openbook open orders with health account index {}, passed account {}", + openbook_oo_index, + ai.key(), + ) + }) + } } pub struct ScannedBanksAndOracles<'a, 'info> { @@ -404,6 +436,7 @@ impl<'a, 'info> ScannedBanksAndOracles<'a, 'info> { /// - an unknown number of PerpMarket accounts /// - the same number of oracles in the same order as the perp markets /// - an unknown number of serum3 OpenOrders accounts +/// - an unknown number of openbook_v2 OpenOrders accounts /// - an unknown number of fallback oracle accounts /// and retrieves accounts needed for the health computation by doing a linear /// scan for each request. @@ -411,7 +444,7 @@ pub struct ScanningAccountRetriever<'a, 'info> { banks_and_oracles: ScannedBanksAndOracles<'a, 'info>, perp_markets: Vec>, perp_oracles: Vec>, - serum3_oos: Vec>, + spot_oos: Vec>, perp_index_map: HashMap, } @@ -497,7 +530,16 @@ impl<'a, 'info> ScanningAccountRetriever<'a, 'info> { && serum3_cpi::has_serum_header(&x.data.borrow()) }) .count(); - let fallback_oracles_start = serum3_start + n_serum3; + let openbook_v2_start = serum3_start + n_serum3; + let n_openbook_v2 = ais[openbook_v2_start..] + .iter() + .take_while(|x| { + x.data_len() == std::mem::size_of::() + 8 + && x.data.borrow()[0..8] + == openbook_v2::state::OpenOrdersAccount::discriminator() + }) + .count(); + let fallback_oracles_start = openbook_v2_start + n_openbook_v2; let usd_oracle_index = ais[fallback_oracles_start..] .iter() .position(|o| o.key == &pyth_mainnet_usdc_oracle::ID); @@ -517,7 +559,7 @@ impl<'a, 'info> ScanningAccountRetriever<'a, 'info> { }, perp_markets: AccountInfoRef::borrow_slice(&ais[perps_start..perp_oracles_start])?, perp_oracles: AccountInfoRef::borrow_slice(&ais[perp_oracles_start..serum3_start])?, - serum3_oos: AccountInfoRef::borrow_slice(&ais[serum3_start..fallback_oracles_start])?, + spot_oos: AccountInfoRef::borrow_slice(&ais[serum3_start..fallback_oracles_start])?, perp_index_map, }) } @@ -560,13 +602,23 @@ impl<'a, 'info> ScanningAccountRetriever<'a, 'info> { pub fn scanned_serum_oo(&self, key: &Pubkey) -> Result<&OpenOrders> { let oo = self - .serum3_oos + .spot_oos .iter() .find(|ai| ai.key == key) .ok_or_else(|| error_msg!("no serum3 open orders for key {}", key))?; serum3_cpi::load_open_orders(oo) } + pub fn scanned_openbook_oo(&self, key: &Pubkey) -> Result<&OpenOrdersAccount> { + let oo = self + .spot_oos + .iter() + .find(|ai| ai.key == key) + .ok_or_else(|| error_msg!("no openbook open orders for key {}", key))?; + let loaded = oo.load::()?; + Ok(loaded) + } + pub fn into_banks_and_oracles(self) -> ScannedBanksAndOracles<'a, 'info> { self.banks_and_oracles } @@ -598,6 +650,10 @@ impl<'a, 'info> AccountRetriever for ScanningAccountRetriever<'a, 'info> { fn serum_oo(&self, _account_index: usize, key: &Pubkey) -> Result<&OpenOrders> { self.scanned_serum_oo(key) } + + fn openbook_oo(&self, _account_index: usize, key: &Pubkey) -> Result<&OpenOrdersAccount> { + self.scanned_openbook_oo(key) + } } #[cfg(test)] @@ -606,6 +662,7 @@ mod tests { use super::super::test::*; use super::*; + use openbook_v2::state::OpenOrdersAccount; use serum_dex::state::OpenOrders; use std::convert::identity; @@ -626,6 +683,10 @@ mod tests { let oo1key = oo1.pubkey; oo1.data().native_pc_total = 20; + let mut oo2 = TestAccount::::new_zeroed(); + let oo2key = oo2.pubkey; + oo2.data().position.asks_base_lots = 21; + let mut perp1 = mock_perp_market( group, oracle2.pubkey, @@ -657,6 +718,7 @@ mod tests { oracle2_account_info, oracle1_account_info, oo1.as_account_info(), + oo2.as_account_info(), ]; let mut retriever = @@ -668,7 +730,7 @@ mod tests { assert_eq!(retriever.perp_markets.len(), 2); assert_eq!(retriever.perp_oracles.len(), 2); assert_eq!(retriever.perp_index_map.len(), 2); - assert_eq!(retriever.serum3_oos.len(), 1); + assert_eq!(retriever.spot_oos.len(), 2); { let (b1, o1, opt_b2o2) = retriever.banks_mut_and_oracles(1, 4).unwrap(); @@ -703,11 +765,23 @@ mod tests { assert_eq!(o, 5 * I80F48::ONE); } - let oo = retriever.serum_oo(0, &oo1key).unwrap(); - assert_eq!(identity(oo.native_pc_total), 20); + let oo1 = retriever.serum_oo(0, &oo1key).unwrap(); + assert_eq!(identity(oo1.native_pc_total), 20); assert!(retriever.serum_oo(1, &Pubkey::default()).is_err()); + let oo2 = retriever.openbook_oo(0, &oo2key).unwrap(); + assert_eq!(identity(oo2.position.asks_base_lots), 21); + + assert!(retriever.openbook_oo(1, &Pubkey::default()).is_err()); + + // check retrieval fails when using the wrong function for the account type + retriever + .serum_oo(0, &oo2key) + .map(|_| "should fail to load serum3 oo") + .unwrap_err(); + retriever.openbook_oo(0, &oo1key).unwrap_err(); + let (perp, oracle_price) = retriever .perp_market_and_oracle_price(&group, 0, 9) .unwrap(); diff --git a/programs/mango-v4/src/health/cache.rs b/programs/mango-v4/src/health/cache.rs index 21f8cf2895..d0095c8659 100644 --- a/programs/mango-v4/src/health/cache.rs +++ b/programs/mango-v4/src/health/cache.rs @@ -17,13 +17,14 @@ use anchor_lang::prelude::*; use fixed::types::I80F48; +use openbook_v2::state::OpenOrdersAccount; use crate::error::*; use crate::i80f48::LowPrecisionDivision; use crate::serum3_cpi::{OpenOrdersAmounts, OpenOrdersSlim}; use crate::state::{ - Bank, MangoAccountRef, PerpMarket, PerpMarketIndex, PerpPosition, Serum3MarketIndex, - Serum3Orders, TokenIndex, + Bank, MangoAccountRef, OpenbookV2MarketIndex, OpenbookV2Orders, PerpMarket, PerpMarketIndex, + PerpPosition, Serum3MarketIndex, Serum3Orders, TokenIndex, }; use super::*; @@ -188,8 +189,8 @@ pub struct TokenBalance { #[derive(Clone, Default)] pub struct TokenMaxReserved { - /// The sum of serum-reserved amounts over all markets - pub max_serum_reserved: I80F48, + /// The sum of reserved amounts over all serum3 and openbookV2 markets + pub max_spot_reserved: I80F48, } impl TokenInfo { @@ -232,14 +233,20 @@ impl TokenInfo { } } -/// Information about reserved funds on Serum3 open orders accounts. +#[derive(Clone, Debug, PartialEq)] +pub enum SpotMarketIndex { + Serum3(Serum3MarketIndex), + OpenbookV2(OpenbookV2MarketIndex), +} + +/// Information about reserved funds on Serum3 and Openbook V2 open orders accounts. /// /// Note that all "free" funds on open orders accounts are added directly /// to the token info. This is only about dealing with the reserved funds /// that might end up as base OR quote tokens, depending on whether the /// open orders execute on not. #[derive(Clone, Debug)] -pub struct Serum3Info { +pub struct SpotInfo { // reserved amounts as stored on the open orders pub reserved_base: I80F48, pub reserved_quote: I80F48, @@ -253,14 +260,14 @@ pub struct Serum3Info { pub base_info_index: usize, pub quote_info_index: usize, - pub market_index: Serum3MarketIndex, + pub spot_market_index: SpotMarketIndex, /// The open orders account has no free or reserved funds pub has_zero_funds: bool, } -impl Serum3Info { - fn new( +impl SpotInfo { + fn new_from_serum( serum_account: &Serum3Orders, open_orders: &impl OpenOrdersAmounts, base_info_index: usize, @@ -282,13 +289,44 @@ impl Serum3Info { reserved_quote_as_base_highest_bid, base_info_index, quote_info_index, - market_index: serum_account.market_index, + spot_market_index: SpotMarketIndex::Serum3(serum_account.market_index), has_zero_funds: open_orders.native_base_total() == 0 && open_orders.native_quote_total() == 0 && open_orders.native_rebates() == 0, } } + fn new_from_openbook( + open_orders_account: &OpenOrdersAccount, + open_orders: &OpenbookV2Orders, + base_info_index: usize, + quote_info_index: usize, + ) -> Self { + // track the reserved amounts + let reserved_base = + I80F48::from(open_orders_account.position.asks_base_lots * open_orders.base_lot_size); + let reserved_quote = + I80F48::from(open_orders_account.position.bids_quote_lots * open_orders.quote_lot_size); + + let reserved_base_as_quote_lowest_ask = + reserved_base * I80F48::from_num(open_orders.lowest_placed_ask); + let reserved_quote_as_base_highest_bid = + reserved_quote * I80F48::from_num(open_orders.highest_placed_bid_inv); + + Self { + reserved_base, + reserved_quote, + reserved_base_as_quote_lowest_ask, + reserved_quote_as_base_highest_bid, + base_info_index, + quote_info_index, + spot_market_index: SpotMarketIndex::OpenbookV2(open_orders.market_index), + has_zero_funds: open_orders_account + .position + .is_empty(open_orders_account.version), + } + } + #[inline(always)] fn all_reserved_as_base( &self, @@ -360,7 +398,7 @@ impl Serum3Info { token_infos: &[TokenInfo], token_balances: &[TokenBalance], token_max_reserved: &[TokenMaxReserved], - market_reserved: &Serum3Reserved, + market_reserved: &SpotReserved, ) -> I80F48 { if market_reserved.all_reserved_as_base.is_zero() || market_reserved.all_reserved_as_quote.is_zero() @@ -378,8 +416,8 @@ impl Serum3Info { max_reserved: &TokenMaxReserved, market_reserved: I80F48| { // This balance includes all possible reserved funds from markets that relate to the - // token, including this market itself: `market_reserved` is already included in `max_serum_reserved`. - let max_balance = balance.spot_and_perp + max_reserved.max_serum_reserved; + // token, including this market itself: `market_reserved` is already included in `max_spot_reserved`. + let max_balance = balance.spot_and_perp + max_reserved.max_spot_reserved; // For simplicity, we assume that `market_reserved` was added to `max_balance` last // (it underestimates health because that gives the smallest effects): how much did @@ -416,8 +454,8 @@ impl Serum3Info { } #[derive(Clone)] -pub(crate) struct Serum3Reserved { - /// base tokens when the serum3info.reserved_quote get converted to base and added to reserved_base +pub(crate) struct SpotReserved { + /// base tokens when the spotinfo.reserved_quote get converted to base and added to reserved_base all_reserved_as_base: I80F48, /// ditto the other way around all_reserved_as_quote: I80F48, @@ -593,7 +631,7 @@ impl PerpInfo { #[derive(Clone, Debug)] pub struct HealthCache { pub token_infos: Vec, - pub(crate) serum3_infos: Vec, + pub(crate) spot_infos: Vec, pub(crate) perp_infos: Vec, #[allow(unused)] pub(crate) being_liquidated: bool, @@ -641,7 +679,7 @@ impl HealthCache { self.health_assets_and_liabs(health_type, false) } - /// Loop over the token, perp, serum contributions and add up all positive values into `assets` + /// Loop over the token, perp, spot contributions and add up all positive values into `assets` /// and (the abs) of negative values separately into `liabs`. Return (assets, liabs). /// /// Due to the way token and perp positions sum before being weighted, there's some flexibility @@ -728,9 +766,9 @@ impl HealthCache { } let token_balances = self.effective_token_balances(health_type); - let (token_max_reserved, serum3_reserved) = self.compute_serum3_reservations(health_type); - for (serum3_info, reserved) in self.serum3_infos.iter().zip(serum3_reserved.iter()) { - let contrib = serum3_info.health_contribution( + let (token_max_reserved, spot_reserved) = self.compute_spot_reservations(health_type); + for (spot_info, reserved) in self.spot_infos.iter().zip(spot_reserved.iter()) { + let contrib = spot_info.health_contribution( health_type, &self.token_infos, &token_balances, @@ -761,11 +799,11 @@ impl HealthCache { } } - for serum_info in self.serum3_infos.iter() { - let quote = &self.token_infos[serum_info.quote_info_index]; - let base = &self.token_infos[serum_info.base_info_index]; - assets += serum_info.reserved_base * base.prices.oracle; - assets += serum_info.reserved_quote * quote.prices.oracle; + for spot_info in self.spot_infos.iter() { + let quote = &self.token_infos[spot_info.quote_info_index]; + let base = &self.token_infos[spot_info.base_info_index]; + assets += spot_info.reserved_base * base.prices.oracle; + assets += spot_info.reserved_quote * quote.prices.oracle; } for perp_info in self.perp_infos.iter() { @@ -874,28 +912,71 @@ impl HealthCache { free_base_change: I80F48, free_quote_change: I80F48, ) -> Result<()> { - let serum_info_index = self - .serum3_infos + let spot_info_index = self + .spot_infos .iter_mut() - .position(|m| m.market_index == serum_account.market_index) + .position(|m| { + m.spot_market_index == SpotMarketIndex::Serum3(serum_account.market_index) + }) .ok_or_else(|| error_msg!("serum3 market {} not found", serum_account.market_index))?; - let serum_info = &self.serum3_infos[serum_info_index]; + let spot_info = &self.spot_infos[spot_info_index]; { - let base_entry = &mut self.token_infos[serum_info.base_info_index]; + let base_entry = &mut self.token_infos[spot_info.base_info_index]; base_entry.balance_spot += free_base_change; } { - let quote_entry = &mut self.token_infos[serum_info.quote_info_index]; + let quote_entry = &mut self.token_infos[spot_info.quote_info_index]; quote_entry.balance_spot += free_quote_change; } - let serum_info = &mut self.serum3_infos[serum_info_index]; - *serum_info = Serum3Info::new( + let spot_info = &mut self.spot_infos[spot_info_index]; + *spot_info = SpotInfo::new_from_serum( serum_account, open_orders, - serum_info.base_info_index, - serum_info.quote_info_index, + spot_info.base_info_index, + spot_info.quote_info_index, + ); + Ok(()) + } + + /// Recompute the cached information about a serum market. + /// + /// WARNING: You must also call recompute_token_weights() after all bank + /// deposit/withdraw changes! + pub fn recompute_openbook_v2_info( + &mut self, + open_orders: &OpenbookV2Orders, + open_orders_account: &OpenOrdersAccount, + free_base_change: I80F48, + free_quote_change: I80F48, + ) -> Result<()> { + let spot_info_index = self + .spot_infos + .iter_mut() + .position(|m| { + m.spot_market_index == SpotMarketIndex::OpenbookV2(open_orders.market_index) + }) + .ok_or_else(|| { + error_msg!("openbook v2 market {} not found", open_orders.market_index) + })?; + + let spot_info = &self.spot_infos[spot_info_index]; + { + let base_entry = &mut self.token_infos[spot_info.base_info_index]; + base_entry.balance_spot += free_base_change; + } + { + let quote_entry = &mut self.token_infos[spot_info.quote_info_index]; + quote_entry.balance_spot += free_quote_change; + } + + let spot_info = &mut self.spot_infos[spot_info_index]; + *spot_info = SpotInfo::new_from_openbook( + open_orders_account, + open_orders, + spot_info.base_info_index, + spot_info.quote_info_index, ); Ok(()) } @@ -946,8 +1027,8 @@ impl HealthCache { }) } - pub fn has_serum3_open_orders_funds(&self) -> bool { - self.serum3_infos.iter().any(|si| !si.has_zero_funds) + pub fn has_spot_open_orders_funds(&self) -> bool { + self.spot_infos.iter().any(|si| !si.has_zero_funds) } pub fn has_perp_open_orders(&self) -> bool { @@ -977,13 +1058,13 @@ impl HealthCache { /// Phase1 is spot/perp order cancellation and spot settlement since /// neither of these come at a cost to the liqee pub fn has_phase1_liquidatable(&self) -> bool { - self.has_serum3_open_orders_funds() || self.has_perp_open_orders() + self.has_spot_open_orders_funds() || self.has_perp_open_orders() } pub fn require_after_phase1_liquidation(&self) -> Result<()> { require!( - !self.has_serum3_open_orders_funds(), - MangoError::HasOpenOrUnsettledSerum3Orders + !self.has_spot_open_orders_funds(), + MangoError::HasOpenOrUnsettledSpotOrders ); require!(!self.has_perp_open_orders(), MangoError::HasOpenPerpOrders); Ok(()) @@ -1043,17 +1124,17 @@ impl HealthCache { && self.has_phase3_liquidatable() } - pub(crate) fn compute_serum3_reservations( + pub(crate) fn compute_spot_reservations( &self, health_type: HealthType, - ) -> (Vec, Vec) { + ) -> (Vec, Vec) { let mut token_max_reserved = vec![TokenMaxReserved::default(); self.token_infos.len()]; - // For each serum market, compute what happened if reserved_base was converted to quote + // For each spot market, compute what happened if reserved_base was converted to quote // or reserved_quote was converted to base. - let mut serum3_reserved = Vec::with_capacity(self.serum3_infos.len()); + let mut spot_reserved = Vec::with_capacity(self.spot_infos.len()); - for info in self.serum3_infos.iter() { + for info in self.spot_infos.iter() { let quote_info = &self.token_infos[info.quote_info_index]; let base_info = &self.token_infos[info.base_info_index]; @@ -1062,22 +1143,22 @@ impl HealthCache { let all_reserved_as_quote = info.all_reserved_as_quote(health_type, quote_info, base_info); - token_max_reserved[info.base_info_index].max_serum_reserved += all_reserved_as_base; - token_max_reserved[info.quote_info_index].max_serum_reserved += all_reserved_as_quote; + token_max_reserved[info.base_info_index].max_spot_reserved += all_reserved_as_base; + token_max_reserved[info.quote_info_index].max_spot_reserved += all_reserved_as_quote; - serum3_reserved.push(Serum3Reserved { + spot_reserved.push(SpotReserved { all_reserved_as_base, all_reserved_as_quote, }); } - (token_max_reserved, serum3_reserved) + (token_max_reserved, spot_reserved) } /// Returns token balances that account for spot and perp contributions /// /// Spot contributions are just the regular deposits or borrows, as well as from free - /// funds on serum3 open orders accounts. + /// funds on spot open orders accounts. /// /// Perp contributions come from perp positions in markets that use the token as a settle token: /// For these the hupnl is added to the total because that's the risk-adjusted expected to be @@ -1125,9 +1206,9 @@ impl HealthCache { action(contrib); } - let (token_max_reserved, serum3_reserved) = self.compute_serum3_reservations(health_type); - for (serum3_info, reserved) in self.serum3_infos.iter().zip(serum3_reserved.iter()) { - let contrib = serum3_info.health_contribution( + let (token_max_reserved, spot_reserved) = self.compute_spot_reservations(health_type); + for (spot_info, reserved) in self.spot_infos.iter().zip(spot_reserved.iter()) { + let contrib = spot_info.health_contribution( health_type, &self.token_infos, &token_balances, @@ -1186,14 +1267,14 @@ impl HealthCache { ) } - pub fn total_serum3_potential( + pub fn total_spot_potential( &self, health_type: HealthType, token_index: TokenIndex, ) -> Result { let target_token_info_index = self.token_info_index(token_index)?; let total_reserved = self - .serum3_infos + .spot_infos .iter() .filter_map(|info| { if info.quote_info_index == target_token_info_index { @@ -1215,6 +1296,34 @@ impl HealthCache { .sum(); Ok(total_reserved) } + + /// Verifies that the health cache has information on all account's active spot markets that + /// touch the token_index + pub fn check_has_all_spot_infos_for_token( + &self, + account: &MangoAccountRef, + token_index: TokenIndex, + ) -> Result<()> { + for serum3 in account.active_serum3_orders() { + if serum3.base_token_index == token_index || serum3.quote_token_index == token_index { + require_msg!( + self.spot_infos.iter().any(|s| s.spot_market_index == SpotMarketIndex::Serum3(serum3.market_index)), + "health cache is missing spot info for serum3 market {} involving receiver token {}; passed banks and oracles?", + serum3.market_index, token_index + ); + } + } + for oov2 in account.active_openbook_v2_orders() { + if oov2.base_token_index == token_index || oov2.quote_token_index == token_index { + require_msg!( + self.spot_infos.iter().any(|s| s.spot_market_index == SpotMarketIndex::OpenbookV2(oov2.market_index)), + "health cache is missing spot info for oov2 market {} involving receiver token {}; passed banks and oracles?", + oov2.market_index, token_index + ); + } + } + Ok(()) + } } pub(crate) fn find_token_info_index(infos: &[TokenInfo], token_index: TokenIndex) -> Result { @@ -1328,8 +1437,10 @@ fn new_health_cache_impl( }); } - // Fill the TokenInfo balance with free funds in serum3 oo accounts and build Serum3Infos. - let mut serum3_infos = Vec::with_capacity(account.active_serum3_orders().count()); + // Fill the TokenInfo balance with free funds in serum3 and openbook v2 oo accounts and build Spot3Infos. + let mut spot_infos = Vec::with_capacity( + account.active_serum3_orders().count() + account.active_openbook_v2_orders().count(), + ); for (i, serum_account) in account.active_serum3_orders().enumerate() { let oo = retriever.serum_oo(i, &serum_account.open_orders)?; @@ -1362,13 +1473,52 @@ fn new_health_cache_impl( let quote_info = &mut token_infos[quote_info_index]; quote_info.balance_spot += quote_free; - serum3_infos.push(Serum3Info::new( + spot_infos.push(SpotInfo::new_from_serum( serum_account, oo, base_info_index, quote_info_index, )); } + for (i, open_orders_account) in account.active_openbook_v2_orders().enumerate() { + let oo = retriever.openbook_oo(i, &open_orders_account.open_orders)?; + + // find the TokenInfos for the market's base and quote tokens + // and potentially skip the whole openbook v2 contribution if they are not available + let info_index_results = ( + find_token_info_index(&token_infos, open_orders_account.base_token_index), + find_token_info_index(&token_infos, open_orders_account.quote_token_index), + ); + let (base_info_index, quote_info_index) = match info_index_results { + (Ok(base), Ok(quote)) => (base, quote), + _ => { + require_msg_typed!( + allow_skipping_banks, + MangoError::InvalidBank, + "openbook-v2 market {} misses health accounts for bank {} or {}", + open_orders_account.market_index, + open_orders_account.base_token_index, + open_orders_account.quote_token_index, + ); + continue; + } + }; + + // add the amounts that are freely settleable immediately to token balances + let base_free = I80F48::from(oo.position.base_free_native); + let quote_free = I80F48::from(oo.position.quote_free_native); + let base_info = &mut token_infos[base_info_index]; + base_info.balance_spot += base_free; + let quote_info = &mut token_infos[quote_info_index]; + quote_info.balance_spot += quote_free; + + spot_infos.push(SpotInfo::new_from_openbook( + &oo, + open_orders_account, + base_info_index, + quote_info_index, + )); + } // health contribution from perp accounts let mut perp_infos = Vec::with_capacity(account.active_perp_positions().count()); @@ -1396,7 +1546,7 @@ fn new_health_cache_impl( Ok(HealthCache { token_infos, - serum3_infos, + spot_infos, perp_infos, being_liquidated: account.fixed.being_liquidated(), }) @@ -1450,8 +1600,8 @@ mod tests { let group = Pubkey::new_unique(); - let (mut bank1, mut oracle1) = mock_bank_and_oracle(group, 0, 1.0, 0.2, 0.1); - let (mut bank2, mut oracle2) = mock_bank_and_oracle(group, 4, 5.0, 0.5, 0.3); + let (mut bank1, mut oracle1) = mock_bank_and_oracle(group, 0, 1.0, 0.2, 0.1); // 0.5 + let (mut bank2, mut oracle2) = mock_bank_and_oracle(group, 4, 5.0, 0.5, 0.3); // 0.2 bank1 .data() .deposit( @@ -1468,7 +1618,7 @@ mod tests { DUMMY_NOW_TS, ) .unwrap(); - + // 100 quote -10 base let mut oo1 = TestAccount::::new_zeroed(); let serum3account = account.create_serum3_orders(2).unwrap(); serum3account.open_orders = oo1.pubkey; @@ -1480,6 +1630,20 @@ mod tests { oo1.data().native_coin_free = 3; oo1.data().referrer_rebates_accrued = 2; + let mut oo2 = TestAccount::::new_zeroed(); + let openbookv2account = account.create_openbook_v2_orders(2).unwrap(); + openbookv2account.open_orders = oo2.pubkey; + openbookv2account.base_token_index = 4; + openbookv2account.quote_token_index = 0; + openbookv2account.potential_quote_tokens = 20; + openbookv2account.potential_base_tokens = 15; + openbookv2account.market_index = 2; + openbookv2account.base_lot_size = 1; + openbookv2account.quote_lot_size = 1; + oo2.data().position.quote_free_native = 1; + oo2.data().position.base_free_native = 3; + oo2.data().position.referrer_rebates_available = 2; + let mut perp1 = mock_perp_market(group, oracle2.pubkey, 5.0, 9, (0.2, 0.1), (0.05, 0.02)); let perpaccount = account.ensure_perp_position(9, 0).unwrap().0; perpaccount.record_trade(perp1.data(), 3, -I80F48::from(310u16)); @@ -1498,6 +1662,7 @@ mod tests { perp1.as_account_info(), oracle2_ai, oo1.as_account_info(), + oo2.as_account_info(), ]; let retriever = ScanningAccountRetriever::new_with_staleness(&ais, &group, None).unwrap(); @@ -1505,16 +1670,17 @@ mod tests { // for bank1/oracle1 // including open orders (scenario: bids execute) let serum1 = 1.0 + (20.0 + 15.0 * 5.0); + let openbook1 = 1.0 + (20.0 + 15.0 * 5.0); // and perp (scenario: bids execute) let perp1 = (3.0 + 7.0 + 1.0) * 10.0 * 5.0 * 0.8 + (-310.0 + 2.0 * 100.0 - 7.0 * 10.0 * 5.0); - let health1 = (100.0 + serum1 + perp1) * 0.8; + let health1 = (100.0 + serum1 + openbook1) * 0.8; // for bank2/oracle2 - let health2 = (-10.0 + 3.0) * 5.0 * 1.5; - assert!(health_eq( - compute_health(&account.borrow(), HealthType::Init, &retriever, 0).unwrap(), - health1 + health2 - )); + let health2 = (-20.0 + 3.0 + 3.0) * 5.0 * 1.5; + // assert!(health_eq( + // compute_health(&account.borrow(), HealthType::Init, &retriever, 0).unwrap(), + // health1 + health2 + // )); } #[derive(Default)] @@ -1524,6 +1690,7 @@ mod tests { deposit_weight_scale_start_quote: u64, borrow_weight_scale_start_quote: u64, potential_serum_tokens: u64, + potential_openbook_tokens: u64, } #[derive(Default)] @@ -1533,6 +1700,8 @@ mod tests { token3: i64, oo_1_2: (u64, u64), oo_1_3: (u64, u64), + oov2_1_2: (u64, u64), + oov2_1_3: (u64, u64), perp1: (i64, i64, i64, i64), expected_health: f64, bank_settings: [BankSettings; 3], @@ -1580,6 +1749,7 @@ mod tests { bank.indexed_deposits = I80F48::from(settings.deposits) / bank.deposit_index; bank.indexed_borrows = I80F48::from(settings.borrows) / bank.borrow_index; bank.potential_serum_tokens = settings.potential_serum_tokens; + bank.potential_openbook_tokens = settings.potential_openbook_tokens; if settings.deposit_weight_scale_start_quote > 0 { bank.deposit_weight_scale_start_quote = settings.deposit_weight_scale_start_quote as f64; @@ -1606,6 +1776,26 @@ mod tests { oo2.data().native_pc_total = testcase.oo_1_3.0; oo2.data().native_coin_total = testcase.oo_1_3.1; + let mut oov2_1 = TestAccount::::new_zeroed(); + let openbookv2account = account.create_openbook_v2_orders(2).unwrap(); + openbookv2account.open_orders = oov2_1.pubkey; + openbookv2account.base_token_index = 4; + openbookv2account.quote_token_index = 0; + openbookv2account.base_lot_size = 1; + openbookv2account.quote_lot_size = 1; + oov2_1.data().position.bids_quote_lots = testcase.oov2_1_2.0 as i64; + oov2_1.data().position.asks_base_lots = testcase.oov2_1_2.1 as i64; + + let mut oov2_2 = TestAccount::::new_zeroed(); + let openbookv2account2 = account.create_openbook_v2_orders(3).unwrap(); + openbookv2account2.open_orders = oov2_2.pubkey; + openbookv2account2.base_token_index = 5; + openbookv2account2.quote_token_index = 0; + openbookv2account2.base_lot_size = 1; + openbookv2account2.quote_lot_size = 1; + oov2_2.data().position.bids_quote_lots = testcase.oov2_1_3.0 as i64; + oov2_2.data().position.asks_base_lots = testcase.oov2_1_3.1 as i64; + let mut perp1 = mock_perp_market(group, oracle2.pubkey, 5.0, 9, (0.2, 0.1), (0.05, 0.02)); let perpaccount = account.ensure_perp_position(9, 0).unwrap().0; perpaccount.record_trade( @@ -1632,6 +1822,8 @@ mod tests { oracle2_ai, oo1.as_account_info(), oo2.as_account_info(), + oov2_1.as_account_info(), + oov2_2.as_account_info(), ]; let retriever = ScanningAccountRetriever::new_with_staleness(&ais, &group, None).unwrap(); @@ -1927,6 +2119,181 @@ mod tests { + 100.0 * 10.0 * 0.5 * (500.0 / 700.0), ..Default::default() }, + TestHealth1Case { // 18, like 0 with obv2 + token1: 100, + token2: -10, + oov2_1_2: (20, 15), + expected_health: + // for token1 + 0.8 * (100.0 + // including open orders (scenario: bids execute) + + (20.0 + 15.0 * base_price)) + // for token2 + - 10.0 * base_price * 1.5, + ..Default::default() + }, + TestHealth1Case { // 19, like 1 with obv2 + token1: -100, + token2: 10, + oov2_1_2: (20, 15), + expected_health: + // for token1 + 1.2 * (-100.0) + // for token2, including open orders (scenario: asks execute) + + (10.0 * base_price + (20.0 + 15.0 * base_price)) * 0.5, + ..Default::default() + }, + TestHealth1Case { // 20, reserved oo funds, like 6 with obv2 + token1: -100, + token2: -10, + token3: -10, + oov2_1_2: (1, 1), + oov2_1_3: (1, 1), + expected_health: + // tokens + -100.0 * 1.2 - 10.0 * 5.0 * 1.5 - 10.0 * 10.0 * 1.5 + // oo_1_2 (-> token1) + + (1.0 + 5.0) * 1.2 + // oo_1_3 (-> token1) + + (1.0 + 10.0) * 1.2, + ..Default::default() + }, + TestHealth1Case { // 21, reserved oo funds cross the zero balance level, like 7 with obv2 + token1: -14, + token2: -10, + token3: -10, + oov2_1_2: (1, 1), + oov2_1_3: (1, 1), + expected_health: + // tokens + -14.0 * 1.2 - 10.0 * 5.0 * 1.5 - 10.0 * 10.0 * 1.5 + // oo_1_2 (-> token1) + + 3.0 * 1.2 + 3.0 * 0.8 + // oo_1_3 (-> token1) + + 8.0 * 1.2 + 3.0 * 0.8, + ..Default::default() + }, + TestHealth1Case { // 22, reserved oo funds in a non-quote currency, like 8 with obv2 + token1: -100, + token2: -100, + token3: -1, + oov2_1_2: (0, 0), + oov2_1_3: (10, 1), + expected_health: + // tokens + -100.0 * 1.2 - 100.0 * 5.0 * 1.5 - 10.0 * 1.5 + // oo_1_3 (-> token3) + + 10.0 * 1.5 + 10.0 * 0.5, + ..Default::default() + }, + TestHealth1Case { // 23, like 8 but oo_1_2 flips the oo_1_3 target, like 9 with obv2 + token1: -100, + token2: -100, + token3: -1, + oov2_1_2: (100, 0), + oov2_1_3: (10, 1), + expected_health: + // tokens + -100.0 * 1.2 - 100.0 * 5.0 * 1.5 - 10.0 * 1.5 + // oo_1_2 (-> token1) + + 80.0 * 1.2 + 20.0 * 0.8 + // oo_1_3 (-> token1) + + 20.0 * 0.8, + ..Default::default() + }, + TestHealth1Case { + // 24, reserved oo funds with max bid/min ask, like 14 with obv2 + token1: -100, + token2: -10, + token3: 0, + oov2_1_2: (1, 1), + oov2_1_3: (11, 1), + expected_health: + // tokens + -100.0 * 1.2 - 10.0 * 5.0 * 1.5 + // oo_1_2 (-> token1) + + (1.0 + 3.0) * 1.2 + // oo_1_3 (-> token3) + + (11.0 / 12.0 + 1.0) * 10.0 * 0.5, + extra: Some(|account: &mut MangoAccountValue| { + let s2 = account.openbook_v2_orders_mut(2).unwrap(); + s2.lowest_placed_ask = 3.0; + let s3 = account.openbook_v2_orders_mut(3).unwrap(); + s3.highest_placed_bid_inv = 1.0 / 12.0; + }), + ..Default::default() + }, + TestHealth1Case { + // 25, reserved oo funds with max bid/min ask not crossing oracle, like 15 with obv2 + token1: -100, + token2: -10, + token3: 0, + oov2_1_2: (1, 1), + oov2_1_3: (11, 1), + expected_health: + // tokens + -100.0 * 1.2 - 10.0 * 5.0 * 1.5 + // oo_1_2 (-> token1) + + (1.0 + 5.0) * 1.2 + // oo_1_3 (-> token3) + + (11.0 / 10.0 + 1.0) * 10.0 * 0.5, + extra: Some(|account: &mut MangoAccountValue| { + let s2 = account.openbook_v2_orders_mut(2).unwrap(); + s2.lowest_placed_ask = 6.0; + let s3 = account.openbook_v2_orders_mut(3).unwrap(); + s3.highest_placed_bid_inv = 1.0 / 9.0; + }), + ..Default::default() + }, + TestHealth1Case { + // 26, base case for 27, like 16 with obv2 + token1: 100, + token2: 100, + token3: 100, + oov2_1_2: (0, 100), + oov2_1_3: (0, 100), + expected_health: + // tokens + 100.0 * 0.8 + 100.0 * 5.0 * 0.5 + 100.0 * 10.0 * 0.5 + // oo_1_2 (-> token2) + + 100.0 * 5.0 * 0.5 + // oo_1_3 (-> token1) + + 100.0 * 10.0 * 0.5, + ..Default::default() + }, + TestHealth1Case { + // 27, potential_openbook_tokens counts for deposit weight scaling, like 17 with obv2 + token1: 100, + token2: 100, + token3: 100, + oov2_1_2: (0, 100), + oov2_1_3: (0, 100), + bank_settings: [ + BankSettings { + ..BankSettings::default() + }, + BankSettings { + deposits: 100, + deposit_weight_scale_start_quote: 100 * 5, + potential_openbook_tokens: 100, + ..BankSettings::default() + }, + BankSettings { + deposits: 600, + deposit_weight_scale_start_quote: 500 * 10, + potential_openbook_tokens: 100, + ..BankSettings::default() + }, + ], + expected_health: + // tokens + 100.0 * 0.8 + 100.0 * 5.0 * 0.5 * (100.0 / 200.0) + 100.0 * 10.0 * 0.5 * (500.0 / 700.0) + // oo_1_2 (-> token2) + + 100.0 * 5.0 * 0.5 * (100.0 / 200.0) + // oo_1_3 (-> token1) + + 100.0 * 10.0 * 0.5 * (500.0 / 700.0), + ..Default::default() + }, ]; for (i, testcase) in testcases.iter().enumerate() { diff --git a/programs/mango-v4/src/health/client.rs b/programs/mango-v4/src/health/client.rs index c7bad10092..0d4d7d31eb 100644 --- a/programs/mango-v4/src/health/client.rs +++ b/programs/mango-v4/src/health/client.rs @@ -174,9 +174,9 @@ impl HealthCache { let source = &self.token_infos[source_index]; let target = &self.token_infos[target_index]; - let (tokens_max_reserved, _) = self.compute_serum3_reservations(health_type); - let source_reserved = tokens_max_reserved[source_index].max_serum_reserved; - let target_reserved = tokens_max_reserved[target_index].max_serum_reserved; + let (tokens_max_reserved, _) = self.compute_spot_reservations(health_type); + let source_reserved = tokens_max_reserved[source_index].max_spot_reserved; + let target_reserved = tokens_max_reserved[target_index].max_spot_reserved; let token_balances = self.effective_token_balances(health_type); let source_balance = token_balances[source_index].spot_and_perp; @@ -214,7 +214,7 @@ impl HealthCache { // The function we're looking at has a unique maximum. // - // If we discount serum3 reservations, there are two key slope changes: + // If we discount spot reservations, there are two key slope changes: // Assume source.balance > 0 and target.balance < 0. // When these values flip sign, the health slope decreases, but could still be positive. // @@ -245,7 +245,7 @@ impl HealthCache { // - source_liab_weight * source_liab_price * a // + target_asset_weight * target_asset_price * price * a = 0. // where a is the source token native amount. - // Note that this is just an estimate. Swapping can increase the amount that serum3 + // Note that this is just an estimate. Swapping can increase the amount that spot // reserved contributions offset, moving the actual zero point further to the right. let health_at_max_value = cache_after_swap(amount_for_max_value)? .map(|c| c.health(health_type)) @@ -740,7 +740,7 @@ mod tests { ..default_token_info(0.3, 4.0) }, ], - serum3_infos: vec![], + spot_infos: vec![], perp_infos: vec![], being_liquidated: false, }; @@ -994,13 +994,13 @@ mod tests { } { - // check with serum reserved + // check with spot reserved println!("test 6 {test_name}"); let mut health_cache = health_cache.clone(); - health_cache.serum3_infos = vec![Serum3Info { + health_cache.spot_infos = vec![SpotInfo { base_info_index: 1, quote_info_index: 0, - market_index: 0, + spot_market_index: SpotMarketIndex::Serum3(0), reserved_base: I80F48::from(30 / 3), reserved_quote: I80F48::from(30 / 2), reserved_base_as_quote_lowest_ask: I80F48::ZERO, @@ -1159,7 +1159,7 @@ mod tests { ..default_token_info(0.2, 1.5) }, ], - serum3_infos: vec![], + spot_infos: vec![], perp_infos: vec![PerpInfo { perp_market_index: 0, settle_token_index: 1, @@ -1448,7 +1448,7 @@ mod tests { ..default_token_info(0.2, 2.0) }, ], - serum3_infos: vec![], + spot_infos: vec![], perp_infos: vec![], being_liquidated: false, }; @@ -1595,7 +1595,7 @@ mod tests { ..default_token_info(0.2, 2.0) }, ], - serum3_infos: vec![], + spot_infos: vec![], perp_infos: vec![PerpInfo { perp_market_index: 0, settle_token_index: 0, @@ -1648,7 +1648,7 @@ mod tests { ..default_token_info(0.2, 2.0) }, ], - serum3_infos: vec![], + spot_infos: vec![], perp_infos: vec![], being_liquidated: false, }; @@ -1668,7 +1668,7 @@ mod tests { ..default_token_info(0.2, 2.0) }, ], - serum3_infos: vec![], + spot_infos: vec![], perp_infos: vec![], being_liquidated: false, }; @@ -1688,7 +1688,7 @@ mod tests { ..default_token_info(0.2, 2.0) }, ], - serum3_infos: vec![], + spot_infos: vec![], perp_infos: vec![PerpInfo { perp_market_index: 0, base_lot_size: 3, @@ -1714,14 +1714,14 @@ mod tests { ..default_token_info(0.2, 2.0) }, ], - serum3_infos: vec![Serum3Info { + spot_infos: vec![SpotInfo { reserved_base: I80F48::ONE, reserved_quote: I80F48::ZERO, reserved_base_as_quote_lowest_ask: I80F48::ONE, reserved_quote_as_base_highest_bid: I80F48::ZERO, base_info_index: 1, quote_info_index: 0, - market_index: 0, + spot_market_index: SpotMarketIndex::Serum3(0), has_zero_funds: true, }], perp_infos: vec![], diff --git a/programs/mango-v4/src/health/test.rs b/programs/mango-v4/src/health/test.rs index 47d6932745..b833ac4157 100644 --- a/programs/mango-v4/src/health/test.rs +++ b/programs/mango-v4/src/health/test.rs @@ -1,7 +1,8 @@ #![cfg(test)] -use anchor_lang::prelude::*; +use anchor_lang::{prelude::*, Discriminator}; use fixed::types::I80F48; +use openbook_v2::state::OpenOrdersAccount; use serum_dex::state::OpenOrders; use std::cell::RefCell; use std::mem::size_of; @@ -65,6 +66,18 @@ impl TestAccount { } } +impl TestAccount { + pub fn new_zeroed() -> Self { + let mut bytes = vec![0u8; 8 + size_of::()]; + bytes[0..8].copy_from_slice(&openbook_v2::state::OpenOrdersAccount::discriminator()); + Self::new(bytes, openbook_v2::ID) + } + + pub fn data(&mut self) -> &mut OpenOrdersAccount { + bytemuck::from_bytes_mut(&mut self.bytes[8..]) + } +} + impl TestAccount { pub fn new_zeroed() -> Self { let mut bytes = vec![0u8; 12 + size_of::()]; diff --git a/programs/mango-v4/src/instructions/account_create.rs b/programs/mango-v4/src/instructions/account_create.rs index a6a7e9033b..47e8769056 100644 --- a/programs/mango-v4/src/instructions/account_create.rs +++ b/programs/mango-v4/src/instructions/account_create.rs @@ -14,6 +14,7 @@ pub fn account_create( perp_count: u8, perp_oo_count: u8, token_conditional_swap_count: u8, + openbook_v2_count: u8, name: String, ) -> Result<()> { let mut account = account_ai.load_full_init()?; @@ -24,6 +25,7 @@ pub fn account_create( perp_count, perp_oo_count, token_conditional_swap_count, + openbook_v2_count, }; header.check_resize_from(&MangoAccountDynamicHeader::zero())?; @@ -46,6 +48,7 @@ pub fn account_create( perp_count, perp_oo_count, token_conditional_swap_count, + openbook_v2_count, )?; Ok(()) diff --git a/programs/mango-v4/src/instructions/account_expand.rs b/programs/mango-v4/src/instructions/account_expand.rs index 8b27aa4bcc..ebca4d8e20 100644 --- a/programs/mango-v4/src/instructions/account_expand.rs +++ b/programs/mango-v4/src/instructions/account_expand.rs @@ -10,6 +10,7 @@ pub fn account_expand( perp_count: u8, perp_oo_count: u8, token_conditional_swap_count: u8, + openbook_v2_count: u8, ) -> Result<()> { let new_size = MangoAccount::space( token_count, @@ -17,6 +18,7 @@ pub fn account_expand( perp_count, perp_oo_count, token_conditional_swap_count, + openbook_v2_count, ); let new_rent_minimum = Rent::get()?.minimum_balance(new_size); @@ -64,6 +66,7 @@ pub fn account_expand( perp_count, perp_oo_count, token_conditional_swap_count, + openbook_v2_count, )?; } diff --git a/programs/mango-v4/src/instructions/account_size_migration.rs b/programs/mango-v4/src/instructions/account_size_migration.rs index 5730ee301d..ffb157c327 100644 --- a/programs/mango-v4/src/instructions/account_size_migration.rs +++ b/programs/mango-v4/src/instructions/account_size_migration.rs @@ -80,6 +80,7 @@ pub fn account_size_migration(ctx: Context) -> Result<()> new_header.perp_count, new_header.perp_oo_count, new_header.token_conditional_swap_count, + new_header.openbook_v2_count, )?; } diff --git a/programs/mango-v4/src/instructions/ix_gate_set.rs b/programs/mango-v4/src/instructions/ix_gate_set.rs index 8fdd0b8531..69ddf6cb7f 100644 --- a/programs/mango-v4/src/instructions/ix_gate_set.rs +++ b/programs/mango-v4/src/instructions/ix_gate_set.rs @@ -98,6 +98,7 @@ pub fn ix_gate_set(ctx: Context, ix_gate: u128) -> Result<()> { log_if_changed(&group, ix_gate, IxGate::TokenForceWithdraw); log_if_changed(&group, ix_gate, IxGate::SequenceCheck); log_if_changed(&group, ix_gate, IxGate::HealthCheck); + log_if_changed(&group, ix_gate, IxGate::OpenbookV2CancelAllOrders); group.ix_gate = ix_gate; diff --git a/programs/mango-v4/src/instructions/mod.rs b/programs/mango-v4/src/instructions/mod.rs index 1f91a7b53a..d75e0b37cf 100644 --- a/programs/mango-v4/src/instructions/mod.rs +++ b/programs/mango-v4/src/instructions/mod.rs @@ -19,6 +19,16 @@ pub use group_withdraw_insurance_fund::*; pub use health_check::*; pub use health_region::*; pub use ix_gate_set::*; +pub use openbook_v2_cancel_all_orders::*; +pub use openbook_v2_cancel_order::*; +pub use openbook_v2_close_open_orders::*; +pub use openbook_v2_create_open_orders::*; +pub use openbook_v2_deregister_market::*; +pub use openbook_v2_edit_market::*; +pub use openbook_v2_liq_force_cancel_orders::*; +pub use openbook_v2_place_order::openbook_v2_place_order; +pub use openbook_v2_register_market::*; +pub use openbook_v2_settle_funds::openbook_v2_settle_funds; pub use perp_cancel_all_orders::*; pub use perp_cancel_all_orders_by_side::*; pub use perp_cancel_order::*; @@ -90,6 +100,16 @@ mod group_withdraw_insurance_fund; mod health_check; mod health_region; mod ix_gate_set; +mod openbook_v2_cancel_all_orders; +mod openbook_v2_cancel_order; +mod openbook_v2_close_open_orders; +mod openbook_v2_create_open_orders; +mod openbook_v2_deregister_market; +mod openbook_v2_edit_market; +mod openbook_v2_liq_force_cancel_orders; +mod openbook_v2_place_order; +mod openbook_v2_register_market; +mod openbook_v2_settle_funds; mod perp_cancel_all_orders; mod perp_cancel_all_orders_by_side; mod perp_cancel_order; diff --git a/programs/mango-v4/src/instructions/openbook_v2_cancel_all_orders.rs b/programs/mango-v4/src/instructions/openbook_v2_cancel_all_orders.rs new file mode 100644 index 0000000000..c8d85d1d74 --- /dev/null +++ b/programs/mango-v4/src/instructions/openbook_v2_cancel_all_orders.rs @@ -0,0 +1,102 @@ +use anchor_lang::prelude::*; +use openbook_v2::cpi::accounts::CancelOrder; +use openbook_v2::state::Side; + +use crate::accounts_ix::*; +use crate::error::*; +use crate::logs::{emit_stack, OpenbookV2OpenOrdersBalanceLog}; +use crate::serum3_cpi::OpenOrdersAmounts; +use crate::serum3_cpi::OpenOrdersSlim; +use crate::state::*; + +pub fn openbook_v2_cancel_all_orders( + ctx: Context, + limit: u8, + side_opt: Option, +) -> Result<()> { + // + // Validation + // + { + // Check instruction gate + let group = ctx.accounts.group.load()?; + require!( + group.is_ix_enabled(IxGate::OpenbookV2CancelAllOrders), + MangoError::IxIsDisabled + ); + + let account = ctx.accounts.account.load_full()?; + // account constraint #1 + require!( + account + .fixed + .is_owner_or_delegate(ctx.accounts.authority.key()), + MangoError::SomeError + ); + + let openbook_market = ctx.accounts.openbook_v2_market.load()?; + + // Validate open_orders #2 + require!( + account + .openbook_v2_orders(openbook_market.market_index)? + .open_orders + == ctx.accounts.open_orders.key(), + MangoError::SomeError + ); + } + + // + // Cancel + // + let account = ctx.accounts.account.load()?; + let account_seeds = mango_account_seeds!(account); + cpi_cancel_all_orders(ctx.accounts, &[account_seeds], limit, side_opt)?; + + let openbook_market = ctx.accounts.openbook_v2_market.load()?; + let open_orders = ctx.accounts.open_orders.load()?; + let openbook_market_external = ctx.accounts.openbook_v2_market_external.load()?; + let after_oo = OpenOrdersSlim::from_oo_v2( + &open_orders, + openbook_market_external.base_lot_size.try_into().unwrap(), + openbook_market_external.quote_lot_size.try_into().unwrap(), + ); + + emit_stack(OpenbookV2OpenOrdersBalanceLog { + mango_group: ctx.accounts.group.key(), + mango_account: ctx.accounts.account.key(), + market_index: openbook_market.market_index, + base_token_index: openbook_market.base_token_index, + quote_token_index: openbook_market.quote_token_index, + base_total: after_oo.native_base_total(), + base_free: after_oo.native_base_free(), + quote_total: after_oo.native_quote_total(), + quote_free: after_oo.native_quote_free(), + referrer_rebates_accrued: after_oo.native_rebates(), + }); + + Ok(()) +} + +fn cpi_cancel_all_orders( + ctx: &OpenbookV2CancelOrder, + seeds: &[&[&[u8]]], + limit: u8, + side_opt: Option, +) -> Result<()> { + let cpi_accounts = CancelOrder { + signer: ctx.account.to_account_info(), + open_orders_account: ctx.open_orders.to_account_info(), + market: ctx.openbook_v2_market_external.to_account_info(), + bids: ctx.bids.to_account_info(), + asks: ctx.asks.to_account_info(), + }; + + let cpi_ctx = CpiContext::new_with_signer( + ctx.openbook_v2_program.to_account_info(), + cpi_accounts, + seeds, + ); + + openbook_v2::cpi::cancel_all_orders(cpi_ctx, side_opt, limit) +} diff --git a/programs/mango-v4/src/instructions/openbook_v2_cancel_order.rs b/programs/mango-v4/src/instructions/openbook_v2_cancel_order.rs new file mode 100644 index 0000000000..fd67eeeb4d --- /dev/null +++ b/programs/mango-v4/src/instructions/openbook_v2_cancel_order.rs @@ -0,0 +1,99 @@ +use anchor_lang::prelude::*; + +use openbook_v2::cpi::accounts::CancelOrder; + +use crate::error::*; +use crate::logs::{emit_stack, OpenbookV2OpenOrdersBalanceLog}; +use crate::serum3_cpi::OpenOrdersAmounts; +use crate::serum3_cpi::OpenOrdersSlim; +use crate::state::*; + +use crate::accounts_ix::*; + +use openbook_v2::state::Side as OpenbookV2Side; + +pub fn openbook_v2_cancel_order( + ctx: Context, + side: OpenbookV2Side, + order_id: u128, +) -> Result<()> { + // Check instruction gate + let group = ctx.accounts.group.load()?; + require!( + group.is_ix_enabled(IxGate::OpenbookV2CancelOrder), + MangoError::IxIsDisabled + ); + + let openbook_market = ctx.accounts.openbook_v2_market.load()?; + + // + // Validation + // + { + let account = ctx.accounts.account.load_full()?; + // account constraint #1 + require!( + account + .fixed + .is_owner_or_delegate(ctx.accounts.authority.key()), + MangoError::SomeError + ); + + // Validate open_orders #2 + require!( + account + .openbook_v2_orders(openbook_market.market_index)? + .open_orders + == ctx.accounts.open_orders.key(), + MangoError::SomeError + ); + } + + // + // Cancel cpi + // + let account = ctx.accounts.account.load()?; + let account_seeds = mango_account_seeds!(account); + cpi_cancel_order(ctx.accounts, &[account_seeds], order_id)?; + + let open_orders = ctx.accounts.open_orders.load()?; + let openbook_market_external = ctx.accounts.openbook_v2_market_external.load()?; + let after_oo = OpenOrdersSlim::from_oo_v2( + &open_orders, + openbook_market_external.base_lot_size.try_into().unwrap(), + openbook_market_external.quote_lot_size.try_into().unwrap(), + ); + + emit_stack(OpenbookV2OpenOrdersBalanceLog { + mango_group: ctx.accounts.group.key(), + mango_account: ctx.accounts.account.key(), + market_index: openbook_market.market_index, + base_token_index: openbook_market.base_token_index, + quote_token_index: openbook_market.quote_token_index, + base_total: after_oo.native_base_total(), + base_free: after_oo.native_base_free(), + quote_total: after_oo.native_quote_total(), + quote_free: after_oo.native_quote_free(), + referrer_rebates_accrued: after_oo.native_rebates(), + }); + + Ok(()) +} + +fn cpi_cancel_order(ctx: &OpenbookV2CancelOrder, seeds: &[&[&[u8]]], order_id: u128) -> Result<()> { + let cpi_accounts = CancelOrder { + signer: ctx.account.to_account_info(), + open_orders_account: ctx.open_orders.to_account_info(), + market: ctx.openbook_v2_market_external.to_account_info(), + bids: ctx.bids.to_account_info(), + asks: ctx.asks.to_account_info(), + }; + + let cpi_ctx = CpiContext::new_with_signer( + ctx.openbook_v2_program.to_account_info(), + cpi_accounts, + seeds, + ); + + openbook_v2::cpi::cancel_order(cpi_ctx, order_id) +} diff --git a/programs/mango-v4/src/instructions/openbook_v2_close_open_orders.rs b/programs/mango-v4/src/instructions/openbook_v2_close_open_orders.rs new file mode 100644 index 0000000000..702a12fd57 --- /dev/null +++ b/programs/mango-v4/src/instructions/openbook_v2_close_open_orders.rs @@ -0,0 +1,108 @@ +use anchor_lang::prelude::*; + +use openbook_v2::cpi::accounts::{CloseOpenOrdersAccount, CloseOpenOrdersIndexer}; + +use crate::accounts_ix::*; +use crate::error::MangoError; +use crate::state::*; + +pub fn openbook_v2_close_open_orders(ctx: Context) -> Result<()> { + let openbook_market = ctx.accounts.openbook_v2_market.load()?; + + // + // Validation + // + { + let account = ctx.accounts.account.load_full()?; + // account constraint #1 + require!( + account + .fixed + .is_owner_or_delegate(ctx.accounts.authority.key()), + MangoError::SomeError + ); + + // Validate open_orders #2 + require!( + account + .openbook_v2_orders(openbook_market.market_index)? + .open_orders + == ctx.accounts.open_orders_account.key(), + MangoError::SomeError + ); + + // Validate banks #3 + let quote_bank = ctx.accounts.quote_bank.load()?; + let base_bank = ctx.accounts.base_bank.load()?; + require_eq!( + quote_bank.token_index, + openbook_market.quote_token_index, + MangoError::SomeError + ); + require_eq!( + base_bank.token_index, + openbook_market.base_token_index, + MangoError::SomeError + ); + } + // + // close OO + // + { + let account = ctx.accounts.account.load()?; + let seeds = mango_account_seeds!(account); + cpi_close_open_orders(ctx.accounts, &[seeds])?; + } + + // Reduce the in_use_count on the token positions - they no longer need to be forced open. + // Also dust the position since we have banks now + let now_ts: u64 = Clock::get().unwrap().unix_timestamp.try_into().unwrap(); + let account_pubkey = ctx.accounts.account.key(); + let mut account = ctx.accounts.account.load_full_mut()?; + let mut quote_bank = ctx.accounts.quote_bank.load_mut()?; + let mut base_bank = ctx.accounts.base_bank.load_mut()?; + account.token_decrement_dust_deactivate(&mut quote_bank, now_ts, account_pubkey)?; + account.token_decrement_dust_deactivate(&mut base_bank, now_ts, account_pubkey)?; + + // Deactivate the open orders account itself + account.deactivate_openbook_v2_orders(openbook_market.market_index)?; + + Ok(()) +} + +fn cpi_close_open_orders(ctx: &OpenbookV2CloseOpenOrders, seeds: &[&[&[u8]]]) -> Result<()> { + let cpi_accounts = CloseOpenOrdersAccount { + owner: ctx.account.to_account_info(), + open_orders_indexer: ctx.open_orders_indexer.to_account_info(), + open_orders_account: ctx.open_orders_account.to_account_info(), + sol_destination: ctx.sol_destination.to_account_info(), + system_program: ctx.system_program.to_account_info(), + }; + + let cpi_ctx = CpiContext::new_with_signer( + ctx.openbook_v2_program.to_account_info(), + cpi_accounts, + seeds, + ); + + openbook_v2::cpi::close_open_orders_account(cpi_ctx)?; + + // close indexer too if it's empty, will be recreated if create_open_orders is called again + if !ctx.open_orders_indexer.has_active_open_orders_accounts() { + let cpi_accounts = CloseOpenOrdersIndexer { + owner: ctx.account.to_account_info(), + open_orders_indexer: ctx.open_orders_indexer.to_account_info(), + sol_destination: ctx.sol_destination.to_account_info(), + token_program: ctx.token_program.to_account_info(), + }; + + let cpi_ctx = CpiContext::new_with_signer( + ctx.openbook_v2_program.to_account_info(), + cpi_accounts, + seeds, + ); + openbook_v2::cpi::close_open_orders_indexer(cpi_ctx)?; + } + + Ok(()) +} diff --git a/programs/mango-v4/src/instructions/openbook_v2_create_open_orders.rs b/programs/mango-v4/src/instructions/openbook_v2_create_open_orders.rs new file mode 100644 index 0000000000..825e27b0bf --- /dev/null +++ b/programs/mango-v4/src/instructions/openbook_v2_create_open_orders.rs @@ -0,0 +1,114 @@ +use anchor_lang::prelude::*; +use openbook_v2::cpi::accounts::{CreateOpenOrdersAccount, CreateOpenOrdersIndexer}; + +use crate::accounts_ix::*; +use crate::error::*; +use crate::state::*; + +fn is_initialized(account: &UncheckedAccount) -> bool { + let data: &[u8] = &(account.try_borrow_data().unwrap()); + if data.len() < 8 { + return false; + } + + let mut disc_bytes = [0u8; 8]; + disc_bytes.copy_from_slice(&data[..8]); + let discriminator = u64::from_le_bytes(disc_bytes); + if discriminator != 0 { + return false; + } + + return true; +} + +pub fn openbook_v2_create_open_orders(ctx: Context) -> Result<()> { + let group = ctx.accounts.group.load()?; + { + let account = ctx.accounts.account.load()?; + let account_seeds = mango_account_seeds!(account); + + // create indexer if not exists + if !is_initialized(&ctx.accounts.open_orders_indexer) { + cpi_init_open_orders_indexer(ctx.accounts, &[account_seeds])?; + } + + // create open orders account + cpi_init_open_orders_account(ctx.accounts, &[account_seeds])?; + } + + let mut account = ctx.accounts.account.load_full_mut()?; + let openbook_market = ctx.accounts.openbook_v2_market.load()?; + + // account constraint #1 + require!( + account + .fixed + .is_owner_or_delegate(ctx.accounts.authority.key()), + MangoError::SomeError + ); + + let openbook_market_external = ctx.accounts.openbook_v2_market_external.load()?; + + // add oo to mango account + let open_orders_account = account.create_openbook_v2_orders(openbook_market.market_index)?; + open_orders_account.open_orders = ctx.accounts.open_orders_account.key(); + open_orders_account.base_token_index = openbook_market.base_token_index; + open_orders_account.quote_token_index = openbook_market.quote_token_index; + open_orders_account.base_lot_size = openbook_market_external.base_lot_size; + open_orders_account.quote_lot_size = openbook_market_external.quote_lot_size; + + // Make it so that the token_account_map for the base and quote currency + // stay permanently blocked. Otherwise users may end up in situations where + // they can't settle a market because they don't have free token_account_map! + let (quote_position, _, _) = + account.ensure_token_position(openbook_market.quote_token_index)?; + quote_position.increment_in_use(); + let (base_position, _, _) = account.ensure_token_position(openbook_market.base_token_index)?; + base_position.increment_in_use(); + + Ok(()) +} + +fn cpi_init_open_orders_indexer( + ctx: &OpenbookV2CreateOpenOrders, + seeds: &[&[&[u8]]], +) -> Result<()> { + let cpi_accounts = CreateOpenOrdersIndexer { + payer: ctx.payer.to_account_info(), + owner: ctx.account.to_account_info(), + open_orders_indexer: ctx.open_orders_indexer.to_account_info(), + system_program: ctx.system_program.to_account_info(), + }; + + let cpi_ctx = CpiContext::new_with_signer( + ctx.openbook_v2_program.to_account_info(), + cpi_accounts, + seeds, + ); + + openbook_v2::cpi::create_open_orders_indexer(cpi_ctx) +} + +fn cpi_init_open_orders_account( + ctx: &OpenbookV2CreateOpenOrders, + seeds: &[&[&[u8]]], +) -> Result<()> { + let group = ctx.group.load()?; + let cpi_accounts = CreateOpenOrdersAccount { + payer: ctx.payer.to_account_info(), + owner: ctx.account.to_account_info(), + delegate_account: Some(ctx.group.to_account_info()), + open_orders_indexer: ctx.open_orders_indexer.to_account_info(), + open_orders_account: ctx.open_orders_account.to_account_info(), + market: ctx.openbook_v2_market_external.to_account_info(), + system_program: ctx.system_program.to_account_info(), + }; + + let cpi_ctx = CpiContext::new_with_signer( + ctx.openbook_v2_program.to_account_info(), + cpi_accounts, + seeds, + ); + + openbook_v2::cpi::create_open_orders_account(cpi_ctx, "OpenOrders".to_owned()) +} diff --git a/programs/mango-v4/src/instructions/openbook_v2_deregister_market.rs b/programs/mango-v4/src/instructions/openbook_v2_deregister_market.rs new file mode 100644 index 0000000000..a19d4415d8 --- /dev/null +++ b/programs/mango-v4/src/instructions/openbook_v2_deregister_market.rs @@ -0,0 +1,6 @@ +use crate::accounts_ix::*; +use anchor_lang::prelude::*; + +pub fn openbook_v2_deregister_market(_ctx: Context) -> Result<()> { + Ok(()) +} diff --git a/programs/mango-v4/src/instructions/openbook_v2_edit_market.rs b/programs/mango-v4/src/instructions/openbook_v2_edit_market.rs new file mode 100644 index 0000000000..74209b902f --- /dev/null +++ b/programs/mango-v4/src/instructions/openbook_v2_edit_market.rs @@ -0,0 +1,74 @@ +use crate::util::fill_from_str; +use crate::{accounts_ix::*, error::MangoError}; +use anchor_lang::prelude::*; + +pub fn openbook_v2_edit_market( + ctx: Context, + reduce_only_opt: Option, + force_close_opt: Option, + name_opt: Option, + oracle_price_band_opt: Option, +) -> Result<()> { + let mut openbook_market = ctx.accounts.market.load_mut()?; + + let group = ctx.accounts.group.load()?; + let mut require_group_admin = false; + + if let Some(reduce_only) = reduce_only_opt { + msg!( + "Reduce only: old - {:?}, new - {:?}", + openbook_market.reduce_only, + u8::from(reduce_only) + ); + openbook_market.reduce_only = u8::from(reduce_only); + + // security admin can only enable reduce_only + if !reduce_only { + require_group_admin = true; + } + }; + + if let Some(force_close) = force_close_opt { + if force_close { + require!(openbook_market.is_reduce_only(), MangoError::SomeError); + } + msg!( + "Force close: old - {:?}, new - {:?}", + openbook_market.force_close, + u8::from(force_close) + ); + openbook_market.force_close = u8::from(force_close); + require_group_admin = true; + }; + + if let Some(name) = name_opt.as_ref() { + msg!("Name: old - {:?}, new - {:?}", openbook_market.name, name); + openbook_market.name = fill_from_str(&name)?; + require_group_admin = true; + }; + + if let Some(oracle_price_band) = oracle_price_band_opt { + msg!( + "Oracle price band: old - {:?}, new - {:?}", + openbook_market.oracle_price_band, + oracle_price_band + ); + openbook_market.oracle_price_band = oracle_price_band; + require_group_admin = true; + }; + + if require_group_admin { + require!( + group.admin == ctx.accounts.admin.key(), + MangoError::SomeError + ); + } else { + require!( + group.admin == ctx.accounts.admin.key() + || group.security_admin == ctx.accounts.admin.key(), + MangoError::SomeError + ); + } + + Ok(()) +} diff --git a/programs/mango-v4/src/instructions/openbook_v2_liq_force_cancel_orders.rs b/programs/mango-v4/src/instructions/openbook_v2_liq_force_cancel_orders.rs new file mode 100644 index 0000000000..22e92ed813 --- /dev/null +++ b/programs/mango-v4/src/instructions/openbook_v2_liq_force_cancel_orders.rs @@ -0,0 +1,232 @@ +use anchor_lang::prelude::*; +use openbook_v2::cpi::accounts::{CancelOrder, SettleFunds}; + +use crate::accounts_ix::*; +use crate::error::*; +use crate::health::*; +use crate::instructions::openbook_v2_place_order::apply_settle_changes; +use crate::instructions::openbook_v2_settle_funds::charge_loan_origination_fees; +use crate::logs::{emit_stack, OpenbookV2OpenOrdersBalanceLog}; +use crate::serum3_cpi::OpenOrdersAmounts; +use crate::serum3_cpi::OpenOrdersSlim; +use crate::state::*; +use crate::util::clock_now; + +pub fn openbook_v2_liq_force_cancel_orders( + ctx: Context, + limit: u8, +) -> Result<()> { + // + // Validation + // + let openbook_market = ctx.accounts.openbook_v2_market.load()?; + { + let account = ctx.accounts.account.load_full()?; + + // Validate open_orders #2 + require!( + account + .openbook_v2_orders(openbook_market.market_index)? + .open_orders + == ctx.accounts.open_orders.key(), + MangoError::SomeError + ); + + // Validate banks and vaults #3 + let quote_bank = ctx.accounts.quote_bank.load()?; + require!( + quote_bank.vault == ctx.accounts.quote_vault.key(), + MangoError::SomeError + ); + require!( + quote_bank.token_index == openbook_market.quote_token_index, + MangoError::SomeError + ); + let base_bank = ctx.accounts.base_bank.load()?; + require!( + base_bank.vault == ctx.accounts.base_vault.key(), + MangoError::SomeError + ); + require!( + base_bank.token_index == openbook_market.base_token_index, + MangoError::SomeError + ); + } + + let (now_ts, now_slot) = clock_now(); + + // + // Early return if if liquidation is not allowed or if market is not in force close + // + let mut health_cache = { + let mut account = ctx.accounts.account.load_full_mut()?; + let retriever = + new_fixed_order_account_retriever(ctx.remaining_accounts, &account.borrow(), now_slot)?; + let health_cache = new_health_cache(&account.borrow(), &retriever, now_ts) + .context("create health cache")?; + + let liquidatable = account.check_liquidatable(&health_cache)?; + let can_force_cancel = !account.fixed.is_operational() + || liquidatable == CheckLiquidatable::Liquidatable + || openbook_market.is_force_close(); + if !can_force_cancel { + return Ok(()); + } + + health_cache + }; + + // + // Charge any open loan origination fees + // + let openbook_market_external = ctx.accounts.openbook_v2_market_external.load()?; + let base_lot_size: u64 = openbook_market_external.base_lot_size.try_into().unwrap(); + let quote_lot_size: u64 = openbook_market_external.quote_lot_size.try_into().unwrap(); + let before_oo = { + let open_orders = ctx.accounts.open_orders.load()?; + let before_oo = OpenOrdersSlim::from_oo_v2(&open_orders, base_lot_size, quote_lot_size); + let mut account = ctx.accounts.account.load_full_mut()?; + let mut base_bank = ctx.accounts.base_bank.load_mut()?; + let mut quote_bank = ctx.accounts.quote_bank.load_mut()?; + charge_loan_origination_fees( + &ctx.accounts.group.key(), + &ctx.accounts.account.key(), + openbook_market.market_index, + &mut base_bank, + &mut quote_bank, + &mut account.borrow_mut(), + &before_oo, + None, + None, + )?; + + before_oo + }; + + // + // Before-settle tracking + // + let before_base_vault = ctx.accounts.base_vault.amount; + let before_quote_vault = ctx.accounts.quote_vault.amount; + + // + // Cancel all and settle + // + let mango_account_seeds_data = ctx.accounts.account.load()?.pda_seeds(); + let seeds = &mango_account_seeds_data.signer_seeds(); + cpi_cancel_all_orders(ctx.accounts, &[seeds], limit)?; + // this requires a mut ctx.accounts.account for no reason + drop(openbook_market_external); + cpi_settle_funds(ctx.accounts, &[seeds])?; + + // + // After-settle tracking + // + let after_oo; + { + let open_orders = ctx.accounts.open_orders.load()?; + after_oo = OpenOrdersSlim::from_oo_v2(&open_orders, base_lot_size, quote_lot_size); + + emit_stack(OpenbookV2OpenOrdersBalanceLog { + mango_group: ctx.accounts.group.key(), + mango_account: ctx.accounts.account.key(), + market_index: openbook_market.market_index, + base_token_index: openbook_market.base_token_index, + quote_token_index: openbook_market.quote_token_index, + base_total: after_oo.native_base_total(), + base_free: after_oo.native_base_free(), + quote_total: after_oo.native_quote_total(), + quote_free: after_oo.native_quote_free(), + referrer_rebates_accrued: after_oo.native_rebates(), + }); + }; + + ctx.accounts.base_vault.reload()?; + ctx.accounts.quote_vault.reload()?; + let after_base_vault = ctx.accounts.base_vault.amount; + let after_quote_vault = ctx.accounts.quote_vault.amount; + + let mut account = ctx.accounts.account.load_full_mut()?; + let mut base_bank = ctx.accounts.base_bank.load_mut()?; + let mut quote_bank = ctx.accounts.quote_bank.load_mut()?; + let group = ctx.accounts.group.load()?; + let open_orders = ctx.accounts.open_orders.load()?; + apply_settle_changes( + &group, + ctx.accounts.account.key(), + &mut account.borrow_mut(), + &mut base_bank, + &mut quote_bank, + &openbook_market, + before_base_vault, + before_quote_vault, + &before_oo, + after_base_vault, + after_quote_vault, + &after_oo, + Some(&mut health_cache), + true, + None, + &open_orders, + )?; + + // + // Health check at the end + // + let liq_end_health = health_cache.health(HealthType::LiquidationEnd); + account + .fixed + .maybe_recover_from_being_liquidated(liq_end_health); + + Ok(()) +} + +fn cpi_cancel_all_orders( + ctx: &OpenbookV2LiqForceCancelOrders, + seeds: &[&[&[u8]]], + limit: u8, +) -> Result<()> { + let group = ctx.group.load()?; + let cpi_accounts = CancelOrder { + market: ctx.openbook_v2_market_external.to_account_info(), + open_orders_account: ctx.open_orders.to_account_info(), + signer: ctx.account.to_account_info(), + bids: ctx.bids.to_account_info(), + asks: ctx.asks.to_account_info(), + }; + + let cpi_ctx = CpiContext::new_with_signer( + ctx.openbook_v2_program.to_account_info(), + cpi_accounts, + seeds, + ); + + // todo-pan: maybe allow passing side for cu opt + openbook_v2::cpi::cancel_all_orders(cpi_ctx, None, limit) +} + +fn cpi_settle_funds(ctx: &OpenbookV2LiqForceCancelOrders, seeds: &[&[&[u8]]]) -> Result<()> { + let group = ctx.group.load()?; + let cpi_accounts = SettleFunds { + penalty_payer: ctx.payer.to_account_info(), + market: ctx.openbook_v2_market_external.to_account_info(), + market_authority: ctx.market_vault_signer.to_account_info(), + market_base_vault: ctx.market_base_vault.to_account_info(), + market_quote_vault: ctx.market_quote_vault.to_account_info(), + user_base_account: ctx.base_vault.to_account_info(), + user_quote_account: ctx.quote_vault.to_account_info(), + referrer_account: Some(ctx.quote_vault.to_account_info()), + token_program: ctx.token_program.to_account_info(), + owner: ctx.account.to_account_info(), + open_orders_account: ctx.open_orders.to_account_info(), + system_program: ctx.system_program.to_account_info(), + }; + + let cpi_ctx = CpiContext::new_with_signer( + ctx.openbook_v2_program.to_account_info(), + cpi_accounts, + seeds, + ); + + openbook_v2::cpi::settle_funds(cpi_ctx) +} diff --git a/programs/mango-v4/src/instructions/openbook_v2_place_order.rs b/programs/mango-v4/src/instructions/openbook_v2_place_order.rs new file mode 100644 index 0000000000..32f7adb933 --- /dev/null +++ b/programs/mango-v4/src/instructions/openbook_v2_place_order.rs @@ -0,0 +1,607 @@ +use crate::accounts_zerocopy::AccountInfoRef; +use crate::error::*; +use crate::health::*; +use crate::i80f48::ClampToInt; +use crate::instructions::{apply_vault_difference, OODifference}; +use crate::logs::{emit_stack, OpenbookV2OpenOrdersBalanceLog}; +use crate::serum3_cpi::{OpenOrdersAmounts, OpenOrdersSlim}; +use crate::state::*; +use crate::util::clock_now; +use anchor_lang::prelude::*; +use fixed::types::I80F48; +use openbook_v2::cpi::Return; +use openbook_v2::state::OpenOrdersAccount; +use openbook_v2::state::{ + Order as OpenbookV2Order, PlaceOrderType as OpenbookV2OrderType, Side as OpenbookV2Side, + MAX_OPEN_ORDERS, +}; + +use crate::accounts_ix::*; + +pub fn openbook_v2_place_order( + ctx: Context, + order: OpenbookV2Order, + limit: u8, +) -> Result<()> { + require_gte!(order.max_base_lots, 0); + require_gte!(order.max_quote_lots_including_fees, 0); + + let openbook_market = ctx.accounts.openbook_v2_market.load()?; + require!( + !openbook_market.is_reduce_only(), + MangoError::MarketInReduceOnlyMode + ); + + let receiver_token_index = match order.side { + OpenbookV2Side::Bid => openbook_market.base_token_index, + OpenbookV2Side::Ask => openbook_market.quote_token_index, + }; + let payer_token_index = match order.side { + OpenbookV2Side::Bid => openbook_market.quote_token_index, + OpenbookV2Side::Ask => openbook_market.base_token_index, + }; + + // + // Validation + // + { + let account = ctx.accounts.account.load_full()?; + // account constraint #1 + require!( + account + .fixed + .is_owner_or_delegate(ctx.accounts.authority.key()), + MangoError::SomeError + ); + + // Validate open_orders #2 + require!( + account + .openbook_v2_orders(openbook_market.market_index)? + .open_orders + == ctx.accounts.open_orders.key(), + MangoError::SomeError + ); + } + // Validate bank and vault #3 + let group_key = ctx.accounts.group.key(); + let mut account = ctx.accounts.account.load_full_mut()?; + let (now_ts, now_slot) = clock_now(); + let retriever = new_fixed_order_account_retriever_with_optional_banks( + ctx.remaining_accounts, + &account.borrow(), + now_slot, + )?; + + let (_, _, payer_active_index) = account.ensure_token_position(payer_token_index)?; + let (_, _, receiver_active_index) = account.ensure_token_position(receiver_token_index)?; + + // This verifies that the required banks are available and that their oracles are valid + let (payer_bank, payer_bank_oracle) = + retriever.bank_and_oracle(&group_key, payer_active_index, payer_token_index)?; + let (receiver_bank, receiver_bank_oracle) = + retriever.bank_and_oracle(&group_key, receiver_active_index, receiver_token_index)?; + + require_keys_eq!(payer_bank.vault, ctx.accounts.payer_vault.key()); + + // Validate bank token indexes #4 + require_eq!( + ctx.accounts.payer_bank.load()?.token_index, + payer_token_index + ); + require_eq!( + ctx.accounts.receiver_bank.load()?.token_index, + receiver_token_index + ); + + // + // Pre-health computation + // + let mut health_cache = new_health_cache_skipping_missing_banks_and_bad_oracles( + &account.borrow(), + &retriever, + now_ts, + ) + .context("pre init health")?; + + // The payer and receiver token banks/oracles must be passed and be valid + health_cache.token_info_index(payer_token_index)?; + health_cache.token_info_index(receiver_token_index)?; + + let pre_health_opt = if !account.fixed.is_in_health_region() { + let pre_init_health = account.check_health_pre(&health_cache)?; + Some(pre_init_health) + } else { + None + }; + + drop(retriever); + + // No version check required, bank writable from v1 + + // + // Before-order tracking + // + let base_lot_size: u64; + let quote_lot_size: u64; + { + let openbook_market_external = ctx.accounts.openbook_v2_market_external.load()?; + base_lot_size = openbook_market_external.base_lot_size.try_into().unwrap(); + quote_lot_size = openbook_market_external.quote_lot_size.try_into().unwrap(); + } + + let before_vault = ctx.accounts.payer_vault.amount; + let before_oo_free_slots; + let before_had_bids; + let before_had_asks; + let before_oo = { + let open_orders = ctx.accounts.open_orders.load()?; + before_oo_free_slots = MAX_OPEN_ORDERS - open_orders.all_orders_in_use().count(); + before_had_bids = open_orders.position.bids_base_lots != 0; + before_had_asks = open_orders.position.asks_base_lots != 0; + OpenOrdersSlim::from_oo_v2(&open_orders, base_lot_size, quote_lot_size) + }; + + // Provide a readable error message in case the vault doesn't have enough tokens + let max_base_lots: u64 = order.max_base_lots.try_into().unwrap(); + let max_quote_lots: u64 = order.max_quote_lots_including_fees.try_into().unwrap(); + + let needed_amount = match order.side { + OpenbookV2Side::Ask => { + (max_base_lots * base_lot_size).saturating_sub(before_oo.native_base_free()) + } + OpenbookV2Side::Bid => { + (max_quote_lots * quote_lot_size).saturating_sub(before_oo.native_quote_free()) + } + }; + if before_vault < needed_amount { + return err!(MangoError::InsufficentBankVaultFunds).with_context(|| { + format!( + "bank vault does not have enough tokens, need {} but have {}", + needed_amount, before_vault + ) + }); + } + + // Get price lots before the book gets modified + let price_lots; + { + let bids = ctx.accounts.bids.load_mut()?; + let asks = ctx.accounts.asks.load_mut()?; + let order_book = openbook_v2::state::Orderbook { bids, asks }; + price_lots = order.price(now_ts, None, &order_book)?.0; + } + + // + // CPI to place order + // + let group = ctx.accounts.group.load()?; + let group_seeds = group_seeds!(group); + + cpi_place_order(ctx.accounts, &[group_seeds], &order, price_lots, limit)?; + // + // After-order tracking + // + let open_orders = ctx.accounts.open_orders.load()?; + let after_oo_free_slots = MAX_OPEN_ORDERS - open_orders.all_orders_in_use().count(); + let after_oo = OpenOrdersSlim::from_oo_v2(&open_orders, base_lot_size, quote_lot_size); + let oo_difference = OODifference::new(&before_oo, &after_oo); + + // + // Track the highest bid and lowest ask, to be able to evaluate worst-case health even + // when they cross the oracle + // + let openbook = account.openbook_v2_orders_mut(openbook_market.market_index)?; + if !before_had_bids { + // The 0 state means uninitialized/no value + openbook.highest_placed_bid_inv = 0.0; + openbook.lowest_placed_bid_inv = 0.0 + } + if !before_had_asks { + openbook.lowest_placed_ask = 0.0; + openbook.highest_placed_ask = 0.0; + } + // in the normal quote per base units + let limit_price = price_lots as f64 * quote_lot_size as f64 / base_lot_size as f64; + + let new_order_on_book = after_oo_free_slots != before_oo_free_slots; + if new_order_on_book { + match order.side { + OpenbookV2Side::Ask => { + openbook.lowest_placed_ask = if openbook.lowest_placed_ask == 0.0 { + limit_price + } else { + openbook.lowest_placed_ask.min(limit_price) + }; + openbook.highest_placed_ask = if openbook.highest_placed_ask == 0.0 { + limit_price + } else { + openbook.highest_placed_ask.max(limit_price) + } + } + OpenbookV2Side::Bid => { + // in base per quote units, to avoid a division in health + let limit_price_inv = 1.0 / limit_price; + openbook.highest_placed_bid_inv = if openbook.highest_placed_bid_inv == 0.0 { + limit_price_inv + } else { + // the highest bid has the lowest _inv value + openbook.highest_placed_bid_inv.min(limit_price_inv) + }; + openbook.lowest_placed_bid_inv = if openbook.lowest_placed_bid_inv == 0.0 { + limit_price_inv + } else { + // lowest bid has max _inv value + openbook.lowest_placed_bid_inv.max(limit_price_inv) + } + } + } + } + + emit_stack(OpenbookV2OpenOrdersBalanceLog { + mango_group: ctx.accounts.group.key(), + mango_account: ctx.accounts.account.key(), + market_index: openbook_market.market_index, + base_token_index: openbook_market.base_token_index, + quote_token_index: openbook_market.quote_token_index, + base_total: after_oo.native_base_total(), + base_free: after_oo.native_base_free(), + quote_total: after_oo.native_quote_total(), + quote_free: after_oo.native_quote_free(), + referrer_rebates_accrued: after_oo.native_rebates(), + }); + + ctx.accounts.payer_vault.reload()?; + let after_vault = ctx.accounts.payer_vault.amount; + + // Placing an order cannot increase vault balance + require_gte!(before_vault, after_vault); + + let before_position_native; + let vault_difference; + { + let mut payer_bank = ctx.accounts.payer_bank.load_mut()?; + let mut receiver_bank = ctx.accounts.receiver_bank.load_mut()?; + let (base_bank, quote_bank) = match order.side { + OpenbookV2Side::Bid => (&mut receiver_bank, &mut payer_bank), + OpenbookV2Side::Ask => (&mut payer_bank, &mut receiver_bank), + }; + update_bank_potential_tokens(openbook, base_bank, quote_bank, &after_oo); + + // Track position before withdraw happens + before_position_native = account + .token_position_mut(payer_bank.token_index)? + .0 + .native(&payer_bank); + + // Charge the difference in vault balance to the user's account + vault_difference = { + apply_vault_difference( + ctx.accounts.account.key(), + &mut account.borrow_mut(), + SpotMarketIndex::OpenbookV2(openbook_market.market_index), + &mut payer_bank, + after_vault, + before_vault, + )? + }; + } + + // Deposit limit check, receiver side: + // Placing an order can always increase the receiver bank deposits on fill. + { + let receiver_bank = ctx.accounts.receiver_bank.load()?; + receiver_bank + .check_deposit_and_oo_limit() + .with_context(|| std::format!("on {}", receiver_bank.name()))?; + } + + // Payer bank safety checks like reduce-only, net borrows, vault-to-deposits ratio + let withdrawn_from_vault = I80F48::from(before_vault - after_vault); + let payer_bank = ctx.accounts.payer_bank.load()?; + if withdrawn_from_vault > before_position_native { + require_msg_typed!( + !payer_bank.are_borrows_reduce_only(), + MangoError::TokenInReduceOnlyMode, + "the payer tokens cannot be borrowed" + ); + payer_bank.enforce_max_utilization_on_borrow()?; + payer_bank.check_net_borrows(payer_bank_oracle)?; + + // Deposit limit check, payer side: + // The payer bank deposits could increase when cancelling the order later: + // Imagine the account borrowing payer tokens to place the order, repaying the borrows + // and then cancelling the order to create a deposit. + // + // However, if the account only decreases its deposits to place an order it can't + // worsen the situation and should always go through, even if payer deposit limits are + // already exceeded. + payer_bank + .check_deposit_and_oo_limit() + .with_context(|| std::format!("on {}", payer_bank.name()))?; + } else { + payer_bank.enforce_borrows_lte_deposits()?; + } + + // Limit order price bands: If the order ends up on the book, ensure + // - a bid isn't too far below oracle + // - an ask isn't too far above oracle + // because placing orders that are guaranteed to never be hit can be bothersome: + // For example placing a very large bid near zero would make the potential_base_tokens + // value go through the roof, reducing available init margin for other users. + let band_threshold = openbook_market.oracle_price_band(); + if new_order_on_book && band_threshold != f32::MAX { + let (base_oracle, quote_oracle) = match order.side { + OpenbookV2Side::Bid => (&receiver_bank_oracle, &payer_bank_oracle), + OpenbookV2Side::Ask => (&payer_bank_oracle, &receiver_bank_oracle), + }; + let base_oracle_f64 = base_oracle.to_num::(); + let quote_oracle_f64 = quote_oracle.to_num::(); + // this has the same units as base_oracle: USD per BASE; limit_price is in QUOTE per BASE + let limit_price_in_dollar = limit_price * quote_oracle_f64; + let band_factor = 1.0 + band_threshold as f64; + match order.side { + OpenbookV2Side::Bid => { + require_msg_typed!( + limit_price_in_dollar * band_factor >= base_oracle_f64, + MangoError::SpotPriceBandExceeded, + "bid price {} must be larger than {} ({}% of oracle)", + limit_price, + base_oracle_f64 / (quote_oracle_f64 * band_factor), + (100.0 / band_factor) as u64, + ); + } + OpenbookV2Side::Ask => { + require_msg_typed!( + limit_price_in_dollar <= base_oracle_f64 * band_factor, + MangoError::SpotPriceBandExceeded, + "ask price {} must be smaller than {} ({}% of oracle)", + limit_price, + base_oracle_f64 * band_factor / quote_oracle_f64, + (100.0 * band_factor) as u64, + ); + } + } + } + + // Health cache updates for the changed account state + let receiver_bank = ctx.accounts.receiver_bank.load()?; + let payer_bank = ctx.accounts.payer_bank.load()?; + // update scaled weights for receiver bank + health_cache.adjust_token_balance(&receiver_bank, I80F48::ZERO)?; + vault_difference.adjust_health_cache_token_balance(&mut health_cache, &payer_bank)?; + let openbook_account = account.openbook_v2_orders(openbook_market.market_index)?; + oo_difference.recompute_health_cache_openbook_v2_state( + &mut health_cache, + &openbook_account, + &open_orders, + )?; + + // Check the receiver's reduce only flag. + // + // Note that all orders on the book executing can still cause a net deposit. That's because + // the total spot potential amount assumes all reserved amounts convert at the current + // oracle price. + // + // This also requires that all spot oos that touch the receiver_token are avaliable in the + // health cache. We make this a general requirement to avoid surprises. + health_cache.check_has_all_spot_infos_for_token(&account.borrow(), receiver_token_index)?; + if receiver_bank.are_deposits_reduce_only() { + let balance = health_cache.token_info(receiver_token_index)?.balance_spot; + let potential = + health_cache.total_spot_potential(HealthType::Maint, receiver_token_index)?; + require_msg_typed!( + balance + potential < 1, + MangoError::TokenInReduceOnlyMode, + "receiver bank does not accept deposits" + ); + } + + // + // Health check + // + if let Some(pre_init_health) = pre_health_opt { + account.check_health_post(&health_cache, pre_init_health)?; + } + + Ok(()) +} + +/// Uses the changes in OpenOrders and vaults to adjust the user token position, +/// collect fees and optionally adjusts the HealthCache. +pub fn apply_settle_changes( + group: &Group, + account_pk: Pubkey, + account: &mut MangoAccountRefMut, + base_bank: &mut Bank, + quote_bank: &mut Bank, + openbook_market: &OpenbookV2Market, + before_base_vault: u64, + before_quote_vault: u64, + before_oo: &OpenOrdersSlim, + after_base_vault: u64, + after_quote_vault: u64, + after_oo: &OpenOrdersSlim, + health_cache: Option<&mut HealthCache>, + fees_to_dao: bool, + quote_oracle: Option<&AccountInfo>, + open_orders: &OpenOrdersAccount, +) -> Result<()> { + let mut received_fees = 0; + if fees_to_dao { + // Example: rebates go from 100 -> 10. That means we credit 90 in fees. + received_fees = before_oo + .native_rebates() + .saturating_sub(after_oo.native_rebates()); + quote_bank.collected_fees_native += I80F48::from(received_fees); + + // Credit the buyback_fees at the current value of the quote token. + if let Some(quote_oracle_ai) = quote_oracle { + let clock = Clock::get()?; + let now_ts = clock.unix_timestamp.try_into().unwrap(); + + let quote_oracle_ref = &AccountInfoRef::borrow(quote_oracle_ai)?; + let quote_oracle_price = quote_bank.oracle_price( + &OracleAccountInfos::from_reader(quote_oracle_ref), + Some(clock.slot), + )?; + let quote_asset_price = quote_oracle_price.min(quote_bank.stable_price()); + account + .fixed + .expire_buyback_fees(now_ts, group.buyback_fees_expiry_interval); + let fees_in_usd = I80F48::from(received_fees) * quote_asset_price; + account + .fixed + .accrue_buyback_fees(fees_in_usd.clamp_to_u64()); + } + } + + // Don't count the referrer rebate fees as part of the vault change that should be + // credited to the user. + let after_quote_vault_adjusted = after_quote_vault - received_fees; + + // Settle cannot decrease vault balances + require_gte!(after_base_vault, before_base_vault); + require_gte!(after_quote_vault_adjusted, before_quote_vault); + + // Credit the difference in vault balances to the user's account + let base_difference = apply_vault_difference( + account_pk, + account, + SpotMarketIndex::OpenbookV2(openbook_market.market_index), + base_bank, + after_base_vault, + before_base_vault, + )?; + let quote_difference = apply_vault_difference( + account_pk, + account, + SpotMarketIndex::OpenbookV2(openbook_market.market_index), + quote_bank, + after_quote_vault_adjusted, + before_quote_vault, + )?; + + // Tokens were moved from open orders into banks again: also update the tracking + // for potential_serum_tokens on the banks. + { + let openbook_orders = account.openbook_v2_orders_mut(openbook_market.market_index)?; + update_bank_potential_tokens(openbook_orders, base_bank, quote_bank, after_oo); + } + + if let Some(health_cache) = health_cache { + base_difference.adjust_health_cache_token_balance(health_cache, &base_bank)?; + quote_difference.adjust_health_cache_token_balance(health_cache, "e_bank)?; + + let serum_account = account.openbook_v2_orders(openbook_market.market_index)?; + OODifference::new(&before_oo, &after_oo).recompute_health_cache_openbook_v2_state( + health_cache, + serum_account, + open_orders, + )?; + } + + Ok(()) +} + +fn update_bank_potential_tokens( + openbook_orders: &mut OpenbookV2Orders, + base_bank: &mut Bank, + quote_bank: &mut Bank, + oo: &OpenOrdersSlim, +) { + assert_eq!(openbook_orders.base_token_index, base_bank.token_index); + assert_eq!(openbook_orders.quote_token_index, quote_bank.token_index); + + // Potential tokens are all tokens on the side, plus reserved on the other side + // converted at favorable price. This creates an overestimation of the potential + // base and quote tokens flowing out of this open orders account. + let new_base = oo.native_base_total() + + (oo.native_quote_reserved() as f64 * openbook_orders.lowest_placed_bid_inv) as u64; + let new_quote = oo.native_quote_total() + + (oo.native_base_reserved() as f64 * openbook_orders.highest_placed_ask) as u64; + + let old_base = openbook_orders.potential_base_tokens; + let old_quote = openbook_orders.potential_quote_tokens; + + base_bank.update_potential_openbook_tokens(old_base, new_base); + quote_bank.update_potential_openbook_tokens(old_quote, new_quote); + + openbook_orders.potential_base_tokens = new_base; + openbook_orders.potential_quote_tokens = new_quote; +} + +fn cpi_place_order( + ctx: &OpenbookV2PlaceOrder, + seeds: &[&[&[u8]]], + order: &OpenbookV2Order, + price_lots: i64, + limit: u8, +) -> Result>> { + let cpi_accounts = openbook_v2::cpi::accounts::PlaceOrder { + signer: ctx.group.to_account_info(), + open_orders_account: ctx.open_orders.to_account_info(), + open_orders_admin: None, + user_token_account: ctx.payer_vault.to_account_info(), + market: ctx.openbook_v2_market_external.to_account_info(), + bids: ctx.bids.to_account_info(), + asks: ctx.asks.to_account_info(), + event_heap: ctx.event_heap.to_account_info(), + market_vault: ctx.market_vault.to_account_info(), + oracle_a: None, // we don't yet support markets with oracles + oracle_b: None, + token_program: ctx.token_program.to_account_info(), + }; + + let cpi_ctx = CpiContext::new_with_signer( + ctx.openbook_v2_program.to_account_info(), + cpi_accounts, + seeds, + ); + + let expiry_timestamp: u64 = if order.time_in_force > 0 { + Clock::get() + .unwrap() + .unix_timestamp + .saturating_add(order.time_in_force as i64) + .try_into() + .unwrap() + } else { + 0 + }; + + let order_type = match order.params { + openbook_v2::state::OrderParams::Market => OpenbookV2OrderType::Market, + openbook_v2::state::OrderParams::ImmediateOrCancel { price_lots } => { + OpenbookV2OrderType::ImmediateOrCancel + } + openbook_v2::state::OrderParams::Fixed { + price_lots, + order_type, + } => match order_type { + openbook_v2::state::PostOrderType::Limit => OpenbookV2OrderType::Limit, + openbook_v2::state::PostOrderType::PostOnly => OpenbookV2OrderType::PostOnly, + openbook_v2::state::PostOrderType::PostOnlySlide => OpenbookV2OrderType::PostOnlySlide, + }, + openbook_v2::state::OrderParams::OraclePegged { + price_offset_lots, + order_type, + peg_limit, + } => todo!(), + }; + + let args = openbook_v2::PlaceOrderArgs { + side: order.side, + price_lots, + max_base_lots: order.max_base_lots, + max_quote_lots_including_fees: order.max_quote_lots_including_fees, + client_order_id: order.client_order_id, + order_type, + expiry_timestamp, + self_trade_behavior: order.self_trade_behavior, + limit, + }; + + msg!("args {:?}", args); + openbook_v2::cpi::place_order(cpi_ctx, args) +} diff --git a/programs/mango-v4/src/instructions/openbook_v2_register_market.rs b/programs/mango-v4/src/instructions/openbook_v2_register_market.rs new file mode 100644 index 0000000000..27c39ac5aa --- /dev/null +++ b/programs/mango-v4/src/instructions/openbook_v2_register_market.rs @@ -0,0 +1,95 @@ +use anchor_lang::prelude::*; + +use crate::error::*; +use crate::state::*; +use crate::util::fill_from_str; + +use crate::accounts_ix::*; +use crate::logs::{emit_stack, OpenbookV2RegisterMarketLog}; + +pub fn openbook_v2_register_market( + ctx: Context, + market_index: OpenbookV2MarketIndex, + name: String, + oracle_price_band: f32, +) -> Result<()> { + let is_fast_listing; + let group = ctx.accounts.group.load()?; + // checking the admin account (#1) + if ctx.accounts.admin.key() == group.admin { + is_fast_listing = false; + } else if ctx.accounts.admin.key() == group.fast_listing_admin { + is_fast_listing = true; + } else { + return Err(error_msg!( + "admin must be the group admin or group fast listing admin" + )); + } + + let base_bank = ctx.accounts.base_bank.load()?; + let quote_bank = ctx.accounts.quote_bank.load()?; + let market_external = ctx.accounts.openbook_v2_market_external.load()?; + require_keys_eq!( + market_external.quote_mint, + quote_bank.mint, + MangoError::SomeError + ); + require_keys_eq!( + market_external.base_mint, + base_bank.mint, + MangoError::SomeError + ); + + if is_fast_listing { + // C tier tokens (no borrows, no asset weight) allow wider bands if the quote token has + // no deposit limits + let base_c_tier = + base_bank.are_borrows_reduce_only() && base_bank.maint_asset_weight.is_zero(); + let quote_has_no_deposit_limit = quote_bank.deposit_weight_scale_start_quote == f64::MAX + && quote_bank.deposit_limit == 0; + if base_c_tier && quote_has_no_deposit_limit { + require_eq!(oracle_price_band, 19.0); + } else { + require_eq!(oracle_price_band, 1.0); + } + } + + let mut openbook_market = ctx.accounts.openbook_v2_market.load_init()?; + *openbook_market = OpenbookV2Market { + group: ctx.accounts.group.key(), + base_token_index: base_bank.token_index, + quote_token_index: quote_bank.token_index, + reduce_only: 0, + force_close: 0, + name: fill_from_str(&name)?, + openbook_v2_program: ctx.accounts.openbook_v2_program.key(), + openbook_v2_market_external: ctx.accounts.openbook_v2_market_external.key(), + market_index, + bump: *ctx + .bumps + .get("openbook_v2_market") + .ok_or(MangoError::SomeError)?, + oracle_price_band, + registration_time: Clock::get()?.unix_timestamp.try_into().unwrap(), + reserved: [0; 1027], + }; + + let mut openbook_index_reservation = ctx.accounts.index_reservation.load_init()?; + *openbook_index_reservation = OpenbookV2MarketIndexReservation { + group: ctx.accounts.group.key(), + market_index, + reserved: [0; 38], + }; + + emit_stack(OpenbookV2RegisterMarketLog { + mango_group: ctx.accounts.group.key(), + openbook_market: ctx.accounts.openbook_v2_market.key(), + market_index, + base_token_index: base_bank.token_index, + quote_token_index: quote_bank.token_index, + openbook_program: ctx.accounts.openbook_v2_program.key(), + openbook_market_external: ctx.accounts.openbook_v2_market_external.key(), + }); + + Ok(()) +} diff --git a/programs/mango-v4/src/instructions/openbook_v2_settle_funds.rs b/programs/mango-v4/src/instructions/openbook_v2_settle_funds.rs new file mode 100644 index 0000000000..515d12f9ac --- /dev/null +++ b/programs/mango-v4/src/instructions/openbook_v2_settle_funds.rs @@ -0,0 +1,295 @@ +use anchor_lang::prelude::*; +use fixed::types::I80F48; + +use crate::error::*; +use crate::serum3_cpi::{OpenOrdersAmounts, OpenOrdersSlim}; +use crate::state::*; +use openbook_v2::cpi::accounts::SettleFunds; + +use crate::accounts_ix::*; +use crate::instructions::openbook_v2_place_order::apply_settle_changes; +use crate::logs::{ + emit_stack, LoanOriginationFeeInstruction, OpenbookV2OpenOrdersBalanceLog, WithdrawLoanLog, +}; + +use crate::accounts_zerocopy::AccountInfoRef; + +/// Settling means moving free funds from the open orders account +/// back into the mango account wallet. +/// +/// There will be free funds on open_orders when an order was triggered. +/// +pub fn openbook_v2_settle_funds<'info>( + ctx: Context, + fees_to_dao: bool, +) -> Result<()> { + let openbook_market = ctx.accounts.openbook_v2_market.load()?; + + // + // Validation + // + { + let account = ctx.accounts.account.load_full()?; + // account constraint #1 + require!( + account + .fixed + .is_owner_or_delegate(ctx.accounts.authority.key()), + MangoError::SomeError + ); + + // Validate open_orders #2 + require!( + account + .openbook_v2_orders(openbook_market.market_index)? + .open_orders + == ctx.accounts.open_orders.key(), + MangoError::SomeError + ); + + // Validate banks and vaults #3 + let quote_bank = ctx.accounts.quote_bank.load()?; + require!( + quote_bank.vault == ctx.accounts.quote_vault.key(), + MangoError::SomeError + ); + require!( + quote_bank.token_index == openbook_market.quote_token_index, + MangoError::SomeError + ); + let base_bank = ctx.accounts.base_bank.load()?; + require!( + base_bank.vault == ctx.accounts.base_vault.key(), + MangoError::SomeError + ); + require!( + base_bank.token_index == openbook_market.base_token_index, + MangoError::SomeError + ); + + // Validate oracles #4 + require_keys_eq!( + base_bank.oracle, + ctx.accounts.base_oracle.key(), + MangoError::SomeError + ); + require_keys_eq!( + quote_bank.oracle, + ctx.accounts.quote_oracle.key(), + MangoError::SomeError + ); + } + + // + // Charge any open loan origination fees + // + let base_lot_size: u64; + let quote_lot_size: u64; + let before_oo; + { + let openbook_market_external = ctx.accounts.openbook_v2_market_external.load()?; + base_lot_size = openbook_market_external.base_lot_size.try_into().unwrap(); + quote_lot_size = openbook_market_external.quote_lot_size.try_into().unwrap(); + + let open_orders = ctx.accounts.open_orders.load()?; + before_oo = OpenOrdersSlim::from_oo_v2(&open_orders, base_lot_size, quote_lot_size); + let mut account = ctx.accounts.account.load_full_mut()?; + let mut base_bank = ctx.accounts.base_bank.load_mut()?; + let mut quote_bank = ctx.accounts.quote_bank.load_mut()?; + charge_loan_origination_fees( + &ctx.accounts.group.key(), + &ctx.accounts.account.key(), + openbook_market.market_index, + &mut base_bank, + &mut quote_bank, + &mut account.borrow_mut(), + &before_oo, + Some(&ctx.accounts.base_oracle.to_account_info()), + Some(&ctx.accounts.quote_oracle.to_account_info()), + )?; + } + + // + // Settle + // + let before_base_vault = ctx.accounts.base_vault.amount; + let before_quote_vault = ctx.accounts.quote_vault.amount; + let mango_account_seeds_data = ctx.accounts.account.load()?.pda_seeds(); + let seeds = &mango_account_seeds_data.signer_seeds(); + cpi_settle_funds(ctx.accounts, &[seeds])?; + + // + // After-settle tracking + // + let after_oo = { + let open_orders = ctx.accounts.open_orders.load()?; + OpenOrdersSlim::from_oo_v2(&open_orders, base_lot_size, quote_lot_size) + }; + + ctx.accounts.base_vault.reload()?; + ctx.accounts.quote_vault.reload()?; + let after_base_vault = ctx.accounts.base_vault.amount; + let after_quote_vault = ctx.accounts.quote_vault.amount; + + let mut account = ctx.accounts.account.load_full_mut()?; + let mut base_bank = ctx.accounts.base_bank.load_mut()?; + let mut quote_bank = ctx.accounts.quote_bank.load_mut()?; + let group = ctx.accounts.group.load()?; + let open_orders = ctx.accounts.open_orders.load()?; + apply_settle_changes( + &group, + ctx.accounts.account.key(), + &mut account.borrow_mut(), + &mut base_bank, + &mut quote_bank, + &openbook_market, + before_base_vault, + before_quote_vault, + &before_oo, + after_base_vault, + after_quote_vault, + &after_oo, + None, + fees_to_dao, + Some(&ctx.accounts.quote_oracle.to_account_info()), + &open_orders, + )?; + + emit_stack(OpenbookV2OpenOrdersBalanceLog { + mango_group: ctx.accounts.group.key(), + mango_account: ctx.accounts.account.key(), + market_index: openbook_market.market_index, + base_token_index: openbook_market.base_token_index, + quote_token_index: openbook_market.quote_token_index, + base_total: after_oo.native_base_total(), + base_free: after_oo.native_base_free(), + quote_total: after_oo.native_quote_total(), + quote_free: after_oo.native_quote_free(), + referrer_rebates_accrued: after_oo.native_rebates(), + }); + + Ok(()) +} + +// Charge fees if the potential borrows are bigger than the funds on the open orders account +pub fn charge_loan_origination_fees( + group_pubkey: &Pubkey, + account_pubkey: &Pubkey, + market_index: OpenbookV2MarketIndex, + base_bank: &mut Bank, + quote_bank: &mut Bank, + account: &mut MangoAccountRefMut, + before_oo: &OpenOrdersSlim, + base_oracle: Option<&AccountInfo>, + quote_oracle: Option<&AccountInfo>, +) -> Result<()> { + let openbook_v2_orders = account.openbook_v2_orders_mut(market_index).unwrap(); + + let now_ts = Clock::get()?.unix_timestamp.try_into().unwrap(); + + let oo_base_total = before_oo.native_base_total(); + let actualized_base_loan = I80F48::from_num( + openbook_v2_orders + .base_borrows_without_fee + .saturating_sub(oo_base_total), + ); + if actualized_base_loan > 0 { + openbook_v2_orders.base_borrows_without_fee = oo_base_total; + + // now that the loan is actually materialized, charge the loan origination fee + // note: the withdraw has already happened while placing the order + let base_token_account = account.token_position_mut(base_bank.token_index)?.0; + let withdraw_result = base_bank.withdraw_loan_origination_fee( + base_token_account, + actualized_base_loan, + now_ts, + )?; + + let base_oracle_price = base_oracle + .map(|ai| { + let ai_ref = &AccountInfoRef::borrow(ai)?; + base_bank.oracle_price( + &OracleAccountInfos::from_reader(ai_ref), + Some(Clock::get()?.slot), + ) + }) + .transpose()?; + + emit_stack(WithdrawLoanLog { + mango_group: *group_pubkey, + mango_account: *account_pubkey, + token_index: base_bank.token_index, + loan_amount: withdraw_result.loan_amount.to_bits(), + loan_origination_fee: withdraw_result.loan_origination_fee.to_bits(), + instruction: LoanOriginationFeeInstruction::OpenbookV2SettleFunds, + price: base_oracle_price.map(|p| p.to_bits()), + }); + } + + let openbook_v2_account = account.openbook_v2_orders_mut(market_index).unwrap(); + let oo_quote_total = before_oo.native_quote_total(); + let actualized_quote_loan = I80F48::from_num::( + openbook_v2_account + .quote_borrows_without_fee + .saturating_sub(oo_quote_total), + ); + if actualized_quote_loan > 0 { + openbook_v2_account.quote_borrows_without_fee = oo_quote_total; + + // now that the loan is actually materialized, charge the loan origination fee + // note: the withdraw has already happened while placing the order + let quote_token_account = account.token_position_mut(quote_bank.token_index)?.0; + let withdraw_result = quote_bank.withdraw_loan_origination_fee( + quote_token_account, + actualized_quote_loan, + now_ts, + )?; + + let quote_oracle_price = quote_oracle + .map(|ai| { + let ai_ref = &AccountInfoRef::borrow(ai)?; + quote_bank.oracle_price( + &OracleAccountInfos::from_reader(ai_ref), + Some(Clock::get()?.slot), + ) + }) + .transpose()?; + + emit_stack(WithdrawLoanLog { + mango_group: *group_pubkey, + mango_account: *account_pubkey, + token_index: quote_bank.token_index, + loan_amount: withdraw_result.loan_amount.to_bits(), + loan_origination_fee: withdraw_result.loan_origination_fee.to_bits(), + instruction: LoanOriginationFeeInstruction::OpenbookV2SettleFunds, + price: quote_oracle_price.map(|p| p.to_bits()), + }); + } + + Ok(()) +} + +fn cpi_settle_funds<'info>(ctx: &OpenbookV2SettleFunds<'info>, seeds: &[&[&[u8]]]) -> Result<()> { + let cpi_accounts = SettleFunds { + penalty_payer: ctx.authority.to_account_info(), + market: ctx.openbook_v2_market_external.to_account_info(), + market_authority: ctx.market_vault_signer.to_account_info(), + market_base_vault: ctx.market_base_vault.to_account_info(), + market_quote_vault: ctx.market_quote_vault.to_account_info(), + user_base_account: ctx.base_vault.to_account_info(), + user_quote_account: ctx.quote_vault.to_account_info(), + referrer_account: Some(ctx.quote_vault.to_account_info()), + token_program: ctx.token_program.to_account_info(), + owner: ctx.account.to_account_info(), + open_orders_account: ctx.open_orders.to_account_info(), + system_program: ctx.system_program.to_account_info(), + }; + + let cpi_ctx = CpiContext::new_with_signer( + ctx.openbook_v2_program.to_account_info(), + cpi_accounts, + seeds, + ); + + openbook_v2::cpi::settle_funds(cpi_ctx) +} diff --git a/programs/mango-v4/src/instructions/serum3_liq_force_cancel_orders.rs b/programs/mango-v4/src/instructions/serum3_liq_force_cancel_orders.rs index 5a508b1832..896cafdc91 100644 --- a/programs/mango-v4/src/instructions/serum3_liq_force_cancel_orders.rs +++ b/programs/mango-v4/src/instructions/serum3_liq_force_cancel_orders.rs @@ -3,8 +3,8 @@ use anchor_lang::prelude::*; use crate::accounts_ix::*; use crate::error::*; use crate::health::*; -use crate::instructions::apply_settle_changes; -use crate::instructions::charge_loan_origination_fees; +use crate::instructions::serum3_place_order::apply_settle_changes; +use crate::instructions::serum3_settle_funds::charge_loan_origination_fees; use crate::logs::{emit_stack, Serum3OpenOrdersBalanceLogV2}; use crate::serum3_cpi::{load_open_orders_ref, OpenOrdersAmounts, OpenOrdersSlim}; use crate::state::*; diff --git a/programs/mango-v4/src/instructions/serum3_place_order.rs b/programs/mango-v4/src/instructions/serum3_place_order.rs index 80d43fb18a..fb1837cddf 100644 --- a/programs/mango-v4/src/instructions/serum3_place_order.rs +++ b/programs/mango-v4/src/instructions/serum3_place_order.rs @@ -324,7 +324,7 @@ pub fn serum3_place_order( apply_vault_difference( ctx.accounts.account.key(), &mut account.borrow_mut(), - serum_market.market_index, + SpotMarketIndex::Serum3(serum_market.market_index), &mut payer_bank, after_vault, before_vault, @@ -390,7 +390,7 @@ pub fn serum3_place_order( Serum3Side::Bid => { require_msg_typed!( limit_price_in_dollar * band_factor >= base_oracle_f64, - MangoError::Serum3PriceBandExceeded, + MangoError::SpotPriceBandExceeded, "bid price {} must be larger than {} ({}% of oracle)", limit_price, base_oracle_f64 / (quote_oracle_f64 * band_factor), @@ -400,7 +400,7 @@ pub fn serum3_place_order( Serum3Side::Ask => { require_msg_typed!( limit_price_in_dollar <= base_oracle_f64 * band_factor, - MangoError::Serum3PriceBandExceeded, + MangoError::SpotPriceBandExceeded, "ask price {} must be smaller than {} ({}% of oracle)", limit_price, base_oracle_f64 * band_factor / quote_oracle_f64, @@ -425,26 +425,16 @@ pub fn serum3_place_order( // Check the receiver's reduce only flag. // // Note that all orders on the book executing can still cause a net deposit. That's because - // the total serum3 potential amount assumes all reserved amounts convert at the current + // the total spot potential amount assumes all reserved amounts convert at the current // oracle price. // - // This also requires that all serum3 oos that touch the receiver_token are avaliable in the + // This also requires that all spot oos that touch the receiver_token are avaliable in the // health cache. We make this a general requirement to avoid surprises. - for serum3 in account.active_serum3_orders() { - if serum3.base_token_index == receiver_token_index - || serum3.quote_token_index == receiver_token_index - { - require_msg!( - health_cache.serum3_infos.iter().any(|s3| s3.market_index == serum3.market_index), - "health cache is missing serum3 info {} involving receiver token {}; passed banks and oracles?", - serum3.market_index, receiver_token_index - ); - } - } + health_cache.check_has_all_spot_infos_for_token(&account.borrow(), receiver_token_index)?; if receiver_bank_reduce_only { let balance = health_cache.token_info(receiver_token_index)?.balance_spot; let potential = - health_cache.total_serum3_potential(HealthType::Maint, receiver_token_index)?; + health_cache.total_spot_potential(HealthType::Maint, receiver_token_index)?; require_msg_typed!( balance + potential < 1, MangoError::TokenInReduceOnlyMode, @@ -490,6 +480,20 @@ impl OODifference { self.free_quote_change, ) } + + pub fn recompute_health_cache_openbook_v2_state( + &self, + health_cache: &mut HealthCache, + openbook_account: &OpenbookV2Orders, + open_orders: &openbook_v2::state::OpenOrdersAccount, + ) -> Result<()> { + health_cache.recompute_openbook_v2_info( + openbook_account, + open_orders, + self.free_base_change, + self.free_quote_change, + ) + } } pub struct VaultDifference { @@ -512,10 +516,10 @@ impl VaultDifference { /// Called in apply_settle_changes() and place_order to adjust token positions after /// changing the vault balances /// Also logs changes to token balances -fn apply_vault_difference( +pub fn apply_vault_difference( account_pk: Pubkey, account: &mut MangoAccountRefMut, - serum_market_index: Serum3MarketIndex, + spot_market_index: SpotMarketIndex, bank: &mut Bank, vault_after: u64, vault_before: u64, @@ -540,16 +544,32 @@ fn apply_vault_difference( .to_num::(); let indexed_position = position.indexed_position; - let market = account.serum3_orders_mut(serum_market_index).unwrap(); let borrows_without_fee; - if bank.token_index == market.base_token_index { - borrows_without_fee = &mut market.base_borrows_without_fee; - } else if bank.token_index == market.quote_token_index { - borrows_without_fee = &mut market.quote_borrows_without_fee; - } else { - return Err(error_msg!( - "assert failed: apply_vault_difference called with bad token index" - )); + match spot_market_index { + SpotMarketIndex::Serum3(index) => { + let market = account.serum3_orders_mut(index).unwrap(); + if bank.token_index == market.base_token_index { + borrows_without_fee = &mut market.base_borrows_without_fee; + } else if bank.token_index == market.quote_token_index { + borrows_without_fee = &mut market.quote_borrows_without_fee; + } else { + return Err(error_msg!( + "assert failed: apply_vault_difference called with bad token index" + )); + }; + } + SpotMarketIndex::OpenbookV2(index) => { + let market = account.openbook_v2_orders_mut(index).unwrap(); + if bank.token_index == market.base_token_index { + borrows_without_fee = &mut market.base_borrows_without_fee; + } else if bank.token_index == market.quote_token_index { + borrows_without_fee = &mut market.quote_borrows_without_fee; + } else { + return Err(error_msg!( + "assert failed: apply_vault_difference called with bad token index" + )); + }; + } }; // Only for place: Add to potential borrow amount @@ -635,7 +655,7 @@ pub fn apply_settle_changes( let base_difference = apply_vault_difference( account_pk, account, - serum_market.market_index, + SpotMarketIndex::Serum3(serum_market.market_index), base_bank, after_base_vault, before_base_vault, @@ -643,7 +663,7 @@ pub fn apply_settle_changes( let quote_difference = apply_vault_difference( account_pk, account, - serum_market.market_index, + SpotMarketIndex::Serum3(serum_market.market_index), quote_bank, after_quote_vault_adjusted, before_quote_vault, diff --git a/programs/mango-v4/src/instructions/serum3_settle_funds.rs b/programs/mango-v4/src/instructions/serum3_settle_funds.rs index 761b43d72c..86645f4cfa 100644 --- a/programs/mango-v4/src/instructions/serum3_settle_funds.rs +++ b/programs/mango-v4/src/instructions/serum3_settle_funds.rs @@ -5,8 +5,8 @@ use crate::error::*; use crate::serum3_cpi::{load_open_orders_ref, OpenOrdersAmounts, OpenOrdersSlim}; use crate::state::*; -use super::apply_settle_changes; use crate::accounts_ix::*; +use crate::instructions::serum3_place_order::apply_settle_changes; use crate::logs::{ emit_stack, LoanOriginationFeeInstruction, Serum3OpenOrdersBalanceLogV2, WithdrawLoanLog, }; diff --git a/programs/mango-v4/src/instructions/token_charge_collateral_fees.rs b/programs/mango-v4/src/instructions/token_charge_collateral_fees.rs index 944c2722d3..b844e7b63c 100644 --- a/programs/mango-v4/src/instructions/token_charge_collateral_fees.rs +++ b/programs/mango-v4/src/instructions/token_charge_collateral_fees.rs @@ -52,9 +52,9 @@ pub fn token_charge_collateral_fees(ctx: Context) -> // pretend all spot orders are closed and settled and add their funds back to // the token positions. let mut token_balances = health_cache.effective_token_balances(HealthType::Maint); - for s3info in health_cache.serum3_infos.iter() { - token_balances[s3info.base_info_index].spot_and_perp += s3info.reserved_base; - token_balances[s3info.quote_info_index].spot_and_perp += s3info.reserved_quote; + for spot_info in health_cache.spot_infos.iter() { + token_balances[spot_info.base_info_index].spot_and_perp += spot_info.reserved_base; + token_balances[spot_info.quote_info_index].spot_and_perp += spot_info.reserved_quote; } let mut total_liab_health = I80F48::ZERO; diff --git a/programs/mango-v4/src/instructions/token_conditional_swap_trigger.rs b/programs/mango-v4/src/instructions/token_conditional_swap_trigger.rs index 1d25846b42..04e1538db9 100644 --- a/programs/mango-v4/src/instructions/token_conditional_swap_trigger.rs +++ b/programs/mango-v4/src/instructions/token_conditional_swap_trigger.rs @@ -731,7 +731,7 @@ mod tests { liqee_buffer.extend_from_slice(&[0u8; 512]); let mut liqee = MangoAccountValue::from_bytes(&liqee_buffer).unwrap(); { - liqee.resize_dynamic_content(3, 5, 4, 6, 1).unwrap(); + liqee.resize_dynamic_content(3, 5, 4, 6, 1, 0).unwrap(); liqee.ensure_token_position(0).unwrap(); liqee.ensure_token_position(1).unwrap(); } diff --git a/programs/mango-v4/src/instructions/token_register.rs b/programs/mango-v4/src/instructions/token_register.rs index 7d545ad97e..88a0229f72 100644 --- a/programs/mango-v4/src/instructions/token_register.rs +++ b/programs/mango-v4/src/instructions/token_register.rs @@ -121,6 +121,7 @@ pub fn token_register( interest_target_utilization, interest_curve_scaling: interest_curve_scaling.into(), potential_serum_tokens: 0, + potential_openbook_tokens: 0, maint_weight_shift_start: 0, maint_weight_shift_end: 0, maint_weight_shift_duration_inv: I80F48::ZERO, @@ -133,7 +134,8 @@ pub fn token_register( collected_liquidation_fees: I80F48::ZERO, collected_collateral_fees: I80F48::ZERO, collateral_fee_per_day, - reserved: [0; 1900], + padding2: [0; 4], + reserved: [0; 1888], }; let oracle_ref = &AccountInfoRef::borrow(ctx.accounts.oracle.as_ref())?; diff --git a/programs/mango-v4/src/instructions/token_register_trustless.rs b/programs/mango-v4/src/instructions/token_register_trustless.rs index 6b62842286..cba4c120fc 100644 --- a/programs/mango-v4/src/instructions/token_register_trustless.rs +++ b/programs/mango-v4/src/instructions/token_register_trustless.rs @@ -100,6 +100,7 @@ pub fn token_register_trustless( interest_target_utilization: 0.5, interest_curve_scaling: 4.0, potential_serum_tokens: 0, + potential_openbook_tokens: 0, maint_weight_shift_start: 0, maint_weight_shift_end: 0, maint_weight_shift_duration_inv: I80F48::ZERO, @@ -111,7 +112,8 @@ pub fn token_register_trustless( collected_liquidation_fees: I80F48::ZERO, collected_collateral_fees: I80F48::ZERO, collateral_fee_per_day: 0.0, // TODO - reserved: [0; 1900], + padding2: [0; 4], + reserved: [0; 1888], }; let oracle_ref = &AccountInfoRef::borrow(ctx.accounts.oracle.as_ref())?; if let Ok(oracle_price) = bank.oracle_price(&OracleAccountInfos::from_reader(oracle_ref), None) diff --git a/programs/mango-v4/src/lib.rs b/programs/mango-v4/src/lib.rs index 533434b148..593f694740 100644 --- a/programs/mango-v4/src/lib.rs +++ b/programs/mango-v4/src/lib.rs @@ -349,6 +349,7 @@ pub mod mango_v4 { perp_count, perp_oo_count, 0, + 0, name, )?; Ok(()) @@ -376,6 +377,36 @@ pub mod mango_v4 { perp_count, perp_oo_count, token_conditional_swap_count, + 0, + name, + )?; + Ok(()) + } + + pub fn account_create_v3( + ctx: Context, + account_num: u32, + token_count: u8, + serum3_count: u8, + perp_count: u8, + perp_oo_count: u8, + token_conditional_swap_count: u8, + openbook_v2_count: u8, + name: String, + ) -> Result<()> { + #[cfg(feature = "enable-gpl")] + instructions::account_create( + &ctx.accounts.account, + *ctx.bumps.get("account").ok_or(MangoError::SomeError)?, + ctx.accounts.group.key(), + ctx.accounts.owner.key(), + account_num, + token_count, + serum3_count, + perp_count, + perp_oo_count, + token_conditional_swap_count, + openbook_v2_count, name, )?; Ok(()) @@ -389,7 +420,15 @@ pub mod mango_v4 { perp_oo_count: u8, ) -> Result<()> { #[cfg(feature = "enable-gpl")] - instructions::account_expand(ctx, token_count, serum3_count, perp_count, perp_oo_count, 0)?; + instructions::account_expand( + ctx, + token_count, + serum3_count, + perp_count, + perp_oo_count, + 0, + 0, + )?; Ok(()) } @@ -409,6 +448,29 @@ pub mod mango_v4 { perp_count, perp_oo_count, token_conditional_swap_count, + 0, + )?; + Ok(()) + } + + pub fn account_expand_v3( + ctx: Context, + token_count: u8, + serum3_count: u8, + perp_count: u8, + perp_oo_count: u8, + token_conditional_swap_count: u8, + openbook_v2_count: u8, + ) -> Result<()> { + #[cfg(feature = "enable-gpl")] + instructions::account_expand( + ctx, + token_count, + serum3_count, + perp_count, + perp_oo_count, + token_conditional_swap_count, + openbook_v2_count, )?; Ok(()) } @@ -1676,7 +1738,10 @@ pub mod mango_v4 { ctx: Context, market_index: OpenbookV2MarketIndex, name: String, + oracle_price_band: f32, ) -> Result<()> { + #[cfg(feature = "enable-gpl")] + instructions::openbook_v2_register_market(ctx, market_index, name, oracle_price_band)?; Ok(()) } @@ -1684,59 +1749,91 @@ pub mod mango_v4 { ctx: Context, reduce_only_opt: Option, force_close_opt: Option, + name_opt: Option, + oracle_price_band_opt: Option, ) -> Result<()> { + #[cfg(feature = "enable-gpl")] + instructions::openbook_v2_edit_market( + ctx, + reduce_only_opt, + force_close_opt, + name_opt, + oracle_price_band_opt, + )?; Ok(()) } pub fn openbook_v2_deregister_market(ctx: Context) -> Result<()> { + #[cfg(feature = "enable-gpl")] + instructions::openbook_v2_deregister_market(ctx)?; Ok(()) } - pub fn openbook_v2_create_open_orders( - ctx: Context, - account_num: u32, - ) -> Result<()> { + pub fn openbook_v2_create_open_orders(ctx: Context) -> Result<()> { + #[cfg(feature = "enable-gpl")] + instructions::openbook_v2_create_open_orders(ctx)?; Ok(()) } pub fn openbook_v2_close_open_orders(ctx: Context) -> Result<()> { + #[cfg(feature = "enable-gpl")] + instructions::openbook_v2_close_open_orders(ctx)?; Ok(()) } #[allow(clippy::too_many_arguments)] pub fn openbook_v2_place_order( ctx: Context, - side: u8, // openbook_v2::state::Side - limit_price: u64, - max_base_qty: u64, - max_native_quote_qty_including_fees: u64, - self_trade_behavior: u8, // openbook_v2::state::SelfTradeBehavior - order_type: u8, // openbook_v2::state::PlaceOrderType + side: OpenbookV2Side, + price_lots: i64, + max_base_lots: i64, + max_quote_lots_including_fees: i64, client_order_id: u64, - limit: u16, + order_type: OpenbookV2PlaceOrderType, + self_trade_behavior: OpenbookV2SelfTradeBehavior, + reduce_only: bool, + expiry_timestamp: u64, + limit: u8, ) -> Result<()> { - Ok(()) - } + use openbook_v2::state::{Order, OrderParams}; + let time_in_force = match Order::tif_from_expiry(expiry_timestamp) { + Some(t) => t, + None => { + msg!("Order is already expired"); + return Ok(()); + } + }; + let order = Order { + side: side.to_external(), + max_base_lots, + max_quote_lots_including_fees, + client_order_id, + time_in_force, + self_trade_behavior: self_trade_behavior.to_external(), + params: match order_type { + OpenbookV2PlaceOrderType::Market => OrderParams::Market {}, + OpenbookV2PlaceOrderType::ImmediateOrCancel => { + OrderParams::ImmediateOrCancel { price_lots } + } + _ => OrderParams::Fixed { + price_lots, + order_type: order_type.to_external_post_order_type()?, + }, + }, + }; - #[allow(clippy::too_many_arguments)] - pub fn openbook_v2_place_taker_order( - ctx: Context, - side: u8, // openbook_v2::state::Side - limit_price: u64, - max_base_qty: u64, - max_native_quote_qty_including_fees: u64, - self_trade_behavior: u8, // openbook_v2::state::SelfTradeBehavior - client_order_id: u64, - limit: u16, - ) -> Result<()> { + #[cfg(feature = "enable-gpl")] + instructions::openbook_v2_place_order(ctx, order, limit)?; Ok(()) } pub fn openbook_v2_cancel_order( ctx: Context, - side: u8, // openbook_v2::state::Side + side: OpenbookV2Side, order_id: u128, ) -> Result<()> { + #[cfg(feature = "enable-gpl")] + instructions::openbook_v2_cancel_order(ctx, side.to_external(), order_id)?; Ok(()) } @@ -1744,6 +1841,8 @@ pub mod mango_v4 { ctx: Context, fees_to_dao: bool, ) -> Result<()> { + #[cfg(feature = "enable-gpl")] + instructions::openbook_v2_settle_funds(ctx, fees_to_dao)?; Ok(()) } @@ -1751,13 +1850,25 @@ pub mod mango_v4 { ctx: Context, limit: u8, ) -> Result<()> { + #[cfg(feature = "enable-gpl")] + instructions::openbook_v2_liq_force_cancel_orders(ctx, limit)?; Ok(()) } pub fn openbook_v2_cancel_all_orders( ctx: Context, limit: u8, + side_opt: Option, ) -> Result<()> { + #[cfg(feature = "enable-gpl")] + instructions::openbook_v2_cancel_all_orders( + ctx, + limit, + match side_opt { + Some(side) => Some(side.to_external()), + None => None, + }, + )?; Ok(()) } diff --git a/programs/mango-v4/src/logs.rs b/programs/mango-v4/src/logs.rs index 9032b3bc68..3cf55a2051 100644 --- a/programs/mango-v4/src/logs.rs +++ b/programs/mango-v4/src/logs.rs @@ -387,6 +387,20 @@ pub struct Serum3OpenOrdersBalanceLogV2 { pub referrer_rebates_accrued: u64, } +#[event] +pub struct OpenbookV2OpenOrdersBalanceLog { + pub mango_group: Pubkey, + pub mango_account: Pubkey, + pub market_index: u16, + pub base_token_index: u16, + pub quote_token_index: u16, + pub base_total: u64, + pub base_free: u64, + pub quote_total: u64, + pub quote_free: u64, + pub referrer_rebates_accrued: u64, +} + #[derive(PartialEq, Copy, Clone, Debug, AnchorSerialize, AnchorDeserialize)] #[repr(u8)] pub enum LoanOriginationFeeInstruction { @@ -398,6 +412,9 @@ pub enum LoanOriginationFeeInstruction { Serum3SettleFunds, TokenWithdraw, TokenConditionalSwapTrigger, + OpenbookV2LiqForceCancelOrders, + OpenbookV2PlaceOrder, + OpenbookV2SettleFunds, } #[event] @@ -499,6 +516,17 @@ pub struct Serum3RegisterMarketLog { pub serum_program_external: Pubkey, } +#[event] +pub struct OpenbookV2RegisterMarketLog { + pub mango_group: Pubkey, + pub openbook_market: Pubkey, + pub market_index: u16, + pub base_token_index: u16, + pub quote_token_index: u16, + pub openbook_program: Pubkey, + pub openbook_market_external: Pubkey, +} + #[event] pub struct PerpLiqBaseOrPositivePnlLog { pub mango_group: Pubkey, diff --git a/programs/mango-v4/src/serum3_cpi.rs b/programs/mango-v4/src/serum3_cpi.rs index 3ca69b8dcc..952fc35a29 100644 --- a/programs/mango-v4/src/serum3_cpi.rs +++ b/programs/mango-v4/src/serum3_cpi.rs @@ -1,4 +1,5 @@ use anchor_lang::prelude::*; +use openbook_v2::state::OpenOrdersAccount as OpenOrdersV2; use serum_dex::state::{OpenOrders, ToAlignedBytes, ACCOUNT_HEAD_PADDING}; use std::cell::{Ref, RefMut}; @@ -128,7 +129,7 @@ pub fn load_open_orders(acc: &impl AccountReader) -> Result<&serum_dex::state::O } pub fn load_open_orders_bytes(bytes: &[u8]) -> Result<&serum_dex::state::OpenOrders> { - Ok(bytemuck::from_bytes(strip_dex_padding(bytes)?)) + Ok(bytemuck::try_from_bytes(strip_dex_padding(bytes)?).map_err(|_| MangoError::SomeError)?) } pub fn pubkey_from_u64_array(d: [u64; 4]) -> Pubkey { @@ -155,6 +156,22 @@ impl OpenOrdersSlim { referrer_rebates_accrued: oo.referrer_rebates_accrued, } } + pub fn from_oo_v2(oo: &OpenOrdersV2, base_lot_size: u64, quote_lot_size: u64) -> Self { + let bids_quote_lots: u64 = oo.position.bids_quote_lots.try_into().unwrap(); + let asks_base_lots: u64 = oo.position.asks_base_lots.try_into().unwrap(); + let base_locked_native = asks_base_lots * base_lot_size; + let quote_locked_native = bids_quote_lots * quote_lot_size; + + Self { + native_coin_free: oo.position.base_free_native, + native_coin_total: base_locked_native + oo.position.base_free_native, + native_pc_free: oo.position.quote_free_native, + native_pc_total: quote_locked_native + + oo.position.quote_free_native + + oo.position.locked_maker_fees, + referrer_rebates_accrued: oo.position.referrer_rebates_available, + } + } } pub trait OpenOrdersAmounts { diff --git a/programs/mango-v4/src/state/bank.rs b/programs/mango-v4/src/state/bank.rs index cfc6aea3d0..3a8243cbb9 100644 --- a/programs/mango-v4/src/state/bank.rs +++ b/programs/mango-v4/src/state/bank.rs @@ -186,7 +186,7 @@ pub struct Bank { /// Except when first migrating to having this field, then 0.0 pub interest_curve_scaling: f64, - /// Largest amount of tokens that might be added the the bank based on + /// Largest amount of tokens that might be added the bank based on /// serum open order execution. pub potential_serum_tokens: u64, @@ -232,7 +232,14 @@ pub struct Bank { pub collateral_fee_per_day: f32, #[derivative(Debug = "ignore")] - pub reserved: [u8; 1900], + pub padding2: [u8; 4], + + /// Largest amount of tokens that might be added the bank based on + /// oenbook open order execution. + pub potential_openbook_tokens: u64, + + #[derivative(Debug = "ignore")] + pub reserved: [u8; 1888], } const_assert_eq!( size_of::(), @@ -270,8 +277,9 @@ const_assert_eq!( + 32 + 8 + 16 * 4 - + 4 - + 1900 + + 4 * 2 + + 8 + + 1888 ); const_assert_eq!(size_of::(), 3064); const_assert_eq!(size_of::() % 8, 0); @@ -322,6 +330,7 @@ impl Bank { flash_loan_token_account_initial: u64::MAX, net_borrows_in_window: 0, potential_serum_tokens: 0, + potential_openbook_tokens: 0, bump, bank_num, @@ -382,7 +391,8 @@ impl Bank { zero_util_rate: existing_bank.zero_util_rate, platform_liquidation_fee: existing_bank.platform_liquidation_fee, collateral_fee_per_day: existing_bank.collateral_fee_per_day, - reserved: [0; 1900], + padding2: [0; 4], + reserved: [0; 1888], } } @@ -961,7 +971,8 @@ impl Bank { let deposits = self.deposit_index * (self.indexed_deposits + I80F48::DELTA); let serum = I80F48::from(self.potential_serum_tokens); - let total = deposits + serum; + let openbook = I80F48::from(self.potential_openbook_tokens); + let total = deposits + serum + openbook; I80F48::from(self.deposit_limit) - total } @@ -976,17 +987,19 @@ impl Bank { // will not cause a limit overrun. let deposits = self.native_deposits(); let serum = I80F48::from(self.potential_serum_tokens); - let total = deposits + serum; + let openbook = I80F48::from(self.potential_openbook_tokens); + let total = deposits + serum + openbook; let remaining = I80F48::from(self.deposit_limit) - total; if remaining < 0 { return Err(error_msg_typed!( MangoError::BankDepositLimit, - "deposit limit exceeded: remaining: {}, total: {}, limit: {}, deposits: {}, serum: {}", + "deposit limit exceeded: remaining: {}, total: {}, limit: {}, deposits: {}, serum: {}, openbook: {}", remaining, total, self.deposit_limit, deposits, serum, + openbook, )); } @@ -1242,8 +1255,9 @@ impl Bank { if self.deposit_weight_scale_start_quote == f64::MAX { return self.init_asset_weight; } - let all_deposits = - self.native_deposits().to_num::() + self.potential_serum_tokens as f64; + let all_deposits = self.native_deposits().to_num::() + + self.potential_serum_tokens as f64 + + self.potential_openbook_tokens as f64; let deposits_quote = all_deposits * price.to_num::(); if deposits_quote <= self.deposit_weight_scale_start_quote { self.init_asset_weight @@ -1282,6 +1296,17 @@ impl Bank { self.potential_serum_tokens = self.potential_serum_tokens.saturating_sub(old - new); } } + + /// Grows potential_openbook_tokens if new > old, shrinks it otherwise + #[inline(always)] + pub fn update_potential_openbook_tokens(&mut self, old: u64, new: u64) { + if new >= old { + self.potential_openbook_tokens += new - old; + } else { + self.potential_openbook_tokens = + self.potential_openbook_tokens.saturating_sub(old - new); + } + } } #[macro_export] @@ -1579,7 +1604,8 @@ mod tests { bank.net_borrow_limit_per_window_quote = 100; bank.net_borrows_in_window = 200; bank.deposit_limit = 100; - bank.potential_serum_tokens = 200; + bank.potential_serum_tokens = 100; + bank.potential_openbook_tokens = 100; let half = I80F48::from(50); bank.checked_transfer_with_fee(&mut a1, half, &mut a2, half, 0, I80F48::ONE) diff --git a/programs/mango-v4/src/state/group.rs b/programs/mango-v4/src/state/group.rs index 61f61cde2e..d125ac4099 100644 --- a/programs/mango-v4/src/state/group.rs +++ b/programs/mango-v4/src/state/group.rs @@ -152,10 +152,6 @@ impl Group { pub fn is_ix_enabled(&self, ix: IxGate) -> bool { self.ix_gate & (1 << ix as u128) == 0 } - - pub fn openbook_v2_supported(&self) -> bool { - self.is_testing() - } } /// Enum for lookup into ix gate @@ -248,6 +244,7 @@ pub enum IxGate { TokenForceWithdraw = 72, SequenceCheck = 73, HealthCheck = 74, + OpenbookV2CancelAllOrders = 75, // NOTE: Adding new variants requires matching changes in ts and the ix_gate_set instruction. } diff --git a/programs/mango-v4/src/state/mango_account.rs b/programs/mango-v4/src/state/mango_account.rs index c146b23239..63300ecd49 100644 --- a/programs/mango-v4/src/state/mango_account.rs +++ b/programs/mango-v4/src/state/mango_account.rs @@ -16,7 +16,6 @@ use crate::health::{HealthCache, HealthType}; use crate::logs::{emit_stack, DeactivatePerpPositionLog, DeactivateTokenPositionLog}; use crate::util; -use super::BookSideOrderTree; use super::FillEvent; use super::LeafNode; use super::PerpMarket; @@ -27,6 +26,7 @@ use super::TokenConditionalSwap; use super::TokenIndex; use super::FREE_ORDER_SLOT; use super::{dynamic_account::*, Group}; +use super::{BookSideOrderTree, OpenbookV2MarketIndex, OpenbookV2Orders}; use super::{PerpPosition, Serum3Orders, TokenPosition}; use super::{Side, SideAndOrderTree}; @@ -34,7 +34,7 @@ type BorshVecLength = u32; const BORSH_VEC_PADDING_BYTES: usize = 4; const BORSH_VEC_SIZE_BYTES: usize = 4; const DEFAULT_MANGO_ACCOUNT_VERSION: u8 = 1; -const DYNAMIC_RESERVED_BYTES: usize = 64; +const DYNAMIC_RESERVED_BYTES: usize = 56; // Return variants for check_liquidatable method, should be wrapped in a Result // for a future possiblity of returning any error @@ -183,9 +183,12 @@ pub struct MangoAccount { #[derivative(Debug = "ignore")] pub padding8: u32, pub token_conditional_swaps: Vec, + #[derivative(Debug = "ignore")] + pub padding9: u32, + pub openbook_v2: Vec, #[derivative(Debug = "ignore")] - pub reserved_dynamic: [u8; 64], + pub reserved_dynamic: [u8; 56], } impl MangoAccount { @@ -224,7 +227,9 @@ impl MangoAccount { perp_open_orders: vec![PerpOpenOrder::default(); 6], padding8: Default::default(), token_conditional_swaps: vec![TokenConditionalSwap::default(); 2], - reserved_dynamic: [0; 64], + padding9: Default::default(), + openbook_v2: vec![OpenbookV2Orders::default(); 5], + reserved_dynamic: [0; 56], } } @@ -235,6 +240,7 @@ impl MangoAccount { perp_count: u8, perp_oo_count: u8, token_conditional_swap_count: u8, + openbook_v2_count: u8, ) -> usize { 8 + size_of::() + Self::dynamic_size( @@ -243,6 +249,7 @@ impl MangoAccount { perp_count, perp_oo_count, token_conditional_swap_count, + openbook_v2_count, ) } @@ -280,7 +287,7 @@ impl MangoAccount { + BORSH_VEC_PADDING_BYTES } - pub fn dynamic_reserved_bytes_offset( + pub fn dynamic_openbook_v2_vec_offset( token_count: u8, serum3_count: u8, perp_count: u8, @@ -294,6 +301,24 @@ impl MangoAccount { perp_oo_count, ) + (BORSH_VEC_SIZE_BYTES + size_of::() * usize::from(token_conditional_swap_count)) + + BORSH_VEC_PADDING_BYTES + } + + pub fn dynamic_reserved_bytes_offset( + token_count: u8, + serum3_count: u8, + perp_count: u8, + perp_oo_count: u8, + token_conditional_swap_count: u8, + openbook_v2_count: u8, + ) -> usize { + Self::dynamic_openbook_v2_vec_offset( + token_count, + serum3_count, + perp_count, + perp_oo_count, + token_conditional_swap_count, + ) + (BORSH_VEC_SIZE_BYTES + size_of::() * usize::from(openbook_v2_count)) } pub fn dynamic_size( @@ -302,6 +327,7 @@ impl MangoAccount { perp_count: u8, perp_oo_count: u8, token_conditional_swap_count: u8, + openbook_v2_count: u8, ) -> usize { Self::dynamic_reserved_bytes_offset( token_count, @@ -309,6 +335,7 @@ impl MangoAccount { perp_count, perp_oo_count, token_conditional_swap_count, + openbook_v2_count, ) + DYNAMIC_RESERVED_BYTES } } @@ -472,6 +499,7 @@ pub struct MangoAccountDynamicHeader { pub perp_count: u8, pub perp_oo_count: u8, pub token_conditional_swap_count: u8, + pub openbook_v2_count: u8, } impl DynamicHeader for MangoAccountDynamicHeader { @@ -515,18 +543,27 @@ impl DynamicHeader for MangoAccountDynamicHeader { perp_count, perp_oo_count, ); - let token_conditional_swap_count = if dynamic_data.len() - > token_conditional_swap_vec_offset + BORSH_VEC_SIZE_BYTES - { + let token_conditional_swap_count = u8::try_from(BorshVecLength::from_le_bytes(*array_ref![ dynamic_data, token_conditional_swap_vec_offset, BORSH_VEC_SIZE_BYTES ])) - .unwrap() - } else { - 0 - }; + .unwrap(); + + let openbook_v2_vec_offset = MangoAccount::dynamic_openbook_v2_vec_offset( + token_count, + serum3_count, + perp_count, + perp_oo_count, + token_conditional_swap_count, + ); + let openbook_v2_count = u8::try_from(BorshVecLength::from_le_bytes(*array_ref![ + dynamic_data, + openbook_v2_vec_offset, + BORSH_VEC_SIZE_BYTES + ])) + .unwrap(); Ok(Self { token_count, @@ -534,6 +571,7 @@ impl DynamicHeader for MangoAccountDynamicHeader { perp_count, perp_oo_count, token_conditional_swap_count, + openbook_v2_count, }) } _ => err!(MangoError::NotImplementedError).context("unexpected header version number"), @@ -563,6 +601,7 @@ impl MangoAccountDynamicHeader { self.perp_count, self.perp_oo_count, self.token_conditional_swap_count, + self.openbook_v2_count, ) } @@ -608,6 +647,17 @@ impl MangoAccountDynamicHeader { + raw_index * size_of::() } + fn openbook_v2_offset(&self, raw_index: usize) -> usize { + MangoAccount::dynamic_openbook_v2_vec_offset( + self.token_count, + self.serum3_count, + self.perp_count, + self.perp_oo_count, + self.token_conditional_swap_count, + ) + BORSH_VEC_SIZE_BYTES + + raw_index * size_of::() + } + fn reserved_bytes_offset(&self) -> usize { MangoAccount::dynamic_reserved_bytes_offset( self.token_count, @@ -615,6 +665,7 @@ impl MangoAccountDynamicHeader { self.perp_count, self.perp_oo_count, self.token_conditional_swap_count, + self.openbook_v2_count, ) } @@ -633,6 +684,9 @@ impl MangoAccountDynamicHeader { pub fn token_conditional_swap_count(&self) -> usize { self.token_conditional_swap_count.into() } + pub fn openbook_v2_count(&self) -> usize { + self.openbook_v2_count.into() + } pub fn zero() -> Self { Self { @@ -641,11 +695,15 @@ impl MangoAccountDynamicHeader { perp_count: 0, perp_oo_count: 0, token_conditional_swap_count: 0, + openbook_v2_count: 0, } } pub fn expected_health_accounts(&self) -> usize { - self.token_count() * 2 + self.serum3_count() + self.perp_count() * 2 + self.token_count() * 2 + + self.serum3_count() + + self.perp_count() * 2 + + self.openbook_v2_count() } pub fn max_health_accounts() -> usize { @@ -921,6 +979,42 @@ impl< .ok_or_else(|| error_msg!("no free token conditional swap index")) } + pub fn openbook_v2_orders( + &self, + market_index: OpenbookV2MarketIndex, + ) -> Result<&OpenbookV2Orders> { + self.all_openbook_v2_orders() + .find(|p| p.is_active_for_market(market_index)) + .ok_or_else(|| { + error_msg!( + "openbook v2 orders for market index {} not found", + market_index + ) + }) + } + + pub(crate) fn openbook_v2_orders_by_raw_index_unchecked( + &self, + raw_index: usize, + ) -> &OpenbookV2Orders { + get_helper(self.dynamic(), self.header().openbook_v2_offset(raw_index)) + } + + pub fn openbook_v2_orders_by_raw_index(&self, raw_index: usize) -> Result<&OpenbookV2Orders> { + require_gt!(self.header().openbook_v2_count(), raw_index); + Ok(self.openbook_v2_orders_by_raw_index_unchecked(raw_index)) + } + + pub fn all_openbook_v2_orders(&self) -> impl Iterator + '_ { + (0..self.header().openbook_v2_count()) + .map(|i| self.openbook_v2_orders_by_raw_index_unchecked(i)) + } + + pub fn active_openbook_v2_orders(&self) -> impl Iterator + '_ { + self.all_openbook_v2_orders() + .filter(|openbook_v2_order| openbook_v2_order.is_active()) + } + pub fn borrow(&self) -> MangoAccountRef { MangoAccountRef { header: self.header(), @@ -1121,6 +1215,67 @@ impl< .ok_or_else(|| error_msg!("serum3 orders for market index {} not found", market_index)) } + // get mut OpenbookV2Orders at raw_index + pub fn openbook_v2_orders_mut_by_raw_index( + &mut self, + raw_index: usize, + ) -> &mut OpenbookV2Orders { + let offset = self.header().openbook_v2_offset(raw_index); + get_helper_mut(self.dynamic_mut(), offset) + } + + pub fn create_openbook_v2_orders( + &mut self, + market_index: OpenbookV2MarketIndex, + ) -> Result<&mut OpenbookV2Orders> { + if self.openbook_v2_orders(market_index).is_ok() { + return err!(MangoError::OpenbookV2OpenOrdersExistAlready); + } + + let raw_index_opt = self.all_openbook_v2_orders().position(|p| !p.is_active()); + if let Some(raw_index) = raw_index_opt { + *(self.openbook_v2_orders_mut_by_raw_index(raw_index)) = OpenbookV2Orders { + market_index: market_index as OpenbookV2MarketIndex, + ..OpenbookV2Orders::default() + }; + Ok(self.openbook_v2_orders_mut_by_raw_index(raw_index)) + } else { + err!(MangoError::NoFreeOpenbookV2OpenOrdersIndex) + } + } + + pub fn deactivate_openbook_v2_orders( + &mut self, + market_index: OpenbookV2MarketIndex, + ) -> Result<()> { + let raw_index = self + .all_openbook_v2_orders() + .position(|p| p.is_active_for_market(market_index)) + .ok_or_else(|| { + error_msg!("openbook v2 open orders index {} not found", market_index) + })?; + self.openbook_v2_orders_mut_by_raw_index(raw_index) + .market_index = OpenbookV2MarketIndex::MAX; + Ok(()) + } + + pub fn openbook_v2_orders_mut( + &mut self, + market_index: OpenbookV2MarketIndex, + ) -> Result<&mut OpenbookV2Orders> { + let raw_index_opt = self + .all_openbook_v2_orders() + .position(|p| p.is_active_for_market(market_index)); + raw_index_opt + .map(|raw_index| self.openbook_v2_orders_mut_by_raw_index(raw_index)) + .ok_or_else(|| { + error_msg!( + "openbook v2 orders for market index {} not found", + market_index + ) + }) + } + // get mut PerpPosition at raw_index pub fn perp_position_mut_by_raw_index(&mut self, raw_index: usize) -> &mut PerpPosition { let offset = self.header().perp_offset(raw_index); @@ -1529,6 +1684,12 @@ impl< self.write_borsh_vec_length_and_padding(offset, count) } + fn write_openbook_v2_length(&mut self) { + let offset = self.header().openbook_v2_offset(0); + let count = self.header().openbook_v2_count; + self.write_borsh_vec_length_and_padding(offset, count) + } + pub fn resize_dynamic_content( &mut self, new_token_count: u8, @@ -1536,6 +1697,7 @@ impl< new_perp_count: u8, new_perp_oo_count: u8, new_token_conditional_swap_count: u8, + new_openbook_v2_count: u8, ) -> Result<()> { let new_header = MangoAccountDynamicHeader { token_count: new_token_count, @@ -1543,6 +1705,7 @@ impl< perp_count: new_perp_count, perp_oo_count: new_perp_oo_count, token_conditional_swap_count: new_token_conditional_swap_count, + openbook_v2_count: new_openbook_v2_count, }; let old_header = self.header().clone(); @@ -1663,12 +1826,33 @@ impl< active_tcs += 1; } + let mut active_openbook_v2_orders = 0; + for i in 0..old_header.openbook_v2_count() { + let src = old_header.openbook_v2_offset(i); + let pos: &OpenbookV2Orders = get_helper(dynamic, src); + if !pos.is_active() { + continue; + } + if i != active_openbook_v2_orders { + let dst = old_header.openbook_v2_offset(active_openbook_v2_orders); + unsafe { + sol_memmove( + &mut dynamic[dst], + &mut dynamic[src], + size_of::(), + ); + } + } + active_openbook_v2_orders += 1; + } + // Check that the new allocations can fit the existing data require_gte!(new_header.token_count(), active_token_positions); require_gte!(new_header.serum3_count(), active_serum3_orders); require_gte!(new_header.perp_count(), active_perp_positions); require_gte!(new_header.perp_oo_count(), blocked_perp_oo); require_gte!(new_header.token_conditional_swap_count(), active_tcs); + require_gte!(new_header.openbook_v2_count(), active_openbook_v2_orders); // First move pass: go left-to-right and move any blocks that need to be moved // to the left. This will never overwrite other data, because: @@ -1726,6 +1910,18 @@ impl< ); } } + + let old_openbook_v2_start = old_header.openbook_v2_offset(0); + let new_openbook_v2_start = new_header.openbook_v2_offset(0); + if new_openbook_v2_start < old_openbook_v2_start && active_openbook_v2_orders > 0 { + unsafe { + sol_memmove( + &mut dynamic[new_openbook_v2_start], + &mut dynamic[old_openbook_v2_start], + size_of::() * active_openbook_v2_orders, + ); + } + } } // Second move pass: Go right-to-left and move everything to the right if needed. @@ -1735,6 +1931,18 @@ impl< // - if the block to the right was moved to the left, we know that its start will // be >= our block's end { + let old_openbook_v2_start = old_header.openbook_v2_offset(0); + let new_openbook_v2_start = new_header.openbook_v2_offset(0); + if new_openbook_v2_start > old_openbook_v2_start && active_openbook_v2_orders > 0 { + unsafe { + sol_memmove( + &mut dynamic[new_openbook_v2_start], + &mut dynamic[old_openbook_v2_start], + size_of::() * active_openbook_v2_orders, + ); + } + } + let old_tcs_start = old_header.token_conditional_swap_offset(0); let new_tcs_start = new_header.token_conditional_swap_offset(0); if new_tcs_start > old_tcs_start && active_tcs > 0 { @@ -1804,6 +2012,10 @@ impl< *get_helper_mut(dynamic, new_header.token_conditional_swap_offset(i)) = TokenConditionalSwap::default(); } + for i in active_openbook_v2_orders..new_header.openbook_v2_count() { + *get_helper_mut(dynamic, new_header.openbook_v2_offset(i)) = + OpenbookV2Orders::default(); + } } { let offset = new_header.reserved_bytes_offset(); @@ -1820,6 +2032,7 @@ impl< self.write_perp_length(); self.write_perp_oo_length(); self.write_token_conditional_swap_length(); + self.write_openbook_v2_length(); Ok(()) } @@ -1905,7 +2118,9 @@ mod tests { account.perps.len() as u8, account.perp_open_orders.len() as u8, account.token_conditional_swaps.len() as u8, + account.openbook_v2.len() as u8, ); + assert_eq!(expected_space, 8 + bytes.len()); MangoAccountValue::from_bytes(&bytes).unwrap() @@ -1940,7 +2155,10 @@ mod tests { account.token_conditional_swaps[0].buy_token_index = 14; let account_bytes = AnchorSerialize::try_to_vec(&account).unwrap(); - assert_eq!(8 + account_bytes.len(), MangoAccount::space(8, 8, 4, 8, 12)); + assert_eq!( + 8 + account_bytes.len(), + MangoAccount::space(8, 8, 4, 8, 12, 5) + ); let account2 = MangoAccountValue::from_bytes(&account_bytes).unwrap(); assert_eq!(account.group, account2.fixed.group); @@ -2286,6 +2504,62 @@ mod tests { assert_eq!(tcs.id, 123); // old data } + #[test] + fn test_openbook_v2_orders() { + let mut account = make_test_account(); + assert!(account.openbook_v2_orders(1).is_err()); + assert!(account.openbook_v2_orders_mut(3).is_err()); + + // When we make the test account we zero init the dynamic section. + // This would never happen outside of tests. If it did we would incorrectly think the orders slot is active. + // assert_eq!( + // account.openbook_v2_orders_by_raw_index_unchecked(0).market_index, + // OpenbookV2MarketIndex::MAX + // ); + + assert_eq!( + account.create_openbook_v2_orders(1).unwrap().market_index, + 1 + ); + assert_eq!( + account.create_openbook_v2_orders(7).unwrap().market_index, + 7 + ); + assert_eq!( + account.create_openbook_v2_orders(42).unwrap().market_index, + 42 + ); + assert!(account.create_openbook_v2_orders(7).is_err()); + assert_eq!(account.active_openbook_v2_orders().count(), 3); + + assert!(account.deactivate_openbook_v2_orders(7).is_ok()); + assert_eq!( + account + .openbook_v2_orders_by_raw_index_unchecked(1) + .market_index, + OpenbookV2MarketIndex::MAX + ); + assert!(account.create_openbook_v2_orders(8).is_ok()); + assert_eq!( + account + .openbook_v2_orders_by_raw_index_unchecked(1) + .market_index, + 8 + ); + + assert_eq!(account.active_openbook_v2_orders().count(), 3); + assert!(account.deactivate_openbook_v2_orders(1).is_ok()); + assert!(account.openbook_v2_orders(1).is_err()); + assert!(account.openbook_v2_orders_mut(1).is_err()); + assert!(account.openbook_v2_orders(8).is_ok()); + assert!(account.openbook_v2_orders(42).is_ok()); + assert_eq!(account.active_openbook_v2_orders().count(), 2); + + assert_eq!(account.openbook_v2_orders_mut(42).unwrap().market_index, 42); + assert_eq!(account.openbook_v2_orders_mut(8).unwrap().market_index, 8); + assert!(account.openbook_v2_orders_mut(7).is_err()); + } + fn make_resize_test_account(header: &MangoAccountDynamicHeader) -> MangoAccountValue { let mut account = MangoAccount::default_for_tests(); account @@ -2300,6 +2574,9 @@ mod tests { account .perp_open_orders .resize(header.perp_oo_count(), PerpOpenOrder::default()); + account + .openbook_v2 + .resize(header.openbook_v2_count(), OpenbookV2Orders::default()); let mut bytes = AnchorSerialize::try_to_vec(&account).unwrap(); // The MangoAccount struct is missing some dynamic fields, add space for them @@ -2310,14 +2587,23 @@ mod tests { let (fixed, dynamic) = bytes.split_at_mut(size_of::()); let mut out_header = MangoAccountDynamicHeader::from_bytes(dynamic).unwrap(); out_header.token_conditional_swap_count = header.token_conditional_swap_count; + out_header.openbook_v2_count = header.openbook_v2_count; let mut account = MangoAccountRefMut { header: &mut out_header, fixed: bytemuck::from_bytes_mut(fixed), dynamic, }; account.write_token_conditional_swap_length(); + account.write_openbook_v2_length(); - MangoAccountValue::from_bytes(&bytes).unwrap() + let mut account = MangoAccountValue::from_bytes(&bytes).unwrap(); + + // Initialize the openbook orders with defaults as they would be in the program + for i in 0..header.openbook_v2_count() { + *account.openbook_v2_orders_mut_by_raw_index(i) = OpenbookV2Orders::default(); + } + + account } fn check_account_active_and_order( @@ -2428,6 +2714,7 @@ mod tests { perp_count: 6, perp_oo_count: 7, token_conditional_swap_count: 8, + openbook_v2_count: 5, }; let mut account = make_resize_test_account(&header); @@ -2466,12 +2753,18 @@ mod tests { make_tcs(2, 0); make_tcs(4, 1); + account.create_openbook_v2_orders(0)?; + account.create_openbook_v2_orders(7)?; + account.create_openbook_v2_orders(1)?; + *account.openbook_v2_orders_mut_by_raw_index(1) = OpenbookV2Orders::default(); + let active = MangoAccountDynamicHeader { token_count: 2, serum3_count: 2, perp_count: 4, perp_oo_count: 5, token_conditional_swap_count: 2, + openbook_v2_count: 2, }; // Resizing to the same size just removes the empty spaces @@ -2483,6 +2776,7 @@ mod tests { header.perp_count, header.perp_oo_count, header.token_conditional_swap_count, + header.openbook_v2_count, )?; check_account_active_and_order(&ta, &active)?; } @@ -2496,6 +2790,7 @@ mod tests { active.perp_count, active.perp_oo_count, active.token_conditional_swap_count, + active.openbook_v2_count, )?; check_account_active_and_order(&ta, &active)?; } @@ -2509,6 +2804,7 @@ mod tests { active.perp_count, active.perp_oo_count, active.token_conditional_swap_count, + active.openbook_v2_count, ) .unwrap_err(); ta.resize_dynamic_content( @@ -2517,6 +2813,7 @@ mod tests { active.perp_count, active.perp_oo_count, active.token_conditional_swap_count, + active.openbook_v2_count, ) .unwrap_err(); ta.resize_dynamic_content( @@ -2525,6 +2822,7 @@ mod tests { active.perp_count - 1, active.perp_oo_count, active.token_conditional_swap_count, + active.openbook_v2_count, ) .unwrap_err(); ta.resize_dynamic_content( @@ -2533,6 +2831,7 @@ mod tests { active.perp_count, active.perp_oo_count - 1, active.token_conditional_swap_count, + active.openbook_v2_count, ) .unwrap_err(); ta.resize_dynamic_content( @@ -2541,6 +2840,16 @@ mod tests { active.perp_count, active.perp_oo_count, active.token_conditional_swap_count - 1, + active.openbook_v2_count, + ) + .unwrap_err(); + ta.resize_dynamic_content( + active.token_count, + active.serum3_count, + active.perp_count, + active.perp_oo_count, + active.token_conditional_swap_count, + active.openbook_v2_count - 1, ) .unwrap_err(); } @@ -2559,6 +2868,7 @@ mod tests { perp_count: 4, perp_oo_count: 8, token_conditional_swap_count: 4, + openbook_v2_count: 2, }; let mut account = make_resize_test_account(&header); @@ -2569,6 +2879,7 @@ mod tests { perp_oo_count: rng.gen_range(0..header.perp_oo_count + 1), token_conditional_swap_count: rng .gen_range(0..header.token_conditional_swap_count + 1), + openbook_v2_count: rng.gen_range(0..header.openbook_v2_count + 1), }; let options = (0..header.token_count()).collect_vec(); @@ -2603,12 +2914,21 @@ mod tests { tcs.id = i as u64; } + let options = (0..header.openbook_v2_count()).collect_vec(); + let selected = options.choose_multiple(&mut rng, active.openbook_v2_count()); + for (i, index) in selected.sorted().enumerate() { + account + .openbook_v2_orders_mut_by_raw_index(*index) + .market_index = i as OpenbookV2MarketIndex; + } + let target = MangoAccountDynamicHeader { token_count: rng.gen_range(active.token_count..6), - serum3_count: rng.gen_range(active.serum3_count..7), + serum3_count: rng.gen_range(active.serum3_count..6), perp_count: rng.gen_range(active.perp_count..6), perp_oo_count: rng.gen_range(active.perp_oo_count..16), - token_conditional_swap_count: rng.gen_range(active.token_conditional_swap_count..8), + token_conditional_swap_count: rng.gen_range(active.token_conditional_swap_count..6), + openbook_v2_count: rng.gen_range(active.openbook_v2_count..4), }; let target_size = target.account_size(); @@ -2625,6 +2945,7 @@ mod tests { target.perp_count, target.perp_oo_count, target.token_conditional_swap_count, + target.openbook_v2_count, ) .unwrap(); @@ -2881,7 +3202,7 @@ mod tests { // Grab live accounts with // solana account CZGf1qbYPaSoabuA1EmdN8W5UHvH5CeXcNZ7RTx65aVQ --output-file programs/mango-v4/resources/test/mangoaccount-v0.21.3.bin - let fixtures = vec!["mangoaccount-v0.21.3"]; + let fixtures = vec!["mangoaccount-v0.21.3", "mangoaccount-v0.23.0"]; for fixture in fixtures { let filename = format!("resources/test/{}.bin", fixture); @@ -2938,6 +3259,12 @@ mod tests { .cloned() .collect_vec(), + padding9: Default::default(), + openbook_v2: zerocopy_reader + .all_openbook_v2_orders() + .cloned() + .collect_vec(), + reserved_dynamic: zerocopy_reader.dynamic_reserved_bytes().try_into().unwrap(), }; @@ -2955,3 +3282,17 @@ mod tests { Ok(()) } } + +#[macro_export] +macro_rules! mango_account_seeds { + ( $account:expr ) => { + &[ + b"MangoAccount".as_ref(), + $account.group.as_ref(), + $account.owner.as_ref(), + &$account.account_num.to_le_bytes(), + &[$account.bump], + ] + }; +} +pub use mango_account_seeds; diff --git a/programs/mango-v4/src/state/mango_account_components.rs b/programs/mango-v4/src/state/mango_account_components.rs index 987f0e8a7d..6f23297ffc 100644 --- a/programs/mango-v4/src/state/mango_account_components.rs +++ b/programs/mango-v4/src/state/mango_account_components.rs @@ -202,6 +202,101 @@ impl Default for Serum3Orders { } } +#[zero_copy] +#[derive(AnchorSerialize, AnchorDeserialize, Derivative, PartialEq)] +#[derivative(Debug)] +pub struct OpenbookV2Orders { + pub open_orders: Pubkey, + + /// Tracks the amount of borrows that have flowed into the open orders account. + /// These borrows did not have the loan origination fee applied, and that may happen + /// later (in openbook_v2_settle_funds) if we can guarantee that the funds were used. + /// In particular a place-on-book, cancel, settle should not cost fees. + pub base_borrows_without_fee: u64, + pub quote_borrows_without_fee: u64, + + /// Track something like the highest open bid / lowest open ask, in native/native units. + /// + /// Tracking it exactly isn't possible since we don't see fills. So instead track + /// the min/max of the _placed_ bids and asks. + /// + /// The value is reset in openbook_v2_place_order when a new order is placed without an + /// existing one on the book. + /// + /// 0 is a special "unset" state. + pub highest_placed_bid_inv: f64, + pub lowest_placed_ask: f64, + + /// An overestimate of the amount of tokens that might flow out of the open orders account. + /// + /// The bank still considers these amounts user deposits (see Bank::potential_openbook_tokens) + /// and that value needs to be updated in conjunction with these numbers. + /// + /// This estimation is based on the amount of tokens in the open orders account + /// (see update_bank_potential_tokens() in openbook_v2_place_order and settle) + pub potential_base_tokens: u64, + pub potential_quote_tokens: u64, + + /// Track lowest bid/highest ask, same way as for highest bid/lowest ask. + /// + /// 0 is a special "unset" state. + pub lowest_placed_bid_inv: f64, + pub highest_placed_ask: f64, + + /// Stores the market's lot sizes + /// + /// Needed because the obv2 open orders account tells us about reserved amounts in lots and + /// we want to be able to compute health without also loading the obv2 market. + pub quote_lot_size: i64, + pub base_lot_size: i64, + + pub market_index: OpenbookV2MarketIndex, + + /// Store the base/quote token index, so health computations don't need + /// to get passed the static SerumMarket to find which tokens a market + /// uses and look up the correct oracles. + pub base_token_index: TokenIndex, + pub quote_token_index: TokenIndex, + + #[derivative(Debug = "ignore")] + pub reserved: [u8; 162], +} +const_assert_eq!(size_of::(), 32 + 8 * 10 + 2 * 3 + 162); +const_assert_eq!(size_of::(), 280); +const_assert_eq!(size_of::() % 8, 0); + +impl OpenbookV2Orders { + pub fn is_active(&self) -> bool { + self.market_index != OpenbookV2MarketIndex::MAX + } + + pub fn is_active_for_market(&self, market_index: OpenbookV2MarketIndex) -> bool { + self.market_index == market_index + } +} + +impl Default for OpenbookV2Orders { + fn default() -> Self { + Self { + open_orders: Pubkey::default(), + market_index: OpenbookV2MarketIndex::MAX, + base_token_index: TokenIndex::MAX, + quote_token_index: TokenIndex::MAX, + base_borrows_without_fee: 0, + quote_borrows_without_fee: 0, + highest_placed_bid_inv: 0.0, + lowest_placed_bid_inv: 0.0, + highest_placed_ask: 0.0, + lowest_placed_ask: 0.0, + potential_base_tokens: 0, + potential_quote_tokens: 0, + quote_lot_size: 0, + base_lot_size: 0, + reserved: [0; 162], + } + } +} + #[zero_copy] #[derive(AnchorSerialize, AnchorDeserialize, Derivative, PartialEq)] #[derivative(Debug)] diff --git a/programs/mango-v4/src/state/openbook_v2_market.rs b/programs/mango-v4/src/state/openbook_v2_market.rs index b2e33d1981..28cd63e479 100644 --- a/programs/mango-v4/src/state/openbook_v2_market.rs +++ b/programs/mango-v4/src/state/openbook_v2_market.rs @@ -15,28 +15,30 @@ pub struct OpenbookV2Market { pub base_token_index: TokenIndex, // ABI: Clients rely on this being at offset 42 pub quote_token_index: TokenIndex, + pub market_index: OpenbookV2MarketIndex, pub reduce_only: u8, pub force_close: u8, - pub padding1: [u8; 2], pub name: [u8; 16], pub openbook_v2_program: Pubkey, pub openbook_v2_market_external: Pubkey, - pub market_index: OpenbookV2MarketIndex, - - pub bump: u8, + pub registration_time: u64, - pub padding2: [u8; 5], + /// Limit orders must be <= oracle * (1+band) and >= oracle / (1+band) + /// + /// Zero value is the default due to migration and disables the limit, + /// same as f32::MAX. + pub oracle_price_band: f32, - pub registration_time: u64, + pub bump: u8, - pub reserved: [u8; 512], + pub reserved: [u8; 1027], } const_assert_eq!( size_of::(), - 32 + 2 + 2 + 1 + 3 + 16 + 2 * 32 + 2 + 1 + 5 + 8 + 512 + 32 + 2 * 3 + 1 * 2 + 1 * 16 + 32 * 2 + 8 + 4 + 1 + 1027 ); -const_assert_eq!(size_of::(), 648); +const_assert_eq!(size_of::(), 1160); const_assert_eq!(size_of::() % 8, 0); impl OpenbookV2Market { @@ -53,6 +55,14 @@ impl OpenbookV2Market { pub fn is_force_close(&self) -> bool { self.force_close == 1 } + + pub fn oracle_price_band(&self) -> f32 { + if self.oracle_price_band == 0.0 { + f32::MAX // default disabled + } else { + self.oracle_price_band + } + } } #[account(zero_copy)] diff --git a/programs/mango-v4/tests/cases/mod.rs b/programs/mango-v4/tests/cases/mod.rs index bf15b1ac0a..596831bf48 100644 --- a/programs/mango-v4/tests/cases/mod.rs +++ b/programs/mango-v4/tests/cases/mod.rs @@ -32,6 +32,7 @@ mod test_liq_perps_force_cancel; mod test_liq_perps_positive_pnl; mod test_liq_tokens; mod test_margin_trade; +mod test_openbook_v2; mod test_perp; mod test_perp_settle; mod test_perp_settle_fees; diff --git a/programs/mango-v4/tests/cases/test_basic.rs b/programs/mango-v4/tests/cases/test_basic.rs index c2ba99091f..dd86055f23 100644 --- a/programs/mango-v4/tests/cases/test_basic.rs +++ b/programs/mango-v4/tests/cases/test_basic.rs @@ -1,5 +1,5 @@ use super::*; - +use mango_client::StubOracleCloseInstruction; // This is an unspecific happy-case test that just runs a few instructions to check // that they work in principle. It should be split up / renamed. #[tokio::test] @@ -38,6 +38,7 @@ async fn test_basic() -> Result<(), TransportError> { perp_count: 3, perp_oo_count: 3, token_conditional_swap_count: 3, + openbook_v2_count: 3, group, owner, payer, @@ -339,6 +340,7 @@ async fn test_account_size_migration() -> Result<(), TransportError> { perp_count: 3, perp_oo_count: 3, token_conditional_swap_count: 3, + openbook_v2_count: 3, group, owner, payer, @@ -367,9 +369,9 @@ async fn test_account_size_migration() -> Result<(), TransportError> { for _ in 0..10 { new_bytes.extend_from_slice(&bytemuck::bytes_of(&PerpPosition::default())); } - // remove the 64 reserved bytes at the end + // remove the 56 reserved bytes at the end new_bytes - .extend_from_slice(&mango_account.dynamic[perp_start..mango_account.dynamic.len() - 64]); + .extend_from_slice(&mango_account.dynamic[perp_start..mango_account.dynamic.len() - 56]); account_raw.data = new_bytes.clone(); account_raw.lamports = 1_000_000_000; // 1 SOL is enough @@ -976,6 +978,7 @@ async fn test_sequence_check() -> Result<(), TransportError> { perp_count: 3, perp_oo_count: 3, token_conditional_swap_count: 3, + openbook_v2_count: 3, group, owner, payer, diff --git a/programs/mango-v4/tests/cases/test_health_compute.rs b/programs/mango-v4/tests/cases/test_health_compute.rs index f72eaba49c..16833cd12a 100644 --- a/programs/mango-v4/tests/cases/test_health_compute.rs +++ b/programs/mango-v4/tests/cases/test_health_compute.rs @@ -1,5 +1,6 @@ use super::*; use anchor_lang::prelude::AccountMeta; +use mango_client::StubOracleCreate; use mango_v4::accounts_ix::{Serum3OrderType, Serum3SelfTradeBehavior, Serum3Side}; async fn deposit_cu_datapoint( diff --git a/programs/mango-v4/tests/cases/test_openbook_v2.rs b/programs/mango-v4/tests/cases/test_openbook_v2.rs new file mode 100644 index 0000000000..2af6a340ba --- /dev/null +++ b/programs/mango-v4/tests/cases/test_openbook_v2.rs @@ -0,0 +1,2031 @@ +#![allow(dead_code)] +use super::*; +use anchor_lang::prelude::AccountMeta; +use mango_client::send_tx; +use mango_v4::accounts_ix::{ + OpenbookV2PlaceOrderType, OpenbookV2SelfTradeBehavior, OpenbookV2Side, +}; +use mango_v4::serum3_cpi::{OpenOrdersAmounts, OpenOrdersSlim}; +use openbook_v2::state::Side; +use std::sync::Arc; + +struct OpenbookV2OrderPlacer { + solana: Arc, + openbook: Arc, + account: Pubkey, + group: Pubkey, + owner: TestKeypair, + openbook_market: Pubkey, + openbook_market_external: Pubkey, + open_orders: Pubkey, + next_client_order_id: u64, +} + +impl OpenbookV2OrderPlacer { + fn inc_client_order_id(&mut self) -> u64 { + let id = self.next_client_order_id; + self.next_client_order_id += 1; + id + } + + async fn find_order_id_for_client_order_id(&self, client_order_id: u64) -> Option<(u128, u64)> { + println!("finding {}", client_order_id); + let open_orders = self.openbook.load_open_orders(self.open_orders).await; + println!( + "in {:?}", + open_orders + .all_orders_in_use() + .map(|o| o.client_id) + .collect_vec() + ); + match open_orders.find_order_with_client_order_id(client_order_id) { + Some(order) => return Some((order.id, client_order_id)), + None => return None, + } + } + + async fn try_bid( + &mut self, + limit_price: f64, + max_base: i64, + taker: bool, + ) -> Result { + let client_order_id = self.inc_client_order_id(); + let fees = if taker { 0.0004 } else { 0.0 }; + send_tx( + &self.solana, + OpenbookV2PlaceOrderInstruction { + side: OpenbookV2Side::Bid, + price_lots: (limit_price * 100.0 / 10.0) as i64, // in quote_lot (10) per base lot (100) + max_base_lots: max_base / 100, // in base lot (100) + // 4 bps taker fees added in + max_quote_lots_including_fees: (limit_price * (max_base as f64) * (1.0 + fees) + / 10.0) + .ceil() as i64, + client_order_id, + limit: 10, + account: self.account, + expiry_timestamp: 0, + owner: self.owner, + openbook_v2_market: self.openbook_market, + reduce_only: false, + order_type: OpenbookV2PlaceOrderType::Limit, + self_trade_behavior: OpenbookV2SelfTradeBehavior::AbortTransaction, + }, + ) + .await + } + + async fn bid_maker(&mut self, limit_price: f64, max_base: i64) -> Option<(u128, u64)> { + self.try_bid(limit_price, max_base, false).await.unwrap(); + self.find_order_id_for_client_order_id(self.next_client_order_id - 1) + .await + } + + async fn bid_taker(&mut self, limit_price: f64, max_base: i64) { + self.try_bid(limit_price, max_base, true).await.unwrap(); + } + + async fn try_ask( + &mut self, + limit_price: f64, + max_base: i64, + taker: bool, + ) -> Result { + let client_order_id = self.inc_client_order_id(); + let fees = if taker { 0.0004 } else { 0.0 }; + send_tx( + &self.solana, + OpenbookV2PlaceOrderInstruction { + side: OpenbookV2Side::Ask, + price_lots: (limit_price * 100.0 / 10.0) as i64, // in quote_lot (10) per base lot (100) + max_base_lots: max_base / 100, // in base lot (100) + max_quote_lots_including_fees: (limit_price * (max_base as f64) * (1.0 + fees) + / 10.0) + .ceil() as i64, + client_order_id, + limit: 10, + account: self.account, + expiry_timestamp: 0, + owner: self.owner, + openbook_v2_market: self.openbook_market, + reduce_only: false, + order_type: OpenbookV2PlaceOrderType::Limit, + self_trade_behavior: OpenbookV2SelfTradeBehavior::AbortTransaction, + }, + ) + .await + } + + async fn ask_taker(&mut self, limit_price: f64, max_base: i64) { + self.try_ask(limit_price, max_base, true).await.unwrap(); + } + + async fn ask_maker(&mut self, limit_price: f64, max_base: i64) -> Option<(u128, u64)> { + self.try_ask(limit_price, max_base, false).await.unwrap(); + self.find_order_id_for_client_order_id(self.next_client_order_id - 1) + .await + } + + async fn cancel(&self, order_id: u128) { + let side = { + let open_orders = self.openbook.load_open_orders(self.open_orders).await; + open_orders + .find_order_with_order_id(order_id) + .unwrap() + .side_and_tree() + .side() + }; + send_tx( + &self.solana, + OpenbookV2CancelOrderInstruction { + side: match side { + Side::Ask => OpenbookV2Side::Ask, + Side::Bid => OpenbookV2Side::Bid, + }, + order_id, + account: self.account, + payer: self.owner, + openbook_v2_market: self.openbook_market, + }, + ) + .await + .unwrap(); + } + + async fn cancel_all(&self) { + send_tx( + &self.solana, + OpenbookV2CancelAllOrdersInstruction { + side_opt: None, + limit: 16, + account: self.account, + payer: self.owner, + openbook_v2_market: self.openbook_market, + }, + ) + .await + .unwrap(); + } + + async fn settle(&self, fees_to_dao: bool) { + send_tx( + &self.solana, + OpenbookV2SettleFundsInstruction { + owner: self.owner, + account: self.account, + openbook_v2_market: self.openbook_market, + fees_to_dao: fees_to_dao, + }, + ) + .await + .unwrap(); + } + + async fn mango_openbook_orders(&self) -> OpenbookV2Orders { + let account_data = get_mango_account(&self.solana, self.account).await; + let orders = account_data + .all_openbook_v2_orders() + .find(|s| s.open_orders == self.open_orders) + .unwrap(); + orders.clone() + } + + async fn open_orders(&self) -> OpenOrdersSlim { + let data = self + .solana + .get_account::(self.open_orders) + .await; + OpenOrdersSlim::from_oo_v2(&data, 100, 10) + } +} + +#[tokio::test] +async fn test_openbook_basics() -> Result<(), TransportError> { + let mut test_builder = TestContextBuilder::new(); + test_builder.test().set_compute_max_units(200_000); + let context = test_builder.start_default().await; + let solana = &context.solana.clone(); + + let admin = TestKeypair::new(); + let owner = context.users[0].key; + let payer = context.users[1].key; + let mints = &context.mints[0..2]; + + // + // SETUP: Create a group and an account + // + + let GroupWithTokens { group, tokens, .. } = GroupWithTokensConfig { + admin, + payer, + mints: mints.to_vec(), + ..GroupWithTokensConfig::default() + } + .create(solana) + .await; + let base_token = &tokens[0]; + let quote_token = &tokens[1]; + + // + // SETUP: Create openbook market + // + let openbook_market_cookie = context + .openbook + .list_spot_market("e_token.mint, &base_token.mint, payer) + .await; + + // + // TEST: Register a openbook market + // + let openbook_v2_market = send_tx( + solana, + OpenbookV2RegisterMarketInstruction { + group, + admin, + openbook_v2_program: context.openbook.program_id, + openbook_v2_market_external: openbook_market_cookie.market, + market_index: 0, + base_bank: base_token.bank, + quote_bank: quote_token.bank, + payer, + }, + ) + .await + .unwrap() + .openbook_v2_market; + + // + // SETUP: Create account + // + let deposit_amount = 1000; + let account = create_funded_account( + &solana, + group, + owner, + 0, + &context.users[1], + mints, + deposit_amount, + 0, + ) + .await; + + // + // TEST: Create an open orders account + // + let open_orders_account = send_tx( + solana, + OpenbookV2CreateOpenOrdersInstruction { + group, + payer, + owner, + account, + openbook_v2_market, + openbook_v2_program: context.openbook.program_id, + openbook_v2_market_external: openbook_market_cookie.market, + next_open_orders_index: 1, + }, + ) + .await + .unwrap() + .open_orders_account; + + let account_data = get_mango_account(solana, account).await; + assert_eq!( + account_data + .active_openbook_v2_orders() + .map(|v| (v.open_orders, v.market_index)) + .collect::>(), + [(open_orders_account, 0)] + ); + + let mut order_placer = OpenbookV2OrderPlacer { + solana: solana.clone(), + openbook: context.openbook.clone(), + account, + group, + owner, + openbook_market: openbook_v2_market, + openbook_market_external: openbook_market_cookie.market, + open_orders: open_orders_account, + next_client_order_id: 0, + }; + + // + // TEST: Place an order + // + let (order_id, _) = order_placer.bid_maker(0.9, 100).await.unwrap(); + check_prev_instruction_post_health(&solana, account).await; + + let native0 = account_position(solana, account, base_token.bank).await; + let native1 = account_position(solana, account, quote_token.bank).await; + assert_eq!(native0, 1000); + assert_eq!(native1, 910); + + let account_data = get_mango_account(solana, account).await; + assert_eq!( + account_data + .token_position_by_raw_index(0) + .unwrap() + .in_use_count, + 1 + ); + assert_eq!( + account_data + .token_position_by_raw_index(1) + .unwrap() + .in_use_count, + 1 + ); + assert_eq!( + account_data + .token_position_by_raw_index(2) + .unwrap() + .in_use_count, + 0 + ); + let openbook_orders = account_data.openbook_v2_orders_by_raw_index(0).unwrap(); + assert_eq!(openbook_orders.base_borrows_without_fee, 0); + assert_eq!(openbook_orders.quote_borrows_without_fee, 0); + assert_eq!(openbook_orders.potential_base_tokens, 100); + assert_eq!(openbook_orders.potential_quote_tokens, 90); + + let base_bank = solana.get_account::(base_token.bank).await; + assert_eq!(base_bank.potential_openbook_tokens, 100); + let quote_bank = solana.get_account::(quote_token.bank).await; + assert_eq!(quote_bank.potential_openbook_tokens, 90); + + assert!(order_id != 0); + + // + // TEST: Cancel the order + // + order_placer.cancel(order_id).await; + + // + // TEST: Settle, moving the freed up funds back + // + order_placer.settle(false).await; + + let native0 = account_position(solana, account, base_token.bank).await; + let native1 = account_position(solana, account, quote_token.bank).await; + assert_eq!(native0, 1000); + assert_eq!(native1, 1000); + + let account_data = get_mango_account(solana, account).await; + let openbook_orders = account_data.openbook_v2_orders_by_raw_index(0).unwrap(); + assert_eq!(openbook_orders.base_borrows_without_fee, 0); + assert_eq!(openbook_orders.quote_borrows_without_fee, 0); + assert_eq!(openbook_orders.potential_base_tokens, 0); + assert_eq!(openbook_orders.potential_quote_tokens, 0); + + let base_bank = solana.get_account::(base_token.bank).await; + assert_eq!(base_bank.potential_openbook_tokens, 0); + let quote_bank = solana.get_account::(quote_token.bank).await; + assert_eq!(quote_bank.potential_openbook_tokens, 0); + + // Process events such that the OutEvent deactivates the closed order on open_orders + context + .openbook + .consume_spot_events(&openbook_market_cookie, 16) + .await; + + // close oo account + send_tx( + solana, + OpenbookV2CloseOpenOrdersInstruction { + account, + openbook_v2_market, + owner, + sol_destination: owner.pubkey(), + }, + ) + .await + .unwrap(); + + let account_data = get_mango_account(solana, account).await; + assert_eq!( + account_data + .token_position_by_raw_index(0) + .unwrap() + .in_use_count, + 0 + ); + assert_eq!( + account_data + .token_position_by_raw_index(1) + .unwrap() + .in_use_count, + 0 + ); + + // deregister market + send_tx( + solana, + OpenbookV2DeregisterMarketInstruction { + group, + admin, + payer, + openbook_v2_market_external: openbook_market_cookie.market, + market_index: 0, + }, + ) + .await + .unwrap(); + + Ok(()) +} + +#[tokio::test] +async fn test_openbook_loan_origination_fees() -> Result<(), TransportError> { + let mut test_builder = TestContextBuilder::new(); + test_builder.test().set_compute_max_units(150_000); + let context = test_builder.start_default().await; + let solana = &context.solana.clone(); + + // + // SETUP: Create a group, accounts, market etc + // + let deposit_amount = 180000; + let CommonSetup { + openbook_market_cookie, + quote_token, + base_token, + mut order_placer, + mut order_placer2, + .. + } = common_setup(&context, deposit_amount).await; + let quote_bank = quote_token.bank; + let base_bank = base_token.bank; + let account = order_placer.account; + let account2 = order_placer2.account; + + // + // TEST: Placing and canceling an order does not take loan origination fees even if borrows are needed + // + { + let (bid_order_id, _) = order_placer.bid_maker(1.0, 200000).await.unwrap(); + let (ask_order_id, _) = order_placer.ask_maker(2.0, 200000).await.unwrap(); + + let o = order_placer.mango_openbook_orders().await; + assert_eq!(o.base_borrows_without_fee, 19999); // rounded + assert_eq!(o.quote_borrows_without_fee, 19999); + + order_placer.cancel(bid_order_id).await; + order_placer.cancel(ask_order_id).await; + + let o = order_placer.mango_openbook_orders().await; + assert_eq!(o.base_borrows_without_fee, 19999); // unchanged + assert_eq!(o.quote_borrows_without_fee, 19999); + + // placing new, slightly larger orders increases the borrow_without_fee amount only by a small amount + let (bid_order_id, _) = order_placer.bid_maker(1.0, 210000).await.unwrap(); + let (ask_order_id, _) = order_placer.ask_maker(2.0, 300000).await.unwrap(); + + let o = order_placer.mango_openbook_orders().await; + assert_eq!(o.base_borrows_without_fee, 119998); // rounded + assert_eq!(o.quote_borrows_without_fee, 29998); + + order_placer.cancel(bid_order_id).await; + order_placer.cancel(ask_order_id).await; + + // returns all the funds + order_placer.settle(false).await; + + let o = order_placer.mango_openbook_orders().await; + assert_eq!(o.base_borrows_without_fee, 0); + assert_eq!(o.quote_borrows_without_fee, 0); + + assert_eq!( + account_position(solana, account, quote_bank).await, + deposit_amount as i64 + ); + assert_eq!( + account_position(solana, account, base_bank).await, + deposit_amount as i64 + ); + + // consume all the out events from the cancels + context + .openbook + .consume_spot_events(&openbook_market_cookie, 16) + .await; + } + + let without_openbook_taker_fee = |amount: i64| (amount as f64 * (1.0 - 0.0004)).trunc() as i64; + let openbook_maker_rebate = |amount: i64| (amount as f64 * 0.0002).floor() as i64; + let loan_origination_fee = |amount: i64| (amount as f64 * 0.0005).trunc() as i64; + + // + // TEST: Order execution and settling charges borrow fee + // + { + let deposit_amount = deposit_amount as i64; + let bid_amount = 200000; + let ask_amount = 210000; + let fill_amount = 200000; + let book_amount = ask_amount - fill_amount; + let quote_fees1 = solana + .get_account::(quote_bank) + .await + .collected_fees_native; + + assert_eq!( + account_position(solana, account, quote_bank).await, + deposit_amount + ); + + // account2 has an order on the book + order_placer2.bid_maker(1.0, bid_amount).await.unwrap(); + + // account takes + order_placer.ask_taker(1.0, ask_amount).await; + order_placer.settle(true).await; + + let o = order_placer.mango_openbook_orders().await; + // parts of the order ended up on the book and may cause loan origination fees later + assert_eq!(o.base_borrows_without_fee, book_amount as u64); + assert_eq!(o.quote_borrows_without_fee, 0); + + assert_eq!( + account_position(solana, account, quote_bank).await, + deposit_amount + without_openbook_taker_fee(fill_amount) + ); + assert_eq!( + account_position(solana, account, base_bank).await, + deposit_amount - ask_amount - loan_origination_fee(fill_amount - deposit_amount) + ); + + // openbook referrer rebates (taker fees) accrued to the dao + let quote_fees2 = solana + .get_account::(quote_bank) + .await + .collected_fees_native; + assert_eq_fixed_f64!(quote_fees2 - quote_fees1, 40.0, 0.1); + + // check account2 balances too + context + .openbook + .consume_spot_events(&openbook_market_cookie, 16) + .await; + order_placer2.settle(false).await; + + let o = order_placer2.mango_openbook_orders().await; + assert_eq!(o.base_borrows_without_fee, 0); + assert_eq!(o.quote_borrows_without_fee, 0); + + assert_eq!( + account_position(solana, account2, base_bank).await, + deposit_amount + fill_amount + ); + assert_eq!( + account_position(solana, account2, quote_bank).await, + deposit_amount - fill_amount - loan_origination_fee(fill_amount - deposit_amount) + + openbook_maker_rebate(fill_amount) + ); + } + + Ok(()) +} + +#[tokio::test] +async fn test_openbook_settle_to_dao() -> Result<(), TransportError> { + let mut test_builder = TestContextBuilder::new(); + test_builder.test().set_compute_max_units(150_000); + let context = test_builder.start_default().await; + let solana = &context.solana.clone(); + + // + // SETUP: Create a group, accounts, market etc + // + let deposit_amount = 160000; + let CommonSetup { + group_with_tokens, + openbook_market_cookie, + quote_token, + base_token, + mut order_placer, + mut order_placer2, + .. + } = common_setup(&context, deposit_amount).await; + let quote_bank = quote_token.bank; + let base_bank = base_token.bank; + let account = order_placer.account; + let account2 = order_placer2.account; + + // Change the quote price to verify that the current value of the openbook quote token + // is added to the buyback fees amount + set_bank_stub_oracle_price( + solana, + group_with_tokens.group, + "e_token, + group_with_tokens.admin, + 2.0, + ) + .await; + + let openbook_taker_fee = |amount: i64| (amount as f64 * 0.0004).trunc() as i64; + let openbook_maker_rebate = |amount: i64| (amount as f64 * 0.0002).floor() as i64; + let openbook_referrer_fee = |amount: i64| (amount as f64 * 0.0002).trunc() as i64; + let loan_origination_fee = |amount: i64| (amount as f64 * 0.0005).trunc() as i64; + + // + // TEST: Use openbook_v2_settle_funds + // + let deposit_amount = deposit_amount as i64; + let amount = 200000; + let quote_fees_start = solana + .get_account::(quote_bank) + .await + .collected_fees_native; + let quote_start = account_position(solana, account, quote_bank).await; + let quote2_start = account_position(solana, account2, quote_bank).await; + let base_start = account_position(solana, account, base_bank).await; + let base2_start = account_position(solana, account2, base_bank).await; + + // account2 has an order on the book, account takes + order_placer2.bid_maker(1.0, amount).await.unwrap(); + order_placer.ask_taker(1.0, amount).await; + + context + .openbook + .consume_spot_events(&openbook_market_cookie, 16) + .await; + + order_placer.settle(true).await; + order_placer2.settle(true).await; + + let quote_end = account_position(solana, account, quote_bank).await; + let quote2_end = account_position(solana, account2, quote_bank).await; + let base_end = account_position(solana, account, base_bank).await; + let base2_end = account_position(solana, account2, base_bank).await; + + let lof = loan_origination_fee(amount - deposit_amount); + assert_eq!(base_start - amount - lof, base_end); + assert_eq!(base2_start + amount, base2_end); + assert_eq!(quote_start + amount - openbook_taker_fee(amount), quote_end); + assert_eq!( + quote2_start - amount + openbook_maker_rebate(amount) - lof, + quote2_end + ); + + let quote_fees_end = solana + .get_account::(quote_bank) + .await + .collected_fees_native; + assert_eq_fixed_f64!( + quote_fees_end - quote_fees_start, + (lof + openbook_referrer_fee(amount)) as f64, + 0.1 + ); + + let account_data = solana.get_account::(account).await; + assert_eq!( + account_data.buyback_fees_accrued_current, + (openbook_maker_rebate(amount) * 2) as u64 // *2 because that's the quote price and this number is in $ + ); + let account2_data = solana.get_account::(account2).await; + assert_eq!(account2_data.buyback_fees_accrued_current, 0); + + Ok(()) +} + +#[tokio::test] +async fn test_openbook_settle_to_account() -> Result<(), TransportError> { + let mut test_builder = TestContextBuilder::new(); + test_builder.test().set_compute_max_units(150_000); + let context = test_builder.start_default().await; + let solana = &context.solana.clone(); + + // + // SETUP: Create a group, accounts, market etc + // + let deposit_amount = 160000; + let CommonSetup { + openbook_market_cookie, + quote_token, + base_token, + mut order_placer, + mut order_placer2, + .. + } = common_setup(&context, deposit_amount).await; + let quote_bank = quote_token.bank; + let base_bank = base_token.bank; + let account = order_placer.account; + let account2 = order_placer2.account; + + let openbook_taker_fee = |amount: i64| (amount as f64 * 0.0004).trunc() as i64; + let openbook_maker_rebate = |amount: i64| (amount as f64 * 0.0002).floor() as i64; + let openbook_referrer_fee = |amount: i64| (amount as f64 * 0.0002).trunc() as i64; + let loan_origination_fee = |amount: i64| (amount as f64 * 0.0005).trunc() as i64; + + // + // TEST: Use openbook_v2_settle_funds + // + let deposit_amount = deposit_amount as i64; + let amount = 200000; + let quote_fees_start = solana + .get_account::(quote_bank) + .await + .collected_fees_native; + let quote_start = account_position(solana, account, quote_bank).await; + let quote2_start = account_position(solana, account2, quote_bank).await; + let base_start = account_position(solana, account, base_bank).await; + let base2_start = account_position(solana, account2, base_bank).await; + + // account2 has an order on the book, account takes + order_placer2.bid_maker(1.0, amount).await.unwrap(); + order_placer.ask_taker(1.0, amount).await; + + context + .openbook + .consume_spot_events(&openbook_market_cookie, 16) + .await; + + order_placer.settle(false).await; + order_placer2.settle(false).await; + + let quote_end = account_position(solana, account, quote_bank).await; + let quote2_end = account_position(solana, account2, quote_bank).await; + let base_end = account_position(solana, account, base_bank).await; + let base2_end = account_position(solana, account2, base_bank).await; + + let lof = loan_origination_fee(amount - deposit_amount); + assert_eq!(base_start - amount - lof, base_end); + assert_eq!(base2_start + amount, base2_end); + assert_eq!( + quote_start + amount - openbook_taker_fee(amount) + openbook_referrer_fee(amount), + quote_end + ); + assert_eq!( + quote2_start - amount + openbook_maker_rebate(amount) - lof, + quote2_end + ); + + let quote_fees_end = solana + .get_account::(quote_bank) + .await + .collected_fees_native; + assert_eq_fixed_f64!(quote_fees_end - quote_fees_start, lof as f64, 0.1); + + let account_data = solana.get_account::(account).await; + assert_eq!(account_data.buyback_fees_accrued_current, 0); + let account2_data = solana.get_account::(account2).await; + assert_eq!(account2_data.buyback_fees_accrued_current, 0); + + Ok(()) +} + +#[tokio::test] +async fn test_openbook_reduce_only_borrows() -> Result<(), TransportError> { + let mut test_builder = TestContextBuilder::new(); + test_builder.test().set_compute_max_units(150_000); + let context = test_builder.start_default().await; + let solana = &context.solana.clone(); + + // + // SETUP: Create a group, accounts, market etc + // + let deposit_amount = 1000; + let CommonSetup { + group_with_tokens, + base_token, + mut order_placer, + .. + } = common_setup(&context, deposit_amount).await; + + send_tx( + solana, + TokenMakeReduceOnly { + group: group_with_tokens.group, + admin: group_with_tokens.admin, + mint: base_token.mint.pubkey, + reduce_only: 2, + force_close: false, + }, + ) + .await + .unwrap(); + + // + // TEST: Cannot borrow tokens when bank is reduce only + // + let err = order_placer.try_ask(1.0, 1100, true).await; + assert_mango_error(&err, MangoError::TokenInReduceOnlyMode.into(), "".into()); + + order_placer.try_ask(0.5, 500, true).await.unwrap(); + + let err = order_placer.try_ask(1.0, 600, true).await; + assert_mango_error(&err, MangoError::TokenInReduceOnlyMode.into(), "".into()); + + order_placer.try_ask(2.0, 500, true).await.unwrap(); + + let err = order_placer.try_ask(1.0, 100, true).await; + assert_mango_error(&err, MangoError::TokenInReduceOnlyMode.into(), "".into()); + + Ok(()) +} + +#[tokio::test] +async fn test_openbook_reduce_only_deposits1() -> Result<(), TransportError> { + let mut test_builder = TestContextBuilder::new(); + test_builder.test().set_compute_max_units(150_000); + let context = test_builder.start_default().await; + let solana = &context.solana.clone(); + + // + // SETUP: Create a group, accounts, market etc + // + let deposit_amount = 1000; + let CommonSetup { + group_with_tokens, + base_token, + mut order_placer, + mut order_placer2, + .. + } = common_setup(&context, deposit_amount).await; + + send_tx( + solana, + TokenMakeReduceOnly { + group: group_with_tokens.group, + admin: group_with_tokens.admin, + mint: base_token.mint.pubkey, + reduce_only: 1, + force_close: false, + }, + ) + .await + .unwrap(); + + // + // TEST: Cannot buy tokens when deposits are already >0 + // + + // fails to place on the book + let err = order_placer.try_bid(1.0, 1000, false).await; + assert_mango_error(&err, MangoError::TokenInReduceOnlyMode.into(), "".into()); + + // also fails as a taker order + order_placer2.ask_taker(1.0, 500).await; + let err = order_placer.try_bid(1.0, 100, true).await; + assert_mango_error(&err, MangoError::TokenInReduceOnlyMode.into(), "".into()); + + Ok(()) +} + +#[tokio::test] +async fn test_openbook_reduce_only_deposits2() -> Result<(), TransportError> { + let mut test_builder = TestContextBuilder::new(); + test_builder.test().set_compute_max_units(150_000); + let context = test_builder.start_default().await; + let solana = &context.solana.clone(); + + // + // SETUP: Create a group, accounts, market etc + // + let deposit_amount = 1000; + let CommonSetup { + group_with_tokens, + base_token, + mut order_placer, + mut order_placer2, + .. + } = common_setup(&context, deposit_amount).await; + + // Give account some base token borrows (-500) + send_tx( + solana, + TokenWithdrawInstruction { + amount: 1500, + allow_borrow: true, + account: order_placer.account, + owner: order_placer.owner, + token_account: context.users[0].token_accounts[1], + bank_index: 0, + }, + ) + .await + .unwrap(); + + // + // TEST: Cannot buy tokens when deposits are already >0 + // + send_tx( + solana, + TokenMakeReduceOnly { + group: group_with_tokens.group, + admin: group_with_tokens.admin, + mint: base_token.mint.pubkey, + reduce_only: 1, + force_close: false, + }, + ) + .await + .unwrap(); + + // cannot place a large order on the book that would deposit too much + let err = order_placer.try_bid(1.0, 600, false).await; + assert_mango_error(&err, MangoError::TokenInReduceOnlyMode.into(), "".into()); + + // a small order is fine + order_placer.try_bid(1.0, 100, false).await.unwrap(); + + // taking some is fine too + order_placer2.ask_taker(1.0, 800).await; + order_placer.try_bid(1.0, 100, true).await.unwrap(); + + // the limit for orders is reduced now, 100 received, 100 on the book + let err = order_placer.try_bid(1.0, 400, true).await; + assert_mango_error(&err, MangoError::TokenInReduceOnlyMode.into(), "".into()); + + Ok(()) +} + +#[tokio::test] +async fn test_openbook_place_reducing_when_liquidatable() -> Result<(), TransportError> { + let mut test_builder = TestContextBuilder::new(); + test_builder.test().set_compute_max_units(150_000); + let context = test_builder.start_default().await; + let solana = &context.solana.clone(); + + // + // SETUP: Create a group, accounts, market etc + // + let deposit_amount = 1000; + let CommonSetup { + group_with_tokens, + base_token, + mut order_placer, + .. + } = common_setup(&context, deposit_amount).await; + + // Give account some base token borrows (-500) + send_tx( + solana, + TokenWithdrawInstruction { + amount: 1500, + allow_borrow: true, + account: order_placer.account, + owner: order_placer.owner, + token_account: context.users[0].token_accounts[1], + bank_index: 0, + }, + ) + .await + .unwrap(); + + // Change the base price to make the account liquidatable + set_bank_stub_oracle_price( + solana, + group_with_tokens.group, + &base_token, + group_with_tokens.admin, + 10.0, + ) + .await; + + assert!(account_init_health(solana, order_placer.account).await < 0.0); + + // can place an order that would close some of the borrows + order_placer.try_bid(10.0, 200, false).await.unwrap(); + + // if too much base is bought, health would decrease: forbidden + let err = order_placer.try_bid(10.0, 800, false).await; + assert_mango_error( + &err, + MangoError::HealthMustBePositiveOrIncrease.into(), + "".into(), + ); + + Ok(()) +} + +#[tokio::test] +async fn test_openbook_liq_force_close() -> Result<(), TransportError> { + let mut test_builder = TestContextBuilder::new(); + test_builder.test().set_compute_max_units(150_000); + let context = test_builder.start_default().await; + let solana = &context.solana.clone(); + + // + // SETUP: Create a group, accounts, market etc + // + let deposit_amount = 1000; + let CommonSetup { + group_with_tokens, + base_token, + mut order_placer, + .. + } = common_setup(&context, deposit_amount).await; + + // Place orders that can later be cancelled + order_placer.try_bid(0.8, 200, false).await.unwrap(); + order_placer.try_ask(1.2, 200, false).await.unwrap(); + + // Give account some base token borrows (-500) + send_tx( + solana, + TokenWithdrawInstruction { + amount: 1500, + allow_borrow: true, + account: order_placer.account, + owner: order_placer.owner, + token_account: context.users[0].token_accounts[1], + bank_index: 0, + }, + ) + .await + .unwrap(); + + // Change the base price to make the account liquidatable + set_bank_stub_oracle_price( + solana, + group_with_tokens.group, + &base_token, + group_with_tokens.admin, + 10.0, + ) + .await; + + let before_init_health = account_init_health(solana, order_placer.account).await; + assert!(before_init_health < 0.0); + + send_tx( + solana, + OpenbookV2LiqForceCancelInstruction { + account: order_placer.account, + payer: context.users[1].key, + openbook_v2_market: order_placer.openbook_market, + }, + ) + .await + .unwrap(); + + let after_init_health = account_init_health(solana, order_placer.account).await; + assert!(after_init_health > before_init_health); + + let oo = order_placer.open_orders().await; + assert_eq!(oo.native_quote_reserved(), 0); + assert_eq!(oo.native_base_reserved(), 0); + + Ok(()) +} + +#[tokio::test] +async fn test_openbook_track_bid_ask() -> Result<(), TransportError> { + let mut test_builder = TestContextBuilder::new(); + test_builder.test().set_compute_max_units(150_000); + let context = test_builder.start_default().await; + + // + // SETUP: Create a group, accounts, market etc + // + let deposit_amount = 10000; + let CommonSetup { + openbook_market_cookie, + mut order_placer, + .. + } = common_setup(&context, deposit_amount).await; + + // + // TEST: highest bid/lowest ask updating + // + + let srm = order_placer.mango_openbook_orders().await; + assert_eq!(srm.highest_placed_bid_inv, 0.0); + assert_eq!(srm.lowest_placed_bid_inv, 0.0); + assert_eq!(srm.highest_placed_ask, 0.0); + assert_eq!(srm.lowest_placed_ask, 0.0); + + order_placer.bid_maker(10.0, 100).await.unwrap(); + + let srm = order_placer.mango_openbook_orders().await; + assert_eq!(srm.highest_placed_bid_inv, 1.0 / 10.0); + assert_eq!(srm.lowest_placed_bid_inv, 1.0 / 10.0); + assert_eq!(srm.highest_placed_ask, 0.0); + assert_eq!(srm.lowest_placed_ask, 0.0); + + order_placer.bid_maker(9.0, 100).await.unwrap(); + + let srm = order_placer.mango_openbook_orders().await; + assert_eq!(srm.highest_placed_bid_inv, 1.0 / 10.0); + assert_eq!(srm.lowest_placed_bid_inv, 1.0 / 9.0); + assert_eq!(srm.highest_placed_ask, 0.0); + assert_eq!(srm.lowest_placed_ask, 0.0); + + order_placer.bid_maker(11.0, 100).await.unwrap(); + + let srm = order_placer.mango_openbook_orders().await; + assert_eq!(srm.highest_placed_bid_inv, 1.0 / 11.0); + assert_eq!(srm.lowest_placed_bid_inv, 1.0 / 9.0); + assert_eq!(srm.highest_placed_ask, 0.0); + assert_eq!(srm.lowest_placed_ask, 0.0); + + order_placer.ask_maker(20.0, 100).await.unwrap(); + + let srm = order_placer.mango_openbook_orders().await; + assert_eq!(srm.highest_placed_bid_inv, 1.0 / 11.0); + assert_eq!(srm.lowest_placed_bid_inv, 1.0 / 9.0); + assert_eq!(srm.highest_placed_ask, 20.0); + assert_eq!(srm.lowest_placed_ask, 20.0); + + order_placer.ask_maker(19.0, 100).await.unwrap(); + + let srm = order_placer.mango_openbook_orders().await; + assert_eq!(srm.highest_placed_bid_inv, 1.0 / 11.0); + assert_eq!(srm.lowest_placed_bid_inv, 1.0 / 9.0); + assert_eq!(srm.highest_placed_ask, 20.0); + assert_eq!(srm.lowest_placed_ask, 19.0); + + order_placer.ask_maker(21.0, 100).await.unwrap(); + + let srm = order_placer.mango_openbook_orders().await; + assert_eq!(srm.highest_placed_bid_inv, 1.0 / 11.0); + assert_eq!(srm.lowest_placed_bid_inv, 1.0 / 9.0); + assert_eq!(srm.highest_placed_ask, 21.0); + assert_eq!(srm.lowest_placed_ask, 19.0); + + // + // TEST: cancellation allows for resets + // + + order_placer.cancel_all().await; + + // no immediate change + let srm = order_placer.mango_openbook_orders().await; + assert_eq!(srm.highest_placed_bid_inv, 1.0 / 11.0); + assert_eq!(srm.lowest_placed_bid_inv, 1.0 / 9.0); + assert_eq!(srm.highest_placed_ask, 21.0); + assert_eq!(srm.lowest_placed_ask, 19.0); + + // Process events such that the OutEvent deactivates the closed order on open_orders + context + .openbook + .consume_spot_events(&openbook_market_cookie, 16) + .await; + + // takes new value for bid, resets ask + order_placer.bid_maker(1.0, 100).await.unwrap(); + + let srm = order_placer.mango_openbook_orders().await; + assert_eq!(srm.highest_placed_bid_inv, 1.0); + assert_eq!(srm.lowest_placed_bid_inv, 1.0); + assert_eq!(srm.highest_placed_ask, 0.0); + assert_eq!(srm.lowest_placed_ask, 0.0); + + // + // TEST: can reset even when there's still an order on the other side + // + let (oid, _) = order_placer.ask_maker(10.0, 100).await.unwrap(); + + let srm = order_placer.mango_openbook_orders().await; + assert_eq!(srm.highest_placed_bid_inv, 1.0); + assert_eq!(srm.lowest_placed_bid_inv, 1.0); + assert_eq!(srm.highest_placed_ask, 10.0); + assert_eq!(srm.lowest_placed_ask, 10.0); + + order_placer.cancel(oid).await; + context + .openbook + .consume_spot_events(&openbook_market_cookie, 16) + .await; + order_placer.ask_maker(9.0, 100).await.unwrap(); + + let srm = order_placer.mango_openbook_orders().await; + assert_eq!(srm.highest_placed_bid_inv, 1.0); + assert_eq!(srm.lowest_placed_bid_inv, 1.0); + assert_eq!(srm.highest_placed_ask, 9.0); + assert_eq!(srm.lowest_placed_ask, 9.0); + + Ok(()) +} + +#[tokio::test] +async fn test_openbook_track_reserved_deposits() -> Result<(), TransportError> { + let mut test_builder = TestContextBuilder::new(); + test_builder.test().set_compute_max_units(150_000); + let context = test_builder.start_default().await; + + // + // SETUP: Create a group, accounts, market etc + // + let deposit_amount = 100000; + let CommonSetup { + openbook_market_cookie, + quote_token, + base_token, + mut order_placer, + mut order_placer2, + .. + } = common_setup(&context, deposit_amount).await; + let solana = &context.solana.clone(); + let quote_bank = quote_token.bank; + let base_bank = base_token.bank; + let account = order_placer.account; + + let get_vals = |solana| async move { + let account_data = get_mango_account(solana, account).await; + let orders = account_data.all_openbook_v2_orders().next().unwrap(); + let base_bank = solana.get_account::(base_bank).await; + let quote_bank = solana.get_account::(quote_bank).await; + ( + orders.potential_base_tokens, + base_bank.potential_openbook_tokens, + orders.potential_quote_tokens, + quote_bank.potential_openbook_tokens, + ) + }; + + // + // TEST: place a bid and ask and observe tracking + // + + order_placer.bid_maker(0.8, 2000).await.unwrap(); + assert_eq!(get_vals(solana).await, (2000, 2000, 1600, 1600)); + + order_placer.ask_maker(1.2, 2000).await.unwrap(); + assert_eq!( + get_vals(solana).await, + (2 * 2000, 2 * 2000, 1600 + 2400, 1600 + 2400) + ); + + // + // TEST: match partially on both sides, increasing the on-bank reserved amounts + // because order_placer2 puts funds into the openbook oo + // + + order_placer2.bid_taker(1.2, 1000).await; + context + .openbook + .consume_spot_events(&openbook_market_cookie, 16) + .await; + // taker order directly converted to base, no change to quote + assert_eq!(get_vals(solana).await, (4000, 4000 + 1000, 4000, 4000)); + + // takes out 1000 base + order_placer2.settle(false).await; + assert_eq!(get_vals(solana).await, (4000, 4000, 4000, 4000)); + + order_placer2.ask_taker(0.8, 1000).await; + context + .openbook + .consume_spot_events(&openbook_market_cookie, 16) + .await; + // taker order directly converted to quote + assert_eq!(get_vals(solana).await, (4000, 4000, 4000, 4000 + 799)); + + order_placer2.settle(false).await; + assert_eq!(get_vals(solana).await, (4000, 4000, 4000, 4000)); + + // + // TEST: Settlement updates the values + // + + order_placer.settle(false).await; + // remaining is bid 1000 @ 0.8; ask 1000 @ 1.2 + assert_eq!(get_vals(solana).await, (2000, 2000, 2000, 2000)); + + Ok(()) +} + +#[tokio::test] +async fn test_openbook_compute() -> Result<(), TransportError> { + let mut test_builder = TestContextBuilder::new(); + test_builder.test().set_compute_max_units(150_000); // place order needs lots + let context = test_builder.start_default().await; + let solana = &context.solana; + + // + // SETUP: Create a group, accounts, market etc + // + let deposit_amount = 100000; + let CommonSetup { + openbook_market_cookie, + mut order_placer, + order_placer2, + .. + } = common_setup(&context, deposit_amount).await; + + // + // TEST: check compute per openbook match + // + + for limit in 1..6 { + order_placer.bid_maker(1.0, 100).await.unwrap(); + order_placer.bid_maker(1.1, 100).await.unwrap(); + order_placer.bid_maker(1.2, 100).await.unwrap(); + order_placer.bid_maker(1.3, 100).await.unwrap(); + order_placer.bid_maker(1.4, 100).await.unwrap(); + + let result = send_tx_get_metadata( + solana, + OpenbookV2PlaceOrderInstruction { + side: OpenbookV2Side::Ask, + price_lots: (1.0 * 100.0 / 10.0) as i64, // in quote_lot (10) per base lot (100) + max_base_lots: 500 / 100, // in base lot (100) + max_quote_lots_including_fees: (1.0 * (500 as f64) / 10.0).ceil() as i64, + client_order_id: 0, + limit, + account: order_placer2.account, + expiry_timestamp: u64::MAX, + owner: order_placer2.owner, + openbook_v2_market: order_placer2.openbook_market, + reduce_only: false, + order_type: OpenbookV2PlaceOrderType::Limit, + self_trade_behavior: OpenbookV2SelfTradeBehavior::AbortTransaction, + }, + ) + .await + .unwrap(); + println!( + "CU for openbook_V2_place_order matching {limit} orders in sequence: {}", + result.metadata.unwrap().compute_units_consumed + ); + + // many events need processing + context + .openbook + .consume_spot_events(&openbook_market_cookie, 16) + .await; + context + .openbook + .consume_spot_events(&openbook_market_cookie, 16) + .await; + context + .openbook + .consume_spot_events(&openbook_market_cookie, 16) + .await; + order_placer.cancel_all().await; + order_placer2.cancel_all().await; + context + .openbook + .consume_spot_events(&openbook_market_cookie, 16) + .await; + } + + // + // TEST: check compute per openbook cancel + // + + for limit in 1..6 { + for i in 0..limit { + order_placer.bid_maker(1.0 + i as f64, 100).await.unwrap(); + } + + let result = send_tx_get_metadata( + solana, + OpenbookV2CancelAllOrdersInstruction { + side_opt: None, + limit: 10, + account: order_placer.account, + payer: order_placer.owner, + openbook_v2_market: order_placer.openbook_market, + }, + ) + .await + .unwrap(); + println!( + "CU for openbook_v2_cancel_all_order for {limit} orders: {}", + result.metadata.unwrap().compute_units_consumed + ); + + context + .openbook + .consume_spot_events(&openbook_market_cookie, 16) + .await; + } + + Ok(()) +} + +#[tokio::test] +async fn test_fallback_oracle_openbook() -> Result<(), TransportError> { + let mut test_builder = TestContextBuilder::new(); + test_builder.test().set_compute_max_units(150_000); + let context = test_builder.start_default().await; + let solana = &context.solana.clone(); + + let fallback_oracle_kp = TestKeypair::new(); + let fallback_oracle = fallback_oracle_kp.pubkey(); + let owner = context.users[0].key; + let payer = context.users[1].key; + let payer_token_accounts = &context.users[1].token_accounts[0..3]; + + // + // SETUP: Create a group and an account + // + let deposit_amount = 1_000; + let CommonSetup { + group_with_tokens, + quote_token, + base_token, + mut order_placer, + .. + } = common_setup(&context, deposit_amount).await; + let GroupWithTokens { + group, + admin, + tokens, + .. + } = group_with_tokens; + + // + // SETUP: Create a fallback oracle + // + send_tx( + solana, + StubOracleCreate { + oracle: fallback_oracle_kp, + group, + mint: tokens[2].mint.pubkey, + admin, + payer, + }, + ) + .await + .unwrap(); + + // + // SETUP: Add a fallback oracle + // + send_tx( + solana, + TokenEdit { + group, + admin, + mint: tokens[2].mint.pubkey, + fallback_oracle, + options: mango_v4::instruction::TokenEdit { + set_fallback_oracle: true, + ..token_edit_instruction_default() + }, + }, + ) + .await + .unwrap(); + + let bank_data: Bank = solana.get_account(tokens[2].bank).await; + assert!(bank_data.fallback_oracle == fallback_oracle); + + // Create some token1 borrows + send_tx( + solana, + TokenWithdrawInstruction { + amount: 1_500, + allow_borrow: true, + account: order_placer.account, + owner, + token_account: payer_token_accounts[2], + bank_index: 0, + }, + ) + .await + .unwrap(); + + // Make oracle invalid by increasing deviation + send_tx( + solana, + StubOracleSetTestInstruction { + oracle: tokens[2].oracle, + group, + mint: tokens[2].mint.pubkey, + admin, + price: 1.0, + last_update_slot: 0, + deviation: 100.0, + }, + ) + .await + .unwrap(); + + // + // TEST: Place a failing order + // + let limit_price = 1.0; + let max_base = 100; + let order_fut = order_placer.try_bid(limit_price, max_base, false).await; + assert_mango_error( + &order_fut, + 6023, + "an oracle does not reach the confidence threshold".to_string(), + ); + + // now send txn with a fallback oracle in the remaining accounts + let fallback_oracle_meta = AccountMeta { + pubkey: fallback_oracle, + is_writable: false, + is_signer: false, + }; + + let client_order_id = order_placer.inc_client_order_id(); + let place_ix = OpenbookV2PlaceOrderInstruction { + side: OpenbookV2Side::Bid, + price_lots: (limit_price * 100.0 / 10.0) as i64, // in quote_lot (10) per base lot (100) + max_base_lots: max_base / 100, // in base lot (100) + // 4 bps taker fees added in + max_quote_lots_including_fees: (limit_price * (max_base as f64) * (1.0) / 10.0).ceil() + as i64, + client_order_id, + limit: 10, + account: order_placer.account, + expiry_timestamp: u64::MAX, + owner: order_placer.owner, + openbook_v2_market: order_placer.openbook_market, + reduce_only: false, + order_type: OpenbookV2PlaceOrderType::Limit, + self_trade_behavior: OpenbookV2SelfTradeBehavior::AbortTransaction, + }; + + let result = send_tx_with_extra_accounts(solana, place_ix, vec![fallback_oracle_meta]) + .await + .unwrap(); + result.result.unwrap(); + + let account_data = get_mango_account(solana, order_placer.account).await; + assert_eq!( + account_data + .token_position_by_raw_index(0) + .unwrap() + .in_use_count, + 1 + ); + assert_eq!( + account_data + .token_position_by_raw_index(1) + .unwrap() + .in_use_count, + 1 + ); + assert_eq!( + account_data + .token_position_by_raw_index(2) + .unwrap() + .in_use_count, + 0 + ); + let openbook_orders = account_data.openbook_v2_orders_by_raw_index(0).unwrap(); + assert_eq!(openbook_orders.base_borrows_without_fee, 0); + assert_eq!(openbook_orders.quote_borrows_without_fee, 0); + assert_eq!(openbook_orders.potential_base_tokens, 100); + assert_eq!(openbook_orders.potential_quote_tokens, 100); + + let base_bank = solana.get_account::(base_token.bank).await; + assert_eq!(base_bank.potential_openbook_tokens, 100); + let quote_bank = solana.get_account::(quote_token.bank).await; + assert_eq!(quote_bank.potential_openbook_tokens, 100); + Ok(()) +} + +#[tokio::test] +async fn test_openbook_bands() -> Result<(), TransportError> { + let mut test_builder = TestContextBuilder::new(); + test_builder.test().set_compute_max_units(150_000); // place order needs lots + let context = test_builder.start_default().await; + let solana = &context.solana.clone(); + + // + // SETUP: Create a group, accounts, market etc + // + let deposit_amount = 10000; + let CommonSetup { + group_with_tokens, + mut order_placer, + quote_token, + base_token, + .. + } = common_setup(&context, deposit_amount).await; + + // + // SETUP: Set oracle price for market to 100 + // + set_bank_stub_oracle_price( + solana, + group_with_tokens.group, + &base_token, + group_with_tokens.admin, + 200.0, + ) + .await; + set_bank_stub_oracle_price( + solana, + group_with_tokens.group, + "e_token, + group_with_tokens.admin, + 2.0, + ) + .await; + + // + // TEST: can place way over/under oracle + // + + order_placer.bid_maker(1.0, 100).await.unwrap(); + order_placer.ask_maker(200.0, 100).await.unwrap(); + order_placer.cancel_all().await; + + // + // TEST: Can't when bands are enabled + // + send_tx( + solana, + OpenbookV2EditMarketInstruction { + group: group_with_tokens.group, + admin: group_with_tokens.admin, + market: order_placer.openbook_market, + options: mango_v4::instruction::OpenbookV2EditMarket { + oracle_price_band_opt: Some(0.5), + ..openbook_v2_edit_market_instruction_default() + }, + }, + ) + .await + .unwrap(); + + let r = order_placer.try_bid(65.0, 100, false).await; + assert!(r.is_err()); + let r = order_placer.try_ask(151.0, 100, false).await; + assert!(r.is_err()); + + order_placer.try_bid(67.0, 100, false).await.unwrap(); + order_placer.try_ask(149.0, 100, false).await.unwrap(); + + Ok(()) +} + +#[tokio::test] +async fn test_openbook_deposit_limits() -> Result<(), TransportError> { + let mut test_builder = TestContextBuilder::new(); + test_builder.test().set_compute_max_units(150_000); // place order needs lots + let context = test_builder.start_default().await; + let solana = &context.solana.clone(); + + // + // SETUP: Create a group, accounts, market etc + // + let deposit_amount = 5000; // for 10k tokens over both order_placers + let CommonSetup { + openbook_market_cookie, + group_with_tokens, + mut order_placer, + quote_token, + base_token, + .. + } = common_setup2(&context, deposit_amount, 0).await; + + // + // SETUP: Set oracle price for market to 2 + // + set_bank_stub_oracle_price( + solana, + group_with_tokens.group, + &base_token, + group_with_tokens.admin, + 4.0, + ) + .await; + set_bank_stub_oracle_price( + solana, + group_with_tokens.group, + "e_token, + group_with_tokens.admin, + 2.0, + ) + .await; + + // + // SETUP: Base token: add deposit limit + // + send_tx( + solana, + TokenEdit { + group: group_with_tokens.group, + admin: group_with_tokens.admin, + mint: base_token.mint.pubkey, + fallback_oracle: Pubkey::default(), + options: mango_v4::instruction::TokenEdit { + deposit_limit_opt: Some(13000), + ..token_edit_instruction_default() + }, + }, + ) + .await + .unwrap(); + + let solana2 = context.solana.clone(); + let base_bank = base_token.bank; + let remaining_base = { + || async { + let b: Bank = solana2.get_account(base_bank).await; + b.remaining_deposits_until_limit().round().to_num::() + } + }; + + // + // TEST: even when placing all base tokens into an ask, they still count + // + + order_placer.ask_maker(2.0, 5000).await.unwrap(); + assert_eq!(remaining_base().await, 3000); + + // + // TEST: if we bid to buy more base, the limit reduces + // + + order_placer.bid_maker(1.5, 1000).await.unwrap(); + assert_eq!(remaining_base().await, 2000); + + // + // TEST: if we bid too much for the limit, the order does not go through + // + + let r = order_placer.try_bid(1.5, 2001, false).await; + assert_mango_error(&r, MangoError::BankDepositLimit.into(), "dep limit".into()); + order_placer.try_bid(1.5, 1999, false).await.unwrap(); // not 2000 due to rounding + + // + // SETUP: Switch deposit limit to quote token + // + + send_tx( + solana, + TokenEdit { + group: group_with_tokens.group, + admin: group_with_tokens.admin, + mint: base_token.mint.pubkey, + fallback_oracle: Pubkey::default(), + options: mango_v4::instruction::TokenEdit { + deposit_limit_opt: Some(0), + ..token_edit_instruction_default() + }, + }, + ) + .await + .unwrap(); + send_tx( + solana, + TokenEdit { + group: group_with_tokens.group, + admin: group_with_tokens.admin, + mint: quote_token.mint.pubkey, + fallback_oracle: Pubkey::default(), + options: mango_v4::instruction::TokenEdit { + deposit_limit_opt: Some(13000), + ..token_edit_instruction_default() + }, + }, + ) + .await + .unwrap(); + + let solana2 = context.solana.clone(); + let quote_bank = quote_token.bank; + let remaining_quote = { + || async { + let b: Bank = solana2.get_account(quote_bank).await; + b.remaining_deposits_until_limit().round().to_num::() + } + }; + + order_placer.cancel_all().await; + context + .openbook + .consume_spot_events(&openbook_market_cookie, 16) + .await; + + // + // TEST: even when placing all quote tokens into a bid, they still count + // + + order_placer.bid_maker(2.0, 2500).await.unwrap(); + assert_eq!(remaining_quote().await, 3000); + + // + // TEST: if we ask to get more quote, the limit reduces + // + + order_placer.ask_maker(5.0, 200).await.unwrap(); + assert_eq!(remaining_quote().await, 2000); + + // + // TEST: if we bid too much for the limit, the order does not go through + // + + let r = order_placer.try_ask(5.0, 401, true).await; + assert_mango_error(&r, MangoError::BankDepositLimit.into(), "dep limit".into()); + order_placer.try_ask(5.0, 399, true).await.unwrap(); // not 400 due to rounding + + // reset + order_placer.cancel_all().await; + context + .openbook + .consume_spot_events(&openbook_market_cookie, 16) + .await; + order_placer.settle(false).await; + + // + // TEST: can place a bid even if quote deposit limit is exhausted + // + send_tx( + solana, + TokenEdit { + group: group_with_tokens.group, + admin: group_with_tokens.admin, + mint: quote_token.mint.pubkey, + fallback_oracle: Pubkey::default(), + options: mango_v4::instruction::TokenEdit { + deposit_limit_opt: Some(1), + ..token_edit_instruction_default() + }, + }, + ) + .await + .unwrap(); + assert!(remaining_quote().await < 0); + assert_eq!( + account_position(solana, order_placer.account, quote_token.bank).await, + 5000 + ); + // borrowing might lead to a deposit increase later + let r = order_placer.try_bid(1.0, 5100, false).await; + assert_mango_error(&r, MangoError::BankDepositLimit.into(), "dep limit".into()); + // but just selling deposits is fine + order_placer.try_bid(1.0, 4999, false).await.unwrap(); + + Ok(()) +} + +struct CommonSetup { + group_with_tokens: GroupWithTokens, + openbook_market_cookie: OpenbookMarketCookie, + quote_token: crate::program_test::mango_setup::Token, + base_token: crate::program_test::mango_setup::Token, + order_placer: OpenbookV2OrderPlacer, + order_placer2: OpenbookV2OrderPlacer, +} + +async fn common_setup(context: &TestContext, deposit_amount: u64) -> CommonSetup { + common_setup2(context, deposit_amount, 10000000).await +} + +async fn common_setup2( + context: &TestContext, + deposit_amount: u64, + vault_funding: u64, +) -> CommonSetup { + let admin = TestKeypair::new(); + let owner = context.users[0].key; + let payer = context.users[1].key; + let mints = &context.mints[0..3]; + + let solana = &context.solana.clone(); + + let group_with_tokens = GroupWithTokensConfig { + admin, + payer, + mints: mints.to_vec(), + ..GroupWithTokensConfig::default() + } + .create(solana) + .await; + let group = group_with_tokens.group; + let tokens = group_with_tokens.tokens.clone(); + let base_token = &tokens[1]; + let quote_token = &tokens[0]; + + // + // SETUP: Create openbook market + // + let openbook_market_cookie = context + .openbook + .list_spot_market("e_token.mint, &base_token.mint, payer) + .await; + + // + // SETUP: Register openbook market + // + let openbook_v2_market = send_tx( + solana, + OpenbookV2RegisterMarketInstruction { + group, + admin, + openbook_v2_program: context.openbook.program_id, + openbook_v2_market_external: openbook_market_cookie.market, + market_index: 0, + base_bank: base_token.bank, + quote_bank: quote_token.bank, + payer, + }, + ) + .await + .unwrap() + .openbook_v2_market; + + // + // SETUP: Create accounts + // + let account = create_funded_account( + &solana, + group, + owner, + 0, + &context.users[1], + mints, + deposit_amount, + 0, + ) + .await; + let account2 = create_funded_account( + &solana, + group, + owner, + 2, + &context.users[1], + mints, + deposit_amount, + 0, + ) + .await; + // to have enough funds in the vaults + if vault_funding > 0 { + create_funded_account( + &solana, + group, + owner, + 3, + &context.users[1], + mints, + 10000000, + 0, + ) + .await; + } + + let open_orders = send_tx( + solana, + OpenbookV2CreateOpenOrdersInstruction { + group, + payer, + owner, + account, + openbook_v2_market, + openbook_v2_program: context.openbook.program_id, + openbook_v2_market_external: openbook_market_cookie.market, + next_open_orders_index: 1, + }, + ) + .await + .unwrap() + .open_orders_account; + + let open_orders2 = send_tx( + solana, + OpenbookV2CreateOpenOrdersInstruction { + group, + payer, + owner, + account: account2, + openbook_v2_market, + openbook_v2_program: context.openbook.program_id, + openbook_v2_market_external: openbook_market_cookie.market, + next_open_orders_index: 1, + }, + ) + .await + .unwrap() + .open_orders_account; + + let order_placer = OpenbookV2OrderPlacer { + solana: solana.clone(), + openbook: context.openbook.clone(), + account, + group, + owner, + openbook_market: openbook_v2_market, + openbook_market_external: openbook_market_cookie.market, + open_orders: open_orders, + next_client_order_id: 420, + }; + + let order_placer2 = OpenbookV2OrderPlacer { + solana: solana.clone(), + openbook: context.openbook.clone(), + account: account2, + group, + owner, + openbook_market: openbook_v2_market, + openbook_market_external: openbook_market_cookie.market, + open_orders: open_orders2, + next_client_order_id: 100000, + }; + + CommonSetup { + group_with_tokens, + openbook_market_cookie, + quote_token: quote_token.clone(), + base_token: base_token.clone(), + order_placer, + order_placer2, + } +} diff --git a/programs/mango-v4/tests/cases/test_perp_settle.rs b/programs/mango-v4/tests/cases/test_perp_settle.rs index ec5f120ad4..5579a53b7a 100644 --- a/programs/mango-v4/tests/cases/test_perp_settle.rs +++ b/programs/mango-v4/tests/cases/test_perp_settle.rs @@ -1,4 +1,5 @@ use super::*; +use mango_client::StubOracleSetInstruction; #[tokio::test] async fn test_perp_settle_pnl_basic() -> Result<(), TransportError> { diff --git a/programs/mango-v4/tests/cases/test_serum.rs b/programs/mango-v4/tests/cases/test_serum.rs index 27613a8305..ec2bc3dc55 100644 --- a/programs/mango-v4/tests/cases/test_serum.rs +++ b/programs/mango-v4/tests/cases/test_serum.rs @@ -2,6 +2,7 @@ use super::*; use anchor_lang::prelude::AccountMeta; +use mango_client::StubOracleCreate; use mango_v4::accounts_ix::{Serum3OrderType, Serum3SelfTradeBehavior, Serum3Side}; use mango_v4::serum3_cpi::{load_open_orders_bytes, OpenOrdersSlim}; use std::sync::Arc; @@ -562,7 +563,7 @@ async fn test_serum_loan_origination_fees() -> Result<(), TransportError> { order_placer.settle().await; let o = order_placer.mango_serum_orders().await; - // parts of the order ended up on the book an may cause loan origination fees later + // parts of the order ended up on the book and may cause loan origination fees later assert_eq!( o.base_borrows_without_fee, (ask_amount - fill_amount) as u64 @@ -2019,7 +2020,7 @@ async fn test_serum_skip_bank() -> Result<(), TransportError> { struct CommonSetup { group_with_tokens: GroupWithTokens, - serum_market_cookie: SpotMarketCookie, + serum_market_cookie: SerumMarketCookie, quote_token: crate::program_test::mango_setup::Token, base_token: crate::program_test::mango_setup::Token, order_placer: SerumOrderPlacer, diff --git a/programs/mango-v4/tests/cases/test_stale_oracles.rs b/programs/mango-v4/tests/cases/test_stale_oracles.rs index 0dc51fbb71..6c9bc79561 100644 --- a/programs/mango-v4/tests/cases/test_stale_oracles.rs +++ b/programs/mango-v4/tests/cases/test_stale_oracles.rs @@ -2,6 +2,7 @@ use std::{path::PathBuf, str::FromStr}; use super::*; use anchor_lang::prelude::AccountMeta; +use mango_client::StubOracleCreate; use solana_sdk::account::AccountSharedData; #[tokio::test] diff --git a/programs/mango-v4/tests/fixtures/openbook_v2.so b/programs/mango-v4/tests/fixtures/openbook_v2.so new file mode 100644 index 0000000000000000000000000000000000000000..fdefb17b58ad0a8f123d2e964cc12dedd2c8df64 GIT binary patch literal 814896 zcmeFa3w%`9c`v#J3@;}c3=9w@L?iQ7I<>$rOiL`l4@{j3Y>&a5P-zfUfI}=H+tOk; z*8(R7bDI|YNMzqMl>}IjmvEB?k~SIAlN@N1lae$K_a-^zG-*SgB|S}w<0jni|2_7s z*%~2XBusj{exNn$^{wx{o_p^{Z@cUE5oKk8g^|I(2S`m@Fov^gwBX3wU!%W*pe9%t zjH18egK=CpK_zJg5s%vrkLPw42NMJgs*k4sogb9)cs${t)U()cH;RgyR$j#w;_;a` z2qG3+yAf0y{T->5cJcT)Lkj|n$7(u1Pkw~u$Is)}(UFpN`*6T%<2Z#e^WJ!iOHwrmUc>%*&| z8m?RVc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