Struct stable_swap_math::pool_converter::PoolTokenConverter [−][src]
pub struct PoolTokenConverter<'a> {
pub supply: u64,
pub token_a: u64,
pub token_b: u64,
pub fees: &'a Fees,
}
Expand description
Converter to determine how much to deposit / withdraw, along with proper initialization
Fields
supply: u64
Total supply
token_a: u64
Token A amount
token_b: u64
Token B amount
fees: &'a Fees
Fees