{
    "Function": "approveContractCallWithMint",
    "File": "contracts/gmp-sdk/test/MockGateway.sol",
    "Parent Contracts": [
        "contracts/gmp-sdk/interfaces/IAxelarGateway.sol"
    ],
    "High-Level Calls": [],
    "Internal Calls": [
        "_setCommandExecuted",
        "_setContractCallApprovedWithMint",
        "abi.decode()"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function approveContractCallWithMint(bytes calldata params, bytes32 commandId) external {\n        _setCommandExecuted(commandId, true);\n        (\n            string memory sourceChain,\n            string memory sourceAddress,\n            address contractAddress,\n            bytes32 payloadHash,\n            string memory symbol,\n            uint256 amount,\n            bytes32 sourceTxHash,\n            uint256 sourceEventIndex\n        ) = abi.decode(params, (string, string, address, bytes32, string, uint256, bytes32, uint256));\n\n        _setContractCallApprovedWithMint(commandId, sourceChain, sourceAddress, contractAddress, payloadHash, symbol, amount);\n        emit ContractCallApprovedWithMint(\n            commandId,\n            sourceChain,\n            sourceAddress,\n            contractAddress,\n            payloadHash,\n            symbol,\n            amount,\n            sourceTxHash,\n            sourceEventIndex\n        );\n    }"
}