Rename margin_trade.rs -> flash_loan.rs

This commit is contained in:
Christian Kamm 2022-06-23 10:21:04 +02:00
parent c8ebc1f611
commit 0bd5b8fdf3
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,3 @@
pub use self::margin_trade::*;
pub use benchmark::*;
pub use close_account::*;
pub use close_group::*;
@ -7,6 +6,7 @@ pub use compute_health::*;
pub use create_account::*;
pub use create_group::*;
pub use create_stub_oracle::*;
pub use flash_loan::*;
pub use liq_token_with_token::*;
pub use perp_cancel_all_orders::*;
pub use perp_cancel_all_orders_by_side::*;
@ -41,8 +41,8 @@ mod compute_health;
mod create_account;
mod create_group;
mod create_stub_oracle;
mod flash_loan;
mod liq_token_with_token;
mod margin_trade;
mod perp_cancel_all_orders;
mod perp_cancel_all_orders_by_side;
mod perp_cancel_order;

View File

@ -6,7 +6,7 @@ use anchor_spl::token::{Token, TokenAccount};
use fixed::types::I80F48;
use itertools::Itertools;
use mango_v4::instructions::{
CpiData, InterestRateParams, FlashLoanWithdraw, Serum3OrderType, Serum3SelfTradeBehavior,
CpiData, FlashLoanWithdraw, InterestRateParams, Serum3OrderType, Serum3SelfTradeBehavior,
Serum3Side,
};
use solana_program::instruction::Instruction;