Function findOptimalSwapsVolatile

  • Parameters

    Returns {
        from: number;
        to: number;
        units: bigint;
    }[]

    Dev

    This function uses a simplification which is possible because there is a direct* conversion between units and share.