1 2 3 4 5 6 7 8 9 10 11 12 13 14
//! Meteora liquidity plugin (official, behind the `meteora` feature). use crate::{Ctx, Receipt, Result, Usd, Wallet}; /// Add `amount` (USD) of liquidity to a Meteora pool. pub async fn add_liquidity( _ctx: &Ctx, _wallet: &Wallet, _pool: &str, _amount: Usd, ) -> Result<Receipt> { // TODO: build the add-liquidity tx, sign, submit, return the `Receipt`. todo!("meteora add_liquidity") }