1
0
mirror of https://github.com/payden/libwsclient synced 2025-06-13 12:53:52 +00:00
payden_libwsclient/bot/trade_executor.rs
2025-05-16 15:09:24 +09:00

14 lines
349 B
Rust

use solana_sdk::transaction::Transaction;
pub struct TradeExecutor {}
impl TradeExecutor {
pub fn new(_rpc_client: solana_client::rpc_client::RpcClient) -> Self {
Self {}
}
pub async fn execute_transactions(&self, txs: &[Transaction]) -> Vec<Transaction> {
let executed_txs = txs.to_vec();
executed_txs
}
}