SoroswapLibrary
Code
Usage as a crate
use soroswap_library;let quote = soroswap_library::quote(amount_a, reserve_a, reserve_b)
Internal Functions
sort_tokens
fn sort_tokens(token_a: Address, token_b: Address) -> (Address, Address);pair_for
get_reserves
quote
get_amount_out
get_amount_in
get_amounts_out
get_amounts_in
Last updated
