```\nfunction getInlfationIntervalsPassed() override public view returns(uint256) {\n    // The block that inflation was last calculated at\n    uint256 inflationLastCalculatedBlock = getInflationCalcBlock();\n    // Get the daily inflation in blocks\n    uint256 inflationInterval = getInflationIntervalBlocks();\n    // Calculate now if inflation has begun\n    if(inflationLastCalculatedBlock > 0) {\n        return (block.number).sub(inflationLastCalculatedBlock).div(inflationInterval);\n    }else{\n        return 0;\n    }\n}\n```\n