You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: TRADING_MODE_EXAMPLE.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -122,15 +122,15 @@ This method:
122
122
### Multi-Hop Routes
123
123
124
124
The `isPairTradable()` method intelligently handles multi-hop routes. For example, if you want to swap CELO → USDT but there's no direct exchange, the route might be:
125
-
- CELO → cUSD (hop 1)
126
-
-cUSD → USDT (hop 2)
125
+
- CELO → USDm (hop 1)
126
+
-USDm → USDT (hop 2)
127
127
128
128
The method will check that **ALL** rate feeds in the path are in BIDIRECTIONAL mode. If any hop is HALTED or DISABLED, the entire pair is considered not tradable.
0 commit comments