waveFluidDexSmartCollWithdraw

Description

Withdraw tokens from Fluid DEX vault (T2, T4)

This sdk action uses FluidDexWithdraw as underlying smart contract.

Action ID

0x4f1673fd

SDK Action

const fluidDexWithdrawAction = new dfs.actions.fluid.FluidDexSmartCollWithdrawAction(
    vault,
    to,
    nftId,
    withdrawVariableData,
    wrapWithdrawnEth
);

Action Type

STANDARD_ACTION

Input Parameters

circle-info

SDK will set withdrawAmount as empty for dex withdraw action as that field is only used for regular withdraw (T1,T3), not smart collateral withdraw (T2,T4).

Return Value

circle-info

For smart collateral withdraw action, return value will represent burned shares

Events and Logs

Last updated