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

EulerV2ReorderCollaterals

Description

Reorder account collaterals. Can be used to optimize gas costs when checking account health status

Action ID

0xb87c133d

SDK Action

const eulerV2ReorderCollateralsAction = new dfs.actions.eulerV2.EulerV2ReorderCollateralsAction(
    account,
    indexes
);

Action Type

STANDARD_ACTION

Input Parameters

    /// @param account The address of the Euler account, defaults to user's wallet
    /// @param indexes The array of swap steps to reorder collaterals
    struct Params {
        address account;
        uint8[][] indexes;
    }

Return Value

Events and Logs

Last updated