{
    "Function": "slitherConstructorConstantVariables",
    "File": "governance/contracts/wveOLAS.sol",
    "Parent Contracts": [],
    "High-Level Calls": [],
    "Internal Calls": [],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "contract wveOLAS {\n    // veOLAS address\n    address public immutable ve;\n    // OLAS address\n    address public immutable token;\n    // veOLAS token name\n    string public constant name = \"Voting Escrow OLAS\";\n    // veOLAS token symbol\n    string public constant symbol = \"veOLAS\";\n    // veOLAS token decimals\n    uint8 public constant decimals = 18;\n\n    /// @dev TokenomicsProxy constructor.\n    /// @param _ve veOLAS address.\n    /// @param _token OLAS address.\n    constructor(address _ve, address _token) {\n        // Check for the zero address\n        if (_ve == address(0) || _token == address(0)) {\n            revert ZeroAddress();\n        }\n        ve = _ve;\n        token = _token;\n    }\n\n    /// @dev Gets the total number of supply points.\n    /// @return numPoints Number of supply points.\n    function totalNumPoints() external view returns (uint256 numPoints) {\n        numPoints = IVEOLAS(ve).totalNumPoints();\n    }\n\n    /// @dev Gets the supply point of a specified index.\n    /// @param idx Supply point number.\n    /// @return sPoint Supply point.\n    function mapSupplyPoints(uint256 idx) external view returns (PointVoting memory sPoint) {\n        sPoint = IVEOLAS(ve).mapSupplyPoints(idx);\n    }\n\n    /// @dev Gets the slope change for a specific timestamp.\n    /// @param ts Timestamp.\n    /// @return slopeChange Signed slope change.\n    function mapSlopeChanges(uint64 ts) external view returns (int128 slopeChange) {\n        slopeChange = IVEOLAS(ve).mapSlopeChanges(ts);\n    }\n\n    /// @dev Gets the most recently recorded user point for `account`.\n    /// @param account Account address.\n    /// @return pv Last checkpoint.\n    function getLastUserPoint(address account) external view returns (PointVoting memory pv) {\n        pv = IVEOLAS(ve).getLastUserPoint(account);\n    }\n\n    /// @dev Gets the number of user points.\n    /// @param account Account address.\n    /// @return userNumPoints Number of user points.\n    function getNumUserPoints(address account) external view returns (uint256 userNumPoints) {\n        userNumPoints = IVEOLAS(ve).getNumUserPoints(account);\n    }\n\n    /// @dev Gets the checkpoint structure at number `idx` for `account`.\n    /// @notice The out of bound condition is treated by the default code generation check.\n    /// @param account User wallet address.\n    /// @param idx User point number.\n    /// @return uPoint The requested user point.\n    function getUserPoint(address account, uint256 idx) public view returns (PointVoting memory uPoint) {\n        // Get the number of user points\n        uint256 userNumPoints = IVEOLAS(ve).getNumUserPoints(account);\n        if (userNumPoints > 0) {\n            uPoint = IVEOLAS(ve).getUserPoint(account, idx);\n        }\n    }\n\n    /// @dev Gets the voting power.\n    /// @param account Account address.\n    function getVotes(address account) external view returns (uint256 balance) {\n        balance = IVEOLAS(ve).getVotes(account);\n    }\n\n    /// @dev Gets voting power at a specific block number.\n    /// @param account Account address.\n    /// @param blockNumber Block number.\n    /// @return balance Voting balance / power.\n    function getPastVotes(address account, uint256 blockNumber) external view returns (uint256 balance) {\n        // Get the zero account point\n        PointVoting memory uPoint = getUserPoint(account, 0);\n        // Check that the point exists and the zero point block number is not smaller than the specified blockNumber\n        if (uPoint.blockNumber > 0 && blockNumber >= uPoint.blockNumber) {\n            balance = IVEOLAS(ve).getPastVotes(account, blockNumber);\n        }\n    }\n\n    /// @dev Gets the account balance in native token.\n    /// @param account Account address.\n    /// @return balance Account balance.\n    function balanceOf(address account) external view returns (uint256 balance) {\n        balance = IVEOLAS(ve).balanceOf(account);\n    }\n\n    /// @dev Gets the account balance at a specific block number.\n    /// @param account Account address.\n    /// @param blockNumber Block number.\n    /// @return balance Account balance.\n    function balanceOfAt(address account, uint256 blockNumber) external view returns (uint256 balance) {\n        // Get the zero account point\n        PointVoting memory uPoint = getUserPoint(account, 0);\n        // Check that the zero point block number is not smaller than the specified blockNumber\n        if (uPoint.blockNumber > 0 && blockNumber >= uPoint.blockNumber) {\n            balance = IVEOLAS(ve).balanceOfAt(account, blockNumber);\n        }\n    }\n\n    /// @dev Gets the `account`'s lock end time.\n    /// @param account Account address.\n    /// @return unlockTime Lock end time.\n    function lockedEnd(address account) external view returns (uint256 unlockTime) {\n        unlockTime = IVEOLAS(ve).lockedEnd(account);\n    }\n\n    /// @dev Gets total token supply.\n    /// @return supply Total token supply.\n    function totalSupply() external view returns (uint256 supply) {\n        supply = IVEOLAS(ve).totalSupply();\n    }\n\n    /// @dev Gets total token supply at a specific block number.\n    /// @param blockNumber Block number.\n    /// @return supplyAt Supply at the specified block number.\n    function totalSupplyAt(uint256 blockNumber) external view returns (uint256 supplyAt) {\n        supplyAt = IVEOLAS(ve).totalSupplyAt(blockNumber);\n    }\n\n    /// @dev Calculates total voting power at time `ts` that must be greater than the last supply point timestamp.\n    /// @param ts Time to get total voting power at.\n    /// @return vPower Total voting power.\n    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    }\n\n    /// @dev Calculates current total voting power.\n    /// @return vPower Total voting power.\n    function totalSupplyLocked() external view returns (uint256 vPower) {\n        vPower = IVEOLAS(ve).totalSupplyLocked();\n    }\n\n    /// @dev Calculate total voting power at some point in the past.\n    /// @notice The requested block number must be at least equal to the veOLAS zero supply point block number.\n    /// @param blockNumber Block number to calculate the total voting power at.\n    /// @return vPower Total voting power.\n    function getPastTotalSupply(uint256 blockNumber) external view returns (uint256 vPower) {\n        vPower = IVEOLAS(ve).getPastTotalSupply(blockNumber);\n    }\n\n    /// @dev Gets information about the interface support.\n    /// @param interfaceId A specified interface Id.\n    /// @return True if this contract implements the interface defined by interfaceId.\n    function supportsInterface(bytes4 interfaceId) external view returns (bool) {\n        return IVEOLAS(ve).supportsInterface(interfaceId);\n    }\n\n    /// @dev Reverts the transfer of this token.\n    function transfer(address, uint256) external returns (bool) {\n        revert NonTransferable(ve);\n    }\n\n    /// @dev Reverts the approval of this token.\n    function approve(address, uint256) external returns (bool) {\n        revert NonTransferable(ve);\n    }\n\n    /// @dev Reverts the transferFrom of this token.\n    function transferFrom(address, address, uint256) external returns (bool) {\n        revert NonTransferable(ve);\n    }\n\n    /// @dev Reverts the allowance of this token.\n    function allowance(address, address) external view returns (uint256) {\n        revert NonTransferable(ve);\n    }\n\n    /// @dev Reverts delegates of this token.\n    function delegates(address) external view returns (address) {\n        revert NonDelegatable(ve);\n    }\n\n    /// @dev Reverts delegate for this token.\n    function delegate(address) external\n    {\n        revert NonDelegatable(ve);\n    }\n\n    /// @dev Reverts delegateBySig for this token.\n    function delegateBySig(address, uint256, uint256, uint8, bytes32, bytes32) external\n    {\n        revert NonDelegatable(ve);\n    }\n\n    /// @dev Reverts other calls such that the original veOLAS is used.\n    fallback() external {\n        revert ImplementedIn(ve);\n    }\n}"
}