FluidDexSmartCollSupply

Description

Supply tokens to Fluid DEX vault with smart collateral (T2, T4)

This sdk action uses FluidDexSupply as underlying smart contract.

Action ID

0x3cf3e466

SDK Action

const fluidDexSupplyAction = new dfs.actions.fluid.FluidDexSmartCollSupplyAction(
    vault,
    from,
    nftId,
    supplyVariableData
);

Action Type

STANDARD_ACTION

Input Parameters

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

Return Value

For smart collateral supply action, return value will represent minted shares

Events and Logs

Last updated

Was this helpful?