For the complete documentation index, see llms.txt. This page is also available as Markdown.

LiquitySPDeposit

Description

Action for depositing LUSD tokens to the stability pool

Action ID

0x78b3246a

SDK Action

const liquitySPDepositAction = new dfs.actions.liquity.LiquitySPDepositAction(
    lusdAmount,
    from,
    wethTo,
    lqtyTo
);

Action Type

STANDARD_ACTION

Input Parameters

    /// @param lusdAmount Amount of LUSD tokens to deposit
    /// @param from Address where to pull the tokens from
    /// @param wethTo Address that will receive ETH(wrapped) gains
    /// @param lqtyTo Address that will receive LQTY token gains
    struct Params {
        uint256 lusdAmount;
        address from;
        address wethTo;
        address lqtyTo;
    }

Return Value

Events and Logs

Last updated