TokenizedVaultAdapter

Description

No description available

Notes

Action that handles ERC4626 vault operations

Action ID

0x3e46d5ba

SDK Actions

All actions are mapped to the same contract.

const tokenizedVaultAdapterDepositAction = new dfs.actions.basic.TokenizedVaultAdapterDepositAction(
    amount,
    minOut,
    vaultAddress,
    from,
    to,
    underlyingAssetAddress
);

const tokenizedVaultAdapterMintAction = new dfs.actions.basic.TokenizedVaultAdapterMintAction(
    amount,
    maxIn,
    vaultAddress,
    from,
    to,
    underlyingAssetAddress
);

const tokenizedVaultAdapterRedeemAction = new dfs.actions.basic.TokenizedVaultAdapterRedeemAction(
    amount,
    minOut,
    vaultAddress,
    from,
    to
);

const tokenizedVaultAdapterWithdrawAction = new dfs.actions.basic.TokenizedVaultAdapterWithdrawAction(
    amount,
    maxIn,
    vaultAddress,
    from,
    to
);

Action Type

STANDARD_ACTION

Input Parameters

Return Value

Events and Logs

Last updated

Was this helpful?