🪞ReflexerNativeUniV2SaviourGetReserves

NOT YET DEPLOYED

Description

Action ID: 0xfa924c60

Get back system coins or collateral tokens that were withdrawn from Uniswap and not used to save a specific SAFE

SDK Action

const reflexerSaviourGetReservesAction = new dfs.actions.reflexer.ReflexerSaviourGetReservesAction(
        to,
        safeId,
    );

Contract

This is a DFS STANDARD_ACTION.

Input:

    /// @param to The address that will receive tokens
    /// @param safeId The ID of the SAFE. This ID should be registered inside GebSafeManager
    struct Params {
        address to;
        uint256 safeId;
    }

Return value:

return bytes32(inputData.safeId);

Events:

emit ActionEvent("ReflexerNativeUniV2SaviourGetReserves", logData);

bytes memory logData = _reflexerSaviourGetReserves(inputData)

logger.logActionDirectEvent("ReflexerNativeUniV2SaviourGetReserves", logData);

Last updated