balancer_sdk 0.1.6-alpha

A Rust SDK which provides commonly used utilties for interacting with Balancer Protocol V2
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/// General, MinimalSwapInfo, TwoToken,
#[derive(Copy, Clone, Debug)]
#[repr(u8)]
pub enum PoolSpecialization {
    General,
    MinimalSwapInfo,
    TwoToken,
}

/// GivenIn, GivenOut
#[derive(Copy, Clone, Debug)]
#[repr(u8)]
pub enum SwapKind {
    GivenIn,
    GivenOut,
}