SDaiUnwrap

Description

Action that redeems sDai for dai.

Action ID

0xeafe8383

SDK Action

const sDaiUnwrapAction = new dfs.actions.basic.SDaiUnwrapAction(
    amount,
    from,
    to
);

Action Type

STANDARD_ACTION

Input Parameters

    /// @param amount - Amount of sDai to redeem
    /// @param from - Address from which the tokens will be pulled
    /// @param to - Address that will receive the dai
    struct Params {
        uint256 amount;
        address from;
        address to;
    }

Return Value

Events and Logs

Last updated

Was this helpful?