Function withdrawWithGasViaPermit

  • Withdraws and unwraps gas tokens into native

    Parameters

    • vault: string
    • vaultTokenAmount: bigint
    • tokens: string[]

      Should be a list of the tokens within the pool. Used to sweep the router. Should include the gas token

    • minOuts: bigint[]
    • gasToken: string = ''

      The address of the gas token. Used to set the token to unwrap.

    • Optional permitData: PermitData

    Returns RouterCallArguments