{
    "Function": "slitherConstructorVariables",
    "File": "contracts/lybra/token/LBR.sol",
    "Parent Contracts": [
        "node_modules/@openzeppelin/contracts/token/ERC20/ERC20.sol",
        "node_modules/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol",
        "node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol",
        "contracts/OFT/BaseOFTV2.sol",
        "contracts/OFT/IOFTV2.sol",
        "contracts/OFT/ICommonOFT.sol",
        "node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol",
        "node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol",
        "contracts/OFT/OFTCoreV2.sol",
        "contracts/OFT/lzApp/NonblockingLzApp.sol",
        "contracts/OFT/lzApp/LzApp.sol",
        "contracts/OFT/interfaces/ILayerZeroUserApplicationConfig.sol",
        "contracts/OFT/interfaces/ILayerZeroReceiver.sol",
        "node_modules/@openzeppelin/contracts/access/Ownable.sol",
        "node_modules/@openzeppelin/contracts/utils/Context.sol"
    ],
    "High-Level Calls": [],
    "Internal Calls": [],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "contract LBR is BaseOFTV2, ERC20 {\n    Iconfigurator public immutable configurator;\n    uint256 maxSupply = 100_000_000 * 1e18;\n    uint internal immutable ld2sdRatio;\n\n    constructor(address _config, uint8 _sharedDecimals, address _lzEndpoint) ERC20(\"LBR\", \"LBR\") BaseOFTV2(_sharedDecimals, _lzEndpoint) {\n        configurator = Iconfigurator(_config);\n        uint8 decimals = decimals();\n        require(_sharedDecimals <= decimals, \"OFT: sharedDecimals must be <= decimals\");\n        ld2sdRatio = 10 ** (decimals - _sharedDecimals);\n    }\n\n    function mint(address user, uint256 amount) external returns (bool) {\n        require(configurator.tokenMiner(msg.sender), \"not authorized\");\n        require(totalSupply() + amount <= maxSupply, \"exceeding the maximum supply quantity.\");\n        _mint(user, amount);\n        return true;\n    }\n\n    function burn(address user, uint256 amount) external returns (bool) {\n        require(configurator.tokenMiner(msg.sender), \"not authorized\");\n        _burn(user, amount);\n        return true;\n    }\n\n    function circulatingSupply() public view virtual override returns (uint) {\n        return totalSupply();\n    }\n\n    function token() public view virtual override returns (address) {\n        return address(this);\n    }\n\n    /************************************************************************\n     * internal functions\n     ************************************************************************/\n    function _debitFrom(address _from, uint16, bytes32, uint _amount) internal virtual override returns (uint) {\n        address spender = _msgSender();\n        if (_from != spender) _spendAllowance(_from, spender, _amount);\n        _burn(_from, _amount);\n        return _amount;\n    }\n\n    function _creditTo(uint16, address _toAddress, uint _amount) internal virtual override returns (uint) {\n        _mint(_toAddress, _amount);\n        return _amount;\n    }\n\n    function _transferFrom(address _from, address _to, uint _amount) internal virtual override returns (uint) {\n        address spender = _msgSender();\n        // if transfer from this contract, no need to check allowance\n        if (_from != address(this) && _from != spender)\n            _spendAllowance(_from, spender, _amount);\n        _transfer(_from, _to, _amount);\n        return _amount;\n    }\n\n    function _ld2sdRatio() internal view virtual override returns (uint) {\n        return ld2sdRatio;\n    }\n}"
}