diff --git a/fastlane_bot/modes/base.py b/fastlane_bot/modes/base.py index 2091beb49..b7cbb79c9 100644 --- a/fastlane_bot/modes/base.py +++ b/fastlane_bot/modes/base.py @@ -21,8 +21,7 @@ def __init__(self, flashloan_tokens, CCm, ConfigObj): self.flashloan_tokens = flashloan_tokens self.CCm = CCm self.ConfigObj = ConfigObj - self.exchanges = ["bancor_v2", "bancor_v3"] + ConfigObj.UNI_V2_FORKS + ConfigObj.UNI_V3_FORKS - self.sort_order = {key: index for index, key in enumerate(self.exchanges)} + self.sort_order = {key: index for index, key in enumerate(["bancor_v2", "bancor_v3"] + ConfigObj.UNI_V2_FORKS + ConfigObj.UNI_V3_FORKS)} def find_combos(self) -> List[Any]: return self.find_arbitrage()["combos"]