router_dry.gno
Simulates the swap router.
DrySwapRoute
Simulates a swap through the route that offers the most favorable exchange rate.
Parameters
Name | Type | Description |
---|---|---|
| string | The path of the input token. |
| string | The path of the output token. |
| string | The amount of the specified token. |
| string | The type of the swap. |
| string | The route of the swap. |
| string | The share of each split of the route. |
Return Values
Name | Type | Description |
---|---|---|
| string | The result of the swap. Returns |
Last updated