{
    "Function": "_vestingSchedule",
    "File": "contracts/peripheral_contracts/VestingWallet.sol",
    "Parent Contracts": [
        "node_modules/@openzeppelin/contracts/utils/Context.sol"
    ],
    "High-Level Calls": [],
    "Internal Calls": [
        "duration",
        "start",
        "start",
        "duration",
        "start"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function _vestingSchedule(uint256 totalAllocation, uint64 timestamp)\n        internal\n        view\n        virtual\n        returns (uint256)\n    {\n        if (timestamp < start()) {\n            return 0;\n        } else if (timestamp > start() + duration()) {\n            return totalAllocation;\n        } else {\n            return (totalAllocation * (timestamp - start())) / duration();\n        }\n    }"
}