{
    "Function": "totalSupplyLockedAtT",
    "File": "governance/contracts/wveOLAS.sol",
    "Parent Contracts": [],
    "High-Level Calls": [
        "IVEOLAS",
        "IVEOLAS",
        "IVEOLAS"
    ],
    "Internal Calls": [
        "revert WrongTimestamp(uint256,uint256)"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function totalSupplyLockedAtT(uint256 ts) external view returns (uint256 vPower) {\n        // Get the total number of supply points\n        uint256 numPoints = IVEOLAS(ve).totalNumPoints();\n        PointVoting memory sPoint = IVEOLAS(ve).mapSupplyPoints(numPoints);\n        // Check the last supply point timestamp is not smaller than the specified ts\n        if (ts >= sPoint.ts) {\n            vPower = IVEOLAS(ve).totalSupplyLockedAtT(ts);\n        } else {\n            revert WrongTimestamp(sPoint.ts, ts);\n        }\n    }"
}