{
    "Function": "acceptAdmin",
    "File": "contracts/governance/Timelock.sol",
    "Parent Contracts": [
        "contracts/interfaces/governance/ITimelock.sol"
    ],
    "High-Level Calls": [],
    "Internal Calls": [
        "require(bool,string)"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function acceptAdmin() public override {\n        require(\n            msg.sender == pendingAdmin,\n            \"Timelock::acceptAdmin: Call must come from pendingAdmin.\"\n        );\n        admin = msg.sender;\n        pendingAdmin = address(0);\n\n        emit NewAdmin(admin);\n    }"
}