{
    "Function": "_sendProposal",
    "File": "contracts/interchain-governance-executor/InterchainProposalSender.sol",
    "Parent Contracts": [
        "contracts/interchain-governance-executor/interfaces/IInterchainProposalSender.sol"
    ],
    "High-Level Calls": [
        "IAxelarGateway",
        "IAxelarGasService"
    ],
    "Internal Calls": [
        "abi.encode()"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function _sendProposal(InterchainCalls.InterchainCall memory interchainCall) internal {\n        bytes memory payload = abi.encode(msg.sender, interchainCall.calls);\n\n        if (interchainCall.gas > 0) {\n            gasService.payNativeGasForContractCall{ value: interchainCall.gas }(\n                address(this),\n                interchainCall.destinationChain,\n                interchainCall.destinationContract,\n                payload,\n                msg.sender\n            );\n        }\n\n        gateway.callContract(interchainCall.destinationChain, interchainCall.destinationContract, payload);\n    }"
}