{
    "Function": "parseExecutedCollectInvest",
    "File": "src/gateway/Messages.sol",
    "Parent Contracts": [],
    "High-Level Calls": [
        "BytesLib",
        "BytesLib",
        "BytesLib",
        "BytesLib",
        "BytesLib",
        "BytesLib"
    ],
    "Internal Calls": [],
    "Library Calls": [
        "toBytes16",
        "toUint128",
        "toAddress",
        "toUint128",
        "toUint128",
        "toUint64"
    ],
    "Low-Level Calls": [],
    "Code": "function parseExecutedCollectInvest(bytes memory _msg)\n        internal\n        pure\n        returns (\n            uint64 poolId,\n            bytes16 trancheId,\n            address investor,\n            uint128 currency,\n            uint128 currencyPayout,\n            uint128 trancheTokensPayout\n        )\n    {\n        poolId = BytesLib.toUint64(_msg, 1);\n        trancheId = BytesLib.toBytes16(_msg, 9);\n        investor = BytesLib.toAddress(_msg, 25);\n        currency = BytesLib.toUint128(_msg, 57);\n        currencyPayout = BytesLib.toUint128(_msg, 73);\n        trancheTokensPayout = BytesLib.toUint128(_msg, 89);\n    }"
}