jediswap_v2_swap_router
Router for stateless execution of swaps against JediSwap V2
Functions
exact_input_single
Swaps amount_in
of one token for as much as possible of another token
Parameters:
Return Values:
exact_input
Swaps amount_in
of one token for as much as possible of another along the specified path
Parameters:
Return Values:
exact_output_single
Swaps as little as possible of one token for amount_out
of another token
Parameters:
Return Values:
exact_output
Swaps as little as possible of one token for amount_out
of another along the specified path (reversed)
path array will be in format [token_out, token_in, fee] if used for single hop (recommend using exact_output_single)
for multihop going from token_in to token_out via token_mid, path will be [token_out, token_mid, fee_out_mid, token_mid, token_in, fee_mid_in]
Parameters:
Return Values:
jediswap_v2_swap_callback
Parameters:
ABI
Last updated