LiquityClose

Description

Action for closing a liquity trove

Action ID

0xfaf0f6a9

SDK Action

const liquityCloseAction = new dfs.actions.liquity.LiquityCloseAction(
    from,
    to
);

Action Type

STANDARD_ACTION

Input Parameters

    /// @param from Address where to pull the LUSD tokens from
    /// @param to Address that will receive the collateral
    struct Params {
        address from;
        address to;
    }

Return Value

return bytes32(coll);

Events and Logs

emit ActionEvent("LiquityClose", logData);
logger.logActionDirectEvent("LiquityClose", logData);
bytes memory logData = abi.encode(params);

Last updated

Was this helpful?