{
    "Function": "_atPhase",
    "File": "contracts/LaunchEvent.sol",
    "Parent Contracts": [
        "node_modules/@openzeppelin/contracts/access/Ownable.sol",
        "node_modules/@openzeppelin/contracts/utils/Context.sol"
    ],
    "High-Level Calls": [],
    "Internal Calls": [
        "revert(string)",
        "require(bool,string)",
        "currentPhase",
        "require(bool,string)",
        "currentPhase",
        "currentPhase",
        "require(bool,string)",
        "require(bool,string)",
        "currentPhase"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function _atPhase(Phase _phase) internal view {\n        if (_phase == Phase.NotStarted) {\n            require(\n                currentPhase() == Phase.NotStarted,\n                \"LaunchEvent: not in not started\"\n            );\n        } else if (_phase == Phase.PhaseOne) {\n            require(\n                currentPhase() == Phase.PhaseOne,\n                \"LaunchEvent: not in phase one\"\n            );\n        } else if (_phase == Phase.PhaseTwo) {\n            require(\n                currentPhase() == Phase.PhaseTwo,\n                \"LaunchEvent: not in phase two\"\n            );\n        } else if (_phase == Phase.PhaseThree) {\n            require(\n                currentPhase() == Phase.PhaseThree,\n                \"LaunchEvent: not in phase three\"\n            );\n        } else {\n            revert(\"LaunchEvent: unknown state\");\n        }\n    }"
}