Checks if the current instance is equal to another (has an identical chainId and address).
Creates a new trade.
Calculates the average price that the trade would execute at.
What the new mid price would be if the trade were to execute.
The slippage incurred by the trade. (strictly > 0.30%) result is a percent like 100.0%
Trades the minimum amount out.
Trades the maximum amount in.
Given a list of pairs, a fixed amount in, and token out, this method returns the best maxNumResults trades that swap an input token amount to an output token, making at most maxHops hops. The returned trades are sorted by output amount, in decreasing order, and all share the given input amount.
Similar to the above method, but targets a fixed output token amount. The returned trades are sorted by input amount, in increasing order, and all share the given output amount.