MorphoBlueSetAuth

Description

Allow or disallow an address to manage MorphoBlue position on user's wallet

Action ID

0x3f1352f1

SDK Action

const morphoBlueSetAuthAction = new dfs.actions.morpho-blue.MorphoBlueSetAuthAction(
    manager,
    newIsAuthorized
);

Action Type

STANDARD_ACTION

Input Parameters

    /// @param manager Address of the manager
    /// @param newIsAuthorized Whether the manager is allowed to manage the position
    struct Params {
        address manager;
        bool newIsAuthorized;
    }

Return Value

return bytes32(bytes20(params.manager));

Events and Logs

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

Last updated

Was this helpful?