💲McdOpen

Description

Action ID: 0xb259bfca

Network mainnet: (Deployed address | Code)

Open a new empty Maker vault

SDK Action

const mcdOpenVault = new dfs.actions.maker.MakerOpenVaultAction(joinAddr, mcdManager);

Contract

This is a DFS STANDARD_ACTION.

Input:

    /// @param joinAddr Join address of the maker collateral
    /// @param mcdManager The manager address we are using [mcd, b.protocol]
    struct Params {
        address joinAddr;
        address mcdManager;
    }

Return value:

return bytes32(newVaultId);

Events:

emit ActionEvent("McdOpen", logData);

logger.logActionDirectEvent("McdOpen", logData);

Last updated