waterpump-evm-pool-sdk 0.1.0

EVM pool SDK — viewers, infusers, harvesters, swappers for Uniswap V3/V4, PancakeSwap, Slipstream, Shadow, Algebra
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
pub mod gas_price;
pub mod slippage;
pub mod transaction;
pub mod two_hop_path;
pub mod two_hop_swapper_methods;

// Re-export from common module for backward compatibility
pub use gas_price::{adjust_gas_prices, AdjustedGasPrices};
pub use slippage::{maximum_amount_in, minimum_amount_out};
pub use transaction::{
    build_transaction_with_gas_prices, find_event, find_events, merge_two_hop_swap_results,
    send_and_wait_for_transaction, MethodParameters, SwapEventData,
};
pub use two_hop_path::determine_two_hop_path_tokens;

pub use crate::common::{approve_if_needed, wrap_eth_if_needed};