{
    "Function": "addVUSDMarginWithReserve",
    "File": "contracts/MarginAccountHelper.sol",
    "Parent Contracts": [],
    "High-Level Calls": [
        "VUSD",
        "SafeERC20",
        "IMarginAccount"
    ],
    "Internal Calls": [],
    "Library Calls": [
        "safeTransferFrom"
    ],
    "Low-Level Calls": [],
    "Code": "function addVUSDMarginWithReserve(uint256 amount) external {\n        reserveToken.safeTransferFrom(msg.sender, address(this), amount);\n        vusd.mintWithReserve(address(this), amount);\n        marginAccount.addMarginFor(VUSD_IDX, amount, msg.sender);\n    }"
}