HydraDX-node
HydraDX-node copied to clipboard
Change: make onchain router work for every assets that are in oracle
Right now one can set onchain route for a route that does not contain any insufficient asset.
We want to change the way to make it possible to set onchain route for insufficient assets that have oracle data.
Just like we do in DCA, one can create DCA schedule for any asset that has oracle data.
The simplest solution would be to add a validation of the route can have oracle price.