def METHOD_NAME(message_type: str, message_content: str):
    indexer_event = IndexerMessageEvent(
        source="KT1BfL57oZfptdtMFZ9LNakEPvuPPA2urdSW",
        timestamp=dt.datetime(2022, 11, 16, tzinfo=dt.timezone.utc),
        type="MessageEvent",
        operationHash="oorMNgusX6RxZ4NhzYriVDN8HDeMBNkjD3E8kx9a7j7dRRDGkzz",
        blockLevel=584664,
        payload=MessageEventPayload(
            timestamp=1668611900,
            addr="KT1VBeLD7hzKpj17aRJ3Kc6QQFeikCEXi7W6",
            msgtype=message_type,
            msgcontent=message_content,
        ),
    )
    tx = indexer_event_to_chain_tx(indexer_event)
    assert tx.chain == Chain.TEZOS
    assert tx.datetime == indexer_event.timestamp
    assert tx.publisher == indexer_event.source
    assert tx.hash == indexer_event.operation_hash
    assert tx.height == indexer_event.block_level
    assert tx.protocol == ChainSyncProtocol.SMART_CONTRACT
    assert tx.protocol_version == 1
    assert tx.content == indexer_event.payload.dict()