{
    "Function": "_handleTransferOut",
    "File": "contracts/Router.sol",
    "Parent Contracts": [],
    "High-Level Calls": [
        "iWBNB",
        "iBEP20"
    ],
    "Internal Calls": [
        "require(bool,string)"
    ],
    "Library Calls": [],
    "Low-Level Calls": [
        "call"
    ],
    "Code": "function _handleTransferOut(address _token, uint256 _amount, address _recipient) internal {\n        if(_amount > 0) {\n            if (_token == address(0)) {\n                iWBNB(WBNB).withdraw(_amount); // Unwrap WBNB to BNB\n                (bool success, ) = payable(_recipient).call{value:_amount}(\"\");  // Send BNB to recipient\n                require(success, \"!send\");\n            } else {\n                iBEP20(_token).transfer(_recipient, _amount); // Transfer TOKEN to recipient\n            }\n        }\n    }"
}