Implement A Trade
with the Brokerbot Router, an integration of the Uniswap V3 Router interface
There are two ways to trade (buy&sell) share tokens:
Direct trade of base currency and share token (single swap)
Multihop trade between ERC20/ETH and share token with a trading path (multihop swap)
These trades all use the functions and structs from the ISwapRouter interface from Uniswap.
Github source
Last updated