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
3.- If a protocol DOES NOT exist in config.json it will not even be considered in the Configuration Settings
4.- If a protocol DOES exist but is in FALSE. It will be allowed, and disabled by default
5.- If a protocol DOES exist but is in TRUE. It will be allowed, and ENABLED by default
Currently we have in
frontend/src/functions/generateRoute.ts
Line 84 in 85e531a
Also, al protocols are defined in
import {
Protocols,,
} from 'soroswap-router-sdk';
This is not elegant.
We want:
1.- Get Protocols from 'soroswap-router-sdk';
2.- For every protocol in Protocols, check if exist in config.json
config.json should be like this:
3.- If a protocol DOES NOT exist in config.json it will not even be considered in the Configuration Settings
4.- If a protocol DOES exist but is in FALSE. It will be allowed, and disabled by default
5.- If a protocol DOES exist but is in TRUE. It will be allowed, and ENABLED by default
At the same time, after finishing #548 Check that
The text was updated successfully, but these errors were encountered: