{
    "Function": "executeWithToken",
    "File": "src/interfaces/IAxelarExecutable.sol",
    "Parent Contracts": [],
    "High-Level Calls": [
        "IAxelarGateway"
    ],
    "Internal Calls": [
        "keccak256(bytes)",
        "revert NotApprovedByGateway()",
        "_executeWithToken"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function executeWithToken(\n        bytes32 commandId,\n        string memory sourceChain,\n        string memory sourceAddress,\n        bytes calldata payload,\n        string memory tokenSymbol,\n        uint256 amount\n    ) external {\n        bytes32 payloadHash = keccak256(payload);\n        if (\n            !IAxelarGateway(gateway).validateContractCallAndMint(\n                commandId,\n                sourceChain,\n                sourceAddress,\n                payloadHash,\n                tokenSymbol,\n                amount\n            )\n        ) revert NotApprovedByGateway();\n\n        _executeWithToken(sourceChain, sourceAddress, payload, tokenSymbol, amount);\n    }"
}