Updates the Astroport adapter contract to support multiple routes.
The main change is to add an optional offer_asset to AstroportPoolSwap to allow manually setting the swap amount of an operation. With this we can set the offer_asset of a swap operation to the offer_asset of the route if it is the first operation in the route.
Most validation we will have to do regarding multiple routes appears to be done in the entry point contract, but correct me if I'm wrong.
Updates the Astroport adapter contract to support multiple routes.
The main change is to add an optional
offer_asset
toAstroportPoolSwap
to allow manually setting the swap amount of an operation. With this we can set theoffer_asset
of a swap operation to theoffer_asset
of the route if it is the first operation in the route.Most validation we will have to do regarding multiple routes appears to be done in the entry point contract, but correct me if I'm wrong.