{
    "Function": "handleTransfer",
    "File": "src/PoolManager.sol",
    "Parent Contracts": [
        "src/util/Auth.sol"
    ],
    "High-Level Calls": [
        "SafeTransferLib",
        "EscrowLike"
    ],
    "Internal Calls": [
        "onlyGateway",
        "require(bool,string)"
    ],
    "Library Calls": [
        "safeTransferFrom"
    ],
    "Low-Level Calls": [],
    "Code": "function handleTransfer(uint128 currency, address recipient, uint128 amount) public onlyGateway {\n        address currencyAddress = currencyIdToAddress[currency];\n        require(currencyAddress != address(0), \"PoolManager/unknown-currency\");\n\n        EscrowLike(escrow).approve(currencyAddress, address(this), amount);\n        SafeTransferLib.safeTransferFrom(currencyAddress, address(escrow), recipient, amount);\n    }"
}