Function depositWithGasViaPermit

  • Wraps all tokens provided through value into wrapped gas and deposits them More tokens can be provided through the optiohal tarnsferFrom input

    Parameters

    • vault: string
    • tokens: string[]

      Should be a list of the tokens within the pool. Used to set approvals for the router

    • minOut: bigint
    • transferFroms: [string[], bigint[]] = ...
    • owner: string
    • Optional permitBatchData: PermitBatchData

    Returns RouterCallArguments