{
    "Function": "addressForPreTransfer",
    "File": "src/libraries/ProtocolLib.sol",
    "Parent Contracts": [],
    "High-Level Calls": [
        "AddressLib"
    ],
    "Internal Calls": [
        "protocol"
    ],
    "Library Calls": [
        "get"
    ],
    "Low-Level Calls": [],
    "Code": "function addressForPreTransfer(Address self) internal view returns (address) {\n        if (protocol(self) == Protocol.UniswapV2) {\n            return self.get();\n        }\n        return address(this);\n    }"
}