{
    "Function": "mintSynth",
    "File": "contracts/Synth.sol",
    "Parent Contracts": [
        "contracts/interfaces/iBEP20.sol"
    ],
    "High-Level Calls": [],
    "Internal Calls": [
        "_mint",
        "onlyPool",
        "_getAddedLPAmount"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function mintSynth(address member, uint amount) external onlyPool returns (uint syntheticAmount){\n        uint lpUnits = _getAddedLPAmount(msg.sender); // Get the received LP units\n        mapSynth_LPDebt[msg.sender] += amount; // Increase debt by synth amount\n        mapSynth_LPBalance[msg.sender] += lpUnits; // Increase lp balance by LPs received\n        _mint(member, amount); // Mint the synths & tsf to user\n        return amount;\n    }"
}