Skip to main content

Module utils

Module utils 

Source

Functionsยง

floor_div
get_protocol_fee
get_trade_fee
rebalance_pool_ratio
swap
This is guaranteed to work for all values such that:
swap_base_input_without_fees