{
    "Function": "slitherConstructorConstantVariables",
    "File": "contracts/cgp/governance/AxelarServiceGovernance.sol",
    "Parent Contracts": [
        "contracts/cgp/interfaces/IAxelarServiceGovernance.sol",
        "contracts/cgp/auth/MultisigBase.sol",
        "contracts/cgp/governance/InterchainGovernance.sol",
        "contracts/cgp/interfaces/IInterchainGovernance.sol",
        "contracts/cgp/util/Caller.sol",
        "contracts/cgp/interfaces/ICaller.sol",
        "contracts/gmp-sdk/util/TimeLock.sol",
        "contracts/gmp-sdk/interfaces/ITimeLock.sol",
        "contracts/gmp-sdk/executable/AxelarExecutable.sol",
        "contracts/gmp-sdk/interfaces/IAxelarExecutable.sol",
        "contracts/cgp/interfaces/IMultisigBase.sol"
    ],
    "High-Level Calls": [],
    "Internal Calls": [
        "keccak256(bytes)"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "contract AxelarServiceGovernance is InterchainGovernance, MultisigBase, IAxelarServiceGovernance {\n    enum ServiceGovernanceCommand {\n        ScheduleTimeLockProposal,\n        CancelTimeLockProposal,\n        ApproveMultisigProposal,\n        CancelMultisigApproval\n    }\n\n    mapping(bytes32 => bool) public multisigApprovals;\n\n    /**\n     * @notice Initializes the contract.\n     * @param gateway The address of the Axelar gateway contract\n     * @param governanceChain The name of the governance chain\n     * @param governanceAddress The address of the governance contract\n     * @param minimumTimeDelay The minimum time delay for timelock operations\n     * @param cosigners The list of initial signers\n     * @param threshold The number of required signers to validate a transaction\n     */\n    constructor(\n        address gateway,\n        string memory governanceChain,\n        string memory governanceAddress,\n        uint256 minimumTimeDelay,\n        address[] memory cosigners,\n        uint256 threshold\n    ) InterchainGovernance(gateway, governanceChain, governanceAddress, minimumTimeDelay) MultisigBase(cosigners, threshold) {}\n\n    /**\n     * @notice Executes a multisig proposal.\n     * @param target The target address the proposal will call\n     * @param callData The data that encodes the function and arguments to call on the target contract\n     * @param nativeValue The value of native token to be sent to the target contract\n     */\n    function executeMultisigProposal(\n        address target,\n        bytes calldata callData,\n        uint256 nativeValue\n    ) external payable onlySigners {\n        bytes32 proposalHash = keccak256(abi.encodePacked(target, callData, nativeValue));\n\n        if (!multisigApprovals[proposalHash]) revert NotApproved();\n\n        multisigApprovals[proposalHash] = false;\n\n        _call(target, callData, nativeValue);\n\n        emit MultisigExecuted(proposalHash, target, callData, nativeValue);\n    }\n\n    /**\n     * @notice Internal function to process a governance command\n     * @param commandId The id of the command\n     * @param target The target address the proposal will call\n     * @param callData The data the encodes the function and arguments to call on the target contract\n     * @param nativeValue The value of native token to be sent to the target contract\n     * @param eta The time after which the proposal can be executed\n     */\n    function _processCommand(\n        uint256 commandId,\n        address target,\n        bytes memory callData,\n        uint256 nativeValue,\n        uint256 eta\n    ) internal override {\n        if (commandId > uint256(type(ServiceGovernanceCommand).max)) {\n            revert InvalidCommand();\n        }\n\n        ServiceGovernanceCommand command = ServiceGovernanceCommand(commandId);\n        bytes32 proposalHash = keccak256(abi.encodePacked(target, callData, nativeValue));\n\n        if (command == ServiceGovernanceCommand.ScheduleTimeLockProposal) {\n            eta = _scheduleTimeLock(proposalHash, eta);\n\n            emit ProposalScheduled(proposalHash, target, callData, nativeValue, eta);\n            return;\n        } else if (command == ServiceGovernanceCommand.CancelTimeLockProposal) {\n            _cancelTimeLock(proposalHash);\n\n            emit ProposalCancelled(proposalHash, target, callData, nativeValue, eta);\n            return;\n        } else if (command == ServiceGovernanceCommand.ApproveMultisigProposal) {\n            multisigApprovals[proposalHash] = true;\n\n            emit MultisigApproved(proposalHash, target, callData, nativeValue);\n            return;\n        } else if (command == ServiceGovernanceCommand.CancelMultisigApproval) {\n            multisigApprovals[proposalHash] = false;\n\n            emit MultisigCancelled(proposalHash, target, callData, nativeValue);\n            return;\n        }\n    }\n}"
}