YearnWithdraw

Description

Burns yTokens and receive underlying tokens in return

Notes

yTokens need to be approved for user's wallet to pull them (yToken address)

Action ID

0x42b4f003

SDK Action

const yearnWithdrawAction = new dfs.actions.yearn.YearnWithdrawAction(
    tokenAddr,
    amount,
    from,
    to
);

Action Type

STANDARD_ACTION

Input Parameters

Return Value

Events and Logs

Last updated

Was this helpful?